alchemy 2.0.0-beta.51 → 2.0.0-beta.53

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 (949) hide show
  1. package/bin/exec.js +24 -30
  2. package/bin/exec.js.map +1 -1
  3. package/lib/AWS/ACM/Certificate.d.ts +1 -1
  4. package/lib/AWS/ApiGateway/Account.d.ts +1 -1
  5. package/lib/AWS/ApiGateway/ApiKey.d.ts +2 -2
  6. package/lib/AWS/ApiGateway/ApiKey.d.ts.map +1 -1
  7. package/lib/AWS/ApiGateway/ApiKey.js +3 -3
  8. package/lib/AWS/ApiGateway/ApiKey.js.map +1 -1
  9. package/lib/AWS/ApiGateway/Authorizer.d.ts +1 -1
  10. package/lib/AWS/ApiGateway/BasePathMapping.d.ts +1 -1
  11. package/lib/AWS/ApiGateway/Deployment.d.ts +1 -1
  12. package/lib/AWS/ApiGateway/DomainName.d.ts +1 -1
  13. package/lib/AWS/ApiGateway/GatewayResource.d.ts +1 -1
  14. package/lib/AWS/ApiGateway/GatewayResponse.d.ts +1 -1
  15. package/lib/AWS/ApiGateway/Method.d.ts +1 -1
  16. package/lib/AWS/ApiGateway/RestApi.d.ts +2 -2
  17. package/lib/AWS/ApiGateway/RestApi.d.ts.map +1 -1
  18. package/lib/AWS/ApiGateway/RestApi.js +4 -4
  19. package/lib/AWS/ApiGateway/RestApi.js.map +1 -1
  20. package/lib/AWS/ApiGateway/Stage.d.ts +2 -2
  21. package/lib/AWS/ApiGateway/Stage.d.ts.map +1 -1
  22. package/lib/AWS/ApiGateway/Stage.js +3 -3
  23. package/lib/AWS/ApiGateway/Stage.js.map +1 -1
  24. package/lib/AWS/ApiGateway/UsagePlan.d.ts +2 -2
  25. package/lib/AWS/ApiGateway/UsagePlan.d.ts.map +1 -1
  26. package/lib/AWS/ApiGateway/UsagePlan.js +3 -3
  27. package/lib/AWS/ApiGateway/UsagePlan.js.map +1 -1
  28. package/lib/AWS/ApiGateway/UsagePlanKey.d.ts +1 -1
  29. package/lib/AWS/ApiGateway/VpcLink.d.ts +2 -2
  30. package/lib/AWS/ApiGateway/VpcLink.d.ts.map +1 -1
  31. package/lib/AWS/ApiGateway/VpcLink.js +3 -3
  32. package/lib/AWS/ApiGateway/VpcLink.js.map +1 -1
  33. package/lib/AWS/ApiGateway/common.d.ts +1 -1
  34. package/lib/AWS/Assets.d.ts +21 -12
  35. package/lib/AWS/Assets.d.ts.map +1 -1
  36. package/lib/AWS/Assets.js +95 -70
  37. package/lib/AWS/Assets.js.map +1 -1
  38. package/lib/AWS/AuthProvider.d.ts +12 -6
  39. package/lib/AWS/AuthProvider.d.ts.map +1 -1
  40. package/lib/AWS/AuthProvider.js +120 -75
  41. package/lib/AWS/AuthProvider.js.map +1 -1
  42. package/lib/AWS/AutoScaling/AutoScalingGroup.d.ts +1 -1
  43. package/lib/AWS/AutoScaling/LaunchTemplate.d.ts +1 -2
  44. package/lib/AWS/AutoScaling/LaunchTemplate.d.ts.map +1 -1
  45. package/lib/AWS/AutoScaling/LaunchTemplate.js +21 -27
  46. package/lib/AWS/AutoScaling/LaunchTemplate.js.map +1 -1
  47. package/lib/AWS/AutoScaling/ScalingPolicy.d.ts +1 -1
  48. package/lib/AWS/Bootstrap.d.ts +2 -14
  49. package/lib/AWS/Bootstrap.d.ts.map +1 -1
  50. package/lib/AWS/Bootstrap.js +46 -133
  51. package/lib/AWS/Bootstrap.js.map +1 -1
  52. package/lib/AWS/CloudFront/CachePolicy.d.ts +1 -1
  53. package/lib/AWS/CloudFront/Distribution.d.ts +1 -1
  54. package/lib/AWS/CloudFront/Function.d.ts +1 -1
  55. package/lib/AWS/CloudFront/Invalidation.d.ts +1 -1
  56. package/lib/AWS/CloudFront/KeyGroup.d.ts +1 -1
  57. package/lib/AWS/CloudFront/KeyValueStore.d.ts +1 -1
  58. package/lib/AWS/CloudFront/OriginAccessControl.d.ts +1 -1
  59. package/lib/AWS/CloudFront/OriginRequestPolicy.d.ts +1 -1
  60. package/lib/AWS/CloudFront/PublicKey.d.ts +1 -1
  61. package/lib/AWS/CloudFront/ResponseHeadersPolicy.d.ts +1 -1
  62. package/lib/AWS/CloudFront/common.d.ts +1 -1
  63. package/lib/AWS/CloudWatch/Alarm.d.ts +2 -3
  64. package/lib/AWS/CloudWatch/Alarm.d.ts.map +1 -1
  65. package/lib/AWS/CloudWatch/Alarm.js +3 -6
  66. package/lib/AWS/CloudWatch/Alarm.js.map +1 -1
  67. package/lib/AWS/CloudWatch/AlarmMuteRule.d.ts +2 -3
  68. package/lib/AWS/CloudWatch/AlarmMuteRule.d.ts.map +1 -1
  69. package/lib/AWS/CloudWatch/AlarmMuteRule.js +2 -5
  70. package/lib/AWS/CloudWatch/AlarmMuteRule.js.map +1 -1
  71. package/lib/AWS/CloudWatch/AnomalyDetector.d.ts +1 -1
  72. package/lib/AWS/CloudWatch/CompositeAlarm.d.ts +2 -3
  73. package/lib/AWS/CloudWatch/CompositeAlarm.d.ts.map +1 -1
  74. package/lib/AWS/CloudWatch/CompositeAlarm.js +3 -6
  75. package/lib/AWS/CloudWatch/CompositeAlarm.js.map +1 -1
  76. package/lib/AWS/CloudWatch/Dashboard.d.ts +2 -2
  77. package/lib/AWS/CloudWatch/Dashboard.d.ts.map +1 -1
  78. package/lib/AWS/CloudWatch/Dashboard.js +3 -4
  79. package/lib/AWS/CloudWatch/Dashboard.js.map +1 -1
  80. package/lib/AWS/CloudWatch/DescribeAlarmContributors.d.ts +1 -1
  81. package/lib/AWS/CloudWatch/DescribeAlarmHistory.d.ts +1 -1
  82. package/lib/AWS/CloudWatch/DescribeAlarms.d.ts +1 -1
  83. package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.d.ts +1 -1
  84. package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.d.ts +1 -1
  85. package/lib/AWS/CloudWatch/DescribeInsightRules.d.ts +1 -1
  86. package/lib/AWS/CloudWatch/DisableAlarmActions.d.ts +1 -1
  87. package/lib/AWS/CloudWatch/DisableInsightRules.d.ts +1 -1
  88. package/lib/AWS/CloudWatch/EnableAlarmActions.d.ts +1 -1
  89. package/lib/AWS/CloudWatch/GetAlarmMuteRule.d.ts +1 -1
  90. package/lib/AWS/CloudWatch/GetDashboard.d.ts +1 -1
  91. package/lib/AWS/CloudWatch/GetInsightRuleReport.d.ts +1 -1
  92. package/lib/AWS/CloudWatch/GetMetricData.d.ts +1 -1
  93. package/lib/AWS/CloudWatch/GetMetricStatistics.d.ts +1 -1
  94. package/lib/AWS/CloudWatch/GetMetricStream.d.ts +1 -1
  95. package/lib/AWS/CloudWatch/GetMetricWidgetImage.d.ts +1 -1
  96. package/lib/AWS/CloudWatch/InsightRule.d.ts +2 -3
  97. package/lib/AWS/CloudWatch/InsightRule.d.ts.map +1 -1
  98. package/lib/AWS/CloudWatch/InsightRule.js +4 -7
  99. package/lib/AWS/CloudWatch/InsightRule.js.map +1 -1
  100. package/lib/AWS/CloudWatch/ListAlarmMuteRules.d.ts +1 -1
  101. package/lib/AWS/CloudWatch/ListDashboards.d.ts +1 -1
  102. package/lib/AWS/CloudWatch/ListManagedInsightRules.d.ts +1 -1
  103. package/lib/AWS/CloudWatch/ListMetricStreams.d.ts +1 -1
  104. package/lib/AWS/CloudWatch/ListMetrics.d.ts +1 -1
  105. package/lib/AWS/CloudWatch/ListTagsForResource.d.ts +1 -1
  106. package/lib/AWS/CloudWatch/MetricStream.d.ts +2 -3
  107. package/lib/AWS/CloudWatch/MetricStream.d.ts.map +1 -1
  108. package/lib/AWS/CloudWatch/MetricStream.js +3 -6
  109. package/lib/AWS/CloudWatch/MetricStream.js.map +1 -1
  110. package/lib/AWS/CloudWatch/PutMetricData.d.ts +1 -1
  111. package/lib/AWS/CloudWatch/SetAlarmState.d.ts +1 -1
  112. package/lib/AWS/CloudWatch/common.d.ts +2 -2
  113. package/lib/AWS/Credentials.d.ts.map +1 -1
  114. package/lib/AWS/Credentials.js +4 -1
  115. package/lib/AWS/Credentials.js.map +1 -1
  116. package/lib/AWS/DynamoDB/BatchExecuteStatement.d.ts +1 -1
  117. package/lib/AWS/DynamoDB/BatchGetItem.d.ts +1 -1
  118. package/lib/AWS/DynamoDB/BatchWriteItem.d.ts +1 -1
  119. package/lib/AWS/DynamoDB/DeleteItem.d.ts +1 -1
  120. package/lib/AWS/DynamoDB/DescribeTable.d.ts +1 -1
  121. package/lib/AWS/DynamoDB/DescribeTimeToLive.d.ts +1 -1
  122. package/lib/AWS/DynamoDB/ExecuteStatement.d.ts +1 -1
  123. package/lib/AWS/DynamoDB/ExecuteTransaction.d.ts +1 -1
  124. package/lib/AWS/DynamoDB/GetItem.d.ts +1 -1
  125. package/lib/AWS/DynamoDB/ListTables.d.ts +1 -1
  126. package/lib/AWS/DynamoDB/ListTagsOfResource.d.ts +1 -1
  127. package/lib/AWS/DynamoDB/PutItem.d.ts +1 -1
  128. package/lib/AWS/DynamoDB/Query.d.ts +1 -1
  129. package/lib/AWS/DynamoDB/RestoreTableToPointInTime.d.ts +1 -1
  130. package/lib/AWS/DynamoDB/Scan.d.ts +1 -1
  131. package/lib/AWS/DynamoDB/Table.d.ts +1 -1
  132. package/lib/AWS/DynamoDB/TransactGetItems.d.ts +1 -1
  133. package/lib/AWS/DynamoDB/TransactWriteItems.d.ts +1 -1
  134. package/lib/AWS/DynamoDB/UpdateItem.d.ts +1 -1
  135. package/lib/AWS/DynamoDB/UpdateTimeToLive.d.ts +1 -1
  136. package/lib/AWS/EC2/EIP.d.ts +2 -3
  137. package/lib/AWS/EC2/EIP.d.ts.map +1 -1
  138. package/lib/AWS/EC2/EIP.js +2 -3
  139. package/lib/AWS/EC2/EIP.js.map +1 -1
  140. package/lib/AWS/EC2/EgressOnlyInternetGateway.d.ts +2 -3
  141. package/lib/AWS/EC2/EgressOnlyInternetGateway.d.ts.map +1 -1
  142. package/lib/AWS/EC2/EgressOnlyInternetGateway.js +5 -8
  143. package/lib/AWS/EC2/EgressOnlyInternetGateway.js.map +1 -1
  144. package/lib/AWS/EC2/Image.d.ts +6 -6
  145. package/lib/AWS/EC2/Instance.d.ts +2 -2
  146. package/lib/AWS/EC2/Instance.d.ts.map +1 -1
  147. package/lib/AWS/EC2/Instance.js +30 -36
  148. package/lib/AWS/EC2/Instance.js.map +1 -1
  149. package/lib/AWS/EC2/InternetGateway.d.ts +2 -4
  150. package/lib/AWS/EC2/InternetGateway.d.ts.map +1 -1
  151. package/lib/AWS/EC2/InternetGateway.js +2 -4
  152. package/lib/AWS/EC2/InternetGateway.js.map +1 -1
  153. package/lib/AWS/EC2/NatGateway.d.ts +2 -3
  154. package/lib/AWS/EC2/NatGateway.d.ts.map +1 -1
  155. package/lib/AWS/EC2/NatGateway.js +6 -8
  156. package/lib/AWS/EC2/NatGateway.js.map +1 -1
  157. package/lib/AWS/EC2/Network.d.ts +2 -2
  158. package/lib/AWS/EC2/Network.d.ts.map +1 -1
  159. package/lib/AWS/EC2/Network.js +2 -2
  160. package/lib/AWS/EC2/Network.js.map +1 -1
  161. package/lib/AWS/EC2/NetworkAcl.d.ts +2 -3
  162. package/lib/AWS/EC2/NetworkAcl.d.ts.map +1 -1
  163. package/lib/AWS/EC2/NetworkAcl.js +36 -36
  164. package/lib/AWS/EC2/NetworkAcl.js.map +1 -1
  165. package/lib/AWS/EC2/NetworkAclAssociation.d.ts +1 -1
  166. package/lib/AWS/EC2/NetworkAclEntry.d.ts +1 -1
  167. package/lib/AWS/EC2/Route.d.ts +1 -1
  168. package/lib/AWS/EC2/RouteTable.d.ts +2 -3
  169. package/lib/AWS/EC2/RouteTable.d.ts.map +1 -1
  170. package/lib/AWS/EC2/RouteTable.js +2 -4
  171. package/lib/AWS/EC2/RouteTable.js.map +1 -1
  172. package/lib/AWS/EC2/RouteTableAssociation.d.ts +1 -1
  173. package/lib/AWS/EC2/SecurityGroup.d.ts +2 -3
  174. package/lib/AWS/EC2/SecurityGroup.d.ts.map +1 -1
  175. package/lib/AWS/EC2/SecurityGroup.js +40 -40
  176. package/lib/AWS/EC2/SecurityGroup.js.map +1 -1
  177. package/lib/AWS/EC2/SecurityGroupRule.d.ts +1 -1
  178. package/lib/AWS/EC2/Subnet.d.ts +1 -1
  179. package/lib/AWS/EC2/Vpc.d.ts +2 -3
  180. package/lib/AWS/EC2/Vpc.d.ts.map +1 -1
  181. package/lib/AWS/EC2/Vpc.js +1 -3
  182. package/lib/AWS/EC2/Vpc.js.map +1 -1
  183. package/lib/AWS/EC2/VpcEndpoint.d.ts +1 -2
  184. package/lib/AWS/EC2/VpcEndpoint.d.ts.map +1 -1
  185. package/lib/AWS/EC2/VpcEndpoint.js +44 -43
  186. package/lib/AWS/EC2/VpcEndpoint.js.map +1 -1
  187. package/lib/AWS/EC2/hosted.d.ts +3 -6
  188. package/lib/AWS/EC2/hosted.d.ts.map +1 -1
  189. package/lib/AWS/EC2/hosted.js +17 -18
  190. package/lib/AWS/EC2/hosted.js.map +1 -1
  191. package/lib/AWS/ECR/Repository.d.ts +1 -1
  192. package/lib/AWS/ECS/CapacityProvider.d.ts +1 -2
  193. package/lib/AWS/ECS/CapacityProvider.d.ts.map +1 -1
  194. package/lib/AWS/ECS/CapacityProvider.js +1 -3
  195. package/lib/AWS/ECS/CapacityProvider.js.map +1 -1
  196. package/lib/AWS/ECS/Cluster.d.ts +2 -3
  197. package/lib/AWS/ECS/Cluster.d.ts.map +1 -1
  198. package/lib/AWS/ECS/Cluster.js +1 -3
  199. package/lib/AWS/ECS/Cluster.js.map +1 -1
  200. package/lib/AWS/ECS/DescribeTasks.d.ts +1 -1
  201. package/lib/AWS/ECS/ListTasks.d.ts +1 -1
  202. package/lib/AWS/ECS/RunTask.d.ts +1 -1
  203. package/lib/AWS/ECS/Service.d.ts +1 -1
  204. package/lib/AWS/ECS/StopTask.d.ts +1 -1
  205. package/lib/AWS/ECS/Task.d.ts +2 -2
  206. package/lib/AWS/ECS/Task.d.ts.map +1 -1
  207. package/lib/AWS/ECS/Task.js +2 -2
  208. package/lib/AWS/ECS/Task.js.map +1 -1
  209. package/lib/AWS/EKS/AccessEntry.d.ts +1 -1
  210. package/lib/AWS/EKS/Addon.d.ts +1 -1
  211. package/lib/AWS/EKS/Cluster.d.ts +1 -1
  212. package/lib/AWS/EKS/Cluster.d.ts.map +1 -1
  213. package/lib/AWS/EKS/PodIdentityAssociation.d.ts +1 -1
  214. package/lib/AWS/ELBv2/Listener.d.ts +1 -1
  215. package/lib/AWS/ELBv2/LoadBalancer.d.ts +1 -1
  216. package/lib/AWS/ELBv2/TargetGroup.d.ts +1 -1
  217. package/lib/AWS/Endpoint.d.ts.map +1 -1
  218. package/lib/AWS/Endpoint.js +5 -2
  219. package/lib/AWS/Endpoint.js.map +1 -1
  220. package/lib/AWS/Environment.d.ts +6 -50
  221. package/lib/AWS/Environment.d.ts.map +1 -1
  222. package/lib/AWS/Environment.js +11 -80
  223. package/lib/AWS/Environment.js.map +1 -1
  224. package/lib/AWS/EventBridge/DescribeEventBus.d.ts +1 -1
  225. package/lib/AWS/EventBridge/DescribeRule.d.ts +1 -1
  226. package/lib/AWS/EventBridge/EventBus.d.ts +2 -3
  227. package/lib/AWS/EventBridge/EventBus.d.ts.map +1 -1
  228. package/lib/AWS/EventBridge/EventBus.js +1 -3
  229. package/lib/AWS/EventBridge/EventBus.js.map +1 -1
  230. package/lib/AWS/EventBridge/ListEventBuses.d.ts +1 -1
  231. package/lib/AWS/EventBridge/ListRules.d.ts +2 -3
  232. package/lib/AWS/EventBridge/ListRules.d.ts.map +1 -1
  233. package/lib/AWS/EventBridge/ListRules.js +2 -3
  234. package/lib/AWS/EventBridge/ListRules.js.map +1 -1
  235. package/lib/AWS/EventBridge/ListTargetsByRule.d.ts +1 -1
  236. package/lib/AWS/EventBridge/Permission.d.ts +1 -1
  237. package/lib/AWS/EventBridge/PutEvents.d.ts +2 -3
  238. package/lib/AWS/EventBridge/PutEvents.d.ts.map +1 -1
  239. package/lib/AWS/EventBridge/PutEvents.js +2 -3
  240. package/lib/AWS/EventBridge/PutEvents.js.map +1 -1
  241. package/lib/AWS/EventBridge/Rule.d.ts +2 -3
  242. package/lib/AWS/EventBridge/Rule.d.ts.map +1 -1
  243. package/lib/AWS/EventBridge/Rule.js +2 -3
  244. package/lib/AWS/EventBridge/Rule.js.map +1 -1
  245. package/lib/AWS/EventBridge/TestEventPattern.d.ts +1 -1
  246. package/lib/AWS/IAM/AccessKey.d.ts +1 -1
  247. package/lib/AWS/IAM/AccountAlias.d.ts +1 -1
  248. package/lib/AWS/IAM/AccountPasswordPolicy.d.ts +1 -1
  249. package/lib/AWS/IAM/Group.d.ts +1 -1
  250. package/lib/AWS/IAM/GroupMembership.d.ts +1 -1
  251. package/lib/AWS/IAM/InstanceProfile.d.ts +1 -1
  252. package/lib/AWS/IAM/LoginProfile.d.ts +1 -1
  253. package/lib/AWS/IAM/OpenIDConnectProvider.d.ts +1 -1
  254. package/lib/AWS/IAM/OpenIDConnectProvider.d.ts.map +1 -1
  255. package/lib/AWS/IAM/OpenIDConnectProvider.js +5 -4
  256. package/lib/AWS/IAM/OpenIDConnectProvider.js.map +1 -1
  257. package/lib/AWS/IAM/Policy.d.ts +1 -1
  258. package/lib/AWS/IAM/Policy.d.ts.map +1 -1
  259. package/lib/AWS/IAM/Policy.js +1 -1
  260. package/lib/AWS/IAM/Policy.js.map +1 -1
  261. package/lib/AWS/IAM/Role.d.ts +2 -2
  262. package/lib/AWS/IAM/Role.d.ts.map +1 -1
  263. package/lib/AWS/IAM/Role.js +1 -1
  264. package/lib/AWS/IAM/Role.js.map +1 -1
  265. package/lib/AWS/IAM/SAMLProvider.d.ts +2 -2
  266. package/lib/AWS/IAM/SAMLProvider.d.ts.map +1 -1
  267. package/lib/AWS/IAM/SAMLProvider.js +2 -2
  268. package/lib/AWS/IAM/SAMLProvider.js.map +1 -1
  269. package/lib/AWS/IAM/SSHPublicKey.d.ts +1 -1
  270. package/lib/AWS/IAM/ServerCertificate.d.ts +1 -1
  271. package/lib/AWS/IAM/ServiceSpecificCredential.d.ts +1 -1
  272. package/lib/AWS/IAM/SigningCertificate.d.ts +1 -1
  273. package/lib/AWS/IAM/User.d.ts +1 -1
  274. package/lib/AWS/IAM/VirtualMFADevice.d.ts +1 -1
  275. package/lib/AWS/IdentityCenter/AccountAssignment.d.ts +1 -1
  276. package/lib/AWS/IdentityCenter/Group.d.ts +1 -1
  277. package/lib/AWS/IdentityCenter/Instance.d.ts +1 -1
  278. package/lib/AWS/IdentityCenter/PermissionSet.d.ts +1 -1
  279. package/lib/AWS/IdentityCenter/common.d.ts +4 -4
  280. package/lib/AWS/Kinesis/DescribeAccountSettings.d.ts +1 -1
  281. package/lib/AWS/Kinesis/DescribeLimits.d.ts +1 -1
  282. package/lib/AWS/Kinesis/DescribeStream.d.ts +1 -1
  283. package/lib/AWS/Kinesis/DescribeStreamConsumer.d.ts +1 -1
  284. package/lib/AWS/Kinesis/DescribeStreamSummary.d.ts +1 -1
  285. package/lib/AWS/Kinesis/GetRecords.d.ts +1 -1
  286. package/lib/AWS/Kinesis/GetResourcePolicy.d.ts +1 -1
  287. package/lib/AWS/Kinesis/GetShardIterator.d.ts +1 -1
  288. package/lib/AWS/Kinesis/ListShards.d.ts +1 -1
  289. package/lib/AWS/Kinesis/ListStreamConsumers.d.ts +1 -1
  290. package/lib/AWS/Kinesis/ListStreams.d.ts +1 -1
  291. package/lib/AWS/Kinesis/ListTagsForResource.d.ts +1 -1
  292. package/lib/AWS/Kinesis/PutRecord.d.ts +1 -1
  293. package/lib/AWS/Kinesis/PutRecords.d.ts +1 -1
  294. package/lib/AWS/Kinesis/Stream.d.ts +2 -3
  295. package/lib/AWS/Kinesis/Stream.d.ts.map +1 -1
  296. package/lib/AWS/Kinesis/Stream.js +1 -3
  297. package/lib/AWS/Kinesis/Stream.js.map +1 -1
  298. package/lib/AWS/Kinesis/StreamConsumer.d.ts +1 -1
  299. package/lib/AWS/Kinesis/SubscribeToShard.d.ts +1 -1
  300. package/lib/AWS/Lambda/EventSourceMapping.d.ts +2 -3
  301. package/lib/AWS/Lambda/EventSourceMapping.d.ts.map +1 -1
  302. package/lib/AWS/Lambda/EventSourceMapping.js +1 -3
  303. package/lib/AWS/Lambda/EventSourceMapping.js.map +1 -1
  304. package/lib/AWS/Lambda/Function.d.ts +2 -2
  305. package/lib/AWS/Lambda/Function.d.ts.map +1 -1
  306. package/lib/AWS/Lambda/Function.js +9 -7
  307. package/lib/AWS/Lambda/Function.js.map +1 -1
  308. package/lib/AWS/Lambda/InvokeFunction.d.ts +1 -1
  309. package/lib/AWS/Lambda/Permission.d.ts +2 -2
  310. package/lib/AWS/Lambda/Permission.js +1 -1
  311. package/lib/AWS/Logs/LogGroup.d.ts +2 -3
  312. package/lib/AWS/Logs/LogGroup.d.ts.map +1 -1
  313. package/lib/AWS/Logs/LogGroup.js +1 -3
  314. package/lib/AWS/Logs/LogGroup.js.map +1 -1
  315. package/lib/AWS/Organizations/Account.d.ts +1 -1
  316. package/lib/AWS/Organizations/DelegatedAdministrator.d.ts +1 -1
  317. package/lib/AWS/Organizations/Organization.d.ts +1 -1
  318. package/lib/AWS/Organizations/OrganizationResourcePolicy.d.ts +1 -1
  319. package/lib/AWS/Organizations/OrganizationalUnit.d.ts +1 -1
  320. package/lib/AWS/Organizations/Policy.d.ts +1 -1
  321. package/lib/AWS/Organizations/PolicyAttachment.d.ts +1 -1
  322. package/lib/AWS/Organizations/Root.d.ts +1 -1
  323. package/lib/AWS/Organizations/RootPolicyType.d.ts +1 -1
  324. package/lib/AWS/Organizations/TrustedServiceAccess.d.ts +1 -1
  325. package/lib/AWS/Organizations/common.d.ts +2 -2
  326. package/lib/AWS/Providers.d.ts +3 -2
  327. package/lib/AWS/Providers.d.ts.map +1 -1
  328. package/lib/AWS/Providers.js +2 -2
  329. package/lib/AWS/Providers.js.map +1 -1
  330. package/lib/AWS/RDS/Connect.d.ts +1 -1
  331. package/lib/AWS/RDS/DBCluster.d.ts +1 -1
  332. package/lib/AWS/RDS/DBClusterEndpoint.d.ts +1 -1
  333. package/lib/AWS/RDS/DBClusterParameterGroup.d.ts +1 -1
  334. package/lib/AWS/RDS/DBInstance.d.ts +1 -1
  335. package/lib/AWS/RDS/DBParameterGroup.d.ts +1 -1
  336. package/lib/AWS/RDS/DBProxy.d.ts +1 -1
  337. package/lib/AWS/RDS/DBProxyEndpoint.d.ts +1 -1
  338. package/lib/AWS/RDS/DBProxyTargetGroup.d.ts +1 -1
  339. package/lib/AWS/RDS/DBSubnetGroup.d.ts +1 -1
  340. package/lib/AWS/RDSData/BatchExecuteStatement.d.ts +1 -1
  341. package/lib/AWS/RDSData/BeginTransaction.d.ts +1 -1
  342. package/lib/AWS/RDSData/CommitTransaction.d.ts +1 -1
  343. package/lib/AWS/RDSData/ExecuteSql.d.ts +1 -1
  344. package/lib/AWS/RDSData/ExecuteStatement.d.ts +1 -1
  345. package/lib/AWS/RDSData/RollbackTransaction.d.ts +1 -1
  346. package/lib/AWS/Region.d.ts +2 -0
  347. package/lib/AWS/Region.d.ts.map +1 -1
  348. package/lib/AWS/Region.js +8 -3
  349. package/lib/AWS/Region.js.map +1 -1
  350. package/lib/AWS/Route53/Record.d.ts +1 -1
  351. package/lib/AWS/S3/AbortMultipartUpload.d.ts +1 -1
  352. package/lib/AWS/S3/Bucket.d.ts +6 -3
  353. package/lib/AWS/S3/Bucket.d.ts.map +1 -1
  354. package/lib/AWS/S3/Bucket.js +3 -4
  355. package/lib/AWS/S3/Bucket.js.map +1 -1
  356. package/lib/AWS/S3/CompleteMultipartUpload.d.ts +1 -1
  357. package/lib/AWS/S3/CopyObject.d.ts +1 -1
  358. package/lib/AWS/S3/CreateMultipartUpload.d.ts +1 -1
  359. package/lib/AWS/S3/DeleteObject.d.ts +1 -1
  360. package/lib/AWS/S3/GetObject.d.ts +1 -1
  361. package/lib/AWS/S3/HeadObject.d.ts +1 -1
  362. package/lib/AWS/S3/ListObjectsV2.d.ts +1 -1
  363. package/lib/AWS/S3/PutObject.d.ts +1 -1
  364. package/lib/AWS/S3/UploadPart.d.ts +1 -1
  365. package/lib/AWS/SNS/AddPermission.d.ts +1 -1
  366. package/lib/AWS/SNS/ConfirmSubscription.d.ts +1 -1
  367. package/lib/AWS/SNS/GetDataProtectionPolicy.d.ts +1 -1
  368. package/lib/AWS/SNS/GetSubscriptionAttributes.d.ts +1 -1
  369. package/lib/AWS/SNS/GetTopicAttributes.d.ts +1 -1
  370. package/lib/AWS/SNS/ListSubscriptions.d.ts +1 -1
  371. package/lib/AWS/SNS/ListSubscriptionsByTopic.d.ts +1 -1
  372. package/lib/AWS/SNS/ListTagsForResource.d.ts +1 -1
  373. package/lib/AWS/SNS/ListTopics.d.ts +1 -1
  374. package/lib/AWS/SNS/Publish.d.ts +1 -1
  375. package/lib/AWS/SNS/PublishBatch.d.ts +1 -1
  376. package/lib/AWS/SNS/PutDataProtectionPolicy.d.ts +1 -1
  377. package/lib/AWS/SNS/RemovePermission.d.ts +1 -1
  378. package/lib/AWS/SNS/SetSubscriptionAttributes.d.ts +1 -1
  379. package/lib/AWS/SNS/SetTopicAttributes.d.ts +1 -1
  380. package/lib/AWS/SNS/Subscription.d.ts +1 -1
  381. package/lib/AWS/SNS/TagResource.d.ts +1 -1
  382. package/lib/AWS/SNS/Topic.d.ts +1 -1
  383. package/lib/AWS/SNS/UntagResource.d.ts +1 -1
  384. package/lib/AWS/SQS/DeleteMessage.d.ts +1 -1
  385. package/lib/AWS/SQS/DeleteMessageBatch.d.ts +1 -1
  386. package/lib/AWS/SQS/Queue.d.ts +1 -2
  387. package/lib/AWS/SQS/Queue.d.ts.map +1 -1
  388. package/lib/AWS/SQS/Queue.js +2 -3
  389. package/lib/AWS/SQS/Queue.js.map +1 -1
  390. package/lib/AWS/SQS/ReceiveMessage.d.ts +1 -1
  391. package/lib/AWS/SQS/SendMessage.d.ts +1 -1
  392. package/lib/AWS/SQS/SendMessageBatch.d.ts +1 -1
  393. package/lib/AWS/Scheduler/Schedule.d.ts +1 -1
  394. package/lib/AWS/Scheduler/ScheduleGroup.d.ts +1 -1
  395. package/lib/AWS/SecretsManager/DescribeSecret.d.ts +1 -1
  396. package/lib/AWS/SecretsManager/GetRandomPassword.d.ts +1 -1
  397. package/lib/AWS/SecretsManager/GetSecretValue.d.ts +1 -1
  398. package/lib/AWS/SecretsManager/ListSecrets.d.ts +1 -1
  399. package/lib/AWS/SecretsManager/PutSecretValue.d.ts +1 -1
  400. package/lib/AWS/SecretsManager/Secret.d.ts +1 -1
  401. package/lib/AWS/Website/AssetDeployment.d.ts +1 -1
  402. package/lib/AWS/index.d.ts +0 -1
  403. package/lib/AWS/index.d.ts.map +1 -1
  404. package/lib/AWS/index.js +0 -1
  405. package/lib/AWS/index.js.map +1 -1
  406. package/lib/Apply.js +15 -3
  407. package/lib/Apply.js.map +1 -1
  408. package/lib/Auth/AuthProvider.js +1 -1
  409. package/lib/Auth/AuthProvider.js.map +1 -1
  410. package/lib/Auth/Profile.d.ts +10 -10
  411. package/lib/Auth/Profile.d.ts.map +1 -1
  412. package/lib/Auth/Profile.js +4 -4
  413. package/lib/Auth/Profile.js.map +1 -1
  414. package/lib/Axiom/Credentials.d.ts +2 -3
  415. package/lib/Axiom/Credentials.d.ts.map +1 -1
  416. package/lib/Axiom/Credentials.js +3 -3
  417. package/lib/Axiom/Credentials.js.map +1 -1
  418. package/lib/Axiom/Dataset.js +1 -1
  419. package/lib/Axiom/Dataset.js.map +1 -1
  420. package/lib/Axiom/Providers.d.ts +1 -1
  421. package/lib/Axiom/Providers.d.ts.map +1 -1
  422. package/lib/Axiom/Providers.js +1 -1
  423. package/lib/Axiom/Providers.js.map +1 -1
  424. package/lib/Binding.d.ts +2 -2
  425. package/lib/Binding.d.ts.map +1 -1
  426. package/lib/Binding.js +12 -8
  427. package/lib/Binding.js.map +1 -1
  428. package/lib/Build/DevServer.d.ts +113 -0
  429. package/lib/Build/DevServer.d.ts.map +1 -0
  430. package/lib/Build/DevServer.js +212 -0
  431. package/lib/Build/DevServer.js.map +1 -0
  432. package/lib/Build/Local.d.ts +2 -0
  433. package/lib/Build/Local.d.ts.map +1 -0
  434. package/lib/Build/Local.js +4 -0
  435. package/lib/Build/Local.js.map +1 -0
  436. package/lib/Bundle/Bundle.js +1 -1
  437. package/lib/Bundle/Bundle.js.map +1 -1
  438. package/lib/Cli/commands/_shared.d.ts +3 -3
  439. package/lib/Cli/commands/_shared.d.ts.map +1 -1
  440. package/lib/Cli/commands/_shared.js.map +1 -1
  441. package/lib/Cli/commands/aws.d.ts +1 -1
  442. package/lib/Cli/commands/aws.d.ts.map +1 -1
  443. package/lib/Cli/commands/aws.js +3 -3
  444. package/lib/Cli/commands/aws.js.map +1 -1
  445. package/lib/Cli/commands/cloudflare.js +1 -1
  446. package/lib/Cli/commands/cloudflare.js.map +1 -1
  447. package/lib/Cli/commands/deploy.d.ts +4 -4
  448. package/lib/Cli/commands/deploy.d.ts.map +1 -1
  449. package/lib/Cli/commands/login.d.ts +2 -3
  450. package/lib/Cli/commands/login.d.ts.map +1 -1
  451. package/lib/Cli/commands/login.js +6 -15
  452. package/lib/Cli/commands/login.js.map +1 -1
  453. package/lib/Cli/commands/logs.d.ts +1 -1
  454. package/lib/Cli/commands/logs.d.ts.map +1 -1
  455. package/lib/Cli/commands/profile.js +3 -3
  456. package/lib/Cli/commands/profile.js.map +1 -1
  457. package/lib/Cli/commands/tail.d.ts +1 -1
  458. package/lib/Cli/commands/tail.d.ts.map +1 -1
  459. package/lib/Cloudflare/Access.js +1 -1
  460. package/lib/Cloudflare/Access.js.map +1 -1
  461. package/lib/Cloudflare/AiGateway/AiGateway.d.ts +1 -1
  462. package/lib/Cloudflare/AiGateway/AiGateway.d.ts.map +1 -1
  463. package/lib/Cloudflare/AiGateway/AiGateway.js +186 -181
  464. package/lib/Cloudflare/AiGateway/AiGateway.js.map +1 -1
  465. package/lib/Cloudflare/ApiToken/AccountApiToken.d.ts.map +1 -1
  466. package/lib/Cloudflare/ApiToken/AccountApiToken.js +103 -102
  467. package/lib/Cloudflare/ApiToken/AccountApiToken.js.map +1 -1
  468. package/lib/Cloudflare/ApiToken/UserApiToken.d.ts.map +1 -1
  469. package/lib/Cloudflare/ApiToken/UserApiToken.js +77 -81
  470. package/lib/Cloudflare/ApiToken/UserApiToken.js.map +1 -1
  471. package/lib/Cloudflare/Browser/Browser.d.ts +84 -12
  472. package/lib/Cloudflare/Browser/Browser.d.ts.map +1 -1
  473. package/lib/Cloudflare/Browser/Browser.js +80 -9
  474. package/lib/Cloudflare/Browser/Browser.js.map +1 -1
  475. package/lib/Cloudflare/Browser/BrowserBinding.d.ts +90 -16
  476. package/lib/Cloudflare/Browser/BrowserBinding.d.ts.map +1 -1
  477. package/lib/Cloudflare/Browser/BrowserBinding.js +41 -6
  478. package/lib/Cloudflare/Browser/BrowserBinding.js.map +1 -1
  479. package/lib/Cloudflare/Browser/index.d.ts +1 -1
  480. package/lib/Cloudflare/Browser/index.d.ts.map +1 -1
  481. package/lib/Cloudflare/Browser/index.js.map +1 -1
  482. package/lib/Cloudflare/CloudflareEnvironment.d.ts +4 -3
  483. package/lib/Cloudflare/CloudflareEnvironment.d.ts.map +1 -1
  484. package/lib/Cloudflare/CloudflareEnvironment.js +3 -4
  485. package/lib/Cloudflare/CloudflareEnvironment.js.map +1 -1
  486. package/lib/Cloudflare/Container/ContainerApplication.d.ts.map +1 -1
  487. package/lib/Cloudflare/Container/ContainerApplication.js +18 -18
  488. package/lib/Cloudflare/Container/ContainerApplication.js.map +1 -1
  489. package/lib/Cloudflare/Container/ContainerBinding.d.ts.map +1 -1
  490. package/lib/Cloudflare/Container/ContainerBinding.js +2 -4
  491. package/lib/Cloudflare/Container/ContainerBinding.js.map +1 -1
  492. package/lib/Cloudflare/Credentials.d.ts +2 -2
  493. package/lib/Cloudflare/Credentials.d.ts.map +1 -1
  494. package/lib/Cloudflare/Credentials.js +2 -2
  495. package/lib/Cloudflare/Credentials.js.map +1 -1
  496. package/lib/Cloudflare/D1/D1Database.d.ts +3 -1
  497. package/lib/Cloudflare/D1/D1Database.d.ts.map +1 -1
  498. package/lib/Cloudflare/D1/D1Database.js +205 -201
  499. package/lib/Cloudflare/D1/D1Database.js.map +1 -1
  500. package/lib/Cloudflare/EdgeSession.d.ts.map +1 -1
  501. package/lib/Cloudflare/EdgeSession.js +6 -5
  502. package/lib/Cloudflare/EdgeSession.js.map +1 -1
  503. package/lib/Cloudflare/Email/EmailAddress.d.ts.map +1 -1
  504. package/lib/Cloudflare/Email/EmailAddress.js +69 -61
  505. package/lib/Cloudflare/Email/EmailAddress.js.map +1 -1
  506. package/lib/Cloudflare/Email/EmailRouting.d.ts.map +1 -1
  507. package/lib/Cloudflare/Email/EmailRouting.js +63 -56
  508. package/lib/Cloudflare/Email/EmailRouting.js.map +1 -1
  509. package/lib/Cloudflare/Email/EmailRule.d.ts.map +1 -1
  510. package/lib/Cloudflare/Email/EmailRule.js +67 -63
  511. package/lib/Cloudflare/Email/EmailRule.js.map +1 -1
  512. package/lib/Cloudflare/Hyperdrive/Hyperdrive.d.ts.map +1 -1
  513. package/lib/Cloudflare/Hyperdrive/Hyperdrive.js +139 -137
  514. package/lib/Cloudflare/Hyperdrive/Hyperdrive.js.map +1 -1
  515. package/lib/Cloudflare/Images/Images.d.ts +4 -3
  516. package/lib/Cloudflare/Images/Images.d.ts.map +1 -1
  517. package/lib/Cloudflare/Images/Images.js.map +1 -1
  518. package/lib/Cloudflare/KV/KVNamespace.d.ts.map +1 -1
  519. package/lib/Cloudflare/KV/KVNamespace.js +115 -108
  520. package/lib/Cloudflare/KV/KVNamespace.js.map +1 -1
  521. package/lib/Cloudflare/Providers.d.ts +1 -1
  522. package/lib/Cloudflare/Providers.d.ts.map +1 -1
  523. package/lib/Cloudflare/Providers.js +4 -1
  524. package/lib/Cloudflare/Providers.js.map +1 -1
  525. package/lib/Cloudflare/Queue/Queue.d.ts.map +1 -1
  526. package/lib/Cloudflare/Queue/Queue.js +109 -101
  527. package/lib/Cloudflare/Queue/Queue.js.map +1 -1
  528. package/lib/Cloudflare/Queue/QueueConsumer.d.ts.map +1 -1
  529. package/lib/Cloudflare/Queue/QueueConsumer.js +260 -250
  530. package/lib/Cloudflare/Queue/QueueConsumer.js.map +1 -1
  531. package/lib/Cloudflare/R2/R2Bucket.d.ts.map +1 -1
  532. package/lib/Cloudflare/R2/R2Bucket.js +101 -66
  533. package/lib/Cloudflare/R2/R2Bucket.js.map +1 -1
  534. package/lib/Cloudflare/RateLimit/RateLimit.d.ts +4 -3
  535. package/lib/Cloudflare/RateLimit/RateLimit.d.ts.map +1 -1
  536. package/lib/Cloudflare/RateLimit/RateLimit.js.map +1 -1
  537. package/lib/Cloudflare/Ruleset/Ruleset.d.ts.map +1 -1
  538. package/lib/Cloudflare/Ruleset/Ruleset.js +81 -81
  539. package/lib/Cloudflare/Ruleset/Ruleset.js.map +1 -1
  540. package/lib/Cloudflare/SecretsStore/Secret.d.ts.map +1 -1
  541. package/lib/Cloudflare/SecretsStore/Secret.js +144 -143
  542. package/lib/Cloudflare/SecretsStore/Secret.js.map +1 -1
  543. package/lib/Cloudflare/SecretsStore/SecretsStore.d.ts.map +1 -1
  544. package/lib/Cloudflare/SecretsStore/SecretsStore.js +74 -75
  545. package/lib/Cloudflare/SecretsStore/SecretsStore.js.map +1 -1
  546. package/lib/Cloudflare/StateStore/State.d.ts +1 -1
  547. package/lib/Cloudflare/StateStore/State.d.ts.map +1 -1
  548. package/lib/Cloudflare/StateStore/State.js +3 -3
  549. package/lib/Cloudflare/StateStore/State.js.map +1 -1
  550. package/lib/Cloudflare/Tunnel/Tunnel.d.ts.map +1 -1
  551. package/lib/Cloudflare/Tunnel/Tunnel.js +166 -158
  552. package/lib/Cloudflare/Tunnel/Tunnel.js.map +1 -1
  553. package/lib/Cloudflare/Tunnel/TunnelBinding.d.ts +2 -2
  554. package/lib/Cloudflare/Tunnel/TunnelBinding.d.ts.map +1 -1
  555. package/lib/Cloudflare/Tunnel/TunnelBinding.js +10 -11
  556. package/lib/Cloudflare/Tunnel/TunnelBinding.js.map +1 -1
  557. package/lib/Cloudflare/Tunnel/TunnelRead.d.ts +4 -3
  558. package/lib/Cloudflare/Tunnel/TunnelRead.d.ts.map +1 -1
  559. package/lib/Cloudflare/Tunnel/TunnelRead.js.map +1 -1
  560. package/lib/Cloudflare/Tunnel/TunnelReadWrite.d.ts +4 -3
  561. package/lib/Cloudflare/Tunnel/TunnelReadWrite.d.ts.map +1 -1
  562. package/lib/Cloudflare/Tunnel/TunnelReadWrite.js.map +1 -1
  563. package/lib/Cloudflare/Tunnel/TunnelWrite.d.ts +4 -3
  564. package/lib/Cloudflare/Tunnel/TunnelWrite.d.ts.map +1 -1
  565. package/lib/Cloudflare/Tunnel/TunnelWrite.js.map +1 -1
  566. package/lib/Cloudflare/Vectorize/VectorizeIndex.d.ts.map +1 -1
  567. package/lib/Cloudflare/Vectorize/VectorizeIndex.js +79 -75
  568. package/lib/Cloudflare/Vectorize/VectorizeIndex.js.map +1 -1
  569. package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.d.ts.map +1 -1
  570. package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.js +85 -82
  571. package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.js.map +1 -1
  572. package/lib/Cloudflare/VpcService/VpcService.d.ts.map +1 -1
  573. package/lib/Cloudflare/VpcService/VpcService.js +112 -106
  574. package/lib/Cloudflare/VpcService/VpcService.js.map +1 -1
  575. package/lib/Cloudflare/VpcService/VpcServiceRef.js +1 -1
  576. package/lib/Cloudflare/VpcService/VpcServiceRef.js.map +1 -1
  577. package/lib/Cloudflare/Website/StaticSite.d.ts +64 -12
  578. package/lib/Cloudflare/Website/StaticSite.d.ts.map +1 -1
  579. package/lib/Cloudflare/Website/StaticSite.js +80 -30
  580. package/lib/Cloudflare/Website/StaticSite.js.map +1 -1
  581. package/lib/Cloudflare/Website/Vite.d.ts +36 -7
  582. package/lib/Cloudflare/Website/Vite.d.ts.map +1 -1
  583. package/lib/Cloudflare/Website/Vite.js +26 -8
  584. package/lib/Cloudflare/Website/Vite.js.map +1 -1
  585. package/lib/Cloudflare/Workers/Assets.d.ts +10 -4
  586. package/lib/Cloudflare/Workers/Assets.d.ts.map +1 -1
  587. package/lib/Cloudflare/Workers/Assets.js +8 -8
  588. package/lib/Cloudflare/Workers/Assets.js.map +1 -1
  589. package/lib/Cloudflare/Workers/DynamicWorkerLoader.d.ts +4 -4
  590. package/lib/Cloudflare/Workers/InferEnv.d.ts +1 -1
  591. package/lib/Cloudflare/Workers/InferEnv.d.ts.map +1 -1
  592. package/lib/Cloudflare/Workers/LocalWorkerProvider.d.ts +1 -1
  593. package/lib/Cloudflare/Workers/LocalWorkerProvider.d.ts.map +1 -1
  594. package/lib/Cloudflare/Workers/LocalWorkerProvider.js +48 -13
  595. package/lib/Cloudflare/Workers/LocalWorkerProvider.js.map +1 -1
  596. package/lib/Cloudflare/Workers/RpcDurableObjectNamespace.d.ts +5 -4
  597. package/lib/Cloudflare/Workers/RpcDurableObjectNamespace.d.ts.map +1 -1
  598. package/lib/Cloudflare/Workers/RpcDurableObjectNamespace.js +4 -2
  599. package/lib/Cloudflare/Workers/RpcDurableObjectNamespace.js.map +1 -1
  600. package/lib/Cloudflare/Workers/RpcWorker.d.ts +3 -2
  601. package/lib/Cloudflare/Workers/RpcWorker.d.ts.map +1 -1
  602. package/lib/Cloudflare/Workers/RpcWorker.js +5 -3
  603. package/lib/Cloudflare/Workers/RpcWorker.js.map +1 -1
  604. package/lib/Cloudflare/Workers/VersionMetadata.d.ts +99 -0
  605. package/lib/Cloudflare/Workers/VersionMetadata.d.ts.map +1 -0
  606. package/lib/Cloudflare/Workers/VersionMetadata.js +65 -0
  607. package/lib/Cloudflare/Workers/VersionMetadata.js.map +1 -0
  608. package/lib/Cloudflare/Workers/VersionMetadataBinding.d.ts +35 -0
  609. package/lib/Cloudflare/Workers/VersionMetadataBinding.d.ts.map +1 -0
  610. package/lib/Cloudflare/Workers/VersionMetadataBinding.js +31 -0
  611. package/lib/Cloudflare/Workers/VersionMetadataBinding.js.map +1 -0
  612. package/lib/Cloudflare/Workers/Worker.d.ts +19 -19
  613. package/lib/Cloudflare/Workers/Worker.d.ts.map +1 -1
  614. package/lib/Cloudflare/Workers/Worker.js +134 -98
  615. package/lib/Cloudflare/Workers/Worker.js.map +1 -1
  616. package/lib/Cloudflare/Workers/WorkerAsyncBindings.d.ts.map +1 -1
  617. package/lib/Cloudflare/Workers/WorkerAsyncBindings.js +9 -14
  618. package/lib/Cloudflare/Workers/WorkerAsyncBindings.js.map +1 -1
  619. package/lib/Cloudflare/Workers/WorkerBinding.d.ts +2 -1
  620. package/lib/Cloudflare/Workers/WorkerBinding.d.ts.map +1 -1
  621. package/lib/Cloudflare/Workers/WorkerBinding.js.map +1 -1
  622. package/lib/Cloudflare/Workers/Workflow.d.ts +8 -1
  623. package/lib/Cloudflare/Workers/Workflow.d.ts.map +1 -1
  624. package/lib/Cloudflare/Workers/Workflow.js +7 -6
  625. package/lib/Cloudflare/Workers/Workflow.js.map +1 -1
  626. package/lib/Cloudflare/Workers/WorkflowBridge.d.ts.map +1 -1
  627. package/lib/Cloudflare/Workers/WorkflowBridge.js +31 -2
  628. package/lib/Cloudflare/Workers/WorkflowBridge.js.map +1 -1
  629. package/lib/Cloudflare/Workers/index.d.ts +2 -0
  630. package/lib/Cloudflare/Workers/index.d.ts.map +1 -1
  631. package/lib/Cloudflare/Workers/index.js +2 -0
  632. package/lib/Cloudflare/Workers/index.js.map +1 -1
  633. package/lib/Cloudflare/Zaraz/ZarazConfig.d.ts.map +1 -1
  634. package/lib/Cloudflare/Zaraz/ZarazConfig.js +68 -75
  635. package/lib/Cloudflare/Zaraz/ZarazConfig.js.map +1 -1
  636. package/lib/Cloudflare/Zone/Zone.d.ts.map +1 -1
  637. package/lib/Cloudflare/Zone/Zone.js +18 -13
  638. package/lib/Cloudflare/Zone/Zone.js.map +1 -1
  639. package/lib/Diff.d.ts.map +1 -1
  640. package/lib/Diff.js +7 -0
  641. package/lib/Diff.js.map +1 -1
  642. package/lib/Drizzle/Postgres.d.ts +13 -12
  643. package/lib/Drizzle/Postgres.d.ts.map +1 -1
  644. package/lib/Drizzle/Postgres.js +13 -12
  645. package/lib/Drizzle/Postgres.js.map +1 -1
  646. package/lib/Drizzle/Schema.d.ts +1 -1
  647. package/lib/Drizzle/Schema.d.ts.map +1 -1
  648. package/lib/Drizzle/Schema.js +14 -6
  649. package/lib/Drizzle/Schema.js.map +1 -1
  650. package/lib/GitHub/Comment.d.ts +1 -6
  651. package/lib/GitHub/Comment.d.ts.map +1 -1
  652. package/lib/GitHub/Comment.js +3 -9
  653. package/lib/GitHub/Comment.js.map +1 -1
  654. package/lib/GitHub/Credentials.d.ts +4 -3
  655. package/lib/GitHub/Credentials.d.ts.map +1 -1
  656. package/lib/GitHub/Credentials.js +5 -5
  657. package/lib/GitHub/Credentials.js.map +1 -1
  658. package/lib/GitHub/Octokit.d.ts +5 -0
  659. package/lib/GitHub/Octokit.d.ts.map +1 -0
  660. package/lib/GitHub/Octokit.js +7 -0
  661. package/lib/GitHub/Octokit.js.map +1 -0
  662. package/lib/GitHub/Providers.d.ts +1 -1
  663. package/lib/GitHub/Providers.d.ts.map +1 -1
  664. package/lib/GitHub/Secret.d.ts +1 -2
  665. package/lib/GitHub/Secret.d.ts.map +1 -1
  666. package/lib/GitHub/Secret.js +8 -12
  667. package/lib/GitHub/Secret.js.map +1 -1
  668. package/lib/GitHub/Variable.d.ts +1 -2
  669. package/lib/GitHub/Variable.d.ts.map +1 -1
  670. package/lib/GitHub/Variable.js +3 -7
  671. package/lib/GitHub/Variable.js.map +1 -1
  672. package/lib/Kubernetes/client.d.ts +11 -11
  673. package/lib/Kubernetes/client.d.ts.map +1 -1
  674. package/lib/Kubernetes/client.js +2 -2
  675. package/lib/Kubernetes/client.js.map +1 -1
  676. package/lib/Local/RpcSerialization.js +5 -2
  677. package/lib/Local/RpcSerialization.js.map +1 -1
  678. package/lib/Local/RpcServerEnvironment.d.ts +2 -2
  679. package/lib/Local/RpcServerEnvironment.d.ts.map +1 -1
  680. package/lib/Neon/AuthProvider.d.ts +2 -2
  681. package/lib/Neon/AuthProvider.d.ts.map +1 -1
  682. package/lib/Neon/AuthProvider.js +2 -2
  683. package/lib/Neon/AuthProvider.js.map +1 -1
  684. package/lib/Neon/Branch.d.ts.map +1 -1
  685. package/lib/Neon/Branch.js +213 -215
  686. package/lib/Neon/Branch.js.map +1 -1
  687. package/lib/Neon/Credentials.d.ts +2 -3
  688. package/lib/Neon/Credentials.d.ts.map +1 -1
  689. package/lib/Neon/Credentials.js +3 -3
  690. package/lib/Neon/Credentials.js.map +1 -1
  691. package/lib/Neon/Project.d.ts +22 -22
  692. package/lib/Neon/Project.d.ts.map +1 -1
  693. package/lib/Neon/Project.js +263 -266
  694. package/lib/Neon/Project.js.map +1 -1
  695. package/lib/Neon/Providers.d.ts +2 -4
  696. package/lib/Neon/Providers.d.ts.map +1 -1
  697. package/lib/Neon/Providers.js +1 -3
  698. package/lib/Neon/Providers.js.map +1 -1
  699. package/lib/Neon/index.d.ts +0 -1
  700. package/lib/Neon/index.d.ts.map +1 -1
  701. package/lib/Neon/index.js +0 -1
  702. package/lib/Neon/index.js.map +1 -1
  703. package/lib/Output.d.ts +2 -1
  704. package/lib/Output.d.ts.map +1 -1
  705. package/lib/Output.js +7 -3
  706. package/lib/Output.js.map +1 -1
  707. package/lib/Plan.d.ts.map +1 -1
  708. package/lib/Plan.js +14 -6
  709. package/lib/Plan.js.map +1 -1
  710. package/lib/Planetscale/Branch.d.ts +1 -2
  711. package/lib/Planetscale/Branch.d.ts.map +1 -1
  712. package/lib/Planetscale/Branch.js +230 -235
  713. package/lib/Planetscale/Branch.js.map +1 -1
  714. package/lib/Planetscale/Credentials.d.ts +2 -3
  715. package/lib/Planetscale/Credentials.d.ts.map +1 -1
  716. package/lib/Planetscale/Credentials.js +6 -6
  717. package/lib/Planetscale/Credentials.js.map +1 -1
  718. package/lib/Planetscale/MySQL/MySQLBranch.d.ts +1 -1
  719. package/lib/Planetscale/MySQL/MySQLBranch.d.ts.map +1 -1
  720. package/lib/Planetscale/MySQL/MySQLClusterSize.d.ts +2 -2
  721. package/lib/Planetscale/MySQL/MySQLClusterSize.d.ts.map +1 -1
  722. package/lib/Planetscale/MySQL/MySQLDatabase.d.ts +1 -1
  723. package/lib/Planetscale/MySQL/MySQLDatabase.d.ts.map +1 -1
  724. package/lib/Planetscale/MySQL/MySQLDatabase.js +215 -215
  725. package/lib/Planetscale/MySQL/MySQLDatabase.js.map +1 -1
  726. package/lib/Planetscale/MySQL/MySQLMigrations.d.ts +2 -2
  727. package/lib/Planetscale/MySQL/MySQLMigrations.d.ts.map +1 -1
  728. package/lib/Planetscale/MySQL/MySQLPassword.d.ts.map +1 -1
  729. package/lib/Planetscale/MySQL/MySQLPassword.js +145 -145
  730. package/lib/Planetscale/MySQL/MySQLPassword.js.map +1 -1
  731. package/lib/Planetscale/Postgres/PostgresBranch.d.ts +1 -1
  732. package/lib/Planetscale/Postgres/PostgresBranch.d.ts.map +1 -1
  733. package/lib/Planetscale/Postgres/PostgresClusterSize.d.ts +3 -2
  734. package/lib/Planetscale/Postgres/PostgresClusterSize.d.ts.map +1 -1
  735. package/lib/Planetscale/Postgres/PostgresClusterSize.js +4 -4
  736. package/lib/Planetscale/Postgres/PostgresClusterSize.js.map +1 -1
  737. package/lib/Planetscale/Postgres/PostgresDatabase.d.ts +1 -1
  738. package/lib/Planetscale/Postgres/PostgresDatabase.d.ts.map +1 -1
  739. package/lib/Planetscale/Postgres/PostgresDatabase.js +220 -218
  740. package/lib/Planetscale/Postgres/PostgresDatabase.js.map +1 -1
  741. package/lib/Planetscale/Postgres/PostgresDefaultRole.d.ts.map +1 -1
  742. package/lib/Planetscale/Postgres/PostgresDefaultRole.js +123 -121
  743. package/lib/Planetscale/Postgres/PostgresDefaultRole.js.map +1 -1
  744. package/lib/Planetscale/Postgres/PostgresMigrations.d.ts +2 -2
  745. package/lib/Planetscale/Postgres/PostgresMigrations.d.ts.map +1 -1
  746. package/lib/Planetscale/Postgres/PostgresRole.d.ts.map +1 -1
  747. package/lib/Planetscale/Postgres/PostgresRole.js +159 -160
  748. package/lib/Planetscale/Postgres/PostgresRole.js.map +1 -1
  749. package/lib/Planetscale/Providers.d.ts +1 -2
  750. package/lib/Planetscale/Providers.d.ts.map +1 -1
  751. package/lib/Planetscale/Providers.js.map +1 -1
  752. package/lib/Planetscale/Util.d.ts +2 -2
  753. package/lib/Planetscale/Util.d.ts.map +1 -1
  754. package/lib/Platform.d.ts.map +1 -1
  755. package/lib/Platform.js +27 -25
  756. package/lib/Platform.js.map +1 -1
  757. package/lib/Resource.d.ts +1 -1
  758. package/lib/Resource.d.ts.map +1 -1
  759. package/lib/Resource.js +9 -12
  760. package/lib/Resource.js.map +1 -1
  761. package/lib/Runtime.d.ts +1 -1
  762. package/lib/Runtime.d.ts.map +1 -1
  763. package/lib/Runtime.js +3 -4
  764. package/lib/Runtime.js.map +1 -1
  765. package/lib/Server/S3BucketEventSource.d.ts +1 -1
  766. package/lib/Server/S3BucketEventSource.d.ts.map +1 -1
  767. package/lib/Server/SQSQueueEventSource.d.ts +2 -2
  768. package/lib/Server/SQSQueueEventSource.d.ts.map +1 -1
  769. package/lib/Server/SQSQueueEventSource.js +3 -2
  770. package/lib/Server/SQSQueueEventSource.js.map +1 -1
  771. package/lib/Stack.d.ts +4 -4
  772. package/lib/Stack.d.ts.map +1 -1
  773. package/lib/Stack.js +1 -1
  774. package/lib/Stack.js.map +1 -1
  775. package/lib/Util/effect.d.ts.map +1 -1
  776. package/lib/Util/effect.js +13 -15
  777. package/lib/Util/effect.js.map +1 -1
  778. package/lib/Util/poll.d.ts +0 -1
  779. package/lib/Util/poll.d.ts.map +1 -1
  780. package/lib/Util/poll.js +2 -2
  781. package/lib/Util/poll.js.map +1 -1
  782. package/lib/tsconfig.test.tsbuildinfo +1 -1
  783. package/package.json +22 -21
  784. package/src/AWS/ApiGateway/ApiKey.ts +4 -5
  785. package/src/AWS/ApiGateway/RestApi.ts +5 -6
  786. package/src/AWS/ApiGateway/Stage.ts +4 -5
  787. package/src/AWS/ApiGateway/UsagePlan.ts +4 -5
  788. package/src/AWS/ApiGateway/VpcLink.ts +4 -6
  789. package/src/AWS/Assets.ts +161 -108
  790. package/src/AWS/AuthProvider.ts +221 -124
  791. package/src/AWS/AutoScaling/LaunchTemplate.ts +31 -32
  792. package/src/AWS/Bootstrap.ts +66 -195
  793. package/src/AWS/CloudWatch/Alarm.ts +9 -8
  794. package/src/AWS/CloudWatch/AlarmMuteRule.ts +8 -7
  795. package/src/AWS/CloudWatch/CompositeAlarm.ts +9 -8
  796. package/src/AWS/CloudWatch/Dashboard.ts +9 -6
  797. package/src/AWS/CloudWatch/InsightRule.ts +10 -9
  798. package/src/AWS/CloudWatch/MetricStream.ts +9 -7
  799. package/src/AWS/Credentials.ts +4 -1
  800. package/src/AWS/EC2/EIP.ts +5 -5
  801. package/src/AWS/EC2/EgressOnlyInternetGateway.ts +20 -17
  802. package/src/AWS/EC2/Instance.ts +42 -41
  803. package/src/AWS/EC2/InternetGateway.ts +4 -8
  804. package/src/AWS/EC2/NatGateway.ts +10 -11
  805. package/src/AWS/EC2/Network.ts +2 -2
  806. package/src/AWS/EC2/NetworkAcl.ts +38 -39
  807. package/src/AWS/EC2/RouteTable.ts +3 -6
  808. package/src/AWS/EC2/SecurityGroup.ts +43 -44
  809. package/src/AWS/EC2/Vpc.ts +2 -5
  810. package/src/AWS/EC2/VpcEndpoint.ts +47 -47
  811. package/src/AWS/EC2/hosted.ts +19 -33
  812. package/src/AWS/ECS/CapacityProvider.ts +1 -3
  813. package/src/AWS/ECS/Cluster.ts +2 -5
  814. package/src/AWS/ECS/Task.ts +4 -3
  815. package/src/AWS/Endpoint.ts +12 -6
  816. package/src/AWS/Environment.ts +22 -120
  817. package/src/AWS/EventBridge/EventBus.ts +2 -5
  818. package/src/AWS/EventBridge/ListRules.ts +2 -5
  819. package/src/AWS/EventBridge/PutEvents.ts +2 -3
  820. package/src/AWS/EventBridge/Rule.ts +3 -5
  821. package/src/AWS/IAM/OpenIDConnectProvider.ts +10 -4
  822. package/src/AWS/IAM/Policy.ts +1 -2
  823. package/src/AWS/IAM/Role.ts +2 -2
  824. package/src/AWS/IAM/SAMLProvider.ts +3 -3
  825. package/src/AWS/Kinesis/Stream.ts +2 -5
  826. package/src/AWS/Lambda/EventSourceMapping.ts +2 -5
  827. package/src/AWS/Lambda/Function.ts +10 -8
  828. package/src/AWS/Lambda/Permission.ts +1 -1
  829. package/src/AWS/Logs/LogGroup.ts +2 -5
  830. package/src/AWS/Providers.ts +2 -2
  831. package/src/AWS/Region.ts +15 -3
  832. package/src/AWS/S3/Bucket.ts +15 -15
  833. package/src/AWS/SQS/Queue.ts +2 -3
  834. package/src/AWS/index.ts +0 -1
  835. package/src/Apply.ts +22 -3
  836. package/src/Auth/AuthProvider.ts +1 -1
  837. package/src/Auth/Profile.ts +13 -12
  838. package/src/Axiom/Credentials.ts +4 -2
  839. package/src/Axiom/Dataset.ts +1 -1
  840. package/src/Axiom/Providers.ts +1 -1
  841. package/src/Binding.ts +47 -43
  842. package/src/Build/DevServer.ts +330 -0
  843. package/src/Build/Local.ts +4 -0
  844. package/src/Bundle/Bundle.ts +1 -1
  845. package/src/Cli/commands/_shared.ts +2 -2
  846. package/src/Cli/commands/aws.ts +12 -9
  847. package/src/Cli/commands/cloudflare.ts +1 -1
  848. package/src/Cli/commands/login.ts +6 -22
  849. package/src/Cli/commands/profile.ts +3 -3
  850. package/src/Cloudflare/Access.ts +1 -1
  851. package/src/Cloudflare/AiGateway/AiGateway.ts +220 -219
  852. package/src/Cloudflare/ApiToken/AccountApiToken.ts +142 -153
  853. package/src/Cloudflare/ApiToken/UserApiToken.ts +105 -121
  854. package/src/Cloudflare/Browser/Browser.ts +84 -12
  855. package/src/Cloudflare/Browser/BrowserBinding.ts +205 -33
  856. package/src/Cloudflare/Browser/index.ts +15 -2
  857. package/src/Cloudflare/CloudflareEnvironment.ts +10 -5
  858. package/src/Cloudflare/Container/ContainerApplication.ts +32 -29
  859. package/src/Cloudflare/Container/ContainerBinding.ts +5 -10
  860. package/src/Cloudflare/Credentials.ts +2 -2
  861. package/src/Cloudflare/D1/D1Database.ts +268 -263
  862. package/src/Cloudflare/EdgeSession.ts +6 -5
  863. package/src/Cloudflare/Email/EmailAddress.ts +74 -71
  864. package/src/Cloudflare/Email/EmailRouting.ts +73 -75
  865. package/src/Cloudflare/Email/EmailRule.ts +79 -80
  866. package/src/Cloudflare/Hyperdrive/Hyperdrive.ts +155 -158
  867. package/src/Cloudflare/Images/Images.ts +4 -3
  868. package/src/Cloudflare/KV/KVNamespace.ts +139 -138
  869. package/src/Cloudflare/Providers.ts +5 -0
  870. package/src/Cloudflare/Queue/Queue.ts +122 -119
  871. package/src/Cloudflare/Queue/QueueConsumer.ts +334 -330
  872. package/src/Cloudflare/R2/R2Bucket.ts +200 -165
  873. package/src/Cloudflare/RateLimit/RateLimit.ts +4 -3
  874. package/src/Cloudflare/Ruleset/Ruleset.ts +93 -98
  875. package/src/Cloudflare/SecretsStore/Secret.ts +187 -194
  876. package/src/Cloudflare/SecretsStore/SecretsStore.ts +82 -87
  877. package/src/Cloudflare/StateStore/State.ts +5 -3
  878. package/src/Cloudflare/Tunnel/Tunnel.ts +187 -186
  879. package/src/Cloudflare/Tunnel/TunnelBinding.ts +16 -9
  880. package/src/Cloudflare/Tunnel/TunnelRead.ts +3 -2
  881. package/src/Cloudflare/Tunnel/TunnelReadWrite.ts +7 -2
  882. package/src/Cloudflare/Tunnel/TunnelWrite.ts +3 -2
  883. package/src/Cloudflare/Vectorize/VectorizeIndex.ts +98 -98
  884. package/src/Cloudflare/Vectorize/VectorizeMetadataIndex.ts +97 -109
  885. package/src/Cloudflare/VpcService/VpcService.ts +126 -125
  886. package/src/Cloudflare/VpcService/VpcServiceRef.ts +1 -1
  887. package/src/Cloudflare/Website/StaticSite.ts +154 -41
  888. package/src/Cloudflare/Website/Vite.ts +73 -25
  889. package/src/Cloudflare/Workers/Assets.ts +12 -10
  890. package/src/Cloudflare/Workers/DynamicWorkerLoader.ts +4 -4
  891. package/src/Cloudflare/Workers/InferEnv.ts +14 -12
  892. package/src/Cloudflare/Workers/LocalWorkerProvider.ts +57 -15
  893. package/src/Cloudflare/Workers/RpcDurableObjectNamespace.ts +11 -8
  894. package/src/Cloudflare/Workers/RpcWorker.ts +8 -7
  895. package/src/Cloudflare/Workers/VersionMetadata.ts +129 -0
  896. package/src/Cloudflare/Workers/VersionMetadataBinding.ts +82 -0
  897. package/src/Cloudflare/Workers/Worker.ts +382 -349
  898. package/src/Cloudflare/Workers/WorkerAsyncBindings.ts +13 -21
  899. package/src/Cloudflare/Workers/WorkerBinding.ts +2 -0
  900. package/src/Cloudflare/Workers/Workflow.ts +20 -9
  901. package/src/Cloudflare/Workers/WorkflowBridge.ts +47 -6
  902. package/src/Cloudflare/Workers/index.ts +2 -0
  903. package/src/Cloudflare/Zaraz/ZarazConfig.ts +87 -99
  904. package/src/Cloudflare/Zone/Zone.ts +36 -33
  905. package/src/Diff.ts +7 -0
  906. package/src/Drizzle/Postgres.ts +13 -12
  907. package/src/Drizzle/Schema.ts +16 -6
  908. package/src/GitHub/Comment.ts +3 -20
  909. package/src/GitHub/Credentials.ts +9 -5
  910. package/src/GitHub/Octokit.ts +9 -0
  911. package/src/GitHub/Secret.ts +8 -21
  912. package/src/GitHub/Variable.ts +3 -8
  913. package/src/Kubernetes/client.ts +2 -2
  914. package/src/Local/RpcSerialization.ts +5 -2
  915. package/src/Neon/AuthProvider.ts +2 -2
  916. package/src/Neon/Branch.ts +264 -272
  917. package/src/Neon/Credentials.ts +4 -2
  918. package/src/Neon/Project.ts +372 -378
  919. package/src/Neon/Providers.ts +0 -6
  920. package/src/Neon/index.ts +0 -1
  921. package/src/Output.ts +8 -4
  922. package/src/Plan.ts +15 -7
  923. package/src/Planetscale/Branch.ts +311 -321
  924. package/src/Planetscale/Credentials.ts +20 -15
  925. package/src/Planetscale/MySQL/MySQLDatabase.ts +269 -280
  926. package/src/Planetscale/MySQL/MySQLPassword.ts +161 -168
  927. package/src/Planetscale/Postgres/PostgresClusterSize.ts +4 -4
  928. package/src/Planetscale/Postgres/PostgresDatabase.ts +287 -296
  929. package/src/Planetscale/Postgres/PostgresDefaultRole.ts +143 -146
  930. package/src/Planetscale/Postgres/PostgresRole.ts +188 -195
  931. package/src/Planetscale/Providers.ts +2 -7
  932. package/src/Platform.ts +36 -32
  933. package/src/Resource.ts +12 -13
  934. package/src/Runtime.ts +3 -7
  935. package/src/Server/SQSQueueEventSource.ts +3 -2
  936. package/src/Stack.ts +3 -3
  937. package/src/Util/effect.ts +13 -17
  938. package/src/Util/poll.ts +3 -3
  939. package/bin/alchemy.sh +0 -15
  940. package/lib/AWS/Context.d.ts +0 -8
  941. package/lib/AWS/Context.d.ts.map +0 -1
  942. package/lib/AWS/Context.js +0 -16
  943. package/lib/AWS/Context.js.map +0 -1
  944. package/lib/Neon/NeonEnvironment.d.ts +0 -11
  945. package/lib/Neon/NeonEnvironment.d.ts.map +0 -1
  946. package/lib/Neon/NeonEnvironment.js +0 -18
  947. package/lib/Neon/NeonEnvironment.js.map +0 -1
  948. package/src/AWS/Context.ts +0 -30
  949. package/src/Neon/NeonEnvironment.ts +0 -32
@@ -5,7 +5,7 @@ import * as Effect from "effect/Effect";
5
5
  import * as Layer from "effect/Layer";
6
6
  import * as Match from "effect/Match";
7
7
  import { getAuthProvider } from "../Auth/AuthProvider.ts";
8
- import { ALCHEMY_PROFILE, Profile } from "../Auth/Profile.ts";
8
+ import { ALCHEMY_PROFILE, AlchemyProfile } from "../Auth/Profile.ts";
9
9
  import {
10
10
  AXIOM_AUTH_PROVIDER_NAME,
11
11
  type AxiomAuthConfig,
@@ -27,7 +27,7 @@ export const fromAuthProvider = () =>
27
27
  Layer.effect(
28
28
  Credentials,
29
29
  Effect.gen(function* () {
30
- const profile = yield* Profile;
30
+ const profile = yield* AlchemyProfile;
31
31
  const auth = yield* getAuthProvider<
32
32
  AxiomAuthConfig,
33
33
  AxiomResolvedCredentials
@@ -60,6 +60,8 @@ export const fromAuthProvider = () =>
60
60
  message: `Failed to resolve Axiom credentials for profile '${profileName}': ${(e as { message?: string }).message ?? String(e)}`,
61
61
  }),
62
62
  ),
63
+ Effect.orDie,
64
+ Effect.cached,
63
65
  );
64
66
  }),
65
67
  );
@@ -167,7 +167,7 @@ export const DatasetProvider = () =>
167
167
  Provider.effect(
168
168
  Dataset,
169
169
  Effect.gen(function* () {
170
- const { apiBaseUrl } = yield* Credentials;
170
+ const { apiBaseUrl } = yield* yield* Credentials;
171
171
  const create = yield* Axiom.createDataset;
172
172
  const update = yield* Axiom.updateDataset;
173
173
  const get = yield* Axiom.getDataset;
@@ -1,5 +1,5 @@
1
- import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
2
1
  import * as Layer from "effect/Layer";
2
+ import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
3
3
  import { CredentialsStoreLive } from "../Auth/Credentials.ts";
4
4
  import { ProfileLive } from "../Auth/Profile.ts";
5
5
  import * as Provider from "../Provider.ts";
package/src/Binding.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as Context from "effect/Context";
2
2
  import * as Effect from "effect/Effect";
3
+ import * as Effectable from "effect/Effectable";
3
4
  import * as Layer from "effect/Layer";
4
5
  import * as Option from "effect/Option";
5
- import { SingleShotGen } from "effect/Utils";
6
6
  import type { Input } from "./Input.ts";
7
7
  import * as Namespace from "./Namespace.ts";
8
8
  import { ALCHEMY_PHASE } from "./Phase.ts";
@@ -99,14 +99,11 @@ export interface Policy<
99
99
  new (_: never): PolicyShape<Identifier, Shape>;
100
100
  layer: {
101
101
  succeed(
102
- fn: (
103
- ctx: ResourceLike,
104
- ...args: Parameters<Shape>
105
- ) => Effect.Effect<void>,
102
+ fn: (ctx: ResourceLike, ...args: Parameters<Shape>) => ReturnType<Shape>,
106
103
  ): Layer.Layer<Self>;
107
104
  effect<Req = never>(
108
105
  fn: Effect.Effect<
109
- (ctx: ResourceLike, ...args: Parameters<Shape>) => Effect.Effect<void>,
106
+ (ctx: ResourceLike, ...args: Parameters<Shape>) => ReturnType<Shape>,
110
107
  never,
111
108
  Req
112
109
  >,
@@ -157,7 +154,7 @@ export const Policy =
157
154
  ),
158
155
  );
159
156
 
160
- const asEffect = () =>
157
+ const evaluate = () =>
161
158
  Effect.all([Self, Service]).pipe(
162
159
  Effect.map(
163
160
  ([resource, fn]) =>
@@ -176,44 +173,51 @@ export const Policy =
176
173
  ),
177
174
  );
178
175
  // @ts-expect-error
179
- return Object.assign(self, {
180
- [Symbol.iterator]() {
181
- return new SingleShotGen(asEffect());
182
- },
183
- asEffect,
184
- bind: (...args: any[]) =>
185
- asEffect().pipe(Effect.flatMap((fn) => fn(...args))),
186
- layer: {
187
- succeed: (
188
- fn: (
189
- self: ResourceLike,
190
- ...args: Parameters<Shape>
191
- ) => Effect.Effect<void>,
192
- ) =>
193
- Layer.succeed(
194
- self,
195
- // @ts-expect-error
196
- (...args: Parameters<Shape>) =>
197
- Self.use((self) => fn(self as ResourceLike, ...args)),
198
- ),
199
- effect: (
200
- fn: Effect.Effect<
201
- (
176
+ return Object.assign(
177
+ self,
178
+ // `self` is a Context tag (already an Effect). Spreading the Effect
179
+ // prototype retargets `yield* Policy` from the raw tag to the resolved
180
+ // bind-function while keeping `Effect.isEffect(Policy)` true so
181
+ // `Effect.all`/`forEach` behave.
182
+ Effectable.Prototype({
183
+ label: `Policy<${Identifier}>`,
184
+ evaluate,
185
+ }),
186
+ {
187
+ bind: (...args: any[]) =>
188
+ evaluate().pipe(Effect.flatMap((fn) => fn(...args))),
189
+ layer: {
190
+ succeed: (
191
+ fn: (
202
192
  self: ResourceLike,
203
193
  ...args: Parameters<Shape>
204
- ) => Effect.Effect<void>
205
- >,
206
- ) =>
207
- Layer.effect(
208
- self,
209
- // @ts-expect-error
210
- Effect.map(
211
- fn,
212
- (fn) =>
213
- (...args: Parameters<Shape>) =>
214
- Self.use((self) => fn(self as ResourceLike, ...args)),
194
+ ) => Effect.Effect<void>,
195
+ ) =>
196
+ Layer.succeed(
197
+ self,
198
+ // @ts-expect-error
199
+ (...args: Parameters<Shape>) =>
200
+ Self.use((self) => fn(self as ResourceLike, ...args)),
201
+ ),
202
+ effect: (
203
+ fn: Effect.Effect<
204
+ (
205
+ self: ResourceLike,
206
+ ...args: Parameters<Shape>
207
+ ) => Effect.Effect<void>
208
+ >,
209
+ ) =>
210
+ Layer.effect(
211
+ self,
212
+ // @ts-expect-error
213
+ Effect.map(
214
+ fn,
215
+ (fn) =>
216
+ (...args: Parameters<Shape>) =>
217
+ Self.use((self) => fn(self as ResourceLike, ...args)),
218
+ ),
215
219
  ),
216
- ),
220
+ },
217
221
  },
218
- });
222
+ );
219
223
  };
@@ -0,0 +1,330 @@
1
+ import * as Deferred from "effect/Deferred";
2
+ import * as Effect from "effect/Effect";
3
+ import * as Exit from "effect/Exit";
4
+ import * as Hash from "effect/Hash";
5
+ import * as Layer from "effect/Layer";
6
+ import * as Option from "effect/Option";
7
+ import * as Redacted from "effect/Redacted";
8
+ import * as Scope from "effect/Scope";
9
+ import * as Stream from "effect/Stream";
10
+ import { ChildProcess } from "effect/unstable/process";
11
+ import {
12
+ ChildProcessSpawner,
13
+ type ChildProcessHandle,
14
+ } from "effect/unstable/process/ChildProcessSpawner";
15
+ import { AlchemyContext } from "../AlchemyContext.ts";
16
+ import { isResolved } from "../Diff.ts";
17
+ import * as RpcProvider from "../Local/RpcProvider.ts";
18
+ import * as Provider from "../Provider.ts";
19
+ import { Resource } from "../Resource.ts";
20
+
21
+ export interface DevServerProps {
22
+ /**
23
+ * Shell command to run as a long-lived dev process (e.g. `npm run dev`).
24
+ */
25
+ command: string;
26
+ /**
27
+ * Working directory for the command. Defaults to `process.cwd()`.
28
+ */
29
+ cwd?: string;
30
+ /**
31
+ * Extra environment variables passed to the command on top of `process.env`.
32
+ */
33
+ env?: Record<string, string | Redacted.Redacted<string>>;
34
+ }
35
+
36
+ /**
37
+ * A long-lived shell process scoped to a stack instance, started during
38
+ * `alchemy dev`, restarted when inputs are changes.
39
+ *
40
+ * The provider runs inside the dev sidecar (see `Build/Local.ts`) so the
41
+ * child process survives user-code HMR — Alchemy's user process can restart
42
+ * without killing your `npm run dev` server. During deploy this performs a no-op
43
+ *
44
+ * The child's stdout/stderr are mirrored to the sidecar's terminal so the
45
+ * user still sees colored dev-server output, and each line is scanned for
46
+ * the first `http(s)://…` URL. The first match (with ANSI escapes stripped)
47
+ * is exposed as `url` — useful for surfacing a dev server's local URL back
48
+ * out to whatever resource declared this `DevServer`.
49
+ */
50
+ export interface DevServer extends Resource<
51
+ "Build.DevServer",
52
+ DevServerProps,
53
+ {
54
+ /**
55
+ * URL extracted from the first matching stdout/stderr line. Best-effort:
56
+ * `undefined` if no URL appeared within {@link URL_EXTRACT_TIMEOUT}.
57
+ */
58
+ url?: string;
59
+ }
60
+ > {}
61
+
62
+ /**
63
+ * A long-lived shell process scoped to a stack instance, started during
64
+ * `alchemy dev` and restarted when inputs change. During deploy this is
65
+ * a no-op — `DevServer` resources only run in dev mode.
66
+ *
67
+ * The child process runs inside the dev sidecar so it survives
68
+ * user-code HMR restarts. Its stdout/stderr are mirrored to the
69
+ * terminal and scanned for the first `http(s)://…` URL, which is
70
+ * exposed as the `url` output attribute.
71
+ *
72
+ * @resource
73
+ *
74
+ * @section Basic Usage
75
+ * Pass a shell command that starts a long-lived dev server. Alchemy
76
+ * runs it in the background and extracts the first URL it prints.
77
+ *
78
+ * @example Start a Vite dev server
79
+ * ```typescript
80
+ * const dev = yield* DevServer("Frontend", {
81
+ * command: "npm run dev",
82
+ * });
83
+ * console.log(dev.url); // e.g. "http://localhost:5173"
84
+ * ```
85
+ *
86
+ * @section Working Directory
87
+ * Use `cwd` to run the command in a subdirectory — useful in
88
+ * monorepos where each package has its own dev server.
89
+ *
90
+ * @example Monorepo package
91
+ * ```typescript
92
+ * const dev = yield* DevServer("Web", {
93
+ * command: "npm run dev",
94
+ * cwd: "apps/web",
95
+ * });
96
+ * ```
97
+ *
98
+ * @section Environment Variables
99
+ * Extra environment variables are merged on top of `process.env`.
100
+ * Sensitive values can be wrapped in `Redacted` to keep them out
101
+ * of logs and state files.
102
+ *
103
+ * @example Custom port and env
104
+ * ```typescript
105
+ * const dev = yield* DevServer("Api", {
106
+ * command: "npm run dev",
107
+ * env: {
108
+ * PORT: "4000",
109
+ * DATABASE_URL: Redacted.make("postgres://..."),
110
+ * },
111
+ * });
112
+ * ```
113
+ */
114
+ export const DevServer = Resource<DevServer>("Build.DevServer");
115
+
116
+ /**
117
+ * How long reconcile waits for a URL to appear in the child's output
118
+ * before giving up and returning `{ url: undefined }`. The child keeps
119
+ * running either way — this only bounds how long the deploy plan waits.
120
+ *
121
+ * Kept small because dev servers (vite, next, zola, …) print their URL
122
+ * within ~1s, and a long wait here just stalls `alchemy dev` startup
123
+ * for commands that never produce a URL.
124
+ */
125
+ const URL_EXTRACT_TIMEOUT = "5 seconds";
126
+
127
+ // Matches the first plain http(s) URL. Stops at whitespace and at a small
128
+ // set of punctuation typically used to wrap URLs in log output.
129
+ const URL_REGEX = /https?:\/\/[^\s)\],"'`]+/;
130
+
131
+ // ECMA-262 ANSI/VT100 escape sequences — `Vite`, `Next`, etc. surround the
132
+ // URL with color codes that would otherwise be eaten by the URL regex.
133
+ // eslint-disable-next-line no-control-regex
134
+ const ANSI_REGEX = /\x1b\[[0-9;]*m/g;
135
+
136
+ /**
137
+ * Live-mode no-op. `DevServer` resources should only be created in dev mode;
138
+ * if one slips into a deploy, this is a noisy no-op rather than a crash.
139
+ */
140
+ export const LiveDevServerProvider = () =>
141
+ Provider.effect(
142
+ DevServer,
143
+ Effect.succeed(
144
+ DevServer.Provider.of({
145
+ diff: () => Effect.succeed({ action: "noop" }),
146
+ reconcile: () => Effect.succeed({}),
147
+ delete: () => Effect.void,
148
+ }),
149
+ ),
150
+ );
151
+
152
+ /**
153
+ * Dev-mode provider. Runs inside the RPC sidecar so the child process
154
+ * outlives user-code restarts. Tracks instances in a module-level closure
155
+ * keyed by resource id; on `reconcile`, it diffs the props hash and either
156
+ * reuses the existing process or interrupts + respawns.
157
+ */
158
+ export const LocalDevServerProvider = () =>
159
+ RpcProvider.effect(
160
+ DevServer,
161
+ import.meta.resolve(
162
+ // See LocalWorkerProvider — must match the on-disk extension of the
163
+ // sidecar entry file.
164
+ import.meta.url.endsWith(".ts") ? "./Local.ts" : "./Local.js",
165
+ import.meta.url,
166
+ ),
167
+ Effect.gen(function* () {
168
+ const spawner = yield* ChildProcessSpawner;
169
+ // The provider's outer scope lives for the lifetime of the sidecar,
170
+ // which is exactly what we want: child processes get forked into
171
+ // sub-scopes off of this one, so they survive any single user-code
172
+ // restart but die when the sidecar shuts down.
173
+ const rootScope = yield* Effect.scope;
174
+
175
+ const instances = new Map<
176
+ string,
177
+ {
178
+ hash: number;
179
+ handle: ChildProcessHandle;
180
+ scope: Scope.Closeable;
181
+ /**
182
+ * Resolves with the first URL found in the child's output. Stored
183
+ * on the instance so that no-op reconciles (same hash, process
184
+ * still running) can await it too — even if the URL hadn't yet
185
+ * appeared at the previous reconcile.
186
+ */
187
+ urlDeferred: Deferred.Deferred<string>;
188
+ }
189
+ >();
190
+
191
+ const spawn = Effect.fn(function* (
192
+ props: DevServerProps,
193
+ urlDeferred: Deferred.Deferred<string>,
194
+ ) {
195
+ const [command, ...args] = props.command.split(" ");
196
+
197
+ const handle = yield* spawner.spawn(
198
+ ChildProcess.make(command, args, {
199
+ cwd: props.cwd ?? process.cwd(),
200
+ env: {
201
+ ...process.env,
202
+ ...Object.fromEntries(
203
+ Object.entries(props.env ?? {}).map(([k, v]) => [
204
+ k,
205
+ Redacted.isRedacted(v) ? Redacted.value(v) : v,
206
+ ]),
207
+ ),
208
+ },
209
+ stdin: "inherit",
210
+ // Leave stdout/stderr piped so we can both mirror to the parent
211
+ // terminal AND parse lines for the first URL.
212
+ }),
213
+ );
214
+
215
+ // Mirror + extract on both streams, forked into the current scope so
216
+ // they're interrupted when the instance scope closes.
217
+ yield* mirrorAndExtract(handle.stdout, "stdout", urlDeferred).pipe(
218
+ Effect.forkScoped,
219
+ );
220
+ yield* mirrorAndExtract(handle.stderr, "stderr", urlDeferred).pipe(
221
+ Effect.forkScoped,
222
+ );
223
+
224
+ return handle;
225
+ });
226
+
227
+ const stop = Effect.fn(function* (id: string) {
228
+ const existing = instances.get(id);
229
+ if (existing) {
230
+ yield* existing.handle.kill();
231
+ yield* Scope.close(existing.scope, Exit.void);
232
+ instances.delete(id);
233
+ }
234
+ });
235
+
236
+ const awaitUrl = (deferred: Deferred.Deferred<string>) =>
237
+ Deferred.await(deferred).pipe(
238
+ Effect.timeoutOption(URL_EXTRACT_TIMEOUT),
239
+ Effect.map(Option.getOrUndefined),
240
+ );
241
+
242
+ return DevServer.Provider.of({
243
+ diff: Effect.fn(function* ({ id, news }) {
244
+ if (!isResolved(news)) return undefined;
245
+ const hash = Hash.structure(news);
246
+ if (instances.get(id)?.hash === hash) {
247
+ return { action: "noop" };
248
+ }
249
+ return { action: "update" };
250
+ }),
251
+ reconcile: Effect.fn(function* ({ id, news }) {
252
+ const hash = Hash.structure(news);
253
+ const existing = instances.get(id);
254
+
255
+ if (existing) {
256
+ if (existing.hash === hash && (yield* existing.handle.isRunning)) {
257
+ const url = yield* awaitUrl(existing.urlDeferred);
258
+ return { url };
259
+ }
260
+
261
+ yield* stop(id);
262
+ }
263
+
264
+ const scope = yield* Scope.fork(rootScope);
265
+ const urlDeferred = yield* Deferred.make<string>();
266
+ const handle = yield* spawn(news, urlDeferred).pipe(
267
+ Scope.provide(scope),
268
+ );
269
+ instances.set(id, { hash, handle, scope, urlDeferred });
270
+ const url = yield* awaitUrl(urlDeferred);
271
+ return { url };
272
+ }),
273
+ delete: Effect.fn(function* ({ id }) {
274
+ yield* stop(id);
275
+ }),
276
+ });
277
+ }),
278
+ );
279
+
280
+ /**
281
+ * Drains a child stdout/stderr stream into the matching parent stream while
282
+ * scanning each completed line for the first URL. Resolves `urlDeferred`
283
+ * the first time a URL is found (subsequent calls are no-ops).
284
+ *
285
+ * Modeled on `idempotent-spawn.ts`'s `extract` hook — single-pass over each
286
+ * line, ANSI escapes stripped before matching, with a buffer for incomplete
287
+ * trailing lines across chunk boundaries.
288
+ */
289
+ const mirrorAndExtract = (
290
+ source: Stream.Stream<Uint8Array, any>,
291
+ sink: "stdout" | "stderr",
292
+ urlDeferred: Deferred.Deferred<string>,
293
+ ) =>
294
+ Effect.gen(function* () {
295
+ let lineBuffer = "";
296
+ const decoder = new TextDecoder("utf-8");
297
+ yield* Stream.runForEach(source, (chunk) =>
298
+ Effect.sync(() => {
299
+ // Pass the raw bytes through so terminal colors, cursor moves,
300
+ // progress bars etc. keep working.
301
+ process[sink].write(chunk);
302
+
303
+ lineBuffer += decoder.decode(chunk, { stream: true });
304
+ let newlineIdx = lineBuffer.indexOf("\n");
305
+ while (newlineIdx !== -1) {
306
+ const line = lineBuffer.slice(0, newlineIdx);
307
+ lineBuffer = lineBuffer.slice(newlineIdx + 1);
308
+ newlineIdx = lineBuffer.indexOf("\n");
309
+ const match = line.replace(ANSI_REGEX, "").match(URL_REGEX);
310
+ if (match) {
311
+ // Deferred.doneUnsafe is a synchronous fire-and-forget — first
312
+ // caller wins, subsequent calls are dropped, which is exactly
313
+ // what we want for "record the FIRST URL".
314
+ Deferred.doneUnsafe(urlDeferred, Effect.succeed(match[0]));
315
+ return;
316
+ }
317
+ }
318
+ }),
319
+ );
320
+ });
321
+
322
+ /**
323
+ * Selects the live or dev DevServer provider based on `AlchemyContext.dev`.
324
+ */
325
+ export const DevServerProvider = () =>
326
+ Layer.unwrap(
327
+ AlchemyContext.useSync((context) =>
328
+ context.dev ? LocalDevServerProvider() : LiveDevServerProvider(),
329
+ ),
330
+ );
@@ -0,0 +1,4 @@
1
+ import { LocalDevServerProvider } from "../Build/DevServer.ts";
2
+ import * as RpcServer from "../Local/RpcServer.ts";
3
+
4
+ LocalDevServerProvider().pipe(RpcServer.launch);
@@ -63,7 +63,7 @@ export class BundleError extends Schema.TaggedErrorClass<BundleError>()(
63
63
  "BundleError",
64
64
  {
65
65
  message: Schema.String,
66
- cause: Schema.optional(Schema.DefectWithStack),
66
+ cause: Schema.optional(Schema.Defect({ includeStack: true })),
67
67
  },
68
68
  ) {}
69
69
 
@@ -15,7 +15,7 @@ import {
15
15
  AuthError,
16
16
  AuthProviders,
17
17
  } from "../../Auth/AuthProvider.ts";
18
- import type { AlchemyProfile } from "../../Auth/Profile.ts";
18
+ import type { AlchemyProfileProviders } from "../../Auth/Profile.ts";
19
19
  import type * as Stack from "../../Stack.ts";
20
20
  import { recordCli } from "../../Telemetry/Metrics.ts";
21
21
  import { PromptCancelled } from "../../Util/Clank.ts";
@@ -269,7 +269,7 @@ export const instrumentCommand =
269
269
  */
270
270
  export const printProfile = Effect.fn(function* (
271
271
  profile: string,
272
- stored: AlchemyProfile,
272
+ stored: AlchemyProfileProviders,
273
273
  registry: AuthProviders["Service"],
274
274
  ) {
275
275
  yield* Console.log(`Profile: ${profile}`);
@@ -16,7 +16,7 @@ import {
16
16
  destroyBootstrap as destroyBootstrapAws,
17
17
  } from "../../AWS/Bootstrap.ts";
18
18
  import * as AWSCredentials from "../../AWS/Credentials.ts";
19
- import * as AWSEnvironment from "../../AWS/Environment.ts";
19
+ import { AWSEnvironment } from "../../AWS/Environment.ts";
20
20
  import * as AWSRegion from "../../AWS/Region.ts";
21
21
  import { loadConfigProvider } from "../../Util/ConfigProvider.ts";
22
22
  import { fileLogger } from "../../Util/FileLogger.ts";
@@ -72,14 +72,17 @@ const bootstrapCommand = Command.make(
72
72
  }
73
73
 
74
74
  const ambient = yield* Effect.context<FileSystem | Path | HttpClient>();
75
- const environment = AWSEnvironment.makeEnvironment({
76
- accountId: ssoProfile.sso_account_id,
77
- region: region ?? ssoProfile.region ?? "us-east-1",
78
- credentials: Auth.loadProfileCredentials(profile).pipe(
79
- Effect.provide(ambient),
80
- ),
81
- profile,
82
- });
75
+ const environment = Layer.succeed(
76
+ AWSEnvironment,
77
+ Effect.succeed({
78
+ accountId: ssoProfile.sso_account_id!,
79
+ region: region ?? ssoProfile.region ?? "us-east-1",
80
+ credentials: Auth.loadProfileCredentials(profile).pipe(
81
+ Effect.provide(ambient),
82
+ ),
83
+ profile,
84
+ }),
85
+ );
83
86
 
84
87
  const awsLayers = Layer.provideMerge(
85
88
  Layer.mergeAll(
@@ -565,7 +565,7 @@ const stateLogsCommand = Command.make(
565
565
 
566
566
  yield* Effect.gen(function* () {
567
567
  const { accountId } =
568
- yield* CloudflareEnvironment.CloudflareEnvironment;
568
+ yield* yield* CloudflareEnvironment.CloudflareEnvironment;
569
569
  const telemetry = yield* CloudflareLogs;
570
570
 
571
571
  const formatLine = (line: { timestamp: Date; message: string }) =>
@@ -7,7 +7,7 @@ import * as Logger from "effect/Logger";
7
7
  import { Command, Flag } from "effect/unstable/cli";
8
8
 
9
9
  import { AuthProviders } from "../../Auth/AuthProvider.ts";
10
- import { Profile, withProfileOverride } from "../../Auth/Profile.ts";
10
+ import { AlchemyProfile, withProfileOverride } from "../../Auth/Profile.ts";
11
11
  import { Stage } from "../../Stage.ts";
12
12
  import { loadConfigProvider } from "../../Util/ConfigProvider.ts";
13
13
  import { fileLogger } from "../../Util/FileLogger.ts";
@@ -20,7 +20,6 @@ import {
20
20
  printProfile,
21
21
  profile,
22
22
  script,
23
- stage,
24
23
  } from "./_shared.ts";
25
24
 
26
25
  const loginConfigure = Flag.boolean("configure").pipe(
@@ -35,25 +34,18 @@ export const loginCommand = Command.make(
35
34
  {
36
35
  main: script,
37
36
  envFile,
38
- stage,
39
37
  profile,
40
38
  configure: loginConfigure,
41
39
  },
42
40
  instrumentCommand(
43
41
  "login",
44
- (a: {
45
- main: string;
46
- stage: string;
47
- profile: string;
48
- configure: boolean;
49
- }) => ({
50
- "alchemy.stage": a.stage,
42
+ (a: { main: string; profile: string; configure: boolean }) => ({
51
43
  "alchemy.profile": a.profile,
52
44
  "alchemy.main": a.main,
53
45
  "alchemy.configure": a.configure,
54
46
  }),
55
47
  )(
56
- Effect.fnUntraced(function* ({ main, stage, envFile, profile, configure }) {
48
+ Effect.fnUntraced(function* ({ main, envFile, profile, configure }) {
57
49
  const stackEffect = yield* importStack(main);
58
50
 
59
51
  const authProviders: AuthProviders["Service"] = {};
@@ -72,20 +64,20 @@ export const loginCommand = Command.make(
72
64
  ),
73
65
  ),
74
66
  Logger.layer([fileLogger("out")], { mergeWithExisting: true }),
75
- Layer.succeed(Stage, stage),
67
+ Layer.succeed(Stage, "placeholder"),
76
68
  Layer.succeed(Stack, {
77
69
  actions: {},
78
70
  bindings: {},
79
71
  name: stackEffect.stackName,
80
72
  resources: {},
81
- stage,
73
+ stage: "placeholder",
82
74
  }),
83
75
  ),
84
76
  ),
85
77
  ),
86
78
  );
87
79
 
88
- const profiles = yield* Profile;
80
+ const profiles = yield* AlchemyProfile;
89
81
 
90
82
  const ci = yield* Config.boolean("CI").pipe(Config.withDefault(false));
91
83
  const providers = Object.values(authProviders);
@@ -116,14 +108,6 @@ export const loginCommand = Command.make(
116
108
  } else {
117
109
  cfg = stored;
118
110
  }
119
-
120
- // `read` succeeds when creds are present and not expired
121
- // (refreshing OAuth proactively if near expiry). Any failure
122
- // — missing file, dead refresh token, etc. — falls through
123
- // to `login`.
124
- yield* provider
125
- .read(profile, cfg)
126
- .pipe(Effect.catch(() => provider.login(profile, cfg)));
127
111
  }),
128
112
  { discard: true },
129
113
  );