alchemy 2.0.0-beta.1 → 2.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/{alchemy-effect.js → alchemy.js} +1318 -631
- package/bin/alchemy.js.map +1 -0
- package/bin/alchemy.sh +15 -0
- package/bin/alchemy.ts +51 -0
- package/bin/commands/_shared.ts +237 -0
- package/bin/commands/bootstrap.ts +117 -0
- package/bin/commands/deploy.ts +144 -0
- package/bin/commands/login.ts +93 -0
- package/bin/commands/logs.ts +157 -0
- package/bin/commands/tail.ts +138 -0
- package/lib/AWS/ACM/Certificate.d.ts +115 -0
- package/lib/AWS/ACM/Certificate.d.ts.map +1 -0
- package/lib/AWS/ACM/Certificate.js +268 -0
- package/lib/AWS/ACM/Certificate.js.map +1 -0
- package/lib/AWS/ACM/index.d.ts +2 -0
- package/lib/AWS/ACM/index.d.ts.map +1 -0
- package/lib/AWS/ACM/index.js +2 -0
- package/lib/AWS/ACM/index.js.map +1 -0
- package/lib/AWS/Arn.d.ts +2 -0
- package/lib/AWS/Arn.d.ts.map +1 -0
- package/lib/AWS/Arn.js +1 -0
- package/lib/AWS/Arn.js.map +1 -0
- package/lib/AWS/Assets.d.ts +65 -0
- package/lib/AWS/Assets.d.ts.map +1 -0
- package/lib/AWS/Assets.js +87 -0
- package/lib/AWS/Assets.js.map +1 -0
- package/lib/AWS/AuthProvider.d.ts +33 -0
- package/lib/AWS/AuthProvider.d.ts.map +1 -0
- package/lib/AWS/AuthProvider.js +202 -0
- package/lib/AWS/AuthProvider.js.map +1 -0
- package/lib/AWS/AutoScaling/AutoScalingGroup.d.ts +90 -0
- package/lib/AWS/AutoScaling/AutoScalingGroup.d.ts.map +1 -0
- package/lib/AWS/AutoScaling/AutoScalingGroup.js +250 -0
- package/lib/AWS/AutoScaling/AutoScalingGroup.js.map +1 -0
- package/lib/AWS/AutoScaling/LaunchTemplate.d.ts +140 -0
- package/lib/AWS/AutoScaling/LaunchTemplate.d.ts.map +1 -0
- package/lib/AWS/AutoScaling/LaunchTemplate.js +294 -0
- package/lib/AWS/AutoScaling/LaunchTemplate.js.map +1 -0
- package/lib/AWS/AutoScaling/ScalingPolicy.d.ts +53 -0
- package/lib/AWS/AutoScaling/ScalingPolicy.d.ts.map +1 -0
- package/lib/AWS/AutoScaling/ScalingPolicy.js +128 -0
- package/lib/AWS/AutoScaling/ScalingPolicy.js.map +1 -0
- package/lib/AWS/AutoScaling/index.d.ts +4 -0
- package/lib/AWS/AutoScaling/index.d.ts.map +1 -0
- package/lib/AWS/AutoScaling/index.js +4 -0
- package/lib/AWS/AutoScaling/index.js.map +1 -0
- package/lib/AWS/Bootstrap.d.ts +30 -0
- package/lib/AWS/Bootstrap.d.ts.map +1 -0
- package/lib/AWS/Bootstrap.js +197 -0
- package/lib/AWS/Bootstrap.js.map +1 -0
- package/lib/AWS/CloudFront/Distribution.d.ts +218 -0
- package/lib/AWS/CloudFront/Distribution.d.ts.map +1 -0
- package/lib/AWS/CloudFront/Distribution.js +472 -0
- package/lib/AWS/CloudFront/Distribution.js.map +1 -0
- package/lib/AWS/CloudFront/Function.d.ts +90 -0
- package/lib/AWS/CloudFront/Function.d.ts.map +1 -0
- package/lib/AWS/CloudFront/Function.js +185 -0
- package/lib/AWS/CloudFront/Function.js.map +1 -0
- package/lib/AWS/CloudFront/Invalidation.d.ts +51 -0
- package/lib/AWS/CloudFront/Invalidation.d.ts.map +1 -0
- package/lib/AWS/CloudFront/Invalidation.js +113 -0
- package/lib/AWS/CloudFront/Invalidation.js.map +1 -0
- package/lib/AWS/CloudFront/KeyValueStore.d.ts +61 -0
- package/lib/AWS/CloudFront/KeyValueStore.d.ts.map +1 -0
- package/lib/AWS/CloudFront/KeyValueStore.js +124 -0
- package/lib/AWS/CloudFront/KeyValueStore.js.map +1 -0
- package/lib/AWS/CloudFront/KvEntries.d.ts +56 -0
- package/lib/AWS/CloudFront/KvEntries.d.ts.map +1 -0
- package/lib/AWS/CloudFront/KvEntries.js +152 -0
- package/lib/AWS/CloudFront/KvEntries.js.map +1 -0
- package/lib/AWS/CloudFront/KvRoutesUpdate.d.ts +42 -0
- package/lib/AWS/CloudFront/KvRoutesUpdate.d.ts.map +1 -0
- package/lib/AWS/CloudFront/KvRoutesUpdate.js +190 -0
- package/lib/AWS/CloudFront/KvRoutesUpdate.js.map +1 -0
- package/lib/AWS/CloudFront/ManagedPolicies.d.ts +16 -0
- package/lib/AWS/CloudFront/ManagedPolicies.d.ts.map +1 -0
- package/lib/AWS/CloudFront/ManagedPolicies.js +16 -0
- package/lib/AWS/CloudFront/ManagedPolicies.js.map +1 -0
- package/lib/AWS/CloudFront/OriginAccessControl.d.ts +77 -0
- package/lib/AWS/CloudFront/OriginAccessControl.d.ts.map +1 -0
- package/lib/AWS/CloudFront/OriginAccessControl.js +144 -0
- package/lib/AWS/CloudFront/OriginAccessControl.js.map +1 -0
- package/lib/AWS/CloudFront/common.d.ts +12 -0
- package/lib/AWS/CloudFront/common.d.ts.map +1 -0
- package/lib/AWS/CloudFront/common.js +31 -0
- package/lib/AWS/CloudFront/common.js.map +1 -0
- package/lib/AWS/CloudFront/index.d.ts +9 -0
- package/lib/AWS/CloudFront/index.d.ts.map +1 -0
- package/lib/AWS/CloudFront/index.js +9 -0
- package/lib/AWS/CloudFront/index.js.map +1 -0
- package/lib/AWS/CloudWatch/Alarm.d.ts +49 -0
- package/lib/AWS/CloudWatch/Alarm.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/Alarm.js +120 -0
- package/lib/AWS/CloudWatch/Alarm.js.map +1 -0
- package/lib/AWS/CloudWatch/AlarmMuteRule.d.ts +47 -0
- package/lib/AWS/CloudWatch/AlarmMuteRule.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/AlarmMuteRule.js +113 -0
- package/lib/AWS/CloudWatch/AlarmMuteRule.js.map +1 -0
- package/lib/AWS/CloudWatch/AnomalyDetector.d.ts +27 -0
- package/lib/AWS/CloudWatch/AnomalyDetector.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/AnomalyDetector.js +155 -0
- package/lib/AWS/CloudWatch/AnomalyDetector.js.map +1 -0
- package/lib/AWS/CloudWatch/CompositeAlarm.d.ts +41 -0
- package/lib/AWS/CloudWatch/CompositeAlarm.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/CompositeAlarm.js +114 -0
- package/lib/AWS/CloudWatch/CompositeAlarm.js.map +1 -0
- package/lib/AWS/CloudWatch/Dashboard.d.ts +122 -0
- package/lib/AWS/CloudWatch/Dashboard.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/Dashboard.js +100 -0
- package/lib/AWS/CloudWatch/Dashboard.js.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAlarmContributors.d.ts +22 -0
- package/lib/AWS/CloudWatch/DescribeAlarmContributors.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAlarmContributors.js +43 -0
- package/lib/AWS/CloudWatch/DescribeAlarmContributors.js.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAlarmHistory.d.ts +21 -0
- package/lib/AWS/CloudWatch/DescribeAlarmHistory.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAlarmHistory.js +39 -0
- package/lib/AWS/CloudWatch/DescribeAlarmHistory.js.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAlarms.d.ts +22 -0
- package/lib/AWS/CloudWatch/DescribeAlarms.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAlarms.js +53 -0
- package/lib/AWS/CloudWatch/DescribeAlarms.js.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.d.ts +21 -0
- package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.js +39 -0
- package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.js.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.d.ts +21 -0
- package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.js +39 -0
- package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.js.map +1 -0
- package/lib/AWS/CloudWatch/DescribeInsightRules.d.ts +21 -0
- package/lib/AWS/CloudWatch/DescribeInsightRules.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/DescribeInsightRules.js +39 -0
- package/lib/AWS/CloudWatch/DescribeInsightRules.js.map +1 -0
- package/lib/AWS/CloudWatch/DisableAlarmActions.d.ts +20 -0
- package/lib/AWS/CloudWatch/DisableAlarmActions.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/DisableAlarmActions.js +45 -0
- package/lib/AWS/CloudWatch/DisableAlarmActions.js.map +1 -0
- package/lib/AWS/CloudWatch/DisableInsightRules.d.ts +19 -0
- package/lib/AWS/CloudWatch/DisableInsightRules.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/DisableInsightRules.js +45 -0
- package/lib/AWS/CloudWatch/DisableInsightRules.js.map +1 -0
- package/lib/AWS/CloudWatch/EnableAlarmActions.d.ts +20 -0
- package/lib/AWS/CloudWatch/EnableAlarmActions.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/EnableAlarmActions.js +45 -0
- package/lib/AWS/CloudWatch/EnableAlarmActions.js.map +1 -0
- package/lib/AWS/CloudWatch/GetAlarmMuteRule.d.ts +22 -0
- package/lib/AWS/CloudWatch/GetAlarmMuteRule.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/GetAlarmMuteRule.js +43 -0
- package/lib/AWS/CloudWatch/GetAlarmMuteRule.js.map +1 -0
- package/lib/AWS/CloudWatch/GetDashboard.d.ts +22 -0
- package/lib/AWS/CloudWatch/GetDashboard.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/GetDashboard.js +43 -0
- package/lib/AWS/CloudWatch/GetDashboard.js.map +1 -0
- package/lib/AWS/CloudWatch/GetInsightRuleReport.d.ts +22 -0
- package/lib/AWS/CloudWatch/GetInsightRuleReport.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/GetInsightRuleReport.js +43 -0
- package/lib/AWS/CloudWatch/GetInsightRuleReport.js.map +1 -0
- package/lib/AWS/CloudWatch/GetMetricData.d.ts +21 -0
- package/lib/AWS/CloudWatch/GetMetricData.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/GetMetricData.js +39 -0
- package/lib/AWS/CloudWatch/GetMetricData.js.map +1 -0
- package/lib/AWS/CloudWatch/GetMetricStatistics.d.ts +21 -0
- package/lib/AWS/CloudWatch/GetMetricStatistics.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/GetMetricStatistics.js +39 -0
- package/lib/AWS/CloudWatch/GetMetricStatistics.js.map +1 -0
- package/lib/AWS/CloudWatch/GetMetricStream.d.ts +22 -0
- package/lib/AWS/CloudWatch/GetMetricStream.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/GetMetricStream.js +43 -0
- package/lib/AWS/CloudWatch/GetMetricStream.js.map +1 -0
- package/lib/AWS/CloudWatch/GetMetricWidgetImage.d.ts +21 -0
- package/lib/AWS/CloudWatch/GetMetricWidgetImage.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/GetMetricWidgetImage.js +39 -0
- package/lib/AWS/CloudWatch/GetMetricWidgetImage.js.map +1 -0
- package/lib/AWS/CloudWatch/InsightRule.d.ts +76 -0
- package/lib/AWS/CloudWatch/InsightRule.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/InsightRule.js +141 -0
- package/lib/AWS/CloudWatch/InsightRule.js.map +1 -0
- package/lib/AWS/CloudWatch/ListAlarmMuteRules.d.ts +21 -0
- package/lib/AWS/CloudWatch/ListAlarmMuteRules.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/ListAlarmMuteRules.js +39 -0
- package/lib/AWS/CloudWatch/ListAlarmMuteRules.js.map +1 -0
- package/lib/AWS/CloudWatch/ListDashboards.d.ts +21 -0
- package/lib/AWS/CloudWatch/ListDashboards.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/ListDashboards.js +39 -0
- package/lib/AWS/CloudWatch/ListDashboards.js.map +1 -0
- package/lib/AWS/CloudWatch/ListManagedInsightRules.d.ts +21 -0
- package/lib/AWS/CloudWatch/ListManagedInsightRules.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/ListManagedInsightRules.js +39 -0
- package/lib/AWS/CloudWatch/ListManagedInsightRules.js.map +1 -0
- package/lib/AWS/CloudWatch/ListMetricStreams.d.ts +21 -0
- package/lib/AWS/CloudWatch/ListMetricStreams.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/ListMetricStreams.js +39 -0
- package/lib/AWS/CloudWatch/ListMetricStreams.js.map +1 -0
- package/lib/AWS/CloudWatch/ListMetrics.d.ts +21 -0
- package/lib/AWS/CloudWatch/ListMetrics.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/ListMetrics.js +39 -0
- package/lib/AWS/CloudWatch/ListMetrics.js.map +1 -0
- package/lib/AWS/CloudWatch/ListTagsForResource.d.ts +22 -0
- package/lib/AWS/CloudWatch/ListTagsForResource.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/ListTagsForResource.js +44 -0
- package/lib/AWS/CloudWatch/ListTagsForResource.js.map +1 -0
- package/lib/AWS/CloudWatch/MetricStream.d.ts +48 -0
- package/lib/AWS/CloudWatch/MetricStream.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/MetricStream.js +139 -0
- package/lib/AWS/CloudWatch/MetricStream.js.map +1 -0
- package/lib/AWS/CloudWatch/PutMetricData.d.ts +21 -0
- package/lib/AWS/CloudWatch/PutMetricData.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/PutMetricData.js +39 -0
- package/lib/AWS/CloudWatch/PutMetricData.js.map +1 -0
- package/lib/AWS/CloudWatch/SetAlarmState.d.ts +22 -0
- package/lib/AWS/CloudWatch/SetAlarmState.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/SetAlarmState.js +43 -0
- package/lib/AWS/CloudWatch/SetAlarmState.js.map +1 -0
- package/lib/AWS/CloudWatch/alarmStateChanges.d.ts +23 -0
- package/lib/AWS/CloudWatch/alarmStateChanges.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/alarmStateChanges.js +13 -0
- package/lib/AWS/CloudWatch/alarmStateChanges.js.map +1 -0
- package/lib/AWS/CloudWatch/binding-common.d.ts +13 -0
- package/lib/AWS/CloudWatch/binding-common.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/binding-common.js +19 -0
- package/lib/AWS/CloudWatch/binding-common.js.map +1 -0
- package/lib/AWS/CloudWatch/common.d.ts +33 -0
- package/lib/AWS/CloudWatch/common.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/common.js +72 -0
- package/lib/AWS/CloudWatch/common.js.map +1 -0
- package/lib/AWS/CloudWatch/index.d.ts +33 -0
- package/lib/AWS/CloudWatch/index.d.ts.map +1 -0
- package/lib/AWS/CloudWatch/index.js +33 -0
- package/lib/AWS/CloudWatch/index.js.map +1 -0
- package/lib/AWS/Context.d.ts +8 -0
- package/lib/AWS/Context.d.ts.map +1 -0
- package/lib/AWS/Context.js +16 -0
- package/lib/AWS/Context.js.map +1 -0
- package/lib/AWS/Credentials.d.ts +11 -0
- package/lib/AWS/Credentials.d.ts.map +1 -0
- package/lib/AWS/Credentials.js +12 -0
- package/lib/AWS/Credentials.js.map +1 -0
- package/lib/AWS/DynamoDB/AttributeValue.d.ts +20 -0
- package/lib/AWS/DynamoDB/AttributeValue.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/AttributeValue.js +228 -0
- package/lib/AWS/DynamoDB/AttributeValue.js.map +1 -0
- package/lib/AWS/DynamoDB/BatchExecuteStatement.d.ts +43 -0
- package/lib/AWS/DynamoDB/BatchExecuteStatement.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/BatchExecuteStatement.js +74 -0
- package/lib/AWS/DynamoDB/BatchExecuteStatement.js.map +1 -0
- package/lib/AWS/DynamoDB/BatchGetItem.d.ts +45 -0
- package/lib/AWS/DynamoDB/BatchGetItem.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/BatchGetItem.js +81 -0
- package/lib/AWS/DynamoDB/BatchGetItem.js.map +1 -0
- package/lib/AWS/DynamoDB/BatchWriteItem.d.ts +48 -0
- package/lib/AWS/DynamoDB/BatchWriteItem.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/BatchWriteItem.js +84 -0
- package/lib/AWS/DynamoDB/BatchWriteItem.js.map +1 -0
- package/lib/AWS/DynamoDB/DeleteItem.d.ts +19 -0
- package/lib/AWS/DynamoDB/DeleteItem.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/DeleteItem.js +41 -0
- package/lib/AWS/DynamoDB/DeleteItem.js.map +1 -0
- package/lib/AWS/DynamoDB/DescribeTable.d.ts +19 -0
- package/lib/AWS/DynamoDB/DescribeTable.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/DescribeTable.js +40 -0
- package/lib/AWS/DynamoDB/DescribeTable.js.map +1 -0
- package/lib/AWS/DynamoDB/DescribeTimeToLive.d.ts +19 -0
- package/lib/AWS/DynamoDB/DescribeTimeToLive.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/DescribeTimeToLive.js +40 -0
- package/lib/AWS/DynamoDB/DescribeTimeToLive.js.map +1 -0
- package/lib/AWS/DynamoDB/ExecuteStatement.d.ts +36 -0
- package/lib/AWS/DynamoDB/ExecuteStatement.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/ExecuteStatement.js +62 -0
- package/lib/AWS/DynamoDB/ExecuteStatement.js.map +1 -0
- package/lib/AWS/DynamoDB/ExecuteTransaction.d.ts +19 -0
- package/lib/AWS/DynamoDB/ExecuteTransaction.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/ExecuteTransaction.js +42 -0
- package/lib/AWS/DynamoDB/ExecuteTransaction.js.map +1 -0
- package/lib/AWS/DynamoDB/Expr.d.ts +41 -0
- package/lib/AWS/DynamoDB/Expr.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/Expr.js +1 -0
- package/lib/AWS/DynamoDB/Expr.js.map +1 -0
- package/lib/AWS/DynamoDB/GetItem.d.ts +37 -0
- package/lib/AWS/DynamoDB/GetItem.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/GetItem.js +59 -0
- package/lib/AWS/DynamoDB/GetItem.js.map +1 -0
- package/lib/AWS/DynamoDB/ListTables.d.ts +18 -0
- package/lib/AWS/DynamoDB/ListTables.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/ListTables.js +36 -0
- package/lib/AWS/DynamoDB/ListTables.js.map +1 -0
- package/lib/AWS/DynamoDB/ListTagsOfResource.d.ts +19 -0
- package/lib/AWS/DynamoDB/ListTagsOfResource.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/ListTagsOfResource.js +40 -0
- package/lib/AWS/DynamoDB/ListTagsOfResource.js.map +1 -0
- package/lib/AWS/DynamoDB/ProjectionExpression.d.ts +25 -0
- package/lib/AWS/DynamoDB/ProjectionExpression.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/ProjectionExpression.js +1 -0
- package/lib/AWS/DynamoDB/ProjectionExpression.js.map +1 -0
- package/lib/AWS/DynamoDB/PutItem.d.ts +19 -0
- package/lib/AWS/DynamoDB/PutItem.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/PutItem.js +41 -0
- package/lib/AWS/DynamoDB/PutItem.js.map +1 -0
- package/lib/AWS/DynamoDB/Query.d.ts +19 -0
- package/lib/AWS/DynamoDB/Query.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/Query.js +45 -0
- package/lib/AWS/DynamoDB/Query.js.map +1 -0
- package/lib/AWS/DynamoDB/RestoreTableToPointInTime.d.ts +19 -0
- package/lib/AWS/DynamoDB/RestoreTableToPointInTime.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/RestoreTableToPointInTime.js +55 -0
- package/lib/AWS/DynamoDB/RestoreTableToPointInTime.js.map +1 -0
- package/lib/AWS/DynamoDB/Scan.d.ts +19 -0
- package/lib/AWS/DynamoDB/Scan.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/Scan.js +45 -0
- package/lib/AWS/DynamoDB/Scan.js.map +1 -0
- package/lib/AWS/DynamoDB/Stream.d.ts +70 -0
- package/lib/AWS/DynamoDB/Stream.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/Stream.js +9 -0
- package/lib/AWS/DynamoDB/Stream.js.map +1 -0
- package/lib/AWS/DynamoDB/Table.d.ts +172 -0
- package/lib/AWS/DynamoDB/Table.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/Table.js +727 -0
- package/lib/AWS/DynamoDB/Table.js.map +1 -0
- package/lib/AWS/DynamoDB/TransactGetItems.d.ts +52 -0
- package/lib/AWS/DynamoDB/TransactGetItems.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/TransactGetItems.js +88 -0
- package/lib/AWS/DynamoDB/TransactGetItems.js.map +1 -0
- package/lib/AWS/DynamoDB/TransactWriteItems.d.ts +69 -0
- package/lib/AWS/DynamoDB/TransactWriteItems.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/TransactWriteItems.js +120 -0
- package/lib/AWS/DynamoDB/TransactWriteItems.js.map +1 -0
- package/lib/AWS/DynamoDB/UpdateItem.d.ts +19 -0
- package/lib/AWS/DynamoDB/UpdateItem.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/UpdateItem.js +41 -0
- package/lib/AWS/DynamoDB/UpdateItem.js.map +1 -0
- package/lib/AWS/DynamoDB/UpdateTimeToLive.d.ts +19 -0
- package/lib/AWS/DynamoDB/UpdateTimeToLive.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/UpdateTimeToLive.js +40 -0
- package/lib/AWS/DynamoDB/UpdateTimeToLive.js.map +1 -0
- package/lib/AWS/DynamoDB/index.d.ts +25 -0
- package/lib/AWS/DynamoDB/index.d.ts.map +1 -0
- package/lib/AWS/DynamoDB/index.js +25 -0
- package/lib/AWS/DynamoDB/index.js.map +1 -0
- package/lib/AWS/EC2/EIP.d.ts +79 -0
- package/lib/AWS/EC2/EIP.d.ts.map +1 -0
- package/lib/AWS/EC2/EIP.js +141 -0
- package/lib/AWS/EC2/EIP.js.map +1 -0
- package/lib/AWS/EC2/EgressOnlyInternetGateway.d.ts +48 -0
- package/lib/AWS/EC2/EgressOnlyInternetGateway.d.ts.map +1 -0
- package/lib/AWS/EC2/EgressOnlyInternetGateway.js +127 -0
- package/lib/AWS/EC2/EgressOnlyInternetGateway.js.map +1 -0
- package/lib/AWS/EC2/Image.d.ts +27 -0
- package/lib/AWS/EC2/Image.d.ts.map +1 -0
- package/lib/AWS/EC2/Image.js +67 -0
- package/lib/AWS/EC2/Image.js.map +1 -0
- package/lib/AWS/EC2/Instance.d.ts +265 -0
- package/lib/AWS/EC2/Instance.d.ts.map +1 -0
- package/lib/AWS/EC2/Instance.js +436 -0
- package/lib/AWS/EC2/Instance.js.map +1 -0
- package/lib/AWS/EC2/InternetGateway.d.ts +52 -0
- package/lib/AWS/EC2/InternetGateway.d.ts.map +1 -0
- package/lib/AWS/EC2/InternetGateway.js +203 -0
- package/lib/AWS/EC2/InternetGateway.js.map +1 -0
- package/lib/AWS/EC2/NatGateway.d.ts +121 -0
- package/lib/AWS/EC2/NatGateway.d.ts.map +1 -0
- package/lib/AWS/EC2/NatGateway.js +224 -0
- package/lib/AWS/EC2/NatGateway.js.map +1 -0
- package/lib/AWS/EC2/Network.d.ts +127 -0
- package/lib/AWS/EC2/Network.d.ts.map +1 -0
- package/lib/AWS/EC2/Network.js +279 -0
- package/lib/AWS/EC2/Network.js.map +1 -0
- package/lib/AWS/EC2/NetworkAcl.d.ts +54 -0
- package/lib/AWS/EC2/NetworkAcl.d.ts.map +1 -0
- package/lib/AWS/EC2/NetworkAcl.js +142 -0
- package/lib/AWS/EC2/NetworkAcl.js.map +1 -0
- package/lib/AWS/EC2/NetworkAclAssociation.d.ts +26 -0
- package/lib/AWS/EC2/NetworkAclAssociation.d.ts.map +1 -0
- package/lib/AWS/EC2/NetworkAclAssociation.js +126 -0
- package/lib/AWS/EC2/NetworkAclAssociation.js.map +1 -0
- package/lib/AWS/EC2/NetworkAclEntry.d.ts +89 -0
- package/lib/AWS/EC2/NetworkAclEntry.d.ts.map +1 -0
- package/lib/AWS/EC2/NetworkAclEntry.js +131 -0
- package/lib/AWS/EC2/NetworkAclEntry.js.map +1 -0
- package/lib/AWS/EC2/Route.d.ts +98 -0
- package/lib/AWS/EC2/Route.d.ts.map +1 -0
- package/lib/AWS/EC2/Route.js +169 -0
- package/lib/AWS/EC2/Route.js.map +1 -0
- package/lib/AWS/EC2/RouteTable.d.ts +152 -0
- package/lib/AWS/EC2/RouteTable.d.ts.map +1 -0
- package/lib/AWS/EC2/RouteTable.js +217 -0
- package/lib/AWS/EC2/RouteTable.js.map +1 -0
- package/lib/AWS/EC2/RouteTableAssociation.d.ts +54 -0
- package/lib/AWS/EC2/RouteTableAssociation.d.ts.map +1 -0
- package/lib/AWS/EC2/RouteTableAssociation.js +128 -0
- package/lib/AWS/EC2/RouteTableAssociation.js.map +1 -0
- package/lib/AWS/EC2/SecurityGroup.d.ts +140 -0
- package/lib/AWS/EC2/SecurityGroup.d.ts.map +1 -0
- package/lib/AWS/EC2/SecurityGroup.js +300 -0
- package/lib/AWS/EC2/SecurityGroup.js.map +1 -0
- package/lib/AWS/EC2/SecurityGroupRule.d.ts +109 -0
- package/lib/AWS/EC2/SecurityGroupRule.d.ts.map +1 -0
- package/lib/AWS/EC2/SecurityGroupRule.js +199 -0
- package/lib/AWS/EC2/SecurityGroupRule.js.map +1 -0
- package/lib/AWS/EC2/Subnet.d.ts +167 -0
- package/lib/AWS/EC2/Subnet.d.ts.map +1 -0
- package/lib/AWS/EC2/Subnet.js +282 -0
- package/lib/AWS/EC2/Subnet.js.map +1 -0
- package/lib/AWS/EC2/Vpc.d.ts +130 -0
- package/lib/AWS/EC2/Vpc.d.ts.map +1 -0
- package/lib/AWS/EC2/Vpc.js +221 -0
- package/lib/AWS/EC2/Vpc.js.map +1 -0
- package/lib/AWS/EC2/VpcEndpoint.d.ts +170 -0
- package/lib/AWS/EC2/VpcEndpoint.d.ts.map +1 -0
- package/lib/AWS/EC2/VpcEndpoint.js +316 -0
- package/lib/AWS/EC2/VpcEndpoint.js.map +1 -0
- package/lib/AWS/EC2/hosted.d.ts +142 -0
- package/lib/AWS/EC2/hosted.d.ts.map +1 -0
- package/lib/AWS/EC2/hosted.js +570 -0
- package/lib/AWS/EC2/hosted.js.map +1 -0
- package/lib/AWS/EC2/index.d.ts +19 -0
- package/lib/AWS/EC2/index.d.ts.map +1 -0
- package/lib/AWS/EC2/index.js +19 -0
- package/lib/AWS/EC2/index.js.map +1 -0
- package/lib/AWS/ECR/Repository.d.ts +56 -0
- package/lib/AWS/ECR/Repository.d.ts.map +1 -0
- package/lib/AWS/ECR/Repository.js +167 -0
- package/lib/AWS/ECR/Repository.js.map +1 -0
- package/lib/AWS/ECR/index.d.ts +2 -0
- package/lib/AWS/ECR/index.d.ts.map +1 -0
- package/lib/AWS/ECR/index.js +2 -0
- package/lib/AWS/ECR/index.js.map +1 -0
- package/lib/AWS/ECS/Cluster.d.ts +63 -0
- package/lib/AWS/ECS/Cluster.d.ts.map +1 -0
- package/lib/AWS/ECS/Cluster.js +161 -0
- package/lib/AWS/ECS/Cluster.js.map +1 -0
- package/lib/AWS/ECS/DescribeTasks.d.ts +19 -0
- package/lib/AWS/ECS/DescribeTasks.d.ts.map +1 -0
- package/lib/AWS/ECS/DescribeTasks.js +41 -0
- package/lib/AWS/ECS/DescribeTasks.js.map +1 -0
- package/lib/AWS/ECS/ListTasks.d.ts +19 -0
- package/lib/AWS/ECS/ListTasks.d.ts.map +1 -0
- package/lib/AWS/ECS/ListTasks.js +41 -0
- package/lib/AWS/ECS/ListTasks.js.map +1 -0
- package/lib/AWS/ECS/RunTask.d.ts +20 -0
- package/lib/AWS/ECS/RunTask.d.ts.map +1 -0
- package/lib/AWS/ECS/RunTask.js +53 -0
- package/lib/AWS/ECS/RunTask.js.map +1 -0
- package/lib/AWS/ECS/Schedule.d.ts +94 -0
- package/lib/AWS/ECS/Schedule.d.ts.map +1 -0
- package/lib/AWS/ECS/Schedule.js +57 -0
- package/lib/AWS/ECS/Schedule.js.map +1 -0
- package/lib/AWS/ECS/Service.d.ts +214 -0
- package/lib/AWS/ECS/Service.d.ts.map +1 -0
- package/lib/AWS/ECS/Service.js +339 -0
- package/lib/AWS/ECS/Service.js.map +1 -0
- package/lib/AWS/ECS/StopTask.d.ts +19 -0
- package/lib/AWS/ECS/StopTask.d.ts.map +1 -0
- package/lib/AWS/ECS/StopTask.js +41 -0
- package/lib/AWS/ECS/StopTask.js.map +1 -0
- package/lib/AWS/ECS/Task.d.ts +125 -0
- package/lib/AWS/ECS/Task.d.ts.map +1 -0
- package/lib/AWS/ECS/Task.js +607 -0
- package/lib/AWS/ECS/Task.js.map +1 -0
- package/lib/AWS/ECS/index.d.ts +9 -0
- package/lib/AWS/ECS/index.d.ts.map +1 -0
- package/lib/AWS/ECS/index.js +9 -0
- package/lib/AWS/ECS/index.js.map +1 -0
- package/lib/AWS/EKS/AccessEntry.d.ts +84 -0
- package/lib/AWS/EKS/AccessEntry.d.ts.map +1 -0
- package/lib/AWS/EKS/AccessEntry.js +221 -0
- package/lib/AWS/EKS/AccessEntry.js.map +1 -0
- package/lib/AWS/EKS/Addon.d.ts +82 -0
- package/lib/AWS/EKS/Addon.d.ts.map +1 -0
- package/lib/AWS/EKS/Addon.js +223 -0
- package/lib/AWS/EKS/Addon.js.map +1 -0
- package/lib/AWS/EKS/AutoCluster.d.ts +142 -0
- package/lib/AWS/EKS/AutoCluster.d.ts.map +1 -0
- package/lib/AWS/EKS/AutoCluster.js +156 -0
- package/lib/AWS/EKS/AutoCluster.js.map +1 -0
- package/lib/AWS/EKS/Cluster.d.ts +115 -0
- package/lib/AWS/EKS/Cluster.d.ts.map +1 -0
- package/lib/AWS/EKS/Cluster.js +375 -0
- package/lib/AWS/EKS/Cluster.js.map +1 -0
- package/lib/AWS/EKS/LoadBalancedWorkload.d.ts +89 -0
- package/lib/AWS/EKS/LoadBalancedWorkload.d.ts.map +1 -0
- package/lib/AWS/EKS/LoadBalancedWorkload.js +38 -0
- package/lib/AWS/EKS/LoadBalancedWorkload.js.map +1 -0
- package/lib/AWS/EKS/PodIdentityAssociation.d.ts +73 -0
- package/lib/AWS/EKS/PodIdentityAssociation.d.ts.map +1 -0
- package/lib/AWS/EKS/PodIdentityAssociation.js +214 -0
- package/lib/AWS/EKS/PodIdentityAssociation.js.map +1 -0
- package/lib/AWS/EKS/PodIdentityServiceAccount.d.ts +109 -0
- package/lib/AWS/EKS/PodIdentityServiceAccount.d.ts.map +1 -0
- package/lib/AWS/EKS/PodIdentityServiceAccount.js +66 -0
- package/lib/AWS/EKS/PodIdentityServiceAccount.js.map +1 -0
- package/lib/AWS/EKS/PodIdentityWorkload.d.ts +190 -0
- package/lib/AWS/EKS/PodIdentityWorkload.d.ts.map +1 -0
- package/lib/AWS/EKS/PodIdentityWorkload.js +71 -0
- package/lib/AWS/EKS/PodIdentityWorkload.js.map +1 -0
- package/lib/AWS/EKS/Workload.d.ts +143 -0
- package/lib/AWS/EKS/Workload.d.ts.map +1 -0
- package/lib/AWS/EKS/Workload.js +65 -0
- package/lib/AWS/EKS/Workload.js.map +1 -0
- package/lib/AWS/EKS/index.d.ts +10 -0
- package/lib/AWS/EKS/index.d.ts.map +1 -0
- package/lib/AWS/EKS/index.js +10 -0
- package/lib/AWS/EKS/index.js.map +1 -0
- package/lib/AWS/ELBv2/Listener.d.ts +28 -0
- package/lib/AWS/ELBv2/Listener.d.ts.map +1 -0
- package/lib/AWS/ELBv2/Listener.js +102 -0
- package/lib/AWS/ELBv2/Listener.js.map +1 -0
- package/lib/AWS/ELBv2/LoadBalancer.d.ts +36 -0
- package/lib/AWS/ELBv2/LoadBalancer.d.ts.map +1 -0
- package/lib/AWS/ELBv2/LoadBalancer.js +158 -0
- package/lib/AWS/ELBv2/LoadBalancer.js.map +1 -0
- package/lib/AWS/ELBv2/TargetGroup.d.ts +36 -0
- package/lib/AWS/ELBv2/TargetGroup.d.ts.map +1 -0
- package/lib/AWS/ELBv2/TargetGroup.js +152 -0
- package/lib/AWS/ELBv2/TargetGroup.js.map +1 -0
- package/lib/AWS/ELBv2/index.d.ts +4 -0
- package/lib/AWS/ELBv2/index.d.ts.map +1 -0
- package/lib/AWS/ELBv2/index.js +4 -0
- package/lib/AWS/ELBv2/index.js.map +1 -0
- package/lib/AWS/Endpoint.d.ts +11 -0
- package/lib/AWS/Endpoint.d.ts.map +1 -0
- package/lib/AWS/Endpoint.js +12 -0
- package/lib/AWS/Endpoint.js.map +1 -0
- package/lib/AWS/Environment.d.ts +68 -0
- package/lib/AWS/Environment.d.ts.map +1 -0
- package/lib/AWS/Environment.js +53 -0
- package/lib/AWS/Environment.js.map +1 -0
- package/lib/AWS/EventBridge/DescribeEventBus.d.ts +19 -0
- package/lib/AWS/EventBridge/DescribeEventBus.d.ts.map +1 -0
- package/lib/AWS/EventBridge/DescribeEventBus.js +40 -0
- package/lib/AWS/EventBridge/DescribeEventBus.js.map +1 -0
- package/lib/AWS/EventBridge/DescribeRule.d.ts +19 -0
- package/lib/AWS/EventBridge/DescribeRule.d.ts.map +1 -0
- package/lib/AWS/EventBridge/DescribeRule.js +44 -0
- package/lib/AWS/EventBridge/DescribeRule.js.map +1 -0
- package/lib/AWS/EventBridge/EventBus.d.ts +88 -0
- package/lib/AWS/EventBridge/EventBus.d.ts.map +1 -0
- package/lib/AWS/EventBridge/EventBus.js +136 -0
- package/lib/AWS/EventBridge/EventBus.js.map +1 -0
- package/lib/AWS/EventBridge/EventSource.d.ts +41 -0
- package/lib/AWS/EventBridge/EventSource.d.ts.map +1 -0
- package/lib/AWS/EventBridge/EventSource.js +63 -0
- package/lib/AWS/EventBridge/EventSource.js.map +1 -0
- package/lib/AWS/EventBridge/ListEventBuses.d.ts +18 -0
- package/lib/AWS/EventBridge/ListEventBuses.d.ts.map +1 -0
- package/lib/AWS/EventBridge/ListEventBuses.js +36 -0
- package/lib/AWS/EventBridge/ListEventBuses.js.map +1 -0
- package/lib/AWS/EventBridge/ListRules.d.ts +21 -0
- package/lib/AWS/EventBridge/ListRules.d.ts.map +1 -0
- package/lib/AWS/EventBridge/ListRules.js +53 -0
- package/lib/AWS/EventBridge/ListRules.js.map +1 -0
- package/lib/AWS/EventBridge/ListTargetsByRule.d.ts +19 -0
- package/lib/AWS/EventBridge/ListTargetsByRule.d.ts.map +1 -0
- package/lib/AWS/EventBridge/ListTargetsByRule.js +44 -0
- package/lib/AWS/EventBridge/ListTargetsByRule.js.map +1 -0
- package/lib/AWS/EventBridge/Permission.d.ts +51 -0
- package/lib/AWS/EventBridge/Permission.d.ts.map +1 -0
- package/lib/AWS/EventBridge/Permission.js +79 -0
- package/lib/AWS/EventBridge/Permission.js.map +1 -0
- package/lib/AWS/EventBridge/PutEvents.d.ts +22 -0
- package/lib/AWS/EventBridge/PutEvents.d.ts.map +1 -0
- package/lib/AWS/EventBridge/PutEvents.js +55 -0
- package/lib/AWS/EventBridge/PutEvents.js.map +1 -0
- package/lib/AWS/EventBridge/Rule.d.ts +210 -0
- package/lib/AWS/EventBridge/Rule.d.ts.map +1 -0
- package/lib/AWS/EventBridge/Rule.js +256 -0
- package/lib/AWS/EventBridge/Rule.js.map +1 -0
- package/lib/AWS/EventBridge/TestEventPattern.d.ts +18 -0
- package/lib/AWS/EventBridge/TestEventPattern.d.ts.map +1 -0
- package/lib/AWS/EventBridge/TestEventPattern.js +36 -0
- package/lib/AWS/EventBridge/TestEventPattern.js.map +1 -0
- package/lib/AWS/EventBridge/ToEcsTask.d.ts +24 -0
- package/lib/AWS/EventBridge/ToEcsTask.d.ts.map +1 -0
- package/lib/AWS/EventBridge/ToEcsTask.js +78 -0
- package/lib/AWS/EventBridge/ToEcsTask.js.map +1 -0
- package/lib/AWS/EventBridge/ToLambda.d.ts +22 -0
- package/lib/AWS/EventBridge/ToLambda.d.ts.map +1 -0
- package/lib/AWS/EventBridge/ToLambda.js +46 -0
- package/lib/AWS/EventBridge/ToLambda.js.map +1 -0
- package/lib/AWS/EventBridge/ToQueue.d.ts +23 -0
- package/lib/AWS/EventBridge/ToQueue.d.ts.map +1 -0
- package/lib/AWS/EventBridge/ToQueue.js +57 -0
- package/lib/AWS/EventBridge/ToQueue.js.map +1 -0
- package/lib/AWS/EventBridge/index.d.ts +15 -0
- package/lib/AWS/EventBridge/index.d.ts.map +1 -0
- package/lib/AWS/EventBridge/index.js +15 -0
- package/lib/AWS/EventBridge/index.js.map +1 -0
- package/lib/AWS/IAM/AccessKey.d.ts +50 -0
- package/lib/AWS/IAM/AccessKey.d.ts.map +1 -0
- package/lib/AWS/IAM/AccessKey.js +111 -0
- package/lib/AWS/IAM/AccessKey.js.map +1 -0
- package/lib/AWS/IAM/AccountAlias.d.ts +30 -0
- package/lib/AWS/IAM/AccountAlias.d.ts.map +1 -0
- package/lib/AWS/IAM/AccountAlias.js +76 -0
- package/lib/AWS/IAM/AccountAlias.js.map +1 -0
- package/lib/AWS/IAM/AccountPasswordPolicy.d.ts +30 -0
- package/lib/AWS/IAM/AccountPasswordPolicy.d.ts.map +1 -0
- package/lib/AWS/IAM/AccountPasswordPolicy.js +48 -0
- package/lib/AWS/IAM/AccountPasswordPolicy.js.map +1 -0
- package/lib/AWS/IAM/Group.d.ts +59 -0
- package/lib/AWS/IAM/Group.d.ts.map +1 -0
- package/lib/AWS/IAM/Group.js +243 -0
- package/lib/AWS/IAM/Group.js.map +1 -0
- package/lib/AWS/IAM/GroupMembership.d.ts +49 -0
- package/lib/AWS/IAM/GroupMembership.d.ts.map +1 -0
- package/lib/AWS/IAM/GroupMembership.js +113 -0
- package/lib/AWS/IAM/GroupMembership.js.map +1 -0
- package/lib/AWS/IAM/InstanceProfile.d.ts +60 -0
- package/lib/AWS/IAM/InstanceProfile.d.ts.map +1 -0
- package/lib/AWS/IAM/InstanceProfile.js +194 -0
- package/lib/AWS/IAM/InstanceProfile.js.map +1 -0
- package/lib/AWS/IAM/LoginProfile.d.ts +47 -0
- package/lib/AWS/IAM/LoginProfile.d.ts.map +1 -0
- package/lib/AWS/IAM/LoginProfile.js +104 -0
- package/lib/AWS/IAM/LoginProfile.js.map +1 -0
- package/lib/AWS/IAM/OpenIDConnectProvider.d.ts +49 -0
- package/lib/AWS/IAM/OpenIDConnectProvider.d.ts.map +1 -0
- package/lib/AWS/IAM/OpenIDConnectProvider.js +140 -0
- package/lib/AWS/IAM/OpenIDConnectProvider.js.map +1 -0
- package/lib/AWS/IAM/Policy.d.ts +84 -0
- package/lib/AWS/IAM/Policy.d.ts.map +1 -0
- package/lib/AWS/IAM/Policy.js +252 -0
- package/lib/AWS/IAM/Policy.js.map +1 -0
- package/lib/AWS/IAM/Role.d.ts +82 -0
- package/lib/AWS/IAM/Role.d.ts.map +1 -0
- package/lib/AWS/IAM/Role.js +303 -0
- package/lib/AWS/IAM/Role.js.map +1 -0
- package/lib/AWS/IAM/SAMLProvider.d.ts +54 -0
- package/lib/AWS/IAM/SAMLProvider.d.ts.map +1 -0
- package/lib/AWS/IAM/SAMLProvider.js +124 -0
- package/lib/AWS/IAM/SAMLProvider.js.map +1 -0
- package/lib/AWS/IAM/SSHPublicKey.d.ts +50 -0
- package/lib/AWS/IAM/SSHPublicKey.d.ts.map +1 -0
- package/lib/AWS/IAM/SSHPublicKey.js +109 -0
- package/lib/AWS/IAM/SSHPublicKey.js.map +1 -0
- package/lib/AWS/IAM/ServerCertificate.d.ts +65 -0
- package/lib/AWS/IAM/ServerCertificate.d.ts.map +1 -0
- package/lib/AWS/IAM/ServerCertificate.js +175 -0
- package/lib/AWS/IAM/ServerCertificate.js.map +1 -0
- package/lib/AWS/IAM/ServiceSpecificCredential.d.ts +61 -0
- package/lib/AWS/IAM/ServiceSpecificCredential.d.ts.map +1 -0
- package/lib/AWS/IAM/ServiceSpecificCredential.js +122 -0
- package/lib/AWS/IAM/ServiceSpecificCredential.js.map +1 -0
- package/lib/AWS/IAM/SigningCertificate.d.ts +49 -0
- package/lib/AWS/IAM/SigningCertificate.d.ts.map +1 -0
- package/lib/AWS/IAM/SigningCertificate.js +101 -0
- package/lib/AWS/IAM/SigningCertificate.js.map +1 -0
- package/lib/AWS/IAM/User.d.ts +62 -0
- package/lib/AWS/IAM/User.d.ts.map +1 -0
- package/lib/AWS/IAM/User.js +289 -0
- package/lib/AWS/IAM/User.js.map +1 -0
- package/lib/AWS/IAM/VirtualMFADevice.d.ts +64 -0
- package/lib/AWS/IAM/VirtualMFADevice.d.ts.map +1 -0
- package/lib/AWS/IAM/VirtualMFADevice.js +187 -0
- package/lib/AWS/IAM/VirtualMFADevice.js.map +1 -0
- package/lib/AWS/IAM/common.d.ts +20 -0
- package/lib/AWS/IAM/common.d.ts.map +1 -0
- package/lib/AWS/IAM/common.js +43 -0
- package/lib/AWS/IAM/common.js.map +1 -0
- package/lib/AWS/IAM/index.d.ts +18 -0
- package/lib/AWS/IAM/index.d.ts.map +1 -0
- package/lib/AWS/IAM/index.js +18 -0
- package/lib/AWS/IAM/index.js.map +1 -0
- package/lib/AWS/IdentityCenter/AccountAssignment.d.ts +53 -0
- package/lib/AWS/IdentityCenter/AccountAssignment.d.ts.map +1 -0
- package/lib/AWS/IdentityCenter/AccountAssignment.js +176 -0
- package/lib/AWS/IdentityCenter/AccountAssignment.js.map +1 -0
- package/lib/AWS/IdentityCenter/Group.d.ts +46 -0
- package/lib/AWS/IdentityCenter/Group.d.ts.map +1 -0
- package/lib/AWS/IdentityCenter/Group.js +130 -0
- package/lib/AWS/IdentityCenter/Group.js.map +1 -0
- package/lib/AWS/IdentityCenter/Instance.d.ts +65 -0
- package/lib/AWS/IdentityCenter/Instance.d.ts.map +1 -0
- package/lib/AWS/IdentityCenter/Instance.js +113 -0
- package/lib/AWS/IdentityCenter/Instance.js.map +1 -0
- package/lib/AWS/IdentityCenter/PermissionSet.d.ts +52 -0
- package/lib/AWS/IdentityCenter/PermissionSet.d.ts.map +1 -0
- package/lib/AWS/IdentityCenter/PermissionSet.js +147 -0
- package/lib/AWS/IdentityCenter/PermissionSet.js.map +1 -0
- package/lib/AWS/IdentityCenter/common.d.ts +21 -0
- package/lib/AWS/IdentityCenter/common.d.ts.map +1 -0
- package/lib/AWS/IdentityCenter/common.js +64 -0
- package/lib/AWS/IdentityCenter/common.js.map +1 -0
- package/lib/AWS/IdentityCenter/index.d.ts +5 -0
- package/lib/AWS/IdentityCenter/index.d.ts.map +1 -0
- package/lib/AWS/IdentityCenter/index.js +5 -0
- package/lib/AWS/IdentityCenter/index.js.map +1 -0
- package/lib/AWS/Kinesis/DescribeAccountSettings.d.ts +18 -0
- package/lib/AWS/Kinesis/DescribeAccountSettings.d.ts.map +1 -0
- package/lib/AWS/Kinesis/DescribeAccountSettings.js +36 -0
- package/lib/AWS/Kinesis/DescribeAccountSettings.js.map +1 -0
- package/lib/AWS/Kinesis/DescribeLimits.d.ts +18 -0
- package/lib/AWS/Kinesis/DescribeLimits.d.ts.map +1 -0
- package/lib/AWS/Kinesis/DescribeLimits.js +36 -0
- package/lib/AWS/Kinesis/DescribeLimits.js.map +1 -0
- package/lib/AWS/Kinesis/DescribeStream.d.ts +19 -0
- package/lib/AWS/Kinesis/DescribeStream.d.ts.map +1 -0
- package/lib/AWS/Kinesis/DescribeStream.js +40 -0
- package/lib/AWS/Kinesis/DescribeStream.js.map +1 -0
- package/lib/AWS/Kinesis/DescribeStreamConsumer.d.ts +19 -0
- package/lib/AWS/Kinesis/DescribeStreamConsumer.d.ts.map +1 -0
- package/lib/AWS/Kinesis/DescribeStreamConsumer.js +40 -0
- package/lib/AWS/Kinesis/DescribeStreamConsumer.js.map +1 -0
- package/lib/AWS/Kinesis/DescribeStreamSummary.d.ts +19 -0
- package/lib/AWS/Kinesis/DescribeStreamSummary.d.ts.map +1 -0
- package/lib/AWS/Kinesis/DescribeStreamSummary.js +40 -0
- package/lib/AWS/Kinesis/DescribeStreamSummary.js.map +1 -0
- package/lib/AWS/Kinesis/GetRecords.d.ts +19 -0
- package/lib/AWS/Kinesis/GetRecords.d.ts.map +1 -0
- package/lib/AWS/Kinesis/GetRecords.js +36 -0
- package/lib/AWS/Kinesis/GetRecords.js.map +1 -0
- package/lib/AWS/Kinesis/GetResourcePolicy.d.ts +19 -0
- package/lib/AWS/Kinesis/GetResourcePolicy.d.ts.map +1 -0
- package/lib/AWS/Kinesis/GetResourcePolicy.js +40 -0
- package/lib/AWS/Kinesis/GetResourcePolicy.js.map +1 -0
- package/lib/AWS/Kinesis/GetShardIterator.d.ts +19 -0
- package/lib/AWS/Kinesis/GetShardIterator.d.ts.map +1 -0
- package/lib/AWS/Kinesis/GetShardIterator.js +40 -0
- package/lib/AWS/Kinesis/GetShardIterator.js.map +1 -0
- package/lib/AWS/Kinesis/ListShards.d.ts +19 -0
- package/lib/AWS/Kinesis/ListShards.d.ts.map +1 -0
- package/lib/AWS/Kinesis/ListShards.js +40 -0
- package/lib/AWS/Kinesis/ListShards.js.map +1 -0
- package/lib/AWS/Kinesis/ListStreamConsumers.d.ts +19 -0
- package/lib/AWS/Kinesis/ListStreamConsumers.d.ts.map +1 -0
- package/lib/AWS/Kinesis/ListStreamConsumers.js +40 -0
- package/lib/AWS/Kinesis/ListStreamConsumers.js.map +1 -0
- package/lib/AWS/Kinesis/ListStreams.d.ts +18 -0
- package/lib/AWS/Kinesis/ListStreams.d.ts.map +1 -0
- package/lib/AWS/Kinesis/ListStreams.js +36 -0
- package/lib/AWS/Kinesis/ListStreams.js.map +1 -0
- package/lib/AWS/Kinesis/ListTagsForResource.d.ts +21 -0
- package/lib/AWS/Kinesis/ListTagsForResource.d.ts.map +1 -0
- package/lib/AWS/Kinesis/ListTagsForResource.js +41 -0
- package/lib/AWS/Kinesis/ListTagsForResource.js.map +1 -0
- package/lib/AWS/Kinesis/PutRecord.d.ts +19 -0
- package/lib/AWS/Kinesis/PutRecord.d.ts.map +1 -0
- package/lib/AWS/Kinesis/PutRecord.js +41 -0
- package/lib/AWS/Kinesis/PutRecord.js.map +1 -0
- package/lib/AWS/Kinesis/PutRecords.d.ts +19 -0
- package/lib/AWS/Kinesis/PutRecords.d.ts.map +1 -0
- package/lib/AWS/Kinesis/PutRecords.js +41 -0
- package/lib/AWS/Kinesis/PutRecords.js.map +1 -0
- package/lib/AWS/Kinesis/Stream.d.ts +211 -0
- package/lib/AWS/Kinesis/Stream.d.ts.map +1 -0
- package/lib/AWS/Kinesis/Stream.js +446 -0
- package/lib/AWS/Kinesis/Stream.js.map +1 -0
- package/lib/AWS/Kinesis/StreamConsumer.d.ts +49 -0
- package/lib/AWS/Kinesis/StreamConsumer.d.ts.map +1 -0
- package/lib/AWS/Kinesis/StreamConsumer.js +186 -0
- package/lib/AWS/Kinesis/StreamConsumer.js.map +1 -0
- package/lib/AWS/Kinesis/StreamEventSource.d.ts +88 -0
- package/lib/AWS/Kinesis/StreamEventSource.d.ts.map +1 -0
- package/lib/AWS/Kinesis/StreamEventSource.js +15 -0
- package/lib/AWS/Kinesis/StreamEventSource.js.map +1 -0
- package/lib/AWS/Kinesis/StreamSink.d.ts +26 -0
- package/lib/AWS/Kinesis/StreamSink.d.ts.map +1 -0
- package/lib/AWS/Kinesis/StreamSink.js +45 -0
- package/lib/AWS/Kinesis/StreamSink.js.map +1 -0
- package/lib/AWS/Kinesis/SubscribeToShard.d.ts +19 -0
- package/lib/AWS/Kinesis/SubscribeToShard.d.ts.map +1 -0
- package/lib/AWS/Kinesis/SubscribeToShard.js +40 -0
- package/lib/AWS/Kinesis/SubscribeToShard.js.map +1 -0
- package/lib/AWS/Kinesis/index.d.ts +20 -0
- package/lib/AWS/Kinesis/index.d.ts.map +1 -0
- package/lib/AWS/Kinesis/index.js +20 -0
- package/lib/AWS/Kinesis/index.js.map +1 -0
- package/lib/AWS/Lambda/BucketEventSource.d.ts +34 -0
- package/lib/AWS/Lambda/BucketEventSource.d.ts.map +1 -0
- package/lib/AWS/Lambda/BucketEventSource.js +86 -0
- package/lib/AWS/Lambda/BucketEventSource.js.map +1 -0
- package/lib/AWS/Lambda/EventBridgeEventSource.d.ts +115 -0
- package/lib/AWS/Lambda/EventBridgeEventSource.d.ts.map +1 -0
- package/lib/AWS/Lambda/EventBridgeEventSource.js +135 -0
- package/lib/AWS/Lambda/EventBridgeEventSource.js.map +1 -0
- package/lib/AWS/Lambda/EventSourceMapping.d.ts +160 -0
- package/lib/AWS/Lambda/EventSourceMapping.d.ts.map +1 -0
- package/lib/AWS/Lambda/EventSourceMapping.js +198 -0
- package/lib/AWS/Lambda/EventSourceMapping.js.map +1 -0
- package/lib/AWS/Lambda/Function.d.ts +305 -0
- package/lib/AWS/Lambda/Function.d.ts.map +1 -0
- package/lib/AWS/Lambda/Function.js +987 -0
- package/lib/AWS/Lambda/Function.js.map +1 -0
- package/lib/AWS/Lambda/HttpServer.d.ts +8 -0
- package/lib/AWS/Lambda/HttpServer.d.ts.map +1 -0
- package/lib/AWS/Lambda/HttpServer.js +87 -0
- package/lib/AWS/Lambda/HttpServer.js.map +1 -0
- package/lib/AWS/Lambda/InvokeFunction.d.ts +19 -0
- package/lib/AWS/Lambda/InvokeFunction.d.ts.map +1 -0
- package/lib/AWS/Lambda/InvokeFunction.js +41 -0
- package/lib/AWS/Lambda/InvokeFunction.js.map +1 -0
- package/lib/AWS/Lambda/Permission.d.ts +97 -0
- package/lib/AWS/Lambda/Permission.d.ts.map +1 -0
- package/lib/AWS/Lambda/Permission.js +124 -0
- package/lib/AWS/Lambda/Permission.js.map +1 -0
- package/lib/AWS/Lambda/QueueEventSource.d.ts +14 -0
- package/lib/AWS/Lambda/QueueEventSource.d.ts.map +1 -0
- package/lib/AWS/Lambda/QueueEventSource.js +60 -0
- package/lib/AWS/Lambda/QueueEventSource.js.map +1 -0
- package/lib/AWS/Lambda/StreamEventSource.d.ts +14 -0
- package/lib/AWS/Lambda/StreamEventSource.d.ts.map +1 -0
- package/lib/AWS/Lambda/StreamEventSource.js +75 -0
- package/lib/AWS/Lambda/StreamEventSource.js.map +1 -0
- package/lib/AWS/Lambda/TableEventSource.d.ts +14 -0
- package/lib/AWS/Lambda/TableEventSource.d.ts.map +1 -0
- package/lib/AWS/Lambda/TableEventSource.js +92 -0
- package/lib/AWS/Lambda/TableEventSource.js.map +1 -0
- package/lib/AWS/Lambda/TopicEventSource.d.ts +14 -0
- package/lib/AWS/Lambda/TopicEventSource.d.ts.map +1 -0
- package/lib/AWS/Lambda/TopicEventSource.js +56 -0
- package/lib/AWS/Lambda/TopicEventSource.js.map +1 -0
- package/lib/AWS/Lambda/index.d.ts +13 -0
- package/lib/AWS/Lambda/index.d.ts.map +1 -0
- package/lib/AWS/Lambda/index.js +12 -0
- package/lib/AWS/Lambda/index.js.map +1 -0
- package/lib/AWS/Logs/LogGroup.d.ts +49 -0
- package/lib/AWS/Logs/LogGroup.d.ts.map +1 -0
- package/lib/AWS/Logs/LogGroup.js +139 -0
- package/lib/AWS/Logs/LogGroup.js.map +1 -0
- package/lib/AWS/Logs/index.d.ts +2 -0
- package/lib/AWS/Logs/index.d.ts.map +1 -0
- package/lib/AWS/Logs/index.js +2 -0
- package/lib/AWS/Logs/index.js.map +1 -0
- package/lib/AWS/Organizations/Account.d.ts +51 -0
- package/lib/AWS/Organizations/Account.d.ts.map +1 -0
- package/lib/AWS/Organizations/Account.js +182 -0
- package/lib/AWS/Organizations/Account.js.map +1 -0
- package/lib/AWS/Organizations/DelegatedAdministrator.d.ts +29 -0
- package/lib/AWS/Organizations/DelegatedAdministrator.d.ts.map +1 -0
- package/lib/AWS/Organizations/DelegatedAdministrator.js +86 -0
- package/lib/AWS/Organizations/DelegatedAdministrator.js.map +1 -0
- package/lib/AWS/Organizations/Organization.d.ts +41 -0
- package/lib/AWS/Organizations/Organization.d.ts.map +1 -0
- package/lib/AWS/Organizations/Organization.js +91 -0
- package/lib/AWS/Organizations/Organization.js.map +1 -0
- package/lib/AWS/Organizations/OrganizationResourcePolicy.d.ts +22 -0
- package/lib/AWS/Organizations/OrganizationResourcePolicy.d.ts.map +1 -0
- package/lib/AWS/Organizations/OrganizationResourcePolicy.js +56 -0
- package/lib/AWS/Organizations/OrganizationResourcePolicy.js.map +1 -0
- package/lib/AWS/Organizations/OrganizationalUnit.d.ts +42 -0
- package/lib/AWS/Organizations/OrganizationalUnit.d.ts.map +1 -0
- package/lib/AWS/Organizations/OrganizationalUnit.js +148 -0
- package/lib/AWS/Organizations/OrganizationalUnit.js.map +1 -0
- package/lib/AWS/Organizations/Policy.d.ts +47 -0
- package/lib/AWS/Organizations/Policy.d.ts.map +1 -0
- package/lib/AWS/Organizations/Policy.js +130 -0
- package/lib/AWS/Organizations/Policy.js.map +1 -0
- package/lib/AWS/Organizations/PolicyAttachment.d.ts +28 -0
- package/lib/AWS/Organizations/PolicyAttachment.d.ts.map +1 -0
- package/lib/AWS/Organizations/PolicyAttachment.js +73 -0
- package/lib/AWS/Organizations/PolicyAttachment.js.map +1 -0
- package/lib/AWS/Organizations/Root.d.ts +38 -0
- package/lib/AWS/Organizations/Root.d.ts.map +1 -0
- package/lib/AWS/Organizations/Root.js +87 -0
- package/lib/AWS/Organizations/Root.js.map +1 -0
- package/lib/AWS/Organizations/RootPolicyType.d.ts +27 -0
- package/lib/AWS/Organizations/RootPolicyType.d.ts.map +1 -0
- package/lib/AWS/Organizations/RootPolicyType.js +77 -0
- package/lib/AWS/Organizations/RootPolicyType.js.map +1 -0
- package/lib/AWS/Organizations/TenantRoot.d.ts +145 -0
- package/lib/AWS/Organizations/TenantRoot.d.ts.map +1 -0
- package/lib/AWS/Organizations/TenantRoot.js +277 -0
- package/lib/AWS/Organizations/TenantRoot.js.map +1 -0
- package/lib/AWS/Organizations/TrustedServiceAccess.d.ts +20 -0
- package/lib/AWS/Organizations/TrustedServiceAccess.d.ts.map +1 -0
- package/lib/AWS/Organizations/TrustedServiceAccess.js +61 -0
- package/lib/AWS/Organizations/TrustedServiceAccess.js.map +1 -0
- package/lib/AWS/Organizations/common.d.ts +27 -0
- package/lib/AWS/Organizations/common.d.ts.map +1 -0
- package/lib/AWS/Organizations/common.js +62 -0
- package/lib/AWS/Organizations/common.js.map +1 -0
- package/lib/AWS/Organizations/index.d.ts +12 -0
- package/lib/AWS/Organizations/index.d.ts.map +1 -0
- package/lib/AWS/Organizations/index.js +12 -0
- package/lib/AWS/Organizations/index.js.map +1 -0
- package/lib/AWS/Providers.d.ts +12 -0
- package/lib/AWS/Providers.d.ts.map +1 -0
- package/lib/AWS/Providers.js +272 -0
- package/lib/AWS/Providers.js.map +1 -0
- package/lib/AWS/RDS/Aurora.d.ts +174 -0
- package/lib/AWS/RDS/Aurora.d.ts.map +1 -0
- package/lib/AWS/RDS/Aurora.js +248 -0
- package/lib/AWS/RDS/Aurora.js.map +1 -0
- package/lib/AWS/RDS/Connect.d.ts +44 -0
- package/lib/AWS/RDS/Connect.d.ts.map +1 -0
- package/lib/AWS/RDS/Connect.js +71 -0
- package/lib/AWS/RDS/Connect.js.map +1 -0
- package/lib/AWS/RDS/DBCluster.d.ts +119 -0
- package/lib/AWS/RDS/DBCluster.d.ts.map +1 -0
- package/lib/AWS/RDS/DBCluster.js +193 -0
- package/lib/AWS/RDS/DBCluster.js.map +1 -0
- package/lib/AWS/RDS/DBClusterEndpoint.d.ts +48 -0
- package/lib/AWS/RDS/DBClusterEndpoint.d.ts.map +1 -0
- package/lib/AWS/RDS/DBClusterEndpoint.js +131 -0
- package/lib/AWS/RDS/DBClusterEndpoint.js.map +1 -0
- package/lib/AWS/RDS/DBClusterParameterGroup.d.ts +35 -0
- package/lib/AWS/RDS/DBClusterParameterGroup.d.ts.map +1 -0
- package/lib/AWS/RDS/DBClusterParameterGroup.js +125 -0
- package/lib/AWS/RDS/DBClusterParameterGroup.js.map +1 -0
- package/lib/AWS/RDS/DBInstance.d.ts +80 -0
- package/lib/AWS/RDS/DBInstance.d.ts.map +1 -0
- package/lib/AWS/RDS/DBInstance.js +147 -0
- package/lib/AWS/RDS/DBInstance.js.map +1 -0
- package/lib/AWS/RDS/DBParameterGroup.d.ts +35 -0
- package/lib/AWS/RDS/DBParameterGroup.d.ts.map +1 -0
- package/lib/AWS/RDS/DBParameterGroup.js +125 -0
- package/lib/AWS/RDS/DBParameterGroup.js.map +1 -0
- package/lib/AWS/RDS/DBProxy.d.ts +76 -0
- package/lib/AWS/RDS/DBProxy.d.ts.map +1 -0
- package/lib/AWS/RDS/DBProxy.js +150 -0
- package/lib/AWS/RDS/DBProxy.js.map +1 -0
- package/lib/AWS/RDS/DBProxyEndpoint.d.ts +53 -0
- package/lib/AWS/RDS/DBProxyEndpoint.d.ts.map +1 -0
- package/lib/AWS/RDS/DBProxyEndpoint.js +146 -0
- package/lib/AWS/RDS/DBProxyEndpoint.js.map +1 -0
- package/lib/AWS/RDS/DBProxyTargetGroup.d.ts +45 -0
- package/lib/AWS/RDS/DBProxyTargetGroup.d.ts.map +1 -0
- package/lib/AWS/RDS/DBProxyTargetGroup.js +137 -0
- package/lib/AWS/RDS/DBProxyTargetGroup.js.map +1 -0
- package/lib/AWS/RDS/DBSubnetGroup.d.ts +39 -0
- package/lib/AWS/RDS/DBSubnetGroup.d.ts.map +1 -0
- package/lib/AWS/RDS/DBSubnetGroup.js +134 -0
- package/lib/AWS/RDS/DBSubnetGroup.js.map +1 -0
- package/lib/AWS/RDS/index.d.ts +12 -0
- package/lib/AWS/RDS/index.d.ts.map +1 -0
- package/lib/AWS/RDS/index.js +12 -0
- package/lib/AWS/RDS/index.js.map +1 -0
- package/lib/AWS/RDSData/BatchExecuteStatement.d.ts +28 -0
- package/lib/AWS/RDSData/BatchExecuteStatement.d.ts.map +1 -0
- package/lib/AWS/RDSData/BatchExecuteStatement.js +57 -0
- package/lib/AWS/RDSData/BatchExecuteStatement.js.map +1 -0
- package/lib/AWS/RDSData/BeginTransaction.d.ts +26 -0
- package/lib/AWS/RDSData/BeginTransaction.d.ts.map +1 -0
- package/lib/AWS/RDSData/BeginTransaction.js +60 -0
- package/lib/AWS/RDSData/BeginTransaction.js.map +1 -0
- package/lib/AWS/RDSData/CommitTransaction.d.ts +26 -0
- package/lib/AWS/RDSData/CommitTransaction.d.ts.map +1 -0
- package/lib/AWS/RDSData/CommitTransaction.js +59 -0
- package/lib/AWS/RDSData/CommitTransaction.js.map +1 -0
- package/lib/AWS/RDSData/ExecuteSql.d.ts +28 -0
- package/lib/AWS/RDSData/ExecuteSql.d.ts.map +1 -0
- package/lib/AWS/RDSData/ExecuteSql.js +59 -0
- package/lib/AWS/RDSData/ExecuteSql.js.map +1 -0
- package/lib/AWS/RDSData/ExecuteStatement.d.ts +28 -0
- package/lib/AWS/RDSData/ExecuteStatement.d.ts.map +1 -0
- package/lib/AWS/RDSData/ExecuteStatement.js +57 -0
- package/lib/AWS/RDSData/ExecuteStatement.js.map +1 -0
- package/lib/AWS/RDSData/RollbackTransaction.d.ts +26 -0
- package/lib/AWS/RDSData/RollbackTransaction.d.ts.map +1 -0
- package/lib/AWS/RDSData/RollbackTransaction.js +59 -0
- package/lib/AWS/RDSData/RollbackTransaction.js.map +1 -0
- package/lib/AWS/RDSData/index.d.ts +7 -0
- package/lib/AWS/RDSData/index.d.ts.map +1 -0
- package/lib/AWS/RDSData/index.js +7 -0
- package/lib/AWS/RDSData/index.js.map +1 -0
- package/lib/AWS/Region.d.ts +12 -0
- package/lib/AWS/Region.d.ts.map +1 -0
- package/lib/AWS/Region.js +13 -0
- package/lib/AWS/Region.js.map +1 -0
- package/lib/AWS/Route53/Record.d.ts +122 -0
- package/lib/AWS/Route53/Record.d.ts.map +1 -0
- package/lib/AWS/Route53/Record.js +187 -0
- package/lib/AWS/Route53/Record.js.map +1 -0
- package/lib/AWS/Route53/index.d.ts +2 -0
- package/lib/AWS/Route53/index.d.ts.map +1 -0
- package/lib/AWS/Route53/index.js +2 -0
- package/lib/AWS/Route53/index.js.map +1 -0
- package/lib/AWS/S3/AbortMultipartUpload.d.ts +19 -0
- package/lib/AWS/S3/AbortMultipartUpload.d.ts.map +1 -0
- package/lib/AWS/S3/AbortMultipartUpload.js +41 -0
- package/lib/AWS/S3/AbortMultipartUpload.js.map +1 -0
- package/lib/AWS/S3/Bucket.d.ts +148 -0
- package/lib/AWS/S3/Bucket.d.ts.map +1 -0
- package/lib/AWS/S3/Bucket.js +344 -0
- package/lib/AWS/S3/Bucket.js.map +1 -0
- package/lib/AWS/S3/BucketEventSource.d.ts +14 -0
- package/lib/AWS/S3/BucketEventSource.d.ts.map +1 -0
- package/lib/AWS/S3/BucketEventSource.js +6 -0
- package/lib/AWS/S3/BucketEventSource.js.map +1 -0
- package/lib/AWS/S3/BucketNotifications.d.ts +61 -0
- package/lib/AWS/S3/BucketNotifications.d.ts.map +1 -0
- package/lib/AWS/S3/BucketNotifications.js +40 -0
- package/lib/AWS/S3/BucketNotifications.js.map +1 -0
- package/lib/AWS/S3/CompleteMultipartUpload.d.ts +19 -0
- package/lib/AWS/S3/CompleteMultipartUpload.d.ts.map +1 -0
- package/lib/AWS/S3/CompleteMultipartUpload.js +41 -0
- package/lib/AWS/S3/CompleteMultipartUpload.js.map +1 -0
- package/lib/AWS/S3/CopyObject.d.ts +19 -0
- package/lib/AWS/S3/CopyObject.d.ts.map +1 -0
- package/lib/AWS/S3/CopyObject.js +42 -0
- package/lib/AWS/S3/CopyObject.js.map +1 -0
- package/lib/AWS/S3/CreateMultipartUpload.d.ts +19 -0
- package/lib/AWS/S3/CreateMultipartUpload.d.ts.map +1 -0
- package/lib/AWS/S3/CreateMultipartUpload.js +41 -0
- package/lib/AWS/S3/CreateMultipartUpload.js.map +1 -0
- package/lib/AWS/S3/DeleteObject.d.ts +19 -0
- package/lib/AWS/S3/DeleteObject.d.ts.map +1 -0
- package/lib/AWS/S3/DeleteObject.js +41 -0
- package/lib/AWS/S3/DeleteObject.js.map +1 -0
- package/lib/AWS/S3/GetObject.d.ts +19 -0
- package/lib/AWS/S3/GetObject.d.ts.map +1 -0
- package/lib/AWS/S3/GetObject.js +51 -0
- package/lib/AWS/S3/GetObject.js.map +1 -0
- package/lib/AWS/S3/HeadObject.d.ts +19 -0
- package/lib/AWS/S3/HeadObject.d.ts.map +1 -0
- package/lib/AWS/S3/HeadObject.js +41 -0
- package/lib/AWS/S3/HeadObject.js.map +1 -0
- package/lib/AWS/S3/ListObjectsV2.d.ts +19 -0
- package/lib/AWS/S3/ListObjectsV2.d.ts.map +1 -0
- package/lib/AWS/S3/ListObjectsV2.js +41 -0
- package/lib/AWS/S3/ListObjectsV2.js.map +1 -0
- package/lib/AWS/S3/PutObject.d.ts +37 -0
- package/lib/AWS/S3/PutObject.d.ts.map +1 -0
- package/lib/AWS/S3/PutObject.js +59 -0
- package/lib/AWS/S3/PutObject.js.map +1 -0
- package/lib/AWS/S3/S3Event.d.ts +8 -0
- package/lib/AWS/S3/S3Event.d.ts.map +1 -0
- package/lib/AWS/S3/S3Event.js +1 -0
- package/lib/AWS/S3/S3Event.js.map +1 -0
- package/lib/AWS/S3/UploadPart.d.ts +19 -0
- package/lib/AWS/S3/UploadPart.d.ts.map +1 -0
- package/lib/AWS/S3/UploadPart.js +41 -0
- package/lib/AWS/S3/UploadPart.js.map +1 -0
- package/lib/AWS/S3/index.d.ts +15 -0
- package/lib/AWS/S3/index.d.ts.map +1 -0
- package/lib/AWS/S3/index.js +15 -0
- package/lib/AWS/S3/index.js.map +1 -0
- package/lib/AWS/SNS/AddPermission.d.ts +19 -0
- package/lib/AWS/SNS/AddPermission.d.ts.map +1 -0
- package/lib/AWS/SNS/AddPermission.js +40 -0
- package/lib/AWS/SNS/AddPermission.js.map +1 -0
- package/lib/AWS/SNS/ConfirmSubscription.d.ts +19 -0
- package/lib/AWS/SNS/ConfirmSubscription.d.ts.map +1 -0
- package/lib/AWS/SNS/ConfirmSubscription.js +40 -0
- package/lib/AWS/SNS/ConfirmSubscription.js.map +1 -0
- package/lib/AWS/SNS/GetDataProtectionPolicy.d.ts +19 -0
- package/lib/AWS/SNS/GetDataProtectionPolicy.d.ts.map +1 -0
- package/lib/AWS/SNS/GetDataProtectionPolicy.js +40 -0
- package/lib/AWS/SNS/GetDataProtectionPolicy.js.map +1 -0
- package/lib/AWS/SNS/GetSubscriptionAttributes.d.ts +19 -0
- package/lib/AWS/SNS/GetSubscriptionAttributes.d.ts.map +1 -0
- package/lib/AWS/SNS/GetSubscriptionAttributes.js +40 -0
- package/lib/AWS/SNS/GetSubscriptionAttributes.js.map +1 -0
- package/lib/AWS/SNS/GetTopicAttributes.d.ts +19 -0
- package/lib/AWS/SNS/GetTopicAttributes.d.ts.map +1 -0
- package/lib/AWS/SNS/GetTopicAttributes.js +40 -0
- package/lib/AWS/SNS/GetTopicAttributes.js.map +1 -0
- package/lib/AWS/SNS/ListSubscriptions.d.ts +18 -0
- package/lib/AWS/SNS/ListSubscriptions.d.ts.map +1 -0
- package/lib/AWS/SNS/ListSubscriptions.js +36 -0
- package/lib/AWS/SNS/ListSubscriptions.js.map +1 -0
- package/lib/AWS/SNS/ListSubscriptionsByTopic.d.ts +19 -0
- package/lib/AWS/SNS/ListSubscriptionsByTopic.d.ts.map +1 -0
- package/lib/AWS/SNS/ListSubscriptionsByTopic.js +40 -0
- package/lib/AWS/SNS/ListSubscriptionsByTopic.js.map +1 -0
- package/lib/AWS/SNS/ListTagsForResource.d.ts +19 -0
- package/lib/AWS/SNS/ListTagsForResource.d.ts.map +1 -0
- package/lib/AWS/SNS/ListTagsForResource.js +40 -0
- package/lib/AWS/SNS/ListTagsForResource.js.map +1 -0
- package/lib/AWS/SNS/ListTopics.d.ts +18 -0
- package/lib/AWS/SNS/ListTopics.d.ts.map +1 -0
- package/lib/AWS/SNS/ListTopics.js +36 -0
- package/lib/AWS/SNS/ListTopics.js.map +1 -0
- package/lib/AWS/SNS/Publish.d.ts +19 -0
- package/lib/AWS/SNS/Publish.d.ts.map +1 -0
- package/lib/AWS/SNS/Publish.js +40 -0
- package/lib/AWS/SNS/Publish.js.map +1 -0
- package/lib/AWS/SNS/PublishBatch.d.ts +19 -0
- package/lib/AWS/SNS/PublishBatch.d.ts.map +1 -0
- package/lib/AWS/SNS/PublishBatch.js +40 -0
- package/lib/AWS/SNS/PublishBatch.js.map +1 -0
- package/lib/AWS/SNS/PutDataProtectionPolicy.d.ts +19 -0
- package/lib/AWS/SNS/PutDataProtectionPolicy.d.ts.map +1 -0
- package/lib/AWS/SNS/PutDataProtectionPolicy.js +40 -0
- package/lib/AWS/SNS/PutDataProtectionPolicy.js.map +1 -0
- package/lib/AWS/SNS/RemovePermission.d.ts +19 -0
- package/lib/AWS/SNS/RemovePermission.d.ts.map +1 -0
- package/lib/AWS/SNS/RemovePermission.js +40 -0
- package/lib/AWS/SNS/RemovePermission.js.map +1 -0
- package/lib/AWS/SNS/SetSubscriptionAttributes.d.ts +19 -0
- package/lib/AWS/SNS/SetSubscriptionAttributes.d.ts.map +1 -0
- package/lib/AWS/SNS/SetSubscriptionAttributes.js +40 -0
- package/lib/AWS/SNS/SetSubscriptionAttributes.js.map +1 -0
- package/lib/AWS/SNS/SetTopicAttributes.d.ts +19 -0
- package/lib/AWS/SNS/SetTopicAttributes.d.ts.map +1 -0
- package/lib/AWS/SNS/SetTopicAttributes.js +40 -0
- package/lib/AWS/SNS/SetTopicAttributes.js.map +1 -0
- package/lib/AWS/SNS/Subscription.d.ts +58 -0
- package/lib/AWS/SNS/Subscription.d.ts.map +1 -0
- package/lib/AWS/SNS/Subscription.js +192 -0
- package/lib/AWS/SNS/Subscription.js.map +1 -0
- package/lib/AWS/SNS/TagResource.d.ts +19 -0
- package/lib/AWS/SNS/TagResource.d.ts.map +1 -0
- package/lib/AWS/SNS/TagResource.js +40 -0
- package/lib/AWS/SNS/TagResource.js.map +1 -0
- package/lib/AWS/SNS/Topic.d.ts +120 -0
- package/lib/AWS/SNS/Topic.d.ts.map +1 -0
- package/lib/AWS/SNS/Topic.js +268 -0
- package/lib/AWS/SNS/Topic.js.map +1 -0
- package/lib/AWS/SNS/TopicEventSource.d.ts +24 -0
- package/lib/AWS/SNS/TopicEventSource.d.ts.map +1 -0
- package/lib/AWS/SNS/TopicEventSource.js +9 -0
- package/lib/AWS/SNS/TopicEventSource.js.map +1 -0
- package/lib/AWS/SNS/TopicSink.d.ts +18 -0
- package/lib/AWS/SNS/TopicSink.d.ts.map +1 -0
- package/lib/AWS/SNS/TopicSink.js +41 -0
- package/lib/AWS/SNS/TopicSink.js.map +1 -0
- package/lib/AWS/SNS/UntagResource.d.ts +19 -0
- package/lib/AWS/SNS/UntagResource.d.ts.map +1 -0
- package/lib/AWS/SNS/UntagResource.js +40 -0
- package/lib/AWS/SNS/UntagResource.js.map +1 -0
- package/lib/AWS/SNS/index.d.ts +22 -0
- package/lib/AWS/SNS/index.d.ts.map +1 -0
- package/lib/AWS/SNS/index.js +22 -0
- package/lib/AWS/SNS/index.js.map +1 -0
- package/lib/AWS/SQS/DeleteMessage.d.ts +19 -0
- package/lib/AWS/SQS/DeleteMessage.d.ts.map +1 -0
- package/lib/AWS/SQS/DeleteMessage.js +41 -0
- package/lib/AWS/SQS/DeleteMessage.js.map +1 -0
- package/lib/AWS/SQS/DeleteMessageBatch.d.ts +19 -0
- package/lib/AWS/SQS/DeleteMessageBatch.d.ts.map +1 -0
- package/lib/AWS/SQS/DeleteMessageBatch.js +42 -0
- package/lib/AWS/SQS/DeleteMessageBatch.js.map +1 -0
- package/lib/AWS/SQS/Queue.d.ts +141 -0
- package/lib/AWS/SQS/Queue.d.ts.map +1 -0
- package/lib/AWS/SQS/Queue.js +174 -0
- package/lib/AWS/SQS/Queue.js.map +1 -0
- package/lib/AWS/SQS/QueueEventSource.d.ts +39 -0
- package/lib/AWS/SQS/QueueEventSource.d.ts.map +1 -0
- package/lib/AWS/SQS/QueueEventSource.js +9 -0
- package/lib/AWS/SQS/QueueEventSource.js.map +1 -0
- package/lib/AWS/SQS/QueueSink.d.ts +18 -0
- package/lib/AWS/SQS/QueueSink.d.ts.map +1 -0
- package/lib/AWS/SQS/QueueSink.js +43 -0
- package/lib/AWS/SQS/QueueSink.js.map +1 -0
- package/lib/AWS/SQS/ReceiveMessage.d.ts +19 -0
- package/lib/AWS/SQS/ReceiveMessage.d.ts.map +1 -0
- package/lib/AWS/SQS/ReceiveMessage.js +42 -0
- package/lib/AWS/SQS/ReceiveMessage.js.map +1 -0
- package/lib/AWS/SQS/SendMessage.d.ts +19 -0
- package/lib/AWS/SQS/SendMessage.d.ts.map +1 -0
- package/lib/AWS/SQS/SendMessage.js +43 -0
- package/lib/AWS/SQS/SendMessage.js.map +1 -0
- package/lib/AWS/SQS/SendMessageBatch.d.ts +19 -0
- package/lib/AWS/SQS/SendMessageBatch.d.ts.map +1 -0
- package/lib/AWS/SQS/SendMessageBatch.js +41 -0
- package/lib/AWS/SQS/SendMessageBatch.js.map +1 -0
- package/lib/AWS/SQS/index.d.ts +9 -0
- package/lib/AWS/SQS/index.d.ts.map +1 -0
- package/lib/AWS/SQS/index.js +9 -0
- package/lib/AWS/SQS/index.js.map +1 -0
- package/lib/AWS/Scheduler/Schedule.d.ts +91 -0
- package/lib/AWS/Scheduler/Schedule.d.ts.map +1 -0
- package/lib/AWS/Scheduler/Schedule.js +152 -0
- package/lib/AWS/Scheduler/Schedule.js.map +1 -0
- package/lib/AWS/Scheduler/ScheduleGroup.d.ts +38 -0
- package/lib/AWS/Scheduler/ScheduleGroup.d.ts.map +1 -0
- package/lib/AWS/Scheduler/ScheduleGroup.js +100 -0
- package/lib/AWS/Scheduler/ScheduleGroup.js.map +1 -0
- package/lib/AWS/Scheduler/builders.d.ts +63 -0
- package/lib/AWS/Scheduler/builders.d.ts.map +1 -0
- package/lib/AWS/Scheduler/builders.js +126 -0
- package/lib/AWS/Scheduler/builders.js.map +1 -0
- package/lib/AWS/Scheduler/index.d.ts +4 -0
- package/lib/AWS/Scheduler/index.d.ts.map +1 -0
- package/lib/AWS/Scheduler/index.js +4 -0
- package/lib/AWS/Scheduler/index.js.map +1 -0
- package/lib/AWS/SecretsManager/DescribeSecret.d.ts +20 -0
- package/lib/AWS/SecretsManager/DescribeSecret.d.ts.map +1 -0
- package/lib/AWS/SecretsManager/DescribeSecret.js +42 -0
- package/lib/AWS/SecretsManager/DescribeSecret.js.map +1 -0
- package/lib/AWS/SecretsManager/GetRandomPassword.d.ts +19 -0
- package/lib/AWS/SecretsManager/GetRandomPassword.d.ts.map +1 -0
- package/lib/AWS/SecretsManager/GetRandomPassword.js +39 -0
- package/lib/AWS/SecretsManager/GetRandomPassword.js.map +1 -0
- package/lib/AWS/SecretsManager/GetSecretValue.d.ts +22 -0
- package/lib/AWS/SecretsManager/GetSecretValue.d.ts.map +1 -0
- package/lib/AWS/SecretsManager/GetSecretValue.js +47 -0
- package/lib/AWS/SecretsManager/GetSecretValue.js.map +1 -0
- package/lib/AWS/SecretsManager/ListSecrets.d.ts +19 -0
- package/lib/AWS/SecretsManager/ListSecrets.d.ts.map +1 -0
- package/lib/AWS/SecretsManager/ListSecrets.js +39 -0
- package/lib/AWS/SecretsManager/ListSecrets.js.map +1 -0
- package/lib/AWS/SecretsManager/PutSecretValue.d.ts +22 -0
- package/lib/AWS/SecretsManager/PutSecretValue.d.ts.map +1 -0
- package/lib/AWS/SecretsManager/PutSecretValue.js +47 -0
- package/lib/AWS/SecretsManager/PutSecretValue.js.map +1 -0
- package/lib/AWS/SecretsManager/Secret.d.ts +88 -0
- package/lib/AWS/SecretsManager/Secret.d.ts.map +1 -0
- package/lib/AWS/SecretsManager/Secret.js +206 -0
- package/lib/AWS/SecretsManager/Secret.js.map +1 -0
- package/lib/AWS/SecretsManager/index.d.ts +7 -0
- package/lib/AWS/SecretsManager/index.d.ts.map +1 -0
- package/lib/AWS/SecretsManager/index.js +7 -0
- package/lib/AWS/SecretsManager/index.js.map +1 -0
- package/lib/AWS/Website/AssetDeployment.d.ts +79 -0
- package/lib/AWS/Website/AssetDeployment.d.ts.map +1 -0
- package/lib/AWS/Website/AssetDeployment.js +202 -0
- package/lib/AWS/Website/AssetDeployment.js.map +1 -0
- package/lib/AWS/Website/Router.d.ts +54 -0
- package/lib/AWS/Website/Router.d.ts.map +1 -0
- package/lib/AWS/Website/Router.js +324 -0
- package/lib/AWS/Website/Router.js.map +1 -0
- package/lib/AWS/Website/SsrSite.d.ts +143 -0
- package/lib/AWS/Website/SsrSite.d.ts.map +1 -0
- package/lib/AWS/Website/SsrSite.js +257 -0
- package/lib/AWS/Website/SsrSite.js.map +1 -0
- package/lib/AWS/Website/StaticSite.d.ts +139 -0
- package/lib/AWS/Website/StaticSite.d.ts.map +1 -0
- package/lib/AWS/Website/StaticSite.js +406 -0
- package/lib/AWS/Website/StaticSite.js.map +1 -0
- package/lib/AWS/Website/cfcode.d.ts +7 -0
- package/lib/AWS/Website/cfcode.d.ts.map +1 -0
- package/lib/AWS/Website/cfcode.js +178 -0
- package/lib/AWS/Website/cfcode.js.map +1 -0
- package/lib/AWS/Website/index.d.ts +6 -0
- package/lib/AWS/Website/index.d.ts.map +1 -0
- package/lib/AWS/Website/index.js +6 -0
- package/lib/AWS/Website/index.js.map +1 -0
- package/lib/AWS/Website/shared.d.ts +216 -0
- package/lib/AWS/Website/shared.d.ts.map +1 -0
- package/lib/AWS/Website/shared.js +1 -0
- package/lib/AWS/Website/shared.js.map +1 -0
- package/lib/AWS/index.d.ts +34 -0
- package/lib/AWS/index.d.ts.map +1 -0
- package/lib/AWS/index.js +34 -0
- package/lib/AWS/index.js.map +1 -0
- package/lib/AdoptPolicy.d.ts +11 -0
- package/lib/AdoptPolicy.d.ts.map +1 -0
- package/lib/AdoptPolicy.js +8 -0
- package/lib/AdoptPolicy.js.map +1 -0
- package/lib/Agent/Agent.d.ts +9 -0
- package/lib/Agent/Agent.d.ts.map +1 -0
- package/lib/Agent/Agent.js +10 -0
- package/lib/Agent/Agent.js.map +1 -0
- package/lib/Agent/Aspect.d.ts +51 -0
- package/lib/Agent/Aspect.d.ts.map +1 -0
- package/lib/Agent/Aspect.js +45 -0
- package/lib/Agent/Aspect.js.map +1 -0
- package/lib/Agent/AspectGraph.d.ts +45 -0
- package/lib/Agent/AspectGraph.d.ts.map +1 -0
- package/lib/Agent/AspectGraph.js +39 -0
- package/lib/Agent/AspectGraph.js.map +1 -0
- package/lib/Agent/ContextPlugin.d.ts +8 -0
- package/lib/Agent/ContextPlugin.d.ts.map +1 -0
- package/lib/Agent/ContextPlugin.js +3 -0
- package/lib/Agent/ContextPlugin.js.map +1 -0
- package/lib/Agent/Plugin.d.ts +18 -0
- package/lib/Agent/Plugin.d.ts.map +1 -0
- package/lib/Agent/Plugin.js +8 -0
- package/lib/Agent/Plugin.js.map +1 -0
- package/lib/Agent/chat/channel.d.ts +9 -0
- package/lib/Agent/chat/channel.d.ts.map +1 -0
- package/lib/Agent/chat/channel.js +10 -0
- package/lib/Agent/chat/channel.js.map +1 -0
- package/lib/Agent/chat/event.d.ts +32 -0
- package/lib/Agent/chat/event.d.ts.map +1 -0
- package/lib/Agent/chat/event.js +32 -0
- package/lib/Agent/chat/event.js.map +1 -0
- package/lib/Agent/chat/message.d.ts +22 -0
- package/lib/Agent/chat/message.d.ts.map +1 -0
- package/lib/Agent/chat/message.js +31 -0
- package/lib/Agent/chat/message.js.map +1 -0
- package/lib/Agent/chat/service.d.ts +102 -0
- package/lib/Agent/chat/service.d.ts.map +1 -0
- package/lib/Agent/chat/service.js +79 -0
- package/lib/Agent/chat/service.js.map +1 -0
- package/lib/Agent/chat/thread.d.ts +13 -0
- package/lib/Agent/chat/thread.d.ts.map +1 -0
- package/lib/Agent/chat/thread.js +16 -0
- package/lib/Agent/chat/thread.js.map +1 -0
- package/lib/Agent/coding/bash.d.ts +40 -0
- package/lib/Agent/coding/bash.d.ts.map +1 -0
- package/lib/Agent/coding/bash.js +171 -0
- package/lib/Agent/coding/bash.js.map +1 -0
- package/lib/Agent/coding/edit.d.ts +31 -0
- package/lib/Agent/coding/edit.d.ts.map +1 -0
- package/lib/Agent/coding/edit.js +90 -0
- package/lib/Agent/coding/edit.js.map +1 -0
- package/lib/Agent/coding/glob.d.ts +25 -0
- package/lib/Agent/coding/glob.d.ts.map +1 -0
- package/lib/Agent/coding/glob.js +79 -0
- package/lib/Agent/coding/glob.js.map +1 -0
- package/lib/Agent/coding/grep.d.ts +28 -0
- package/lib/Agent/coding/grep.d.ts.map +1 -0
- package/lib/Agent/coding/grep.js +106 -0
- package/lib/Agent/coding/grep.js.map +1 -0
- package/lib/Agent/coding/index.d.ts +8 -0
- package/lib/Agent/coding/index.d.ts.map +1 -0
- package/lib/Agent/coding/index.js +8 -0
- package/lib/Agent/coding/index.js.map +1 -0
- package/lib/Agent/coding/read.d.ts +27 -0
- package/lib/Agent/coding/read.d.ts.map +1 -0
- package/lib/Agent/coding/read.js +89 -0
- package/lib/Agent/coding/read.js.map +1 -0
- package/lib/Agent/coding/readlints.d.ts +19 -0
- package/lib/Agent/coding/readlints.d.ts.map +1 -0
- package/lib/Agent/coding/readlints.js +53 -0
- package/lib/Agent/coding/readlints.js.map +1 -0
- package/lib/Agent/coding/write.d.ts +22 -0
- package/lib/Agent/coding/write.d.ts.map +1 -0
- package/lib/Agent/coding/write.js +53 -0
- package/lib/Agent/coding/write.js.map +1 -0
- package/lib/Agent/fs/file.d.ts +12 -0
- package/lib/Agent/fs/file.d.ts.map +1 -0
- package/lib/Agent/fs/file.js +8 -0
- package/lib/Agent/fs/file.js.map +1 -0
- package/lib/Agent/fs/folder.d.ts +5 -0
- package/lib/Agent/fs/folder.d.ts.map +1 -0
- package/lib/Agent/fs/folder.js +3 -0
- package/lib/Agent/fs/folder.js.map +1 -0
- package/lib/Agent/index.d.ts +9 -0
- package/lib/Agent/index.d.ts.map +1 -0
- package/lib/Agent/index.js +9 -0
- package/lib/Agent/index.js.map +1 -0
- package/lib/Agent/llm/error.d.ts +208 -0
- package/lib/Agent/llm/error.d.ts.map +1 -0
- package/lib/Agent/llm/error.js +209 -0
- package/lib/Agent/llm/error.js.map +1 -0
- package/lib/Agent/llm/index.d.ts +5 -0
- package/lib/Agent/llm/index.d.ts.map +1 -0
- package/lib/Agent/llm/index.js +5 -0
- package/lib/Agent/llm/index.js.map +1 -0
- package/lib/Agent/llm/llm.d.ts +32 -0
- package/lib/Agent/llm/llm.d.ts.map +1 -0
- package/lib/Agent/llm/llm.js +74 -0
- package/lib/Agent/llm/llm.js.map +1 -0
- package/lib/Agent/llm/stream-collectors.d.ts +46 -0
- package/lib/Agent/llm/stream-collectors.d.ts.map +1 -0
- package/lib/Agent/llm/stream-collectors.js +33 -0
- package/lib/Agent/llm/stream-collectors.js.map +1 -0
- package/lib/Agent/llm/stream-text-part.d.ts +5 -0
- package/lib/Agent/llm/stream-text-part.d.ts.map +1 -0
- package/lib/Agent/llm/stream-text-part.js +4 -0
- package/lib/Agent/llm/stream-text-part.js.map +1 -0
- package/lib/Agent/lsp/client.d.ts +122 -0
- package/lib/Agent/lsp/client.d.ts.map +1 -0
- package/lib/Agent/lsp/client.js +180 -0
- package/lib/Agent/lsp/client.js.map +1 -0
- package/lib/Agent/lsp/diagnostics.d.ts +16 -0
- package/lib/Agent/lsp/diagnostics.d.ts.map +1 -0
- package/lib/Agent/lsp/diagnostics.js +48 -0
- package/lib/Agent/lsp/diagnostics.js.map +1 -0
- package/lib/Agent/lsp/jsonrpc.d.ts +90 -0
- package/lib/Agent/lsp/jsonrpc.d.ts.map +1 -0
- package/lib/Agent/lsp/jsonrpc.js +178 -0
- package/lib/Agent/lsp/jsonrpc.js.map +1 -0
- package/lib/Agent/lsp/manager.d.ts +38 -0
- package/lib/Agent/lsp/manager.d.ts.map +1 -0
- package/lib/Agent/lsp/manager.js +98 -0
- package/lib/Agent/lsp/manager.js.map +1 -0
- package/lib/Agent/lsp/servers.d.ts +28 -0
- package/lib/Agent/lsp/servers.d.ts.map +1 -0
- package/lib/Agent/lsp/servers.js +21 -0
- package/lib/Agent/lsp/servers.js.map +1 -0
- package/lib/Agent/process/driver.d.ts +10 -0
- package/lib/Agent/process/driver.d.ts.map +1 -0
- package/lib/Agent/process/driver.js +153 -0
- package/lib/Agent/process/driver.js.map +1 -0
- package/lib/Agent/process/issue-service.d.ts +44 -0
- package/lib/Agent/process/issue-service.d.ts.map +1 -0
- package/lib/Agent/process/issue-service.js +28 -0
- package/lib/Agent/process/issue-service.js.map +1 -0
- package/lib/Agent/process/issue-tools.d.ts +28 -0
- package/lib/Agent/process/issue-tools.d.ts.map +1 -0
- package/lib/Agent/process/issue-tools.js +28 -0
- package/lib/Agent/process/issue-tools.js.map +1 -0
- package/lib/Agent/process/issue.d.ts +16 -0
- package/lib/Agent/process/issue.d.ts.map +1 -0
- package/lib/Agent/process/issue.js +17 -0
- package/lib/Agent/process/issue.js.map +1 -0
- package/lib/Agent/process/organization.d.ts +4 -0
- package/lib/Agent/process/organization.d.ts.map +1 -0
- package/lib/Agent/process/organization.js +3 -0
- package/lib/Agent/process/organization.js.map +1 -0
- package/lib/Agent/process/process.d.ts +5 -0
- package/lib/Agent/process/process.d.ts.map +1 -0
- package/lib/Agent/process/process.js +3 -0
- package/lib/Agent/process/process.js.map +1 -0
- package/lib/Agent/process/reply.d.ts +16 -0
- package/lib/Agent/process/reply.d.ts.map +1 -0
- package/lib/Agent/process/reply.js +18 -0
- package/lib/Agent/process/reply.js.map +1 -0
- package/lib/Agent/process/task.d.ts +25 -0
- package/lib/Agent/process/task.d.ts.map +1 -0
- package/lib/Agent/process/task.js +26 -0
- package/lib/Agent/process/task.js.map +1 -0
- package/lib/Agent/tool/index.d.ts +4 -0
- package/lib/Agent/tool/index.d.ts.map +1 -0
- package/lib/Agent/tool/index.js +4 -0
- package/lib/Agent/tool/index.js.map +1 -0
- package/lib/Agent/tool/parameter.d.ts +12 -0
- package/lib/Agent/tool/parameter.d.ts.map +1 -0
- package/lib/Agent/tool/parameter.js +6 -0
- package/lib/Agent/tool/parameter.js.map +1 -0
- package/lib/Agent/tool/result.d.ts +17 -0
- package/lib/Agent/tool/result.d.ts.map +1 -0
- package/lib/Agent/tool/result.js +6 -0
- package/lib/Agent/tool/result.js.map +1 -0
- package/lib/Agent/tool/tool.d.ts +32 -0
- package/lib/Agent/tool/tool.d.ts.map +1 -0
- package/lib/Agent/tool/tool.js +16 -0
- package/lib/Agent/tool/tool.js.map +1 -0
- package/lib/Agent/util/command-validator.d.ts +12 -0
- package/lib/Agent/util/command-validator.d.ts.map +1 -0
- package/lib/Agent/util/command-validator.js +74 -0
- package/lib/Agent/util/command-validator.js.map +1 -0
- package/lib/Agent/util/exec.d.ts +8 -0
- package/lib/Agent/util/exec.d.ts.map +1 -0
- package/lib/Agent/util/exec.js +12 -0
- package/lib/Agent/util/exec.js.map +1 -0
- package/lib/Agent/util/parser.d.ts +5 -0
- package/lib/Agent/util/parser.d.ts.map +1 -0
- package/lib/Agent/util/parser.js +41 -0
- package/lib/Agent/util/parser.js.map +1 -0
- package/lib/Agent/util/replace.d.ts +38 -0
- package/lib/Agent/util/replace.d.ts.map +1 -0
- package/lib/Agent/util/replace.js +458 -0
- package/lib/Agent/util/replace.js.map +1 -0
- package/lib/Agent/util/ripgrep.d.ts +109 -0
- package/lib/Agent/util/ripgrep.d.ts.map +1 -0
- package/lib/Agent/util/ripgrep.js +221 -0
- package/lib/Agent/util/ripgrep.js.map +1 -0
- package/lib/Apply.d.ts +17 -0
- package/lib/Apply.d.ts.map +1 -0
- package/lib/Apply.js +732 -0
- package/lib/Apply.js.map +1 -0
- package/lib/Artifacts.d.ts +69 -0
- package/lib/Artifacts.d.ts.map +1 -0
- package/lib/Artifacts.js +89 -0
- package/lib/Artifacts.js.map +1 -0
- package/lib/Auth/AuthProvider.d.ts +64 -0
- package/lib/Auth/AuthProvider.d.ts.map +1 -0
- package/lib/Auth/AuthProvider.js +44 -0
- package/lib/Auth/AuthProvider.js.map +1 -0
- package/lib/Auth/Credentials.d.ts +9 -0
- package/lib/Auth/Credentials.d.ts.map +1 -0
- package/lib/Auth/Credentials.js +40 -0
- package/lib/Auth/Credentials.js.map +1 -0
- package/lib/Auth/Env.d.ts +9 -0
- package/lib/Auth/Env.d.ts.map +1 -0
- package/lib/Auth/Env.js +21 -0
- package/lib/Auth/Env.js.map +1 -0
- package/lib/Auth/Profile.d.ts +79 -0
- package/lib/Auth/Profile.d.ts.map +1 -0
- package/lib/Auth/Profile.js +63 -0
- package/lib/Auth/Profile.js.map +1 -0
- package/lib/Auth/index.d.ts +3 -0
- package/lib/Auth/index.d.ts.map +1 -0
- package/lib/Auth/index.js +2 -0
- package/lib/Auth/index.js.map +1 -0
- package/lib/Binding.d.ts +52 -0
- package/lib/Binding.d.ts.map +1 -0
- package/lib/Binding.js +63 -0
- package/lib/Binding.js.map +1 -0
- package/lib/Build/Command.d.ts +108 -0
- package/lib/Build/Command.d.ts.map +1 -0
- package/lib/Build/Command.js +159 -0
- package/lib/Build/Command.js.map +1 -0
- package/lib/Build/Memo.d.ts +45 -0
- package/lib/Build/Memo.d.ts.map +1 -0
- package/lib/Build/Memo.js +89 -0
- package/lib/Build/Memo.js.map +1 -0
- package/lib/Build/index.d.ts +2 -0
- package/lib/Build/index.d.ts.map +1 -0
- package/lib/Build/index.js +2 -0
- package/lib/Build/index.js.map +1 -0
- package/lib/Bundle/Bundle.d.ts +67 -0
- package/lib/Bundle/Bundle.d.ts.map +1 -0
- package/lib/Bundle/Bundle.js +145 -0
- package/lib/Bundle/Bundle.js.map +1 -0
- package/lib/Bundle/Docker.d.ts +72 -0
- package/lib/Bundle/Docker.d.ts.map +1 -0
- package/lib/Bundle/Docker.js +132 -0
- package/lib/Bundle/Docker.js.map +1 -0
- package/lib/Bundle/TempRoot.d.ts +24 -0
- package/lib/Bundle/TempRoot.d.ts.map +1 -0
- package/lib/Bundle/TempRoot.js +81 -0
- package/lib/Bundle/TempRoot.js.map +1 -0
- package/lib/Bundle/index.d.ts +4 -0
- package/lib/Bundle/index.d.ts.map +1 -0
- package/lib/Bundle/index.js +4 -0
- package/lib/Bundle/index.js.map +1 -0
- package/lib/Cli/Cli.d.ts +21 -0
- package/lib/Cli/Cli.d.ts.map +1 -0
- package/lib/Cli/Cli.js +5 -0
- package/lib/Cli/Cli.js.map +1 -0
- package/lib/Cli/Event.d.ts +16 -0
- package/lib/Cli/Event.d.ts.map +1 -0
- package/lib/Cli/Event.js +1 -0
- package/lib/Cli/Event.js.map +1 -0
- package/lib/Cli/InkCLI.d.ts +4 -0
- package/lib/Cli/InkCLI.d.ts.map +1 -0
- package/lib/Cli/InkCLI.js +44 -0
- package/lib/Cli/InkCLI.js.map +1 -0
- package/lib/Cli/NamespaceTree.d.ts +31 -0
- package/lib/Cli/NamespaceTree.d.ts.map +1 -0
- package/lib/Cli/NamespaceTree.js +127 -0
- package/lib/Cli/NamespaceTree.js.map +1 -0
- package/lib/Cli/Reporter.d.ts +8 -0
- package/lib/Cli/Reporter.d.ts.map +1 -0
- package/lib/Cli/Reporter.js +4 -0
- package/lib/Cli/Reporter.js.map +1 -0
- package/lib/Cli/components/ApprovePlan.d.ts +9 -0
- package/lib/Cli/components/ApprovePlan.d.ts.map +1 -0
- package/lib/Cli/components/ApprovePlan.js +21 -0
- package/lib/Cli/components/ApprovePlan.js.map +1 -0
- package/lib/Cli/components/Plan.d.ts +8 -0
- package/lib/Cli/components/Plan.d.ts.map +1 -0
- package/lib/Cli/components/Plan.js +67 -0
- package/lib/Cli/components/Plan.js.map +1 -0
- package/lib/Cli/components/PlanProgress.d.ts +43 -0
- package/lib/Cli/components/PlanProgress.d.ts.map +1 -0
- package/lib/Cli/components/PlanProgress.js +203 -0
- package/lib/Cli/components/PlanProgress.js.map +1 -0
- package/lib/Cli/index.d.ts +3 -0
- package/lib/Cli/index.d.ts.map +1 -0
- package/lib/Cli/index.js +3 -0
- package/lib/Cli/index.js.map +1 -0
- package/lib/Cloudflare/Auth/AuthProvider.d.ts +143 -0
- package/lib/Cloudflare/Auth/AuthProvider.d.ts.map +1 -0
- package/lib/Cloudflare/Auth/AuthProvider.js +385 -0
- package/lib/Cloudflare/Auth/AuthProvider.js.map +1 -0
- package/lib/Cloudflare/Auth/OAuthClient.d.ts +46 -0
- package/lib/Cloudflare/Auth/OAuthClient.d.ts.map +1 -0
- package/lib/Cloudflare/Auth/OAuthClient.js +221 -0
- package/lib/Cloudflare/Auth/OAuthClient.js.map +1 -0
- package/lib/Cloudflare/CloudflareEnvironment.d.ts +11 -0
- package/lib/Cloudflare/CloudflareEnvironment.d.ts.map +1 -0
- package/lib/Cloudflare/CloudflareEnvironment.js +26 -0
- package/lib/Cloudflare/CloudflareEnvironment.js.map +1 -0
- package/lib/Cloudflare/Container/Container.d.ts +161 -0
- package/lib/Cloudflare/Container/Container.d.ts.map +1 -0
- package/lib/Cloudflare/Container/Container.js +189 -0
- package/lib/Cloudflare/Container/Container.js.map +1 -0
- package/lib/Cloudflare/Container/ContainerApplication.d.ts +232 -0
- package/lib/Cloudflare/Container/ContainerApplication.d.ts.map +1 -0
- package/lib/Cloudflare/Container/ContainerApplication.js +629 -0
- package/lib/Cloudflare/Container/ContainerApplication.js.map +1 -0
- package/lib/Cloudflare/Container/ContainerBinding.d.ts +7 -0
- package/lib/Cloudflare/Container/ContainerBinding.d.ts.map +1 -0
- package/lib/Cloudflare/Container/ContainerBinding.js +41 -0
- package/lib/Cloudflare/Container/ContainerBinding.js.map +1 -0
- package/lib/Cloudflare/Container/StartContainer.d.ts +25 -0
- package/lib/Cloudflare/Container/StartContainer.d.ts.map +1 -0
- package/lib/Cloudflare/Container/StartContainer.js +37 -0
- package/lib/Cloudflare/Container/StartContainer.js.map +1 -0
- package/lib/Cloudflare/Container/index.d.ts +5 -0
- package/lib/Cloudflare/Container/index.d.ts.map +1 -0
- package/lib/Cloudflare/Container/index.js +5 -0
- package/lib/Cloudflare/Container/index.js.map +1 -0
- package/lib/Cloudflare/Credentials.d.ts +11 -0
- package/lib/Cloudflare/Credentials.d.ts.map +1 -0
- package/lib/Cloudflare/Credentials.js +34 -0
- package/lib/Cloudflare/Credentials.js.map +1 -0
- package/lib/Cloudflare/D1/D1Connection.d.ts +37 -0
- package/lib/Cloudflare/D1/D1Connection.d.ts.map +1 -0
- package/lib/Cloudflare/D1/D1Connection.js +25 -0
- package/lib/Cloudflare/D1/D1Connection.js.map +1 -0
- package/lib/Cloudflare/D1/D1Database.d.ts +75 -0
- package/lib/Cloudflare/D1/D1Database.d.ts.map +1 -0
- package/lib/Cloudflare/D1/D1Database.js +163 -0
- package/lib/Cloudflare/D1/D1Database.js.map +1 -0
- package/lib/Cloudflare/D1/D1DatabaseBinding.d.ts +5 -0
- package/lib/Cloudflare/D1/D1DatabaseBinding.d.ts.map +1 -0
- package/lib/Cloudflare/D1/D1DatabaseBinding.js +19 -0
- package/lib/Cloudflare/D1/D1DatabaseBinding.js.map +1 -0
- package/lib/Cloudflare/D1/index.d.ts +4 -0
- package/lib/Cloudflare/D1/index.d.ts.map +1 -0
- package/lib/Cloudflare/D1/index.js +4 -0
- package/lib/Cloudflare/D1/index.js.map +1 -0
- package/lib/Cloudflare/Fetcher.d.ts +23 -0
- package/lib/Cloudflare/Fetcher.d.ts.map +1 -0
- package/lib/Cloudflare/Fetcher.js +156 -0
- package/lib/Cloudflare/Fetcher.js.map +1 -0
- package/lib/Cloudflare/KV/KVNamespace.d.ts +50 -0
- package/lib/Cloudflare/KV/KVNamespace.d.ts.map +1 -0
- package/lib/Cloudflare/KV/KVNamespace.js +128 -0
- package/lib/Cloudflare/KV/KVNamespace.js.map +1 -0
- package/lib/Cloudflare/KV/KVNamespaceBinding.d.ts +60 -0
- package/lib/Cloudflare/KV/KVNamespaceBinding.d.ts.map +1 -0
- package/lib/Cloudflare/KV/KVNamespaceBinding.js +55 -0
- package/lib/Cloudflare/KV/KVNamespaceBinding.js.map +1 -0
- package/lib/Cloudflare/KV/index.d.ts +3 -0
- package/lib/Cloudflare/KV/index.d.ts.map +1 -0
- package/lib/Cloudflare/KV/index.js +3 -0
- package/lib/Cloudflare/KV/index.js.map +1 -0
- package/lib/Cloudflare/Logs.d.ts +22 -0
- package/lib/Cloudflare/Logs.d.ts.map +1 -0
- package/lib/Cloudflare/Logs.js +76 -0
- package/lib/Cloudflare/Logs.js.map +1 -0
- package/lib/Cloudflare/Providers.d.ts +16 -0
- package/lib/Cloudflare/Providers.d.ts.map +1 -0
- package/lib/Cloudflare/Providers.js +44 -0
- package/lib/Cloudflare/Providers.js.map +1 -0
- package/lib/Cloudflare/Queue/Queue.d.ts +52 -0
- package/lib/Cloudflare/Queue/Queue.d.ts.map +1 -0
- package/lib/Cloudflare/Queue/Queue.js +136 -0
- package/lib/Cloudflare/Queue/Queue.js.map +1 -0
- package/lib/Cloudflare/Queue/QueueBinding.d.ts +35 -0
- package/lib/Cloudflare/Queue/QueueBinding.d.ts.map +1 -0
- package/lib/Cloudflare/Queue/QueueBinding.js +51 -0
- package/lib/Cloudflare/Queue/QueueBinding.js.map +1 -0
- package/lib/Cloudflare/Queue/QueueConsumer.d.ts +86 -0
- package/lib/Cloudflare/Queue/QueueConsumer.d.ts.map +1 -0
- package/lib/Cloudflare/Queue/QueueConsumer.js +138 -0
- package/lib/Cloudflare/Queue/QueueConsumer.js.map +1 -0
- package/lib/Cloudflare/Queue/index.d.ts +4 -0
- package/lib/Cloudflare/Queue/index.d.ts.map +1 -0
- package/lib/Cloudflare/Queue/index.js +4 -0
- package/lib/Cloudflare/Queue/index.js.map +1 -0
- package/lib/Cloudflare/R2/R2Bucket.d.ts +88 -0
- package/lib/Cloudflare/R2/R2Bucket.d.ts.map +1 -0
- package/lib/Cloudflare/R2/R2Bucket.js +158 -0
- package/lib/Cloudflare/R2/R2Bucket.js.map +1 -0
- package/lib/Cloudflare/R2/R2BucketBinding.d.ts +86 -0
- package/lib/Cloudflare/R2/R2BucketBinding.d.ts.map +1 -0
- package/lib/Cloudflare/R2/R2BucketBinding.js +116 -0
- package/lib/Cloudflare/R2/R2BucketBinding.js.map +1 -0
- package/lib/Cloudflare/R2/index.d.ts +3 -0
- package/lib/Cloudflare/R2/index.d.ts.map +1 -0
- package/lib/Cloudflare/R2/index.js +3 -0
- package/lib/Cloudflare/R2/index.js.map +1 -0
- package/lib/Cloudflare/SecretsStore/Secret.d.ts +74 -0
- package/lib/Cloudflare/SecretsStore/Secret.d.ts.map +1 -0
- package/lib/Cloudflare/SecretsStore/Secret.js +161 -0
- package/lib/Cloudflare/SecretsStore/Secret.js.map +1 -0
- package/lib/Cloudflare/SecretsStore/SecretBinding.d.ts +42 -0
- package/lib/Cloudflare/SecretsStore/SecretBinding.d.ts.map +1 -0
- package/lib/Cloudflare/SecretsStore/SecretBinding.js +49 -0
- package/lib/Cloudflare/SecretsStore/SecretBinding.js.map +1 -0
- package/lib/Cloudflare/SecretsStore/SecretsStore.d.ts +37 -0
- package/lib/Cloudflare/SecretsStore/SecretsStore.d.ts.map +1 -0
- package/lib/Cloudflare/SecretsStore/SecretsStore.js +88 -0
- package/lib/Cloudflare/SecretsStore/SecretsStore.js.map +1 -0
- package/lib/Cloudflare/SecretsStore/index.d.ts +4 -0
- package/lib/Cloudflare/SecretsStore/index.d.ts.map +1 -0
- package/lib/Cloudflare/SecretsStore/index.js +4 -0
- package/lib/Cloudflare/SecretsStore/index.js.map +1 -0
- package/lib/Cloudflare/Website/StaticSite.d.ts +79 -0
- package/lib/Cloudflare/Website/StaticSite.d.ts.map +1 -0
- package/lib/Cloudflare/Website/StaticSite.js +83 -0
- package/lib/Cloudflare/Website/StaticSite.js.map +1 -0
- package/lib/Cloudflare/Website/Vite.d.ts +106 -0
- package/lib/Cloudflare/Website/Vite.d.ts.map +1 -0
- package/lib/Cloudflare/Website/Vite.js +92 -0
- package/lib/Cloudflare/Website/Vite.js.map +1 -0
- package/lib/Cloudflare/Website/index.d.ts +3 -0
- package/lib/Cloudflare/Website/index.d.ts.map +1 -0
- package/lib/Cloudflare/Website/index.js +3 -0
- package/lib/Cloudflare/Website/index.js.map +1 -0
- package/lib/Cloudflare/Workers/Assets.d.ts +81 -0
- package/lib/Cloudflare/Workers/Assets.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Assets.js +177 -0
- package/lib/Cloudflare/Workers/Assets.js.map +1 -0
- package/lib/Cloudflare/Workers/ConfigProvider.d.ts +4 -0
- package/lib/Cloudflare/Workers/ConfigProvider.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/ConfigProvider.js +5 -0
- package/lib/Cloudflare/Workers/ConfigProvider.js.map +1 -0
- package/lib/Cloudflare/Workers/DurableObjectNamespace.d.ts +365 -0
- package/lib/Cloudflare/Workers/DurableObjectNamespace.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/DurableObjectNamespace.js +406 -0
- package/lib/Cloudflare/Workers/DurableObjectNamespace.js.map +1 -0
- package/lib/Cloudflare/Workers/DurableObjectState.d.ts +25 -0
- package/lib/Cloudflare/Workers/DurableObjectState.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/DurableObjectState.js +22 -0
- package/lib/Cloudflare/Workers/DurableObjectState.js.map +1 -0
- package/lib/Cloudflare/Workers/DurableObjectStorage.d.ts +60 -0
- package/lib/Cloudflare/Workers/DurableObjectStorage.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/DurableObjectStorage.js +58 -0
- package/lib/Cloudflare/Workers/DurableObjectStorage.js.map +1 -0
- package/lib/Cloudflare/Workers/DynamicWorkerLoader.d.ts +151 -0
- package/lib/Cloudflare/Workers/DynamicWorkerLoader.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/DynamicWorkerLoader.js +123 -0
- package/lib/Cloudflare/Workers/DynamicWorkerLoader.js.map +1 -0
- package/lib/Cloudflare/Workers/Fetch.d.ts +19 -0
- package/lib/Cloudflare/Workers/Fetch.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Fetch.js +80 -0
- package/lib/Cloudflare/Workers/Fetch.js.map +1 -0
- package/lib/Cloudflare/Workers/HttpServer.d.ts +16 -0
- package/lib/Cloudflare/Workers/HttpServer.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/HttpServer.js +46 -0
- package/lib/Cloudflare/Workers/HttpServer.js.map +1 -0
- package/lib/Cloudflare/Workers/InferEnv.d.ts +10 -0
- package/lib/Cloudflare/Workers/InferEnv.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/InferEnv.js +3 -0
- package/lib/Cloudflare/Workers/InferEnv.js.map +1 -0
- package/lib/Cloudflare/Workers/Request.d.ts +6 -0
- package/lib/Cloudflare/Workers/Request.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Request.js +4 -0
- package/lib/Cloudflare/Workers/Request.js.map +1 -0
- package/lib/Cloudflare/Workers/Rpc.d.ts +118 -0
- package/lib/Cloudflare/Workers/Rpc.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Rpc.js +277 -0
- package/lib/Cloudflare/Workers/Rpc.js.map +1 -0
- package/lib/Cloudflare/Workers/ScheduledEvents.d.ts +49 -0
- package/lib/Cloudflare/Workers/ScheduledEvents.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/ScheduledEvents.js +107 -0
- package/lib/Cloudflare/Workers/ScheduledEvents.js.map +1 -0
- package/lib/Cloudflare/Workers/WebSocket.d.ts +15 -0
- package/lib/Cloudflare/Workers/WebSocket.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/WebSocket.js +29 -0
- package/lib/Cloudflare/Workers/WebSocket.js.map +1 -0
- package/lib/Cloudflare/Workers/Worker.d.ts +615 -0
- package/lib/Cloudflare/Workers/Worker.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Worker.js +1602 -0
- package/lib/Cloudflare/Workers/Worker.js.map +1 -0
- package/lib/Cloudflare/Workers/Workflow.d.ts +206 -0
- package/lib/Cloudflare/Workers/Workflow.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Workflow.js +230 -0
- package/lib/Cloudflare/Workers/Workflow.js.map +1 -0
- package/lib/Cloudflare/Workers/cloudflare_workers.d.ts +4 -0
- package/lib/Cloudflare/Workers/cloudflare_workers.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/cloudflare_workers.js +12 -0
- package/lib/Cloudflare/Workers/cloudflare_workers.js.map +1 -0
- package/lib/Cloudflare/Workers/index.d.ts +16 -0
- package/lib/Cloudflare/Workers/index.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/index.js +16 -0
- package/lib/Cloudflare/Workers/index.js.map +1 -0
- package/lib/Cloudflare/index.d.ts +11 -0
- package/lib/Cloudflare/index.d.ts.map +1 -0
- package/lib/Cloudflare/index.js +11 -0
- package/lib/Cloudflare/index.js.map +1 -0
- package/lib/Cloudflare/stream.d.ts +10 -0
- package/lib/Cloudflare/stream.d.ts.map +1 -0
- package/lib/Cloudflare/stream.js +14 -0
- package/lib/Cloudflare/stream.js.map +1 -0
- package/lib/Config.d.ts +20 -0
- package/lib/Config.d.ts.map +1 -0
- package/lib/Config.js +22 -0
- package/lib/Config.js.map +1 -0
- package/lib/Construct.d.ts +56 -0
- package/lib/Construct.d.ts.map +1 -0
- package/lib/Construct.js +51 -0
- package/lib/Construct.js.map +1 -0
- package/lib/Destroy.d.ts +4 -0
- package/lib/Destroy.d.ts.map +1 -0
- package/lib/Destroy.js +13 -0
- package/lib/Destroy.js.map +1 -0
- package/lib/Diff.d.ts +42 -0
- package/lib/Diff.d.ts.map +1 -0
- package/lib/Diff.js +96 -0
- package/lib/Diff.js.map +1 -0
- package/lib/ExecutionContext.d.ts +18 -0
- package/lib/ExecutionContext.d.ts.map +1 -0
- package/lib/ExecutionContext.js +7 -0
- package/lib/ExecutionContext.js.map +1 -0
- package/lib/FQN.d.ts +60 -0
- package/lib/FQN.d.ts.map +1 -0
- package/lib/FQN.js +82 -0
- package/lib/FQN.js.map +1 -0
- package/lib/GitHub/Comment.d.ts +133 -0
- package/lib/GitHub/Comment.d.ts.map +1 -0
- package/lib/GitHub/Comment.js +145 -0
- package/lib/GitHub/Comment.js.map +1 -0
- package/lib/GitHub/Secret.d.ts +120 -0
- package/lib/GitHub/Secret.d.ts.map +1 -0
- package/lib/GitHub/Secret.js +187 -0
- package/lib/GitHub/Secret.js.map +1 -0
- package/lib/GitHub/Variable.d.ts +95 -0
- package/lib/GitHub/Variable.d.ts.map +1 -0
- package/lib/GitHub/Variable.js +111 -0
- package/lib/GitHub/Variable.js.map +1 -0
- package/lib/GitHub/index.d.ts +4 -0
- package/lib/GitHub/index.d.ts.map +1 -0
- package/lib/GitHub/index.js +4 -0
- package/lib/GitHub/index.js.map +1 -0
- package/lib/Http.d.ts +26 -0
- package/lib/Http.d.ts.map +1 -0
- package/lib/Http.js +46 -0
- package/lib/Http.js.map +1 -0
- package/lib/Input.d.ts +39 -0
- package/lib/Input.d.ts.map +1 -0
- package/lib/Input.js +1 -0
- package/lib/Input.js.map +1 -0
- package/lib/InstanceId.d.ts +12 -0
- package/lib/InstanceId.d.ts.map +1 -0
- package/lib/InstanceId.js +16 -0
- package/lib/InstanceId.js.map +1 -0
- package/lib/Kubernetes/ConfigMap.d.ts +63 -0
- package/lib/Kubernetes/ConfigMap.d.ts.map +1 -0
- package/lib/Kubernetes/ConfigMap.js +30 -0
- package/lib/Kubernetes/ConfigMap.js.map +1 -0
- package/lib/Kubernetes/Deployment.d.ts +102 -0
- package/lib/Kubernetes/Deployment.d.ts.map +1 -0
- package/lib/Kubernetes/Deployment.js +55 -0
- package/lib/Kubernetes/Deployment.js.map +1 -0
- package/lib/Kubernetes/Job.d.ts +76 -0
- package/lib/Kubernetes/Job.d.ts.map +1 -0
- package/lib/Kubernetes/Job.js +47 -0
- package/lib/Kubernetes/Job.js.map +1 -0
- package/lib/Kubernetes/Namespace.d.ts +37 -0
- package/lib/Kubernetes/Namespace.d.ts.map +1 -0
- package/lib/Kubernetes/Namespace.js +22 -0
- package/lib/Kubernetes/Namespace.js.map +1 -0
- package/lib/Kubernetes/Object.d.ts +78 -0
- package/lib/Kubernetes/Object.d.ts.map +1 -0
- package/lib/Kubernetes/Object.js +53 -0
- package/lib/Kubernetes/Object.js.map +1 -0
- package/lib/Kubernetes/Service.d.ts +77 -0
- package/lib/Kubernetes/Service.d.ts.map +1 -0
- package/lib/Kubernetes/Service.js +33 -0
- package/lib/Kubernetes/Service.js.map +1 -0
- package/lib/Kubernetes/ServiceAccount.d.ts +56 -0
- package/lib/Kubernetes/ServiceAccount.d.ts.map +1 -0
- package/lib/Kubernetes/ServiceAccount.js +24 -0
- package/lib/Kubernetes/ServiceAccount.js.map +1 -0
- package/lib/Kubernetes/client.d.ts +52 -0
- package/lib/Kubernetes/client.d.ts.map +1 -0
- package/lib/Kubernetes/client.js +173 -0
- package/lib/Kubernetes/client.js.map +1 -0
- package/lib/Kubernetes/common.d.ts +20 -0
- package/lib/Kubernetes/common.d.ts.map +1 -0
- package/lib/Kubernetes/common.js +9 -0
- package/lib/Kubernetes/common.js.map +1 -0
- package/lib/Kubernetes/index.d.ts +11 -0
- package/lib/Kubernetes/index.d.ts.map +1 -0
- package/lib/Kubernetes/index.js +11 -0
- package/lib/Kubernetes/index.js.map +1 -0
- package/lib/Kubernetes/types.d.ts +37 -0
- package/lib/Kubernetes/types.d.ts.map +1 -0
- package/lib/Kubernetes/types.js +92 -0
- package/lib/Kubernetes/types.js.map +1 -0
- package/lib/Namespace.d.ts +18 -0
- package/lib/Namespace.d.ts.map +1 -0
- package/lib/Namespace.js +31 -0
- package/lib/Namespace.js.map +1 -0
- package/lib/Observability.d.ts +2 -0
- package/lib/Observability.d.ts.map +1 -0
- package/lib/Observability.js +1 -0
- package/lib/Observability.js.map +1 -0
- package/lib/Output.d.ts +158 -0
- package/lib/Output.d.ts.map +1 -0
- package/lib/Output.js +355 -0
- package/lib/Output.js.map +1 -0
- package/lib/Phase.d.ts +3 -0
- package/lib/Phase.d.ts.map +1 -0
- package/lib/Phase.js +3 -0
- package/lib/Phase.js.map +1 -0
- package/lib/PhysicalName.d.ts +31 -0
- package/lib/PhysicalName.d.ts.map +1 -0
- package/lib/PhysicalName.js +23 -0
- package/lib/PhysicalName.js.map +1 -0
- package/lib/Plan.d.ts +85 -0
- package/lib/Plan.d.ts.map +1 -0
- package/lib/Plan.js +638 -0
- package/lib/Plan.js.map +1 -0
- package/lib/Platform.d.ts +59 -0
- package/lib/Platform.d.ts.map +1 -0
- package/lib/Platform.js +135 -0
- package/lib/Platform.js.map +1 -0
- package/lib/Provider.d.ts +141 -0
- package/lib/Provider.d.ts.map +1 -0
- package/lib/Provider.js +54 -0
- package/lib/Provider.js.map +1 -0
- package/lib/Random.d.ts +24 -0
- package/lib/Random.d.ts.map +1 -0
- package/lib/Random.js +38 -0
- package/lib/Random.js.map +1 -0
- package/lib/Ref.d.ts +14 -0
- package/lib/Ref.d.ts.map +1 -0
- package/lib/Ref.js +21 -0
- package/lib/Ref.js.map +1 -0
- package/lib/RemovalPolicy.d.ts +15 -0
- package/lib/RemovalPolicy.d.ts.map +1 -0
- package/lib/RemovalPolicy.js +11 -0
- package/lib/RemovalPolicy.js.map +1 -0
- package/lib/Resource.d.ts +90 -0
- package/lib/Resource.d.ts.map +1 -0
- package/lib/Resource.js +149 -0
- package/lib/Resource.js.map +1 -0
- package/lib/SQLite/BunSQLite.d.ts +13 -0
- package/lib/SQLite/BunSQLite.d.ts.map +1 -0
- package/lib/SQLite/BunSQLite.js +84 -0
- package/lib/SQLite/BunSQLite.js.map +1 -0
- package/lib/SQLite/SQLite.d.ts +18 -0
- package/lib/SQLite/SQLite.d.ts.map +1 -0
- package/lib/SQLite/SQLite.js +4 -0
- package/lib/SQLite/SQLite.js.map +1 -0
- package/lib/SQLite/SQLiteConnection.d.ts +49 -0
- package/lib/SQLite/SQLiteConnection.d.ts.map +1 -0
- package/lib/SQLite/SQLiteConnection.js +1 -0
- package/lib/SQLite/SQLiteConnection.js.map +1 -0
- package/lib/SQLite/SQLiteError.d.ts +624 -0
- package/lib/SQLite/SQLiteError.d.ts.map +1 -0
- package/lib/SQLite/SQLiteError.js +590 -0
- package/lib/SQLite/SQLiteError.js.map +1 -0
- package/lib/SQLite/SQLiteStatement.d.ts +20 -0
- package/lib/SQLite/SQLiteStatement.d.ts.map +1 -0
- package/lib/SQLite/SQLiteStatement.js +2 -0
- package/lib/SQLite/SQLiteStatement.js.map +1 -0
- package/lib/SQLite/index.d.ts +7 -0
- package/lib/SQLite/index.d.ts.map +1 -0
- package/lib/SQLite/index.js +7 -0
- package/lib/SQLite/index.js.map +1 -0
- package/lib/SQLite/libSQL.d.ts +21 -0
- package/lib/SQLite/libSQL.d.ts.map +1 -0
- package/lib/SQLite/libSQL.js +138 -0
- package/lib/SQLite/libSQL.js.map +1 -0
- package/lib/Schema.d.ts +90 -0
- package/lib/Schema.d.ts.map +1 -0
- package/lib/Schema.js +113 -0
- package/lib/Schema.js.map +1 -0
- package/lib/Self.d.ts +13 -0
- package/lib/Self.d.ts.map +1 -0
- package/lib/Self.js +4 -0
- package/lib/Self.js.map +1 -0
- package/lib/Server/Process.d.ts +21 -0
- package/lib/Server/Process.d.ts.map +1 -0
- package/lib/Server/Process.js +10 -0
- package/lib/Server/Process.js.map +1 -0
- package/lib/Server/S3BucketEventSource.d.ts +15 -0
- package/lib/Server/S3BucketEventSource.d.ts.map +1 -0
- package/lib/Server/S3BucketEventSource.js +57 -0
- package/lib/Server/S3BucketEventSource.js.map +1 -0
- package/lib/Server/SQSQueueEventSource.d.ts +6 -0
- package/lib/Server/SQSQueueEventSource.d.ts.map +1 -0
- package/lib/Server/SQSQueueEventSource.js +51 -0
- package/lib/Server/SQSQueueEventSource.js.map +1 -0
- package/lib/Server/index.d.ts +4 -0
- package/lib/Server/index.d.ts.map +1 -0
- package/lib/Server/index.js +4 -0
- package/lib/Server/index.js.map +1 -0
- package/lib/Serverless/Function.d.ts +11 -0
- package/lib/Serverless/Function.d.ts.map +1 -0
- package/lib/Serverless/Function.js +2 -0
- package/lib/Serverless/Function.js.map +1 -0
- package/lib/Serverless/index.d.ts +2 -0
- package/lib/Serverless/index.d.ts.map +1 -0
- package/lib/Serverless/index.js +2 -0
- package/lib/Serverless/index.js.map +1 -0
- package/lib/Stack.d.ts +64 -0
- package/lib/Stack.d.ts.map +1 -0
- package/lib/Stack.js +44 -0
- package/lib/Stack.js.map +1 -0
- package/lib/Stage.d.ts +6 -0
- package/lib/Stage.d.ts.map +1 -0
- package/lib/Stage.js +4 -0
- package/lib/Stage.js.map +1 -0
- package/lib/State/InMemoryState.d.ts +38 -0
- package/lib/State/InMemoryState.d.ts.map +1 -0
- package/lib/State/InMemoryState.js +22 -0
- package/lib/State/InMemoryState.js.map +1 -0
- package/lib/State/LocalState.d.ts +6 -0
- package/lib/State/LocalState.d.ts.map +1 -0
- package/lib/State/LocalState.js +82 -0
- package/lib/State/LocalState.js.map +1 -0
- package/lib/State/ResourceState.d.ts +94 -0
- package/lib/State/ResourceState.d.ts.map +1 -0
- package/lib/State/ResourceState.js +1 -0
- package/lib/State/ResourceState.js.map +1 -0
- package/lib/State/State.d.ts +70 -0
- package/lib/State/State.d.ts.map +1 -0
- package/lib/State/State.js +8 -0
- package/lib/State/State.js.map +1 -0
- package/lib/State/index.d.ts +5 -0
- package/lib/State/index.d.ts.map +1 -0
- package/lib/State/index.js +5 -0
- package/lib/State/index.js.map +1 -0
- package/lib/Tags.d.ts +45 -0
- package/lib/Tags.d.ts.map +1 -0
- package/lib/Tags.js +79 -0
- package/lib/Tags.js.map +1 -0
- package/lib/Test/Bun.d.ts +39 -0
- package/lib/Test/Bun.d.ts.map +1 -0
- package/lib/Test/Bun.js +105 -0
- package/lib/Test/Bun.js.map +1 -0
- package/lib/Test/TestCli.d.ts +4 -0
- package/lib/Test/TestCli.d.ts.map +1 -0
- package/lib/Test/TestCli.js +14 -0
- package/lib/Test/TestCli.js.map +1 -0
- package/lib/Test/TestState.d.ts +13 -0
- package/lib/Test/TestState.d.ts.map +1 -0
- package/lib/Test/TestState.js +19 -0
- package/lib/Test/TestState.js.map +1 -0
- package/lib/Test/Vitest.d.ts +76 -0
- package/lib/Test/Vitest.d.ts.map +1 -0
- package/lib/Test/Vitest.js +233 -0
- package/lib/Test/Vitest.js.map +1 -0
- package/lib/Test/index.d.ts +4 -0
- package/lib/Test/index.d.ts.map +1 -0
- package/lib/Test/index.js +4 -0
- package/lib/Test/index.js.map +1 -0
- package/lib/Trait.d.ts +43 -0
- package/lib/Trait.d.ts.map +1 -0
- package/lib/Trait.js +17 -0
- package/lib/Trait.js.map +1 -0
- package/lib/Util/Clank.d.ts +40 -0
- package/lib/Util/Clank.d.ts.map +1 -0
- package/lib/Util/Clank.js +66 -0
- package/lib/Util/Clank.js.map +1 -0
- package/lib/Util/ConfigProvider.d.ts +6 -0
- package/lib/Util/ConfigProvider.d.ts.map +1 -0
- package/lib/Util/ConfigProvider.js +18 -0
- package/lib/Util/ConfigProvider.js.map +1 -0
- package/lib/Util/FileLogger.d.ts +7 -0
- package/lib/Util/FileLogger.d.ts.map +1 -0
- package/lib/Util/FileLogger.js +16 -0
- package/lib/Util/FileLogger.js.map +1 -0
- package/lib/Util/PlatformServices.d.ts +16 -0
- package/lib/Util/PlatformServices.d.ts.map +1 -0
- package/lib/Util/PlatformServices.js +28 -0
- package/lib/Util/PlatformServices.js.map +1 -0
- package/lib/Util/Stream.d.ts +6 -0
- package/lib/Util/Stream.d.ts.map +1 -0
- package/lib/Util/Stream.js +3 -0
- package/lib/Util/Stream.js.map +1 -0
- package/lib/Util/assert-never.d.ts +12 -0
- package/lib/Util/assert-never.d.ts.map +1 -0
- package/lib/Util/assert-never.js +11 -0
- package/lib/Util/assert-never.js.map +1 -0
- package/lib/Util/base32.d.ts +9 -0
- package/lib/Util/base32.d.ts.map +1 -0
- package/lib/Util/base32.js +38 -0
- package/lib/Util/base32.js.map +1 -0
- package/lib/Util/camel.d.ts +3 -0
- package/lib/Util/camel.d.ts.map +1 -0
- package/lib/Util/camel.js +18 -0
- package/lib/Util/camel.js.map +1 -0
- package/lib/Util/class.d.ts +3 -0
- package/lib/Util/class.d.ts.map +1 -0
- package/lib/Util/class.js +1 -0
- package/lib/Util/class.js.map +1 -0
- package/lib/Util/data.d.ts +3 -0
- package/lib/Util/data.d.ts.map +1 -0
- package/lib/Util/data.js +8 -0
- package/lib/Util/data.js.map +1 -0
- package/lib/Util/dedent.d.ts +8 -0
- package/lib/Util/dedent.d.ts.map +1 -0
- package/lib/Util/dedent.js +38 -0
- package/lib/Util/dedent.js.map +1 -0
- package/lib/Util/effect.d.ts +18 -0
- package/lib/Util/effect.d.ts.map +1 -0
- package/lib/Util/effect.js +45 -0
- package/lib/Util/effect.js.map +1 -0
- package/lib/Util/gitignore-rules-to-globs.d.ts +17 -0
- package/lib/Util/gitignore-rules-to-globs.d.ts.map +1 -0
- package/lib/Util/gitignore-rules-to-globs.js +77 -0
- package/lib/Util/gitignore-rules-to-globs.js.map +1 -0
- package/lib/Util/index.d.ts +17 -0
- package/lib/Util/index.d.ts.map +1 -0
- package/lib/Util/index.js +17 -0
- package/lib/Util/index.js.map +1 -0
- package/lib/Util/instance.d.ts +4 -0
- package/lib/Util/instance.d.ts.map +1 -0
- package/lib/Util/instance.js +1 -0
- package/lib/Util/instance.js.map +1 -0
- package/lib/Util/pointer.d.ts +5 -0
- package/lib/Util/pointer.d.ts.map +1 -0
- package/lib/Util/pointer.js +1 -0
- package/lib/Util/pointer.js.map +1 -0
- package/lib/Util/schema-to-type.d.ts +42 -0
- package/lib/Util/schema-to-type.d.ts.map +1 -0
- package/lib/Util/schema-to-type.js +364 -0
- package/lib/Util/schema-to-type.js.map +1 -0
- package/lib/Util/service.d.ts +5 -0
- package/lib/Util/service.d.ts.map +1 -0
- package/lib/Util/service.js +7 -0
- package/lib/Util/service.js.map +1 -0
- package/lib/Util/sha256.d.ts +6 -0
- package/lib/Util/sha256.d.ts.map +1 -0
- package/lib/Util/sha256.js +18 -0
- package/lib/Util/sha256.js.map +1 -0
- package/lib/Util/stable.d.ts +4 -0
- package/lib/Util/stable.d.ts.map +1 -0
- package/lib/Util/stable.js +31 -0
- package/lib/Util/stable.js.map +1 -0
- package/lib/Util/todo.d.ts +3 -0
- package/lib/Util/todo.d.ts.map +1 -0
- package/lib/Util/todo.js +3 -0
- package/lib/Util/todo.js.map +1 -0
- package/lib/Util/type.d.ts +6 -0
- package/lib/Util/type.d.ts.map +1 -0
- package/lib/Util/type.js +3 -0
- package/lib/Util/type.js.map +1 -0
- package/lib/Util/types.d.ts +8 -0
- package/lib/Util/types.d.ts.map +1 -0
- package/lib/Util/types.js +9 -0
- package/lib/Util/types.js.map +1 -0
- package/lib/Util/unknown.d.ts +10 -0
- package/lib/Util/unknown.d.ts.map +1 -0
- package/lib/Util/unknown.js +4 -0
- package/lib/Util/unknown.js.map +1 -0
- package/lib/Util/zip.d.ts +7 -0
- package/lib/Util/zip.d.ts.map +1 -0
- package/lib/Util/zip.js +16 -0
- package/lib/Util/zip.js.map +1 -0
- package/lib/cli/index.d.ts +39 -36
- package/lib/cli/index.d.ts.map +1 -1
- package/lib/cli/index.js +167 -167
- package/lib/cli/index.js.map +1 -1
- package/lib/index.d.ts +25 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +24 -0
- package/lib/index.js.map +1 -0
- package/package.json +64 -47
- package/src/AWS/ACM/Certificate.ts +49 -46
- package/src/AWS/AGENTS.md +10 -10
- package/src/AWS/Assets.ts +1 -1
- package/src/AWS/AuthProvider.ts +392 -0
- package/src/AWS/AutoScaling/AutoScalingGroup.ts +4 -1
- package/src/AWS/AutoScaling/LaunchTemplate.ts +6 -4
- package/src/AWS/AutoScaling/ScalingPolicy.ts +4 -1
- package/src/AWS/Bootstrap.ts +32 -37
- package/src/AWS/CloudFront/Distribution.ts +4 -1
- package/src/AWS/CloudFront/Function.ts +4 -1
- package/src/AWS/CloudFront/Invalidation.ts +4 -1
- package/src/AWS/CloudFront/KeyValueStore.ts +4 -1
- package/src/AWS/CloudFront/KvEntries.ts +4 -1
- package/src/AWS/CloudFront/KvRoutesUpdate.ts +4 -1
- package/src/AWS/CloudFront/OriginAccessControl.ts +4 -1
- package/src/AWS/CloudWatch/Alarm.ts +6 -3
- package/src/AWS/CloudWatch/AlarmMuteRule.ts +6 -3
- package/src/AWS/CloudWatch/AnomalyDetector.ts +4 -1
- package/src/AWS/CloudWatch/CompositeAlarm.ts +6 -3
- package/src/AWS/CloudWatch/Dashboard.ts +6 -3
- package/src/AWS/CloudWatch/InsightRule.ts +6 -3
- package/src/AWS/CloudWatch/MetricStream.ts +6 -3
- package/src/AWS/Credentials.ts +9 -45
- package/src/AWS/DynamoDB/Table.ts +67 -12
- package/src/AWS/EC2/EIP.ts +7 -4
- package/src/AWS/EC2/EgressOnlyInternetGateway.ts +7 -4
- package/src/AWS/EC2/Instance.ts +6 -4
- package/src/AWS/EC2/InternetGateway.ts +7 -4
- package/src/AWS/EC2/NatGateway.ts +7 -4
- package/src/AWS/EC2/NetworkAcl.ts +7 -4
- package/src/AWS/EC2/NetworkAclAssociation.ts +4 -1
- package/src/AWS/EC2/NetworkAclEntry.ts +4 -1
- package/src/AWS/EC2/Route.ts +4 -1
- package/src/AWS/EC2/RouteTable.ts +7 -4
- package/src/AWS/EC2/RouteTableAssociation.ts +4 -1
- package/src/AWS/EC2/SecurityGroup.ts +7 -4
- package/src/AWS/EC2/SecurityGroupRule.ts +4 -1
- package/src/AWS/EC2/Subnet.ts +5 -2
- package/src/AWS/EC2/Vpc.ts +7 -4
- package/src/AWS/EC2/VpcEndpoint.ts +10 -7
- package/src/AWS/EC2/hosted.ts +1 -1
- package/src/AWS/ECR/Repository.ts +5 -2
- package/src/AWS/ECS/Cluster.ts +6 -3
- package/src/AWS/ECS/Service.ts +5 -2
- package/src/AWS/ECS/Task.ts +6 -4
- package/src/AWS/EKS/AccessEntry.ts +4 -1
- package/src/AWS/EKS/Addon.ts +4 -1
- package/src/AWS/EKS/Cluster.ts +4 -2
- package/src/AWS/EKS/PodIdentityAssociation.ts +4 -1
- package/src/AWS/ELBv2/Listener.ts +5 -2
- package/src/AWS/ELBv2/LoadBalancer.ts +5 -2
- package/src/AWS/ELBv2/TargetGroup.ts +5 -2
- package/src/AWS/Endpoint.ts +12 -8
- package/src/AWS/Environment.ts +123 -0
- package/src/AWS/EventBridge/EventBus.ts +6 -3
- package/src/AWS/EventBridge/ListRules.ts +2 -2
- package/src/AWS/EventBridge/Permission.ts +4 -1
- package/src/AWS/EventBridge/PutEvents.ts +2 -2
- package/src/AWS/EventBridge/Rule.ts +6 -3
- package/src/AWS/IAM/AccessKey.ts +4 -1
- package/src/AWS/IAM/AccountAlias.ts +4 -1
- package/src/AWS/IAM/AccountPasswordPolicy.ts +4 -1
- package/src/AWS/IAM/Group.ts +4 -1
- package/src/AWS/IAM/GroupMembership.ts +4 -1
- package/src/AWS/IAM/InstanceProfile.ts +4 -1
- package/src/AWS/IAM/LoginProfile.ts +4 -1
- package/src/AWS/IAM/OpenIDConnectProvider.ts +6 -3
- package/src/AWS/IAM/Policy.ts +7 -4
- package/src/AWS/IAM/Role.ts +8 -5
- package/src/AWS/IAM/SAMLProvider.ts +4 -1
- package/src/AWS/IAM/SSHPublicKey.ts +4 -1
- package/src/AWS/IAM/ServerCertificate.ts +4 -1
- package/src/AWS/IAM/ServiceSpecificCredential.ts +4 -1
- package/src/AWS/IAM/SigningCertificate.ts +4 -1
- package/src/AWS/IAM/User.ts +4 -1
- package/src/AWS/IAM/VirtualMFADevice.ts +4 -1
- package/src/AWS/IdentityCenter/AccountAssignment.ts +4 -1
- package/src/AWS/IdentityCenter/Group.ts +4 -1
- package/src/AWS/IdentityCenter/Instance.ts +4 -1
- package/src/AWS/IdentityCenter/PermissionSet.ts +4 -1
- package/src/AWS/Kinesis/Stream.ts +50 -11
- package/src/AWS/Kinesis/StreamConsumer.ts +4 -1
- package/src/AWS/Lambda/EventSourceMapping.ts +6 -3
- package/src/AWS/Lambda/Function.ts +223 -13
- package/src/AWS/Lambda/Permission.ts +5 -2
- package/src/AWS/Logs/LogGroup.ts +7 -4
- package/src/AWS/Organizations/Account.ts +4 -1
- package/src/AWS/Organizations/DelegatedAdministrator.ts +4 -1
- package/src/AWS/Organizations/Organization.ts +4 -1
- package/src/AWS/Organizations/OrganizationResourcePolicy.ts +4 -1
- package/src/AWS/Organizations/OrganizationalUnit.ts +4 -1
- package/src/AWS/Organizations/Policy.ts +4 -1
- package/src/AWS/Organizations/PolicyAttachment.ts +4 -1
- package/src/AWS/Organizations/Root.ts +4 -1
- package/src/AWS/Organizations/RootPolicyType.ts +4 -1
- package/src/AWS/Organizations/TrustedServiceAccess.ts +4 -1
- package/src/AWS/Providers.ts +489 -443
- package/src/AWS/RDS/DBCluster.ts +4 -1
- package/src/AWS/RDS/DBClusterEndpoint.ts +4 -1
- package/src/AWS/RDS/DBClusterParameterGroup.ts +4 -1
- package/src/AWS/RDS/DBInstance.ts +4 -1
- package/src/AWS/RDS/DBParameterGroup.ts +4 -1
- package/src/AWS/RDS/DBProxy.ts +4 -1
- package/src/AWS/RDS/DBProxyEndpoint.ts +4 -1
- package/src/AWS/RDS/DBProxyTargetGroup.ts +4 -1
- package/src/AWS/RDS/DBSubnetGroup.ts +4 -1
- package/src/AWS/Region.ts +9 -66
- package/src/AWS/Route53/Record.ts +4 -1
- package/src/AWS/S3/Bucket.ts +31 -22
- package/src/AWS/S3/BucketNotifications.ts +1 -1
- package/src/AWS/SNS/Subscription.ts +4 -1
- package/src/AWS/SNS/Topic.ts +52 -12
- package/src/AWS/SQS/Queue.ts +71 -3
- package/src/AWS/Scheduler/Schedule.ts +4 -1
- package/src/AWS/Scheduler/ScheduleGroup.ts +4 -1
- package/src/AWS/SecretsManager/Secret.ts +4 -1
- package/src/AWS/Website/AssetDeployment.ts +4 -1
- package/src/AWS/index.ts +1 -3
- package/src/Apply.ts +58 -60
- package/src/Auth/AuthProvider.ts +213 -0
- package/src/Auth/Credentials.ts +56 -0
- package/src/Auth/Env.ts +45 -0
- package/src/Auth/Profile.ts +135 -0
- package/src/Auth/index.ts +2 -0
- package/src/Binding.ts +18 -17
- package/src/Cloudflare/Auth/AuthProvider.ts +699 -0
- package/src/Cloudflare/Auth/OAuthClient.ts +315 -0
- package/src/Cloudflare/CloudflareEnvironment.ts +49 -0
- package/src/Cloudflare/Container/Container.ts +122 -0
- package/src/Cloudflare/Container/ContainerApplication.ts +183 -100
- package/src/Cloudflare/Container/ContainerBinding.ts +4 -5
- package/src/Cloudflare/Container/StartContainer.ts +1 -1
- package/src/Cloudflare/Credentials.ts +75 -0
- package/src/Cloudflare/D1/D1Database.ts +29 -7
- package/src/Cloudflare/KV/KVNamespace.ts +34 -6
- package/src/Cloudflare/Providers.ts +70 -63
- package/src/Cloudflare/Queue/Queue.ts +174 -0
- package/src/Cloudflare/Queue/QueueBinding.ts +110 -0
- package/src/Cloudflare/Queue/QueueConsumer.ts +219 -0
- package/src/Cloudflare/Queue/index.ts +3 -0
- package/src/Cloudflare/R2/R2Bucket.ts +49 -3
- package/src/Cloudflare/R2/R2BucketBinding.ts +26 -31
- package/src/Cloudflare/SecretsStore/Secret.ts +229 -0
- package/src/Cloudflare/SecretsStore/SecretBinding.ts +107 -0
- package/src/Cloudflare/SecretsStore/SecretsStore.ts +106 -0
- package/src/Cloudflare/SecretsStore/index.ts +3 -0
- package/src/Cloudflare/Website/StaticSite.ts +101 -15
- package/src/Cloudflare/Website/Vite.ts +86 -20
- package/src/Cloudflare/Workers/Assets.ts +170 -207
- package/src/Cloudflare/Workers/DurableObjectNamespace.ts +629 -0
- package/src/Cloudflare/Workers/DurableObjectState.ts +63 -0
- package/src/Cloudflare/Workers/DurableObjectStorage.ts +256 -0
- package/src/Cloudflare/Workers/DynamicWorkerLoader.ts +66 -7
- package/src/Cloudflare/Workers/InferEnv.ts +13 -7
- package/src/Cloudflare/Workers/Rpc.ts +13 -2
- package/src/Cloudflare/Workers/ScheduledEvents.ts +185 -0
- package/src/Cloudflare/Workers/WebSocket.ts +1 -1
- package/src/Cloudflare/Workers/Worker.ts +655 -88
- package/src/Cloudflare/Workers/Workflow.ts +75 -21
- package/src/Cloudflare/Workers/index.ts +4 -1
- package/src/Cloudflare/index.ts +3 -1
- package/src/Construct.ts +2 -2
- package/src/GitHub/Comment.ts +224 -0
- package/src/GitHub/Secret.ts +257 -0
- package/src/GitHub/Variable.ts +166 -0
- package/src/GitHub/index.ts +3 -0
- package/src/Kubernetes/client.ts +2 -2
- package/src/Output.ts +1 -1
- package/src/Plan.ts +595 -596
- package/src/Platform.ts +20 -14
- package/src/Provider.ts +145 -23
- package/src/Resource.ts +14 -7
- package/src/Stack.ts +40 -29
- package/src/State/LocalState.ts +43 -16
- package/src/Test/Bun.ts +3 -0
- package/src/Test/Vitest.ts +35 -26
- package/src/Util/Clank.ts +77 -0
- package/src/Util/PlatformServices.ts +62 -0
- package/src/Util/dedent.ts +59 -0
- package/src/Util/index.ts +1 -0
- package/src/Util/service.ts +1 -1
- package/src/index.ts +10 -7
- package/bin/alchemy-effect.js.map +0 -1
- package/bin/alchemy-effect.sh +0 -14
- package/bin/alchemy-effect.ts +0 -756
- package/bin/process-manager.ts +0 -10
- package/src/AWS/Account.ts +0 -56
- package/src/AWS/Profile.ts +0 -5
- package/src/AWS/StageConfig.ts +0 -44
- package/src/Cloudflare/Account.ts +0 -38
- package/src/Cloudflare/StageConfig.ts +0 -8
- package/src/Cloudflare/Workers/DurableObject.ts +0 -527
- package/src/Daemon/Client.ts +0 -116
- package/src/Daemon/Config.ts +0 -28
- package/src/Daemon/Errors.ts +0 -48
- package/src/Daemon/Lock.ts +0 -162
- package/src/Daemon/ProcessRegistry.ts +0 -284
- package/src/Daemon/RpcSchema.ts +0 -43
- package/src/Daemon/RpcServer.ts +0 -231
- package/src/Daemon/index.ts +0 -27
- package/src/Spawn.ts +0 -23
|
@@ -1,42 +1,47 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
import * as Auth from "@distilled.cloud/aws/Auth";
|
|
3
|
-
import { NodeRuntime, NodeServices } from "@effect/platform-node";
|
|
4
|
-
import * as Config from "effect/Config";
|
|
5
2
|
import * as ConfigProvider from "effect/ConfigProvider";
|
|
6
|
-
import * as Console from "effect/Console";
|
|
7
3
|
import * as Effect from "effect/Effect";
|
|
8
4
|
import * as Layer from "effect/Layer";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
5
|
+
import * as Command$1 from "effect/unstable/cli/Command";
|
|
6
|
+
import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
|
|
7
|
+
import * as Context from "effect/Context";
|
|
8
|
+
import * as FileSystem from "effect/FileSystem";
|
|
11
9
|
import * as Path$1 from "effect/Path";
|
|
12
10
|
import { Path } from "effect/Path";
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import
|
|
11
|
+
import * as Cause from "effect/Cause";
|
|
12
|
+
import * as Config from "effect/Config";
|
|
13
|
+
import * as Console from "effect/Console";
|
|
14
|
+
import * as Option from "effect/Option";
|
|
15
|
+
import * as Schema from "effect/Schema";
|
|
16
|
+
import * as Argument from "effect/unstable/cli/Argument";
|
|
16
17
|
import * as CliError from "effect/unstable/cli/CliError";
|
|
17
|
-
import * as
|
|
18
|
-
import
|
|
19
|
-
import * as Deferred from "effect/Deferred";
|
|
20
|
-
import * as Context from "effect/Context";
|
|
18
|
+
import * as Flag$1 from "effect/unstable/cli/Flag";
|
|
19
|
+
import "@clack/prompts";
|
|
21
20
|
import * as Data from "effect/Data";
|
|
21
|
+
import "effect/unstable/process";
|
|
22
|
+
import * as Auth from "@distilled.cloud/aws/Auth";
|
|
23
|
+
import * as Logger from "effect/Logger";
|
|
24
|
+
import * as Region$1 from "@distilled.cloud/aws/Region";
|
|
25
|
+
import { Region } from "@distilled.cloud/aws/Region";
|
|
26
|
+
import * as s3 from "@distilled.cloud/aws/s3";
|
|
27
|
+
import * as Schedule from "effect/Schedule";
|
|
28
|
+
import { Credentials, fromAwsCredentialIdentity } from "@distilled.cloud/aws/Credentials";
|
|
29
|
+
import * as Deferred from "effect/Deferred";
|
|
22
30
|
import { pipe } from "effect/Function";
|
|
23
31
|
import { SingleShotGen } from "effect/Utils";
|
|
24
32
|
import { pipeArguments } from "effect/Pipeable";
|
|
25
|
-
import * as
|
|
26
|
-
import "
|
|
27
|
-
import { Region, Region as Region$1 } from "@distilled.cloud/aws/Region";
|
|
28
|
-
import * as s3 from "@distilled.cloud/aws/s3";
|
|
29
|
-
import * as Schedule from "effect/Schedule";
|
|
30
|
-
import { Credentials } from "@distilled.cloud/aws/Credentials";
|
|
33
|
+
import * as Redacted from "effect/Redacted";
|
|
34
|
+
import os from "node:os";
|
|
31
35
|
import { PassThrough, Stream } from "node:stream";
|
|
32
36
|
import process$1, { cwd, env } from "node:process";
|
|
33
|
-
import os from "node:os";
|
|
34
37
|
import { execFileSync } from "node:child_process";
|
|
35
38
|
import * as fs$1 from "node:fs";
|
|
36
39
|
import fs from "node:fs";
|
|
37
40
|
import tty from "node:tty";
|
|
38
41
|
import { EventEmitter } from "node:events";
|
|
39
42
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
43
|
+
import { Command, Flag } from "effect/unstable/cli";
|
|
44
|
+
import * as Stream$1 from "effect/Stream";
|
|
40
45
|
|
|
41
46
|
//#region rolldown:runtime
|
|
42
47
|
var __create = Object.create;
|
|
@@ -69,7 +74,410 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
|
69
74
|
|
|
70
75
|
//#endregion
|
|
71
76
|
//#region package.json
|
|
72
|
-
var version = "2.0.0-beta.
|
|
77
|
+
var version = "2.0.0-beta.12";
|
|
78
|
+
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/Config.ts
|
|
81
|
+
var DotAlchemy = class extends Context.Service()(".alchemy") {};
|
|
82
|
+
const dotAlchemy = Layer.effect(DotAlchemy, Effect.gen(function* () {
|
|
83
|
+
const fs$2 = yield* FileSystem.FileSystem;
|
|
84
|
+
const dir = (yield* Path$1.Path).join(process.cwd(), ".alchemy");
|
|
85
|
+
yield* fs$2.makeDirectory(dir, { recursive: true });
|
|
86
|
+
return dir;
|
|
87
|
+
}));
|
|
88
|
+
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/Util/PlatformServices.ts
|
|
91
|
+
const isBun$1 = typeof Bun !== "undefined";
|
|
92
|
+
const PlatformServices = Effect.promise(async () => {
|
|
93
|
+
if (isBun$1) {
|
|
94
|
+
const [BunServices, BunSocket] = await Promise.all([import("@effect/platform-bun/BunServices"), import("@effect/platform-bun/BunSocket")]);
|
|
95
|
+
return Layer.merge(BunServices.layer, BunSocket.layerWebSocketConstructor);
|
|
96
|
+
} else {
|
|
97
|
+
const [NodeServices, NodeSocket] = await Promise.all([import("@effect/platform-node/NodeServices"), import("@effect/platform-node/NodeSocket")]);
|
|
98
|
+
return Layer.merge(NodeServices.layer, NodeSocket.layerWebSocketConstructor);
|
|
99
|
+
}
|
|
100
|
+
}).pipe(Layer.unwrap);
|
|
101
|
+
const runMain = (effect, options) => {
|
|
102
|
+
if (isBun$1) import("@effect/platform-bun/BunRuntime").then((BunRuntime) => BunRuntime.runMain(effect, options));
|
|
103
|
+
else import("@effect/platform-node/NodeRuntime").then((NodeRuntime) => NodeRuntime.runMain(effect, options));
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region src/Auth/AuthProvider.ts
|
|
108
|
+
var AuthError = class extends Schema.TaggedErrorClass()("AuthError", {
|
|
109
|
+
message: Schema.String,
|
|
110
|
+
cause: Schema.optional(Schema.Defect)
|
|
111
|
+
}) {};
|
|
112
|
+
var AuthProviders = class extends Context.Service()("AuthProviders") {};
|
|
113
|
+
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/Util/Clank.ts
|
|
116
|
+
var PromptCancelled = class extends Data.TaggedError("PromptCancelled") {};
|
|
117
|
+
const retryIfCancelled = Effect.retry({ while: (e) => e instanceof PromptCancelled });
|
|
118
|
+
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region bin/commands/_shared.ts
|
|
121
|
+
const USER = Config.string("USER").pipe(Config.orElse(() => Config.string("USERNAME")), Config.withDefault("unknown"));
|
|
122
|
+
const STAGE = Config.string("stage").pipe(Config.option, (a) => a.asEffect(), Effect.map(Option.getOrUndefined));
|
|
123
|
+
/**
|
|
124
|
+
* `true` if `e` is a {@link PromptCancelled}, or an {@link AuthError} whose
|
|
125
|
+
* `cause` chain bottoms out in one. Schema-tagged errors don't always
|
|
126
|
+
* survive `instanceof` across module boundaries, so we also accept any
|
|
127
|
+
* object whose `_tag` matches.
|
|
128
|
+
*/
|
|
129
|
+
const isPromptCancellation = (e) => {
|
|
130
|
+
for (let cur = e, i = 0; cur != null && i < 16; i++) {
|
|
131
|
+
if (cur instanceof PromptCancelled) return true;
|
|
132
|
+
if (typeof cur === "object" && cur._tag === "PromptCancelled") return true;
|
|
133
|
+
if (cur instanceof AuthError || typeof cur === "object" && cur._tag === "AuthError") {
|
|
134
|
+
cur = cur.cause;
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
return false;
|
|
138
|
+
}
|
|
139
|
+
return false;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Catches user cancellations (Ctrl+C inside a prompt, surfaced as
|
|
143
|
+
* {@link PromptCancelled} or wrapped in an {@link AuthError}) and exits
|
|
144
|
+
* the CLI cleanly with a friendly message instead of dumping a stack
|
|
145
|
+
* trace.
|
|
146
|
+
*/
|
|
147
|
+
const handleCancellation = (self$1) => self$1.pipe(Effect.catchCause((cause) => {
|
|
148
|
+
return cause.reasons.some((r) => {
|
|
149
|
+
if (Cause.isFailReason(r)) return isPromptCancellation(r.error);
|
|
150
|
+
if (Cause.isDieReason(r)) return isPromptCancellation(r.defect);
|
|
151
|
+
return false;
|
|
152
|
+
}) ? Console.log("\nCancelled.") : Effect.failCause(cause);
|
|
153
|
+
}), Effect.onInterrupt(() => Console.log("\nInterrupted.")));
|
|
154
|
+
const stage = Flag$1.string("stage").pipe(Flag$1.withSchema(Schema.String.check(Schema.isPattern(/^[a-z0-9]+([-_a-z0-9]+)*$/gi))), Flag$1.withDescription("Stage to deploy to, defaults to dev_${USER}"), Flag$1.optional, Flag$1.map(Option.getOrUndefined), Flag$1.mapEffect(Effect.fn(function* (stage$1) {
|
|
155
|
+
if (stage$1) return stage$1;
|
|
156
|
+
return yield* STAGE.pipe(Effect.catch(() => Effect.fail(new CliError.MissingOption({ option: "stage" }))), Effect.flatMap((s) => s === void 0 ? USER.asEffect().pipe(Effect.map((user) => `dev_${user}`), Effect.catch(() => Effect.succeed("unknown"))) : Effect.succeed(s)));
|
|
157
|
+
})));
|
|
158
|
+
const envFile = Flag$1.file("env-file").pipe(Flag$1.optional, Flag$1.withDescription("File to load environment variables from, defaults to .env"));
|
|
159
|
+
const dryRun = Flag$1.boolean("dry-run").pipe(Flag$1.withDescription("Dry run the deployment, do not actually deploy"), Flag$1.withDefault(false));
|
|
160
|
+
const yes = Flag$1.boolean("yes").pipe(Flag$1.withDescription("Yes to all prompts"), Flag$1.withDefault(false));
|
|
161
|
+
const force = Flag$1.boolean("force").pipe(Flag$1.withDescription("Force updates for resources that would otherwise no-op"), Flag$1.withDefault(false));
|
|
162
|
+
const main = Argument.file("main", { mustExist: true }).pipe(Argument.withDescription("Main file to deploy, defaults to alchemy.run.ts"), Argument.withDefault("alchemy.run.ts"));
|
|
163
|
+
const profile = Flag$1.string("profile").pipe(Flag$1.withDescription("Auth profile to use (~/.alchemy/profiles.json). Defaults to 'default' or $ALCHEMY_PROFILE."), Flag$1.optional, Flag$1.map(Option.getOrElse(() => "default")));
|
|
164
|
+
const resourceFilter = Flag$1.string("filter").pipe(Flag$1.withDescription("Comma-separated logical resource IDs (e.g. Api,Sandbox). Only those resources are included."), Flag$1.optional, Flag$1.map(Option.getOrUndefined));
|
|
165
|
+
const TAIL_COLORS = [
|
|
166
|
+
"\x1B[36m",
|
|
167
|
+
"\x1B[35m",
|
|
168
|
+
"\x1B[33m",
|
|
169
|
+
"\x1B[32m",
|
|
170
|
+
"\x1B[34m",
|
|
171
|
+
"\x1B[91m",
|
|
172
|
+
"\x1B[96m",
|
|
173
|
+
"\x1B[95m",
|
|
174
|
+
"\x1B[93m",
|
|
175
|
+
"\x1B[92m"
|
|
176
|
+
];
|
|
177
|
+
const TAIL_RESET = "\x1B[0m";
|
|
178
|
+
const formatLocalTimestamp = (date) => {
|
|
179
|
+
return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")} ${String(date.getHours()).padStart(2, "0")}:${String(date.getMinutes()).padStart(2, "0")}:${String(date.getSeconds()).padStart(2, "0")}.${String(date.getMilliseconds()).padStart(3, "0")} ${new Intl.DateTimeFormat("en-US", { timeZoneName: "short" }).formatToParts(date).find((p) => p.type === "timeZoneName")?.value ?? ""}`;
|
|
180
|
+
};
|
|
181
|
+
const parseResourceFilter = (filter) => {
|
|
182
|
+
if (filter === void 0) return void 0;
|
|
183
|
+
const ids = filter.split(",").map((s) => s.trim()).filter((s) => s.length > 0);
|
|
184
|
+
if (ids.length === 0) return void 0;
|
|
185
|
+
return new Set(ids);
|
|
186
|
+
};
|
|
187
|
+
const parseSince = (value) => {
|
|
188
|
+
const match = value.match(/^(\d+)([smhd])$/);
|
|
189
|
+
if (match) {
|
|
190
|
+
const num = parseInt(match[1], 10);
|
|
191
|
+
const unit = match[2];
|
|
192
|
+
const ms = unit === "s" ? num * 1e3 : unit === "m" ? num * 6e4 : unit === "h" ? num * 36e5 : num * 864e5;
|
|
193
|
+
return new Date(Date.now() - ms);
|
|
194
|
+
}
|
|
195
|
+
const parsed = new Date(value);
|
|
196
|
+
if (isNaN(parsed.getTime())) throw new Error(`Invalid --since value: '${value}'. Use a duration (e.g. '1h', '30m') or ISO date.`);
|
|
197
|
+
return parsed;
|
|
198
|
+
};
|
|
199
|
+
const importStack = Effect.fn(function* (main$1) {
|
|
200
|
+
const path = yield* Path$1.Path;
|
|
201
|
+
const stackEffect = (yield* Effect.promise(() => import(path.resolve(process.cwd(), main$1)))).default;
|
|
202
|
+
if (!Effect.isEffect(stackEffect)) return yield* Effect.die(/* @__PURE__ */ new Error(`Main file '${main$1}' must export a default stack definition (export default Alchemy.Stack({...}))`));
|
|
203
|
+
return stackEffect;
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region src/AWS/Environment.ts
|
|
208
|
+
const AWS_PROFILE = Config.string("AWS_PROFILE").pipe(Config.withDefault("default"));
|
|
209
|
+
const AWS_REGION = Config.string("AWS_REGION");
|
|
210
|
+
var AWSEnvironment = class extends Context.Service()("AWS::Environment") {};
|
|
211
|
+
/**
|
|
212
|
+
* Build an `AWSEnvironment` from an SSO profile (`AWS_PROFILE` env var,
|
|
213
|
+
* defaults to `"default"`). Uses the profile's `sso_account_id` and `region`,
|
|
214
|
+
* and resolves credentials lazily via `aws sso login`.
|
|
215
|
+
*/
|
|
216
|
+
const Default = Layer.effect(AWSEnvironment, Effect.suspend(() => loadDefault())).pipe(Layer.orDie);
|
|
217
|
+
const loadDefault = () => Effect.gen(function* () {
|
|
218
|
+
const profileName = yield* AWS_PROFILE;
|
|
219
|
+
const auth = yield* Auth.Default;
|
|
220
|
+
const profile$1 = yield* auth.loadProfile(profileName);
|
|
221
|
+
if (!profile$1.sso_account_id) return yield* Effect.die(`AWS SSO profile '${profileName}' is missing sso_account_id`);
|
|
222
|
+
const region = profile$1.region ?? (yield* AWS_REGION.pipe(Config.option, Config.map(Option.getOrElse(() => "us-east-1"))));
|
|
223
|
+
return {
|
|
224
|
+
profile: profileName,
|
|
225
|
+
accountId: profile$1.sso_account_id,
|
|
226
|
+
region,
|
|
227
|
+
credentials: auth.loadProfileCredentials(profileName)
|
|
228
|
+
};
|
|
229
|
+
});
|
|
230
|
+
const isStatic = (shape) => shape.credentials != null && typeof shape.credentials.accessKeyId === "string";
|
|
231
|
+
/**
|
|
232
|
+
* Build an `AWSEnvironment` Layer directly from values — useful for
|
|
233
|
+
* static credentials in CI or tests.
|
|
234
|
+
*
|
|
235
|
+
* Named `makeEnvironment` rather than `of` because `Context.Service.of`
|
|
236
|
+
* already exists with different semantics (builds the service value, not
|
|
237
|
+
* a Layer); putting both on `AWSEnvironment` would be confusing.
|
|
238
|
+
*/
|
|
239
|
+
const makeEnvironment = (shape) => Layer.succeed(AWSEnvironment, isStatic(shape) ? {
|
|
240
|
+
...shape,
|
|
241
|
+
credentials: Effect.succeed(fromAwsCredentialIdentity(shape.credentials))
|
|
242
|
+
} : shape);
|
|
243
|
+
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region src/AWS/Bootstrap.ts
|
|
246
|
+
/**
|
|
247
|
+
* Tag key used to identify the alchemy assets bucket.
|
|
248
|
+
*/
|
|
249
|
+
const ASSETS_BUCKET_TAG = "alchemy::assets-bucket";
|
|
250
|
+
/**
|
|
251
|
+
* Tag key used to scope the alchemy assets bucket to an AWS region.
|
|
252
|
+
*/
|
|
253
|
+
const ASSETS_BUCKET_REGION_TAG = "alchemy::assets-bucket-region";
|
|
254
|
+
/**
|
|
255
|
+
* Build an account-regional namespace bucket name.
|
|
256
|
+
*
|
|
257
|
+
* Account-regional buckets must follow the naming convention:
|
|
258
|
+
* `<prefix>-<accountId>-<region>-an`
|
|
259
|
+
*
|
|
260
|
+
* @see https://docs.aws.amazon.com/AmazonS3/latest/userguide/gpbucketnamespaces.html#account-regional-gp-buckets
|
|
261
|
+
*/
|
|
262
|
+
const createAssetsBucketName = (accountId, region) => `alchemy-assets-${accountId}-${region}-an`.toLowerCase();
|
|
263
|
+
const createAssetsBucketTags = (region) => [{
|
|
264
|
+
Key: ASSETS_BUCKET_TAG,
|
|
265
|
+
Value: "true"
|
|
266
|
+
}, {
|
|
267
|
+
Key: ASSETS_BUCKET_REGION_TAG,
|
|
268
|
+
Value: region
|
|
269
|
+
}];
|
|
270
|
+
const getBucketTags = (bucketName) => s3.getBucketTagging({ Bucket: bucketName }).pipe(Effect.map((response) => response.TagSet ?? []), Effect.catchTag("NoSuchTagSet", () => Effect.succeed([])));
|
|
271
|
+
const hasAssetsBucketTag = (tags) => tags.some((tag) => tag.Key === ASSETS_BUCKET_TAG && tag.Value === "true");
|
|
272
|
+
const normalizeBucketRegion = (location) => {
|
|
273
|
+
if (!location) return "us-east-1";
|
|
274
|
+
if (location === "EU") return "eu-west-1";
|
|
275
|
+
return location;
|
|
276
|
+
};
|
|
277
|
+
const bucketMatchesRegion = (tags, region) => {
|
|
278
|
+
const taggedRegion = tags.find((tag) => tag.Key === ASSETS_BUCKET_REGION_TAG)?.Value;
|
|
279
|
+
return taggedRegion === void 0 ? void 0 : taggedRegion === region;
|
|
280
|
+
};
|
|
281
|
+
const lookupAssetsBuckets = Effect.gen(function* () {
|
|
282
|
+
const region = yield* Region;
|
|
283
|
+
const buckets = (yield* s3.listBuckets({})).Buckets ?? [];
|
|
284
|
+
const matchingBuckets = [];
|
|
285
|
+
for (const bucket of buckets) {
|
|
286
|
+
const bucketName = bucket.Name;
|
|
287
|
+
if (!bucketName) continue;
|
|
288
|
+
const tags = yield* getBucketTags(bucketName).pipe(Effect.catch(() => Effect.succeed([])));
|
|
289
|
+
if (!hasAssetsBucketTag(tags)) continue;
|
|
290
|
+
const taggedRegionMatch = bucketMatchesRegion(tags, region);
|
|
291
|
+
if (taggedRegionMatch === true) {
|
|
292
|
+
matchingBuckets.push(bucketName);
|
|
293
|
+
continue;
|
|
294
|
+
}
|
|
295
|
+
if (taggedRegionMatch === false) continue;
|
|
296
|
+
if ((yield* s3.getBucketLocation({ Bucket: bucketName }).pipe(Effect.map((response) => normalizeBucketRegion(response.LocationConstraint)), Effect.catch(() => Effect.succeed(void 0)))) === region) matchingBuckets.push(bucketName);
|
|
297
|
+
}
|
|
298
|
+
return matchingBuckets;
|
|
299
|
+
});
|
|
300
|
+
const lookupAssetsBucket = Effect.gen(function* () {
|
|
301
|
+
const matchingBuckets = yield* lookupAssetsBuckets;
|
|
302
|
+
for (const bucketName of matchingBuckets) return Option.some(bucketName);
|
|
303
|
+
return Option.none();
|
|
304
|
+
});
|
|
305
|
+
const ensureAssetsBucketTags = Effect.fn(function* (bucketName, region) {
|
|
306
|
+
const tagSet = [...(yield* getBucketTags(bucketName)).filter((tag) => tag.Key !== ASSETS_BUCKET_TAG && tag.Key !== ASSETS_BUCKET_REGION_TAG), ...createAssetsBucketTags(region)];
|
|
307
|
+
yield* s3.putBucketTagging({
|
|
308
|
+
Bucket: bucketName,
|
|
309
|
+
Tagging: { TagSet: tagSet.map((tag) => ({
|
|
310
|
+
Key: tag.Key,
|
|
311
|
+
Value: tag.Value
|
|
312
|
+
})) }
|
|
313
|
+
});
|
|
314
|
+
});
|
|
315
|
+
const deleteAllObjects = Effect.fn(function* (bucketName) {
|
|
316
|
+
let continuationToken;
|
|
317
|
+
do {
|
|
318
|
+
const listResponse = yield* s3.listObjectsV2({
|
|
319
|
+
Bucket: bucketName,
|
|
320
|
+
ContinuationToken: continuationToken
|
|
321
|
+
});
|
|
322
|
+
if (listResponse.Contents && listResponse.Contents.length > 0) yield* s3.deleteObjects({
|
|
323
|
+
Bucket: bucketName,
|
|
324
|
+
Delete: {
|
|
325
|
+
Objects: listResponse.Contents.map((obj) => ({ Key: obj.Key })),
|
|
326
|
+
Quiet: true
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
continuationToken = listResponse.NextContinuationToken;
|
|
330
|
+
} while (continuationToken);
|
|
331
|
+
let keyMarker;
|
|
332
|
+
let versionIdMarker;
|
|
333
|
+
do {
|
|
334
|
+
const listVersionsResponse = yield* s3.listObjectVersions({
|
|
335
|
+
Bucket: bucketName,
|
|
336
|
+
KeyMarker: keyMarker,
|
|
337
|
+
VersionIdMarker: versionIdMarker
|
|
338
|
+
});
|
|
339
|
+
const objectsToDelete = [...(listVersionsResponse.Versions ?? []).map((v) => ({
|
|
340
|
+
Key: v.Key,
|
|
341
|
+
VersionId: v.VersionId
|
|
342
|
+
})), ...(listVersionsResponse.DeleteMarkers ?? []).map((dm) => ({
|
|
343
|
+
Key: dm.Key,
|
|
344
|
+
VersionId: dm.VersionId
|
|
345
|
+
}))];
|
|
346
|
+
if (objectsToDelete.length > 0) yield* s3.deleteObjects({
|
|
347
|
+
Bucket: bucketName,
|
|
348
|
+
Delete: {
|
|
349
|
+
Objects: objectsToDelete,
|
|
350
|
+
Quiet: true
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
keyMarker = listVersionsResponse.NextKeyMarker;
|
|
354
|
+
versionIdMarker = listVersionsResponse.NextVersionIdMarker;
|
|
355
|
+
} while (keyMarker);
|
|
356
|
+
});
|
|
357
|
+
/**
|
|
358
|
+
* Bootstrap the AWS environment by creating the assets bucket.
|
|
359
|
+
*
|
|
360
|
+
* This is idempotent - running it multiple times is safe.
|
|
361
|
+
* The bucket is tagged and later discovered by tag lookup instead of by name.
|
|
362
|
+
*/
|
|
363
|
+
const bootstrap = Effect.fn(function* () {
|
|
364
|
+
const region = yield* Region;
|
|
365
|
+
const existingBucket = yield* lookupAssetsBucket;
|
|
366
|
+
if (Option.isSome(existingBucket)) {
|
|
367
|
+
yield* ensureAssetsBucketTags(existingBucket.value, region);
|
|
368
|
+
yield* Effect.logInfo(`Assets bucket already exists: ${existingBucket.value}`);
|
|
369
|
+
return {
|
|
370
|
+
bucketName: existingBucket.value,
|
|
371
|
+
created: false
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
const { accountId } = yield* AWSEnvironment;
|
|
375
|
+
const bucketName = createAssetsBucketName(accountId, region);
|
|
376
|
+
yield* s3.createBucket({
|
|
377
|
+
Bucket: bucketName,
|
|
378
|
+
BucketNamespace: "account-regional",
|
|
379
|
+
CreateBucketConfiguration: {
|
|
380
|
+
Tags: createAssetsBucketTags(region),
|
|
381
|
+
...region === "us-east-1" ? {} : { LocationConstraint: region }
|
|
382
|
+
}
|
|
383
|
+
}).pipe(Effect.catchTag("BucketAlreadyOwnedByYou", () => Effect.void), Effect.retry({
|
|
384
|
+
while: (e) => e._tag === "OperationAborted" || e._tag === "ServiceUnavailable",
|
|
385
|
+
schedule: Schedule.exponential(100)
|
|
386
|
+
}));
|
|
387
|
+
yield* s3.headBucket({ Bucket: bucketName }).pipe(Effect.retry({ schedule: Schedule.exponential(100).pipe(Schedule.both(Schedule.recurs(10))) }));
|
|
388
|
+
yield* Effect.logInfo(`Created assets bucket: ${bucketName}`);
|
|
389
|
+
return {
|
|
390
|
+
bucketName,
|
|
391
|
+
created: true
|
|
392
|
+
};
|
|
393
|
+
});
|
|
394
|
+
const destroyBootstrap = Effect.fn(function* () {
|
|
395
|
+
const bucketNames = yield* lookupAssetsBuckets;
|
|
396
|
+
for (const bucketName of bucketNames) {
|
|
397
|
+
yield* Effect.logInfo(`Destroying assets bucket: ${bucketName}`);
|
|
398
|
+
yield* deleteAllObjects(bucketName);
|
|
399
|
+
yield* s3.deleteBucket({ Bucket: bucketName }).pipe(Effect.retry({
|
|
400
|
+
while: (e) => e._tag === "OperationAborted" || e._tag === "ServiceUnavailable",
|
|
401
|
+
schedule: Schedule.exponential(100).pipe(Schedule.both(Schedule.recurs(10)))
|
|
402
|
+
}));
|
|
403
|
+
}
|
|
404
|
+
return {
|
|
405
|
+
bucketNames,
|
|
406
|
+
destroyed: bucketNames.length
|
|
407
|
+
};
|
|
408
|
+
});
|
|
409
|
+
|
|
410
|
+
//#endregion
|
|
411
|
+
//#region src/AWS/Credentials.ts
|
|
412
|
+
/**
|
|
413
|
+
* Lazy `Credentials` layer derived from the surrounding {@link AWSEnvironment}.
|
|
414
|
+
* Credentials are resolved on first access (not during layer construction),
|
|
415
|
+
* matching the existing @distilled.cloud/aws semantics.
|
|
416
|
+
*/
|
|
417
|
+
const fromEnvironment$1 = Layer.effect(Credentials, Effect.map(AWSEnvironment.asEffect(), (env$2) => env$2.credentials));
|
|
418
|
+
|
|
419
|
+
//#endregion
|
|
420
|
+
//#region src/AWS/Region.ts
|
|
421
|
+
/**
|
|
422
|
+
* Derive the AWS region from the surrounding {@link AWSEnvironment}.
|
|
423
|
+
*/
|
|
424
|
+
const fromEnvironment = Layer.effect(Region$1.Region, Effect.map(AWSEnvironment.asEffect(), (env$2) => env$2.region));
|
|
425
|
+
|
|
426
|
+
//#endregion
|
|
427
|
+
//#region src/Util/ConfigProvider.ts
|
|
428
|
+
const loadConfigProvider = (envFile$1) => {
|
|
429
|
+
if (Option.isSome(envFile$1)) return ConfigProvider.fromDotEnv({ path: envFile$1.value }).pipe(Effect.map((dotEnv) => ConfigProvider.orElse(dotEnv, ConfigProvider.fromEnv())));
|
|
430
|
+
return Effect.gen(function* () {
|
|
431
|
+
if (!(yield* (yield* FileSystem.FileSystem).exists(".env"))) return ConfigProvider.fromEnv();
|
|
432
|
+
return ConfigProvider.orElse(yield* ConfigProvider.fromDotEnv({ path: ".env" }), ConfigProvider.fromEnv());
|
|
433
|
+
});
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
//#endregion
|
|
437
|
+
//#region src/Util/FileLogger.ts
|
|
438
|
+
const fileLogger = Effect.fnUntraced(function* (...segments) {
|
|
439
|
+
const dotAlchemy$1 = yield* DotAlchemy;
|
|
440
|
+
const fs$2 = yield* FileSystem.FileSystem;
|
|
441
|
+
const path = yield* Path;
|
|
442
|
+
const logFile = path.join(dotAlchemy$1, "log", ...segments);
|
|
443
|
+
yield* fs$2.makeDirectory(path.dirname(logFile), { recursive: true });
|
|
444
|
+
return yield* Logger.formatLogFmt.pipe(Logger.toFile(logFile, { flag: "a" }));
|
|
445
|
+
});
|
|
446
|
+
|
|
447
|
+
//#endregion
|
|
448
|
+
//#region bin/commands/bootstrap.ts
|
|
449
|
+
const awsProfile = Flag$1.string("profile").pipe(Flag$1.withDescription("AWS profile to use for credentials"), Flag$1.optional, Flag$1.map(Option.getOrElse(() => "default")));
|
|
450
|
+
const awsRegion = Flag$1.string("region").pipe(Flag$1.withDescription("AWS region to bootstrap (defaults to AWS_REGION env var)"), Flag$1.optional, Flag$1.map(Option.getOrUndefined));
|
|
451
|
+
const bootstrapDestroy = Flag$1.boolean("destroy").pipe(Flag$1.withDescription("Destroy all bootstrap buckets in the selected region"), Flag$1.withDefault(false));
|
|
452
|
+
const bootstrapCommand = Command$1.make("bootstrap", {
|
|
453
|
+
envFile,
|
|
454
|
+
profile: awsProfile,
|
|
455
|
+
region: awsRegion,
|
|
456
|
+
destroy: bootstrapDestroy
|
|
457
|
+
}, Effect.fnUntraced(function* ({ envFile: envFile$1, profile: profile$1, region, destroy }) {
|
|
458
|
+
const logger = Logger.layer([fileLogger("bootstrap.txt")]);
|
|
459
|
+
return yield* Effect.gen(function* () {
|
|
460
|
+
const ssoProfile = yield* Auth.loadProfile(profile$1);
|
|
461
|
+
if (!ssoProfile.sso_account_id) return yield* Effect.die(`AWS SSO profile '${profile$1}' is missing sso_account_id`);
|
|
462
|
+
const ambient = yield* Effect.context();
|
|
463
|
+
const environment = makeEnvironment({
|
|
464
|
+
accountId: ssoProfile.sso_account_id,
|
|
465
|
+
region: region ?? ssoProfile.region ?? "us-east-1",
|
|
466
|
+
credentials: Auth.loadProfileCredentials(profile$1).pipe(Effect.provide(ambient)),
|
|
467
|
+
profile: profile$1
|
|
468
|
+
});
|
|
469
|
+
const awsLayers = Layer.provideMerge(Layer.mergeAll(fromEnvironment, fromEnvironment$1), environment);
|
|
470
|
+
return yield* Effect.gen(function* () {
|
|
471
|
+
const provider = yield* loadConfigProvider(envFile$1);
|
|
472
|
+
const bootstrapLayer = Layer.provide(awsLayers, Layer.succeed(ConfigProvider.ConfigProvider, provider));
|
|
473
|
+
if (destroy) {
|
|
474
|
+
yield* destroyBootstrap().pipe(Effect.tap((result) => result.destroyed === 0 ? Console.log("✓ No bootstrap buckets found to destroy") : Console.log(`✓ Destroyed ${result.destroyed} bootstrap bucket(s): ${result.bucketNames.join(", ")}`)), Effect.provide(bootstrapLayer));
|
|
475
|
+
return;
|
|
476
|
+
}
|
|
477
|
+
yield* bootstrap().pipe(Effect.tap(({ bucketName, created }) => created ? Console.log(`✓ Created assets bucket: ${bucketName}`) : Console.log(`✓ Assets bucket already exists: ${bucketName}`)), Effect.provide(bootstrapLayer));
|
|
478
|
+
});
|
|
479
|
+
}).pipe(Effect.provide(logger));
|
|
480
|
+
}));
|
|
73
481
|
|
|
74
482
|
//#endregion
|
|
75
483
|
//#region src/Artifacts.ts
|
|
@@ -126,11 +534,6 @@ const makeScopedArtifacts = (store, fqn) => {
|
|
|
126
534
|
};
|
|
127
535
|
};
|
|
128
536
|
/**
|
|
129
|
-
* Run an effect with a fresh artifact root, replacing any existing store.
|
|
130
|
-
* Use this at top-level entrypoints that intentionally define a new deploy run.
|
|
131
|
-
*/
|
|
132
|
-
const provideFreshArtifactStore = (effect) => effect.pipe(Effect.provideServiceEffect(ArtifactStore, Effect.sync(createArtifactStore)));
|
|
133
|
-
/**
|
|
134
537
|
* Ensure an artifact root exists, reusing the ambient store when one is already
|
|
135
538
|
* present. This lets nested helpers participate in the same run-scoped cache.
|
|
136
539
|
*/
|
|
@@ -240,10 +643,24 @@ const parseFqn = (fqn) => {
|
|
|
240
643
|
//#endregion
|
|
241
644
|
//#region src/Provider.ts
|
|
242
645
|
const Provider = (type) => Context.Service()(type);
|
|
243
|
-
const
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
646
|
+
const isProviderCollectionService = (value) => {
|
|
647
|
+
return typeof value === "object" && value !== null && "kind" in value && value.kind === "ProviderCollection";
|
|
648
|
+
};
|
|
649
|
+
const findProviderByType = (type) => tryFindProviderByType(type).pipe(Effect.flatMap(Option.match({
|
|
650
|
+
onNone: () => Effect.die(`Provider not found for ${type}`),
|
|
651
|
+
onSome: (provider) => Effect.succeed(provider)
|
|
652
|
+
})));
|
|
653
|
+
const tryFindProviderByType = Effect.fnUntraced(function* (resourceType) {
|
|
654
|
+
const Tag = Provider(resourceType);
|
|
655
|
+
const direct = yield* Effect.serviceOption(Tag);
|
|
656
|
+
if (Option.isSome(direct)) return direct;
|
|
657
|
+
const context = yield* Effect.context();
|
|
658
|
+
for (const value of context.mapUnsafe.values()) if (isProviderCollectionService(value)) {
|
|
659
|
+
const provider = value.get(resourceType);
|
|
660
|
+
if (provider) return Option.some(provider);
|
|
661
|
+
}
|
|
662
|
+
console.log(context.mapUnsafe.keys());
|
|
663
|
+
return Option.none();
|
|
247
664
|
});
|
|
248
665
|
|
|
249
666
|
//#endregion
|
|
@@ -273,20 +690,23 @@ const Stack = Object.assign(taggedFunction(Context.Service()("Stack"), (stackNam
|
|
|
273
690
|
id: stackName
|
|
274
691
|
}) }) }))));
|
|
275
692
|
const StackName = Stack.use((stack) => Effect.succeed(stack.name));
|
|
276
|
-
const make$1 = (name, providers, stack) => (effect) => Effect.
|
|
693
|
+
const make$1 = (name, providers, stack) => (effect) => Effect.scope.pipe(Effect.flatMap((scope) => {
|
|
694
|
+
const stackLayer = Layer.effect(Stack, Stage.asEffect().pipe(Effect.map((stage$1) => stack ?? {
|
|
695
|
+
name,
|
|
696
|
+
stage: stage$1,
|
|
697
|
+
resources: {},
|
|
698
|
+
bindings: {}
|
|
699
|
+
}), Effect.tap(Effect.logInfo)));
|
|
700
|
+
return providers.pipe(Layer.provideMerge(stackLayer), Layer.buildWithScope(scope));
|
|
701
|
+
}), Effect.flatMap((context) => Effect.all([
|
|
277
702
|
effect,
|
|
278
703
|
Stack.asEffect(),
|
|
279
704
|
Effect.context()
|
|
280
|
-
]).pipe(Effect.map(([output, stack$1, services]) => ({
|
|
705
|
+
]).pipe(Effect.map(([output, stack$1, services$1]) => ({
|
|
706
|
+
...stack$1,
|
|
281
707
|
output,
|
|
282
|
-
services
|
|
283
|
-
|
|
284
|
-
})), Effect.provide(providers), Effect.provideServiceEffect(Stack, Stage.asEffect().pipe(Effect.map((stage$1) => stack ?? {
|
|
285
|
-
name,
|
|
286
|
-
stage: stage$1,
|
|
287
|
-
resources: {},
|
|
288
|
-
bindings: {}
|
|
289
|
-
}), Effect.tap(Effect.logInfo))));
|
|
708
|
+
services: services$1
|
|
709
|
+
})), Effect.provideContext(context))));
|
|
290
710
|
const CurrentStack = Effect.serviceOption(Stack).asEffect().pipe(Effect.map(Option.getOrUndefined));
|
|
291
711
|
|
|
292
712
|
//#endregion
|
|
@@ -562,6 +982,28 @@ const generateInstanceId = () => Effect.sync(() => {
|
|
|
562
982
|
|
|
563
983
|
//#endregion
|
|
564
984
|
//#region src/State/LocalState.ts
|
|
985
|
+
const REDACTED_MARKER = "__redacted__";
|
|
986
|
+
const encodeState = (value) => {
|
|
987
|
+
if (value === null || value === void 0) return value;
|
|
988
|
+
if (Redacted.isRedacted(value)) return { [REDACTED_MARKER]: encodeState(Redacted.value(value)) };
|
|
989
|
+
if (isResource(value)) return {
|
|
990
|
+
id: value.LogicalId,
|
|
991
|
+
type: value.Type,
|
|
992
|
+
props: encodeState(value.Props),
|
|
993
|
+
attr: encodeState(value.Attributes)
|
|
994
|
+
};
|
|
995
|
+
if (Array.isArray(value)) return value.map(encodeState);
|
|
996
|
+
if (typeof value === "object") {
|
|
997
|
+
const result = {};
|
|
998
|
+
for (const [k, v] of Object.entries(value)) result[k] = encodeState(v);
|
|
999
|
+
return result;
|
|
1000
|
+
}
|
|
1001
|
+
return value;
|
|
1002
|
+
};
|
|
1003
|
+
const reviveState = (_key, value) => {
|
|
1004
|
+
if (value !== null && typeof value === "object" && !Array.isArray(value) && REDACTED_MARKER in value) return Redacted.make(value[REDACTED_MARKER]);
|
|
1005
|
+
return value;
|
|
1006
|
+
};
|
|
565
1007
|
const LocalState = Layer.effect(State, Effect.gen(function* () {
|
|
566
1008
|
const fs$2 = yield* FileSystem.FileSystem;
|
|
567
1009
|
const path = yield* Path$1.Path;
|
|
@@ -579,7 +1021,7 @@ const LocalState = Layer.effect(State, Effect.gen(function* () {
|
|
|
579
1021
|
const state = {
|
|
580
1022
|
listStacks: () => fs$2.readDirectory(stateDir).pipe(recover, Effect.map((files) => files ?? [])),
|
|
581
1023
|
listStages: (stack) => fs$2.readDirectory(path.join(stateDir, stack)).pipe(recover, Effect.map((files) => files ?? [])),
|
|
582
|
-
get: (request) => fs$2.readFile(resource(request)).pipe(Effect.map((file) => JSON.parse(file.toString())), recover),
|
|
1024
|
+
get: (request) => fs$2.readFile(resource(request)).pipe(Effect.map((file) => JSON.parse(file.toString(), reviveState)), recover),
|
|
583
1025
|
getReplacedResources: Effect.fnUntraced(function* (request) {
|
|
584
1026
|
return (yield* Effect.all((yield* state.list(request)).map((fqn) => state.get({
|
|
585
1027
|
stack: request.stack,
|
|
@@ -587,15 +1029,7 @@ const LocalState = Layer.effect(State, Effect.gen(function* () {
|
|
|
587
1029
|
fqn
|
|
588
1030
|
})))).filter((r) => r?.status === "replaced");
|
|
589
1031
|
}),
|
|
590
|
-
set: (request) => ensure(stageDir(request)).pipe(Effect.flatMap(() => fs$2.writeFileString(resource(request), JSON.stringify(request.value,
|
|
591
|
-
if (isResource(v)) return {
|
|
592
|
-
id: v.LogicalId,
|
|
593
|
-
type: v.Type,
|
|
594
|
-
props: v.Props,
|
|
595
|
-
attr: v.Attributes
|
|
596
|
-
};
|
|
597
|
-
return v;
|
|
598
|
-
}, 2))), recover, Effect.map(() => request.value)),
|
|
1032
|
+
set: (request) => ensure(stageDir(request)).pipe(Effect.flatMap(() => fs$2.writeFileString(resource(request), JSON.stringify(encodeState(request.value), null, 2))), recover, Effect.map(() => request.value)),
|
|
599
1033
|
delete: (request) => fs$2.remove(resource(request)).pipe(recover),
|
|
600
1034
|
list: (request) => fs$2.readDirectory(stageDir(request)).pipe(recover, Effect.map((files) => files?.map((file) => decodeFqn(file.replace(/\.json$/, ""))) ?? []))
|
|
601
1035
|
};
|
|
@@ -605,7 +1039,7 @@ const LocalState = Layer.effect(State, Effect.gen(function* () {
|
|
|
605
1039
|
//#endregion
|
|
606
1040
|
//#region src/Apply.ts
|
|
607
1041
|
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))));
|
|
608
|
-
const apply = (plan) =>
|
|
1042
|
+
const apply = (plan) => Effect.gen(function* () {
|
|
609
1043
|
const session = yield* (yield* Cli).startApplySession(plan);
|
|
610
1044
|
const state = yield* State;
|
|
611
1045
|
const stack = yield* Stack;
|
|
@@ -626,7 +1060,7 @@ const apply = (plan) => ensureArtifactStore(Effect.gen(function* () {
|
|
|
626
1060
|
if (!plan.output) return;
|
|
627
1061
|
const outputs = Object.fromEntries(Object.entries(tracker).map(([fqn, t]) => [fqn, t.output]));
|
|
628
1062
|
return yield* evaluate(plan.output, outputs);
|
|
629
|
-
}));
|
|
1063
|
+
}).pipe(ensureArtifactStore);
|
|
630
1064
|
const executePlan = Effect.fnUntraced(function* (plan, tracker, terminalStatuses, session, state, stackName, stage$1) {
|
|
631
1065
|
const ready = Object.fromEntries(yield* Effect.all(Object.keys(plan.resources).map((fqn) => Effect.map(Deferred.make(), (d) => [fqn, d]))));
|
|
632
1066
|
const getOutputs = () => Object.fromEntries(Object.entries(tracker).map(([fqn, t]) => [fqn, t.output]));
|
|
@@ -1078,7 +1512,7 @@ const collectGarbage = Effect.fnUntraced(function* (plan, session) {
|
|
|
1078
1512
|
downstream: node.old.downstream,
|
|
1079
1513
|
props: node.old.props,
|
|
1080
1514
|
attr: node.old.attr,
|
|
1081
|
-
provider: yield*
|
|
1515
|
+
provider: yield* findProviderByType(node.old.resourceType)
|
|
1082
1516
|
};
|
|
1083
1517
|
const fqn = toFqn(namespace, logicalId);
|
|
1084
1518
|
const nextAncestors = new Set(ancestors).add(fqn);
|
|
@@ -1203,174 +1637,498 @@ const excludeDeletedBindings = (bindings) => bindings.flatMap(({ action, sid, da
|
|
|
1203
1637
|
}]);
|
|
1204
1638
|
|
|
1205
1639
|
//#endregion
|
|
1206
|
-
//#region
|
|
1207
|
-
|
|
1640
|
+
//#region ../../node_modules/.bun/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
|
|
1641
|
+
let _lazyMatch = () => {
|
|
1642
|
+
var __lib__ = (() => {
|
|
1643
|
+
var m = Object.defineProperty, V = Object.getOwnPropertyDescriptor, G = Object.getOwnPropertyNames, T = Object.prototype.hasOwnProperty, q = (r, e) => {
|
|
1644
|
+
for (var n in e) m(r, n, {
|
|
1645
|
+
get: e[n],
|
|
1646
|
+
enumerable: true
|
|
1647
|
+
});
|
|
1648
|
+
}, H = (r, e, n, a) => {
|
|
1649
|
+
if (e && typeof e == "object" || typeof e == "function") for (let t of G(e)) !T.call(r, t) && t !== n && m(r, t, {
|
|
1650
|
+
get: () => e[t],
|
|
1651
|
+
enumerable: !(a = V(e, t)) || a.enumerable
|
|
1652
|
+
});
|
|
1653
|
+
return r;
|
|
1654
|
+
}, J = (r) => H(m({}, "__esModule", { value: true }), r), w = {};
|
|
1655
|
+
q(w, { default: () => re$1 });
|
|
1656
|
+
var A = (r) => Array.isArray(r), d = (r) => typeof r == "function", Q = (r) => r.length === 0, W = (r) => typeof r == "number", K = (r) => typeof r == "object" && r !== null, X = (r) => r instanceof RegExp, b = (r) => typeof r == "string", h = (r) => r === void 0, Y = (r) => {
|
|
1657
|
+
const e = /* @__PURE__ */ new Map();
|
|
1658
|
+
return (n) => {
|
|
1659
|
+
const a = e.get(n);
|
|
1660
|
+
if (a) return a;
|
|
1661
|
+
const t = r(n);
|
|
1662
|
+
return e.set(n, t), t;
|
|
1663
|
+
};
|
|
1664
|
+
}, rr = (r, e, n = {}) => {
|
|
1665
|
+
const a = {
|
|
1666
|
+
cache: {},
|
|
1667
|
+
input: r,
|
|
1668
|
+
index: 0,
|
|
1669
|
+
indexMax: 0,
|
|
1670
|
+
options: n,
|
|
1671
|
+
output: []
|
|
1672
|
+
};
|
|
1673
|
+
if (v(e)(a) && a.index === r.length) return a.output;
|
|
1674
|
+
throw new Error(`Failed to parse at index ${a.indexMax}`);
|
|
1675
|
+
}, i = (r, e) => A(r) ? er(r, e) : b(r) ? ar(r, e) : nr(r, e), er = (r, e) => {
|
|
1676
|
+
const n = {};
|
|
1677
|
+
for (const a of r) {
|
|
1678
|
+
if (a.length !== 1) throw new Error(`Invalid character: "${a}"`);
|
|
1679
|
+
const t = a.charCodeAt(0);
|
|
1680
|
+
n[t] = true;
|
|
1681
|
+
}
|
|
1682
|
+
return (a) => {
|
|
1683
|
+
const t = a.index, o = a.input;
|
|
1684
|
+
for (; a.index < o.length && o.charCodeAt(a.index) in n;) a.index += 1;
|
|
1685
|
+
const u = a.index;
|
|
1686
|
+
if (u > t) {
|
|
1687
|
+
if (!h(e) && !a.options.silent) {
|
|
1688
|
+
const s = a.input.slice(t, u), c = d(e) ? e(s, o, String(t)) : e;
|
|
1689
|
+
h(c) || a.output.push(c);
|
|
1690
|
+
}
|
|
1691
|
+
a.indexMax = Math.max(a.indexMax, a.index);
|
|
1692
|
+
}
|
|
1693
|
+
return true;
|
|
1694
|
+
};
|
|
1695
|
+
}, nr = (r, e) => {
|
|
1696
|
+
const n = r.source, a = r.flags.replace(/y|$/, "y"), t = new RegExp(n, a);
|
|
1697
|
+
return g((o) => {
|
|
1698
|
+
t.lastIndex = o.index;
|
|
1699
|
+
const u = t.exec(o.input);
|
|
1700
|
+
if (u) {
|
|
1701
|
+
if (!h(e) && !o.options.silent) {
|
|
1702
|
+
const s = d(e) ? e(...u, o.input, String(o.index)) : e;
|
|
1703
|
+
h(s) || o.output.push(s);
|
|
1704
|
+
}
|
|
1705
|
+
return o.index += u[0].length, o.indexMax = Math.max(o.indexMax, o.index), true;
|
|
1706
|
+
} else return false;
|
|
1707
|
+
});
|
|
1708
|
+
}, ar = (r, e) => (n) => {
|
|
1709
|
+
if (n.input.startsWith(r, n.index)) {
|
|
1710
|
+
if (!h(e) && !n.options.silent) {
|
|
1711
|
+
const t = d(e) ? e(r, n.input, String(n.index)) : e;
|
|
1712
|
+
h(t) || n.output.push(t);
|
|
1713
|
+
}
|
|
1714
|
+
return n.index += r.length, n.indexMax = Math.max(n.indexMax, n.index), true;
|
|
1715
|
+
} else return false;
|
|
1716
|
+
}, C = (r, e, n, a) => {
|
|
1717
|
+
const t = v(r);
|
|
1718
|
+
return g(_(M((o) => {
|
|
1719
|
+
let u = 0;
|
|
1720
|
+
for (; u < n;) {
|
|
1721
|
+
const s = o.index;
|
|
1722
|
+
if (!t(o) || (u += 1, o.index === s)) break;
|
|
1723
|
+
}
|
|
1724
|
+
return u >= e;
|
|
1725
|
+
})));
|
|
1726
|
+
}, tr = (r, e) => C(r, 0, 1), f = (r, e) => C(r, 0, Infinity), x = (r, e) => {
|
|
1727
|
+
const n = r.map(v);
|
|
1728
|
+
return g(_(M((a) => {
|
|
1729
|
+
for (let t = 0, o = n.length; t < o; t++) if (!n[t](a)) return false;
|
|
1730
|
+
return true;
|
|
1731
|
+
})));
|
|
1732
|
+
}, l = (r, e) => {
|
|
1733
|
+
const n = r.map(v);
|
|
1734
|
+
return g(_((a) => {
|
|
1735
|
+
for (let t = 0, o = n.length; t < o; t++) if (n[t](a)) return true;
|
|
1736
|
+
return false;
|
|
1737
|
+
}));
|
|
1738
|
+
}, M = (r, e = false) => {
|
|
1739
|
+
const n = v(r);
|
|
1740
|
+
return (a) => {
|
|
1741
|
+
const t = a.index, o = a.output.length, u = n(a);
|
|
1742
|
+
return (!u || e) && (a.index = t, a.output.length !== o && (a.output.length = o)), u;
|
|
1743
|
+
};
|
|
1744
|
+
}, _ = (r, e) => {
|
|
1745
|
+
return v(r);
|
|
1746
|
+
}, g = (() => {
|
|
1747
|
+
let r = 0;
|
|
1748
|
+
return (e) => {
|
|
1749
|
+
const n = v(e), a = r += 1;
|
|
1750
|
+
return (t) => {
|
|
1751
|
+
var o;
|
|
1752
|
+
if (t.options.memoization === false) return n(t);
|
|
1753
|
+
const u = t.index, s = (o = t.cache)[a] || (o[a] = /* @__PURE__ */ new Map()), c = s.get(u);
|
|
1754
|
+
if (c === false) return false;
|
|
1755
|
+
if (W(c)) return t.index = c, true;
|
|
1756
|
+
if (c) return t.index = c.index, c.output?.length && t.output.push(...c.output), true;
|
|
1757
|
+
{
|
|
1758
|
+
const Z = t.output.length;
|
|
1759
|
+
if (n(t)) {
|
|
1760
|
+
const D = t.index, U = t.output.length;
|
|
1761
|
+
if (U > Z) {
|
|
1762
|
+
const ee = t.output.slice(Z, U);
|
|
1763
|
+
s.set(u, {
|
|
1764
|
+
index: D,
|
|
1765
|
+
output: ee
|
|
1766
|
+
});
|
|
1767
|
+
} else s.set(u, D);
|
|
1768
|
+
return true;
|
|
1769
|
+
} else return s.set(u, false), false;
|
|
1770
|
+
}
|
|
1771
|
+
};
|
|
1772
|
+
};
|
|
1773
|
+
})(), E = (r) => {
|
|
1774
|
+
let e;
|
|
1775
|
+
return (n) => (e || (e = v(r())), e(n));
|
|
1776
|
+
}, v = Y((r) => {
|
|
1777
|
+
if (d(r)) return Q(r) ? E(r) : r;
|
|
1778
|
+
if (b(r) || X(r)) return i(r);
|
|
1779
|
+
if (A(r)) return x(r);
|
|
1780
|
+
if (K(r)) return l(Object.values(r));
|
|
1781
|
+
throw new Error("Invalid rule");
|
|
1782
|
+
}), P = "abcdefghijklmnopqrstuvwxyz", ir = (r) => {
|
|
1783
|
+
let e = "";
|
|
1784
|
+
for (; r > 0;) e = P[(r - 1) % 26] + e, r = Math.floor((r - 1) / 26);
|
|
1785
|
+
return e;
|
|
1786
|
+
}, O = (r) => {
|
|
1787
|
+
let e = 0;
|
|
1788
|
+
for (let n = 0, a = r.length; n < a; n++) e = e * 26 + P.indexOf(r[n]) + 1;
|
|
1789
|
+
return e;
|
|
1790
|
+
}, S = (r, e) => {
|
|
1791
|
+
if (e < r) return S(e, r);
|
|
1792
|
+
const n = [];
|
|
1793
|
+
for (; r <= e;) n.push(r++);
|
|
1794
|
+
return n;
|
|
1795
|
+
}, or = (r, e, n) => S(r, e).map((a) => String(a).padStart(n, "0")), R = (r, e) => S(O(r), O(e)).map(ir), p = (r) => r, z = (r) => ur((e) => rr(e, r, { memoization: false }).join("")), ur = (r) => {
|
|
1796
|
+
const e = {};
|
|
1797
|
+
return (n) => e[n] ?? (e[n] = r(n));
|
|
1798
|
+
}, sr = i(/^\*\*\/\*$/, ".*"), cr = i(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/, (r, e, n) => `.*${e ? "" : "(?:^|/)"}${n.replaceAll(".", "\\.")}`), lr = i(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/, (r, e, n, a) => `.*${e ? "" : "(?:^|/)"}${n.replaceAll(".", "\\.")}(?:${a.replaceAll(",", "|").replaceAll(".", "\\.")})`), y = i(/\\./, p), pr = i(/[$.*+?^(){}[\]\|]/, (r) => `\\${r}`), vr = i(/./, p), fr = l([i(/^(?:!!)*!(.*)$/, (r, e) => `(?!^${L(e)}$).*?`), i(/^(!!)+/, "")]), j = l([
|
|
1799
|
+
i(/\/(\*\*\/)+/, "(?:/.+/|/)"),
|
|
1800
|
+
i(/^(\*\*\/)+/, "(?:^|.*/)"),
|
|
1801
|
+
i(/\/(\*\*)$/, "(?:/.*|$)"),
|
|
1802
|
+
i(/\*\*/, ".*")
|
|
1803
|
+
]), N = l([i(/\*\/(?!\*\*\/)/, "[^/]*/"), i(/\*/, "[^/]*")]), k = i("?", "[^/]"), $r = i("[", p), wr = i("]", p), Ar = i(/[!^]/, "^/"), br = i(/[a-z]-[a-z]|[0-9]-[0-9]/i, p), Er = l([
|
|
1804
|
+
y,
|
|
1805
|
+
i(/[$.*+?^(){}[\|]/, (r) => `\\${r}`),
|
|
1806
|
+
br,
|
|
1807
|
+
i(/[^\]]/, p)
|
|
1808
|
+
]), B = x([
|
|
1809
|
+
$r,
|
|
1810
|
+
tr(Ar),
|
|
1811
|
+
f(Er),
|
|
1812
|
+
wr
|
|
1813
|
+
]), Pr = i("{", "(?:"), Or = i("}", ")"), I = x([
|
|
1814
|
+
Pr,
|
|
1815
|
+
l([
|
|
1816
|
+
i(/(\d+)\.\.(\d+)/, (r, e, n) => or(+e, +n, Math.min(e.length, n.length)).join("|")),
|
|
1817
|
+
i(/([a-z]+)\.\.([a-z]+)/, (r, e, n) => R(e, n).join("|")),
|
|
1818
|
+
i(/([A-Z]+)\.\.([A-Z]+)/, (r, e, n) => R(e.toLowerCase(), n.toLowerCase()).join("|").toUpperCase())
|
|
1819
|
+
]),
|
|
1820
|
+
Or
|
|
1821
|
+
]), kr = i("{", "(?:"), Br = i("}", ")"), Ir = i(",", "|"), Fr = i(/[$.*+?^(){[\]\|]/, (r) => `\\${r}`), Lr = i(/[^}]/, p), F = x([
|
|
1822
|
+
kr,
|
|
1823
|
+
f(l([
|
|
1824
|
+
j,
|
|
1825
|
+
N,
|
|
1826
|
+
k,
|
|
1827
|
+
B,
|
|
1828
|
+
I,
|
|
1829
|
+
E(() => F),
|
|
1830
|
+
y,
|
|
1831
|
+
Fr,
|
|
1832
|
+
Ir,
|
|
1833
|
+
Lr
|
|
1834
|
+
])),
|
|
1835
|
+
Br
|
|
1836
|
+
]), L = z(f(l([
|
|
1837
|
+
sr,
|
|
1838
|
+
cr,
|
|
1839
|
+
lr,
|
|
1840
|
+
fr,
|
|
1841
|
+
j,
|
|
1842
|
+
N,
|
|
1843
|
+
k,
|
|
1844
|
+
B,
|
|
1845
|
+
I,
|
|
1846
|
+
F,
|
|
1847
|
+
y,
|
|
1848
|
+
pr,
|
|
1849
|
+
vr
|
|
1850
|
+
]))), Tr = i(/\\./, p), qr = i(/./, p), Yr = z(f(l([
|
|
1851
|
+
Tr,
|
|
1852
|
+
i(/\*\*\*+/, "*"),
|
|
1853
|
+
i(/([^/{[(!])\*\*/, (r, e) => `${e}*`),
|
|
1854
|
+
i(/(^|.)\*\*(?=[^*/)\]}])/, (r, e) => `${e}*`),
|
|
1855
|
+
qr
|
|
1856
|
+
]))), $ = (r, e) => {
|
|
1857
|
+
const n = Array.isArray(r) ? r : [r];
|
|
1858
|
+
if (!n.length) return false;
|
|
1859
|
+
const a = n.map($.compile), t = n.every((s) => /(\/(?:\*\*)?|\[\/\])$/.test(s)), o = e.replace(/[\\\/]+/g, "/").replace(/\/$/, t ? "/" : "");
|
|
1860
|
+
return a.some((s) => s.test(o));
|
|
1861
|
+
};
|
|
1862
|
+
$.compile = (r) => new RegExp(`^${L(Yr(r))}$`, "s");
|
|
1863
|
+
var re$1 = $;
|
|
1864
|
+
return J(w);
|
|
1865
|
+
})();
|
|
1866
|
+
return __lib__.default || __lib__;
|
|
1867
|
+
};
|
|
1868
|
+
let _match;
|
|
1869
|
+
const zeptomatch = (path, pattern) => {
|
|
1870
|
+
if (!_match) {
|
|
1871
|
+
_match = _lazyMatch();
|
|
1872
|
+
_lazyMatch = null;
|
|
1873
|
+
}
|
|
1874
|
+
return _match(path, pattern);
|
|
1875
|
+
};
|
|
1876
|
+
const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
1877
|
+
function normalizeWindowsPath(input = "") {
|
|
1878
|
+
if (!input) return input;
|
|
1879
|
+
return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
|
1880
|
+
}
|
|
1881
|
+
const _UNC_REGEX = /^[/\\]{2}/;
|
|
1882
|
+
const _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
1883
|
+
const _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
1884
|
+
const _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
|
|
1885
|
+
const _EXTNAME_RE = /.(\.[^./]+|\.)$/;
|
|
1886
|
+
const _PATH_ROOT_RE = /^[/\\]|^[a-zA-Z]:[/\\]/;
|
|
1887
|
+
const sep = "/";
|
|
1888
|
+
const normalize = function(path) {
|
|
1889
|
+
if (path.length === 0) return ".";
|
|
1890
|
+
path = normalizeWindowsPath(path);
|
|
1891
|
+
const isUNCPath = path.match(_UNC_REGEX);
|
|
1892
|
+
const isPathAbsolute = isAbsolute(path);
|
|
1893
|
+
const trailingSeparator = path[path.length - 1] === "/";
|
|
1894
|
+
path = normalizeString(path, !isPathAbsolute);
|
|
1895
|
+
if (path.length === 0) {
|
|
1896
|
+
if (isPathAbsolute) return "/";
|
|
1897
|
+
return trailingSeparator ? "./" : ".";
|
|
1898
|
+
}
|
|
1899
|
+
if (trailingSeparator) path += "/";
|
|
1900
|
+
if (_DRIVE_LETTER_RE.test(path)) path += "/";
|
|
1901
|
+
if (isUNCPath) {
|
|
1902
|
+
if (!isPathAbsolute) return `//./${path}`;
|
|
1903
|
+
return `//${path}`;
|
|
1904
|
+
}
|
|
1905
|
+
return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
|
|
1906
|
+
};
|
|
1907
|
+
const join = function(...segments) {
|
|
1908
|
+
let path = "";
|
|
1909
|
+
for (const seg of segments) {
|
|
1910
|
+
if (!seg) continue;
|
|
1911
|
+
if (path.length > 0) {
|
|
1912
|
+
const pathTrailing = path[path.length - 1] === "/";
|
|
1913
|
+
const segLeading = seg[0] === "/";
|
|
1914
|
+
if (pathTrailing && segLeading) path += seg.slice(1);
|
|
1915
|
+
else path += pathTrailing || segLeading ? seg : `/${seg}`;
|
|
1916
|
+
} else path += seg;
|
|
1917
|
+
}
|
|
1918
|
+
return normalize(path);
|
|
1919
|
+
};
|
|
1920
|
+
function cwd$2() {
|
|
1921
|
+
if (typeof process !== "undefined" && typeof process.cwd === "function") return process.cwd().replace(/\\/g, "/");
|
|
1922
|
+
return "/";
|
|
1923
|
+
}
|
|
1924
|
+
const resolve = function(...arguments_) {
|
|
1925
|
+
arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
|
|
1926
|
+
let resolvedPath = "";
|
|
1927
|
+
let resolvedAbsolute = false;
|
|
1928
|
+
for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
|
|
1929
|
+
const path = index >= 0 ? arguments_[index] : cwd$2();
|
|
1930
|
+
if (!path || path.length === 0) continue;
|
|
1931
|
+
resolvedPath = `${path}/${resolvedPath}`;
|
|
1932
|
+
resolvedAbsolute = isAbsolute(path);
|
|
1933
|
+
}
|
|
1934
|
+
resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
|
|
1935
|
+
if (resolvedAbsolute && !isAbsolute(resolvedPath)) return `/${resolvedPath}`;
|
|
1936
|
+
return resolvedPath.length > 0 ? resolvedPath : ".";
|
|
1937
|
+
};
|
|
1938
|
+
function normalizeString(path, allowAboveRoot) {
|
|
1939
|
+
let res = "";
|
|
1940
|
+
let lastSegmentLength = 0;
|
|
1941
|
+
let lastSlash = -1;
|
|
1942
|
+
let dots = 0;
|
|
1943
|
+
let char = null;
|
|
1944
|
+
for (let index = 0; index <= path.length; ++index) {
|
|
1945
|
+
if (index < path.length) char = path[index];
|
|
1946
|
+
else if (char === "/") break;
|
|
1947
|
+
else char = "/";
|
|
1948
|
+
if (char === "/") {
|
|
1949
|
+
if (lastSlash === index - 1 || dots === 1);
|
|
1950
|
+
else if (dots === 2) {
|
|
1951
|
+
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
1952
|
+
if (res.length > 2) {
|
|
1953
|
+
const lastSlashIndex = res.lastIndexOf("/");
|
|
1954
|
+
if (lastSlashIndex === -1) {
|
|
1955
|
+
res = "";
|
|
1956
|
+
lastSegmentLength = 0;
|
|
1957
|
+
} else {
|
|
1958
|
+
res = res.slice(0, lastSlashIndex);
|
|
1959
|
+
lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
|
|
1960
|
+
}
|
|
1961
|
+
lastSlash = index;
|
|
1962
|
+
dots = 0;
|
|
1963
|
+
continue;
|
|
1964
|
+
} else if (res.length > 0) {
|
|
1965
|
+
res = "";
|
|
1966
|
+
lastSegmentLength = 0;
|
|
1967
|
+
lastSlash = index;
|
|
1968
|
+
dots = 0;
|
|
1969
|
+
continue;
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
if (allowAboveRoot) {
|
|
1973
|
+
res += res.length > 0 ? "/.." : "..";
|
|
1974
|
+
lastSegmentLength = 2;
|
|
1975
|
+
}
|
|
1976
|
+
} else {
|
|
1977
|
+
if (res.length > 0) res += `/${path.slice(lastSlash + 1, index)}`;
|
|
1978
|
+
else res = path.slice(lastSlash + 1, index);
|
|
1979
|
+
lastSegmentLength = index - lastSlash - 1;
|
|
1980
|
+
}
|
|
1981
|
+
lastSlash = index;
|
|
1982
|
+
dots = 0;
|
|
1983
|
+
} else if (char === "." && dots !== -1) ++dots;
|
|
1984
|
+
else dots = -1;
|
|
1985
|
+
}
|
|
1986
|
+
return res;
|
|
1987
|
+
}
|
|
1988
|
+
const isAbsolute = function(p) {
|
|
1989
|
+
return _IS_ABSOLUTE_RE.test(p);
|
|
1990
|
+
};
|
|
1991
|
+
const toNamespacedPath = function(p) {
|
|
1992
|
+
return normalizeWindowsPath(p);
|
|
1993
|
+
};
|
|
1994
|
+
const extname = function(p) {
|
|
1995
|
+
if (p === "..") return "";
|
|
1996
|
+
const match = _EXTNAME_RE.exec(normalizeWindowsPath(p));
|
|
1997
|
+
return match && match[1] || "";
|
|
1998
|
+
};
|
|
1999
|
+
const relative = function(from, to) {
|
|
2000
|
+
const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
2001
|
+
const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
2002
|
+
if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) return _to.join("/");
|
|
2003
|
+
const _fromCopy = [..._from];
|
|
2004
|
+
for (const segment of _fromCopy) {
|
|
2005
|
+
if (_to[0] !== segment) break;
|
|
2006
|
+
_from.shift();
|
|
2007
|
+
_to.shift();
|
|
2008
|
+
}
|
|
2009
|
+
return [..._from.map(() => ".."), ..._to].join("/");
|
|
2010
|
+
};
|
|
2011
|
+
const dirname = function(p) {
|
|
2012
|
+
const segments = normalizeWindowsPath(p).replace(/\/$/, "").split("/").slice(0, -1);
|
|
2013
|
+
if (segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0])) segments[0] += "/";
|
|
2014
|
+
return segments.join("/") || (isAbsolute(p) ? "/" : ".");
|
|
2015
|
+
};
|
|
2016
|
+
const format$2 = function(p) {
|
|
2017
|
+
const ext = p.ext ? p.ext.startsWith(".") ? p.ext : `.${p.ext}` : "";
|
|
2018
|
+
const segments = [
|
|
2019
|
+
p.root,
|
|
2020
|
+
p.dir,
|
|
2021
|
+
p.base ?? (p.name ?? "") + ext
|
|
2022
|
+
].filter(Boolean);
|
|
2023
|
+
return normalizeWindowsPath(p.root ? resolve(...segments) : segments.join("/"));
|
|
2024
|
+
};
|
|
2025
|
+
const basename = function(p, extension$2) {
|
|
2026
|
+
const segments = normalizeWindowsPath(p).split("/");
|
|
2027
|
+
let lastSegment = "";
|
|
2028
|
+
for (let i = segments.length - 1; i >= 0; i--) {
|
|
2029
|
+
const val = segments[i];
|
|
2030
|
+
if (val) {
|
|
2031
|
+
lastSegment = val;
|
|
2032
|
+
break;
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
return extension$2 && lastSegment.endsWith(extension$2) ? lastSegment.slice(0, -extension$2.length) : lastSegment;
|
|
2036
|
+
};
|
|
2037
|
+
const parse$3 = function(p) {
|
|
2038
|
+
const root$1 = _PATH_ROOT_RE.exec(p)?.[0]?.replace(/\\/g, "/") || "";
|
|
2039
|
+
const base = basename(p);
|
|
2040
|
+
const extension$2 = extname(base);
|
|
2041
|
+
return {
|
|
2042
|
+
root: root$1,
|
|
2043
|
+
dir: dirname(p),
|
|
2044
|
+
base,
|
|
2045
|
+
ext: extension$2,
|
|
2046
|
+
name: base.slice(0, base.length - extension$2.length)
|
|
2047
|
+
};
|
|
2048
|
+
};
|
|
2049
|
+
const matchesGlob = (path, pattern) => {
|
|
2050
|
+
return zeptomatch(pattern, normalize(path));
|
|
2051
|
+
};
|
|
2052
|
+
const _path = {
|
|
2053
|
+
__proto__: null,
|
|
2054
|
+
basename,
|
|
2055
|
+
dirname,
|
|
2056
|
+
extname,
|
|
2057
|
+
format: format$2,
|
|
2058
|
+
isAbsolute,
|
|
2059
|
+
join,
|
|
2060
|
+
matchesGlob,
|
|
2061
|
+
normalize,
|
|
2062
|
+
normalizeString,
|
|
2063
|
+
parse: parse$3,
|
|
2064
|
+
relative,
|
|
2065
|
+
resolve,
|
|
2066
|
+
sep,
|
|
2067
|
+
toNamespacedPath
|
|
2068
|
+
};
|
|
1208
2069
|
|
|
1209
2070
|
//#endregion
|
|
1210
|
-
//#region
|
|
1211
|
-
|
|
2071
|
+
//#region ../../node_modules/.bun/pathe@2.0.3/node_modules/pathe/dist/index.mjs
|
|
2072
|
+
const delimiter = /* @__PURE__ */ (() => globalThis.process?.platform === "win32" ? ";" : ":")();
|
|
2073
|
+
const _platforms = {
|
|
2074
|
+
posix: void 0,
|
|
2075
|
+
win32: void 0
|
|
2076
|
+
};
|
|
2077
|
+
const mix = (del = delimiter) => {
|
|
2078
|
+
return new Proxy(_path, { get(_, prop) {
|
|
2079
|
+
if (prop === "delimiter") return del;
|
|
2080
|
+
if (prop === "posix") return posix;
|
|
2081
|
+
if (prop === "win32") return win32;
|
|
2082
|
+
return _platforms[prop] || _path[prop];
|
|
2083
|
+
} });
|
|
2084
|
+
};
|
|
2085
|
+
const posix = /* @__PURE__ */ mix(":");
|
|
2086
|
+
const win32 = /* @__PURE__ */ mix(";");
|
|
1212
2087
|
|
|
1213
2088
|
//#endregion
|
|
1214
|
-
//#region src/
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
*/
|
|
1218
|
-
const ASSETS_BUCKET_TAG = "alchemy::assets-bucket";
|
|
2089
|
+
//#region src/Auth/Profile.ts
|
|
2090
|
+
const rootDir = posix.join(os.homedir(), ".alchemy");
|
|
2091
|
+
const configFilePath = posix.join(rootDir, "profiles.json");
|
|
1219
2092
|
/**
|
|
1220
|
-
*
|
|
2093
|
+
* Config key consulted by the various `fromAuthProvider` /
|
|
2094
|
+
* `fromEnvironment` layers to pick which named profile in
|
|
2095
|
+
* `~/.alchemy/profiles.json` to use. Defaults to `"default"`.
|
|
1221
2096
|
*/
|
|
1222
|
-
const
|
|
1223
|
-
const
|
|
1224
|
-
const
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
}, {
|
|
1228
|
-
Key: ASSETS_BUCKET_REGION_TAG,
|
|
1229
|
-
Value: region
|
|
1230
|
-
}];
|
|
1231
|
-
const getBucketTags = (bucketName) => s3.getBucketTagging({ Bucket: bucketName }).pipe(Effect.map((response) => response.TagSet ?? []), Effect.catchTag("NoSuchTagSet", () => Effect.succeed([])));
|
|
1232
|
-
const hasAssetsBucketTag = (tags) => tags.some((tag) => tag.Key === ASSETS_BUCKET_TAG && tag.Value === "true");
|
|
1233
|
-
const normalizeBucketRegion = (location) => {
|
|
1234
|
-
if (!location) return "us-east-1";
|
|
1235
|
-
if (location === "EU") return "eu-west-1";
|
|
1236
|
-
return location;
|
|
1237
|
-
};
|
|
1238
|
-
const bucketMatchesRegion = (tags, region) => {
|
|
1239
|
-
const taggedRegion = tags.find((tag) => tag.Key === ASSETS_BUCKET_REGION_TAG)?.Value;
|
|
1240
|
-
return taggedRegion === void 0 ? void 0 : taggedRegion === region;
|
|
1241
|
-
};
|
|
1242
|
-
const lookupAssetsBuckets = Effect.gen(function* () {
|
|
1243
|
-
const region = yield* Region;
|
|
1244
|
-
const buckets = (yield* s3.listBuckets({})).Buckets ?? [];
|
|
1245
|
-
const matchingBuckets = [];
|
|
1246
|
-
for (const bucket of buckets) {
|
|
1247
|
-
const bucketName = bucket.Name;
|
|
1248
|
-
if (!bucketName) continue;
|
|
1249
|
-
const tags = yield* getBucketTags(bucketName).pipe(Effect.catch(() => Effect.succeed([])));
|
|
1250
|
-
if (!hasAssetsBucketTag(tags)) continue;
|
|
1251
|
-
const taggedRegionMatch = bucketMatchesRegion(tags, region);
|
|
1252
|
-
if (taggedRegionMatch === true) {
|
|
1253
|
-
matchingBuckets.push(bucketName);
|
|
1254
|
-
continue;
|
|
1255
|
-
}
|
|
1256
|
-
if (taggedRegionMatch === false) continue;
|
|
1257
|
-
if ((yield* s3.getBucketLocation({ Bucket: bucketName }).pipe(Effect.map((response) => normalizeBucketRegion(response.LocationConstraint)), Effect.catch(() => Effect.succeed(void 0)))) === region) matchingBuckets.push(bucketName);
|
|
1258
|
-
}
|
|
1259
|
-
return matchingBuckets;
|
|
1260
|
-
});
|
|
1261
|
-
const lookupAssetsBucket = Effect.gen(function* () {
|
|
1262
|
-
const matchingBuckets = yield* lookupAssetsBuckets;
|
|
1263
|
-
for (const bucketName of matchingBuckets) return Option.some(bucketName);
|
|
1264
|
-
return Option.none();
|
|
1265
|
-
});
|
|
1266
|
-
const ensureAssetsBucketTags = Effect.fn(function* (bucketName, region) {
|
|
1267
|
-
const tagSet = [...(yield* getBucketTags(bucketName)).filter((tag) => tag.Key !== ASSETS_BUCKET_TAG && tag.Key !== ASSETS_BUCKET_REGION_TAG), ...createAssetsBucketTags(region)];
|
|
1268
|
-
yield* s3.putBucketTagging({
|
|
1269
|
-
Bucket: bucketName,
|
|
1270
|
-
Tagging: { TagSet: tagSet.map((tag) => ({
|
|
1271
|
-
Key: tag.Key,
|
|
1272
|
-
Value: tag.Value
|
|
1273
|
-
})) }
|
|
1274
|
-
});
|
|
1275
|
-
});
|
|
1276
|
-
const deleteAllObjects = Effect.fn(function* (bucketName) {
|
|
1277
|
-
let continuationToken;
|
|
1278
|
-
do {
|
|
1279
|
-
const listResponse = yield* s3.listObjectsV2({
|
|
1280
|
-
Bucket: bucketName,
|
|
1281
|
-
ContinuationToken: continuationToken
|
|
1282
|
-
});
|
|
1283
|
-
if (listResponse.Contents && listResponse.Contents.length > 0) yield* s3.deleteObjects({
|
|
1284
|
-
Bucket: bucketName,
|
|
1285
|
-
Delete: {
|
|
1286
|
-
Objects: listResponse.Contents.map((obj) => ({ Key: obj.Key })),
|
|
1287
|
-
Quiet: true
|
|
1288
|
-
}
|
|
1289
|
-
});
|
|
1290
|
-
continuationToken = listResponse.NextContinuationToken;
|
|
1291
|
-
} while (continuationToken);
|
|
1292
|
-
let keyMarker;
|
|
1293
|
-
let versionIdMarker;
|
|
1294
|
-
do {
|
|
1295
|
-
const listVersionsResponse = yield* s3.listObjectVersions({
|
|
1296
|
-
Bucket: bucketName,
|
|
1297
|
-
KeyMarker: keyMarker,
|
|
1298
|
-
VersionIdMarker: versionIdMarker
|
|
1299
|
-
});
|
|
1300
|
-
const objectsToDelete = [...(listVersionsResponse.Versions ?? []).map((v) => ({
|
|
1301
|
-
Key: v.Key,
|
|
1302
|
-
VersionId: v.VersionId
|
|
1303
|
-
})), ...(listVersionsResponse.DeleteMarkers ?? []).map((dm) => ({
|
|
1304
|
-
Key: dm.Key,
|
|
1305
|
-
VersionId: dm.VersionId
|
|
1306
|
-
}))];
|
|
1307
|
-
if (objectsToDelete.length > 0) yield* s3.deleteObjects({
|
|
1308
|
-
Bucket: bucketName,
|
|
1309
|
-
Delete: {
|
|
1310
|
-
Objects: objectsToDelete,
|
|
1311
|
-
Quiet: true
|
|
1312
|
-
}
|
|
1313
|
-
});
|
|
1314
|
-
keyMarker = listVersionsResponse.NextKeyMarker;
|
|
1315
|
-
versionIdMarker = listVersionsResponse.NextVersionIdMarker;
|
|
1316
|
-
} while (keyMarker);
|
|
2097
|
+
const ALCHEMY_PROFILE = Config.string("ALCHEMY_PROFILE").pipe(Config.withDefault("default"));
|
|
2098
|
+
const CONFIG_VERSION = 0;
|
|
2099
|
+
const emptyConfig = () => ({
|
|
2100
|
+
version: CONFIG_VERSION,
|
|
2101
|
+
profiles: {}
|
|
1317
2102
|
});
|
|
2103
|
+
const readConfig = FileSystem.FileSystem.asEffect().pipe(Effect.flatMap((fs$2) => fs$2.readFileString(configFilePath)), Effect.flatMap((data) => Effect.try({
|
|
2104
|
+
try: () => {
|
|
2105
|
+
const parsed = JSON.parse(data);
|
|
2106
|
+
if (parsed?.version !== CONFIG_VERSION) return emptyConfig();
|
|
2107
|
+
return parsed;
|
|
2108
|
+
},
|
|
2109
|
+
catch: emptyConfig
|
|
2110
|
+
})), Effect.orElseSucceed(emptyConfig));
|
|
2111
|
+
const writeConfig = (config) => FileSystem.FileSystem.asEffect().pipe(Effect.tap((fs$2) => fs$2.makeDirectory(posix.dirname(configFilePath), { recursive: true })), Effect.flatMap((fs$2) => fs$2.writeFileString(configFilePath, JSON.stringify(config, null, 2))));
|
|
2112
|
+
const getProfile = (name) => readConfig.pipe(Effect.map((config) => config.profiles[name]));
|
|
2113
|
+
const setProfile = (name, profile$1) => readConfig.pipe(Effect.tap((config) => Effect.sync(() => config.profiles[name] = profile$1)), Effect.flatMap(writeConfig));
|
|
1318
2114
|
/**
|
|
1319
|
-
*
|
|
2115
|
+
* Returns a `ConfigProvider` that overrides `ALCHEMY_PROFILE` with the
|
|
2116
|
+
* given `profile` (when explicitly passed via the CLI `--profile` flag),
|
|
2117
|
+
* falling through to `base` for everything else.
|
|
1320
2118
|
*
|
|
1321
|
-
*
|
|
1322
|
-
*
|
|
2119
|
+
* Use this to let the CLI's `--profile <name>` win over `$ALCHEMY_PROFILE`
|
|
2120
|
+
* without disturbing other config lookups.
|
|
1323
2121
|
*/
|
|
1324
|
-
const
|
|
1325
|
-
|
|
1326
|
-
const
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
return {
|
|
1331
|
-
bucketName: existingBucket.value,
|
|
1332
|
-
created: false
|
|
1333
|
-
};
|
|
1334
|
-
}
|
|
1335
|
-
const bucketName = createAssetsBucketName(region);
|
|
1336
|
-
if (region === "us-east-1") yield* s3.createBucket({ Bucket: bucketName }).pipe(Effect.retry({
|
|
1337
|
-
while: (e) => e._tag === "OperationAborted" || e._tag === "ServiceUnavailable",
|
|
1338
|
-
schedule: Schedule.exponential(100)
|
|
1339
|
-
}));
|
|
1340
|
-
else yield* s3.createBucket({
|
|
1341
|
-
Bucket: bucketName,
|
|
1342
|
-
CreateBucketConfiguration: { LocationConstraint: region }
|
|
1343
|
-
}).pipe(Effect.catchTag("BucketAlreadyOwnedByYou", () => Effect.void), Effect.retry({
|
|
1344
|
-
while: (e) => e._tag === "OperationAborted" || e._tag === "ServiceUnavailable",
|
|
1345
|
-
schedule: Schedule.exponential(100)
|
|
1346
|
-
}));
|
|
1347
|
-
yield* s3.headBucket({ Bucket: bucketName }).pipe(Effect.retry({ schedule: Schedule.exponential(100).pipe(Schedule.both(Schedule.recurs(10))) }));
|
|
1348
|
-
yield* ensureAssetsBucketTags(bucketName, region);
|
|
1349
|
-
yield* Effect.logInfo(`Created assets bucket: ${bucketName}`);
|
|
1350
|
-
return {
|
|
1351
|
-
bucketName,
|
|
1352
|
-
created: true
|
|
1353
|
-
};
|
|
1354
|
-
});
|
|
1355
|
-
const destroyBootstrap = Effect.fn(function* () {
|
|
1356
|
-
const bucketNames = yield* lookupAssetsBuckets;
|
|
1357
|
-
for (const bucketName of bucketNames) {
|
|
1358
|
-
yield* Effect.logInfo(`Destroying assets bucket: ${bucketName}`);
|
|
1359
|
-
yield* deleteAllObjects(bucketName);
|
|
1360
|
-
yield* s3.deleteBucket({ Bucket: bucketName }).pipe(Effect.retry({
|
|
1361
|
-
while: (e) => e._tag === "OperationAborted" || e._tag === "ServiceUnavailable",
|
|
1362
|
-
schedule: Schedule.exponential(100).pipe(Schedule.both(Schedule.recurs(10)))
|
|
1363
|
-
}));
|
|
1364
|
-
}
|
|
1365
|
-
return {
|
|
1366
|
-
bucketNames,
|
|
1367
|
-
destroyed: bucketNames.length
|
|
1368
|
-
};
|
|
1369
|
-
});
|
|
2122
|
+
const withProfileOverride = (base, profile$1) => {
|
|
2123
|
+
if (profile$1 === void 0) return base;
|
|
2124
|
+
const overrides = { ALCHEMY_PROFILE: profile$1 };
|
|
2125
|
+
const overrideProvider = ConfigProvider.make((path) => Effect.succeed(path.length === 1 && typeof path[0] === "string" && path[0] in overrides ? ConfigProvider.makeValue(overrides[path[0]]) : void 0));
|
|
2126
|
+
return ConfigProvider.orElse(base)(overrideProvider);
|
|
2127
|
+
};
|
|
1370
2128
|
|
|
1371
2129
|
//#endregion
|
|
1372
|
-
//#region
|
|
1373
|
-
var require_react_production = /* @__PURE__ */ __commonJS({ "
|
|
2130
|
+
//#region ../../node_modules/.bun/react@19.2.5/node_modules/react/cjs/react.production.js
|
|
2131
|
+
var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.5/node_modules/react/cjs/react.production.js": ((exports) => {
|
|
1374
2132
|
var REACT_ELEMENT_TYPE$1 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$1 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
1375
2133
|
function getIteratorFn(maybeIterable) {
|
|
1376
2134
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -1721,8 +2479,8 @@ var require_react_production = /* @__PURE__ */ __commonJS({ "../node_modules/.bu
|
|
|
1721
2479
|
}) });
|
|
1722
2480
|
|
|
1723
2481
|
//#endregion
|
|
1724
|
-
//#region
|
|
1725
|
-
var require_react_development = /* @__PURE__ */ __commonJS({ "
|
|
2482
|
+
//#region ../../node_modules/.bun/react@19.2.5/node_modules/react/cjs/react.development.js
|
|
2483
|
+
var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.5/node_modules/react/cjs/react.development.js": ((exports, module) => {
|
|
1726
2484
|
"production" !== process.env.NODE_ENV && (function() {
|
|
1727
2485
|
function defineDeprecationWarning(methodName, info) {
|
|
1728
2486
|
Object.defineProperty(Component$1.prototype, methodName, { get: function() {
|
|
@@ -2034,19 +2792,19 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../node_modules/.b
|
|
|
2034
2792
|
prevActScopeDepth !== actScopeDepth - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
|
|
2035
2793
|
actScopeDepth = prevActScopeDepth;
|
|
2036
2794
|
}
|
|
2037
|
-
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
|
2795
|
+
function recursivelyFlushAsyncActWork(returnValue, resolve$1, reject) {
|
|
2038
2796
|
var queue = ReactSharedInternals$1.actQueue;
|
|
2039
2797
|
if (null !== queue) if (0 !== queue.length) try {
|
|
2040
2798
|
flushActQueue(queue);
|
|
2041
2799
|
enqueueTask(function() {
|
|
2042
|
-
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
2800
|
+
return recursivelyFlushAsyncActWork(returnValue, resolve$1, reject);
|
|
2043
2801
|
});
|
|
2044
2802
|
return;
|
|
2045
2803
|
} catch (error) {
|
|
2046
2804
|
ReactSharedInternals$1.thrownErrors.push(error);
|
|
2047
2805
|
}
|
|
2048
2806
|
else ReactSharedInternals$1.actQueue = null;
|
|
2049
|
-
0 < ReactSharedInternals$1.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals$1.thrownErrors), ReactSharedInternals$1.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
|
|
2807
|
+
0 < ReactSharedInternals$1.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals$1.thrownErrors), ReactSharedInternals$1.thrownErrors.length = 0, reject(queue)) : resolve$1(returnValue);
|
|
2050
2808
|
}
|
|
2051
2809
|
function flushActQueue(queue) {
|
|
2052
2810
|
if (!isFlushing) {
|
|
@@ -2207,14 +2965,14 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../node_modules/.b
|
|
|
2207
2965
|
queueSeveralMicrotasks(function() {
|
|
2208
2966
|
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
|
2209
2967
|
});
|
|
2210
|
-
return { then: function(resolve, reject) {
|
|
2968
|
+
return { then: function(resolve$1, reject) {
|
|
2211
2969
|
didAwaitActCall = !0;
|
|
2212
2970
|
thenable.then(function(returnValue) {
|
|
2213
2971
|
popActScope(prevActQueue, prevActScopeDepth);
|
|
2214
2972
|
if (0 === prevActScopeDepth) {
|
|
2215
2973
|
try {
|
|
2216
2974
|
flushActQueue(queue), enqueueTask(function() {
|
|
2217
|
-
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
2975
|
+
return recursivelyFlushAsyncActWork(returnValue, resolve$1, reject);
|
|
2218
2976
|
});
|
|
2219
2977
|
} catch (error$0) {
|
|
2220
2978
|
ReactSharedInternals$1.thrownErrors.push(error$0);
|
|
@@ -2224,7 +2982,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../node_modules/.b
|
|
|
2224
2982
|
ReactSharedInternals$1.thrownErrors.length = 0;
|
|
2225
2983
|
reject(_thrownError);
|
|
2226
2984
|
}
|
|
2227
|
-
} else resolve(returnValue);
|
|
2985
|
+
} else resolve$1(returnValue);
|
|
2228
2986
|
}, function(error) {
|
|
2229
2987
|
popActScope(prevActQueue, prevActScopeDepth);
|
|
2230
2988
|
0 < ReactSharedInternals$1.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals$1.thrownErrors), ReactSharedInternals$1.thrownErrors.length = 0, reject(error)) : reject(error);
|
|
@@ -2237,11 +2995,11 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../node_modules/.b
|
|
|
2237
2995
|
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));
|
|
2238
2996
|
}), ReactSharedInternals$1.actQueue = null);
|
|
2239
2997
|
if (0 < ReactSharedInternals$1.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals$1.thrownErrors), ReactSharedInternals$1.thrownErrors.length = 0, callback;
|
|
2240
|
-
return { then: function(resolve, reject) {
|
|
2998
|
+
return { then: function(resolve$1, reject) {
|
|
2241
2999
|
didAwaitActCall = !0;
|
|
2242
3000
|
0 === prevActScopeDepth ? (ReactSharedInternals$1.actQueue = queue, enqueueTask(function() {
|
|
2243
|
-
return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject);
|
|
2244
|
-
})) : resolve(returnValue$jscomp$0);
|
|
3001
|
+
return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve$1, reject);
|
|
3002
|
+
})) : resolve$1(returnValue$jscomp$0);
|
|
2245
3003
|
} };
|
|
2246
3004
|
};
|
|
2247
3005
|
exports.cache = function(fn) {
|
|
@@ -2472,14 +3230,14 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../node_modules/.b
|
|
|
2472
3230
|
}) });
|
|
2473
3231
|
|
|
2474
3232
|
//#endregion
|
|
2475
|
-
//#region
|
|
2476
|
-
var require_react = /* @__PURE__ */ __commonJS({ "
|
|
3233
|
+
//#region ../../node_modules/.bun/react@19.2.5/node_modules/react/index.js
|
|
3234
|
+
var require_react = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.5/node_modules/react/index.js": ((exports, module) => {
|
|
2477
3235
|
if (process.env.NODE_ENV === "production") module.exports = require_react_production();
|
|
2478
3236
|
else module.exports = require_react_development();
|
|
2479
3237
|
}) });
|
|
2480
3238
|
|
|
2481
3239
|
//#endregion
|
|
2482
|
-
//#region
|
|
3240
|
+
//#region ../../node_modules/.bun/es-toolkit@1.45.1/node_modules/es-toolkit/dist/function/debounce.mjs
|
|
2483
3241
|
function debounce$1(func, debounceMs, { signal, edges } = {}) {
|
|
2484
3242
|
let pendingThis = void 0;
|
|
2485
3243
|
let pendingArgs = null;
|
|
@@ -2534,7 +3292,7 @@ function debounce$1(func, debounceMs, { signal, edges } = {}) {
|
|
|
2534
3292
|
}
|
|
2535
3293
|
|
|
2536
3294
|
//#endregion
|
|
2537
|
-
//#region
|
|
3295
|
+
//#region ../../node_modules/.bun/es-toolkit@1.45.1/node_modules/es-toolkit/dist/compat/function/debounce.mjs
|
|
2538
3296
|
function debounce(func, debounceMs = 0, options = {}) {
|
|
2539
3297
|
if (typeof options !== "object") options = {};
|
|
2540
3298
|
const { leading = false, trailing = true, maxWait } = options;
|
|
@@ -2571,7 +3329,7 @@ function debounce(func, debounceMs = 0, options = {}) {
|
|
|
2571
3329
|
}
|
|
2572
3330
|
|
|
2573
3331
|
//#endregion
|
|
2574
|
-
//#region
|
|
3332
|
+
//#region ../../node_modules/.bun/es-toolkit@1.45.1/node_modules/es-toolkit/dist/compat/function/throttle.mjs
|
|
2575
3333
|
function throttle(func, throttleMs = 0, options = {}) {
|
|
2576
3334
|
const { leading = true, trailing = true } = options;
|
|
2577
3335
|
return debounce(func, throttleMs, {
|
|
@@ -2582,7 +3340,7 @@ function throttle(func, throttleMs = 0, options = {}) {
|
|
|
2582
3340
|
}
|
|
2583
3341
|
|
|
2584
3342
|
//#endregion
|
|
2585
|
-
//#region
|
|
3343
|
+
//#region ../../node_modules/.bun/environment@1.1.0/node_modules/environment/index.js
|
|
2586
3344
|
const isBrowser = globalThis.window?.document !== void 0;
|
|
2587
3345
|
const isNode = globalThis.process?.versions?.node !== void 0;
|
|
2588
3346
|
const isBun = globalThis.process?.versions?.bun !== void 0;
|
|
@@ -2601,7 +3359,7 @@ const isIos = platform === "iOS" || globalThis.navigator?.platform === "MacIntel
|
|
|
2601
3359
|
const isAndroid = platform === "Android" || globalThis.navigator?.platform === "Android" || globalThis.navigator?.userAgent?.includes(" Android ") === true || globalThis.process?.platform === "android";
|
|
2602
3360
|
|
|
2603
3361
|
//#endregion
|
|
2604
|
-
//#region
|
|
3362
|
+
//#region ../../node_modules/.bun/ansi-escapes@7.3.0/node_modules/ansi-escapes/base.js
|
|
2605
3363
|
const ESC = "\x1B[";
|
|
2606
3364
|
const SEP = ";";
|
|
2607
3365
|
const isTerminalApp = !isBrowser && process$1.env.TERM_PROGRAM === "Apple_Terminal";
|
|
@@ -2656,13 +3414,13 @@ const beginSynchronizedOutput = ESC + "?2026h";
|
|
|
2656
3414
|
const endSynchronizedOutput = ESC + "?2026l";
|
|
2657
3415
|
|
|
2658
3416
|
//#endregion
|
|
2659
|
-
//#region
|
|
3417
|
+
//#region ../../node_modules/.bun/is-in-ci@2.0.0/node_modules/is-in-ci/index.js
|
|
2660
3418
|
const check = (key) => key in env && env[key] !== "0" && env[key] !== "false";
|
|
2661
3419
|
const isInCi = check("CI") || check("CONTINUOUS_INTEGRATION");
|
|
2662
3420
|
var is_in_ci_default = isInCi;
|
|
2663
3421
|
|
|
2664
3422
|
//#endregion
|
|
2665
|
-
//#region
|
|
3423
|
+
//#region ../../node_modules/.bun/auto-bind@5.0.1/node_modules/auto-bind/index.js
|
|
2666
3424
|
const getAllProperties = (object) => {
|
|
2667
3425
|
const properties = /* @__PURE__ */ new Set();
|
|
2668
3426
|
do
|
|
@@ -2686,8 +3444,8 @@ function autoBind(self$1, { include, exclude } = {}) {
|
|
|
2686
3444
|
}
|
|
2687
3445
|
|
|
2688
3446
|
//#endregion
|
|
2689
|
-
//#region
|
|
2690
|
-
var require_signals = /* @__PURE__ */ __commonJS({ "
|
|
3447
|
+
//#region ../../node_modules/.bun/signal-exit@3.0.7/node_modules/signal-exit/signals.js
|
|
3448
|
+
var require_signals = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/signal-exit@3.0.7/node_modules/signal-exit/signals.js": ((exports, module) => {
|
|
2691
3449
|
module.exports = [
|
|
2692
3450
|
"SIGABRT",
|
|
2693
3451
|
"SIGALRM",
|
|
@@ -2700,8 +3458,8 @@ var require_signals = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/signal-
|
|
|
2700
3458
|
}) });
|
|
2701
3459
|
|
|
2702
3460
|
//#endregion
|
|
2703
|
-
//#region
|
|
2704
|
-
var require_signal_exit = /* @__PURE__ */ __commonJS({ "
|
|
3461
|
+
//#region ../../node_modules/.bun/signal-exit@3.0.7/node_modules/signal-exit/index.js
|
|
3462
|
+
var require_signal_exit = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/signal-exit@3.0.7/node_modules/signal-exit/index.js": ((exports, module) => {
|
|
2705
3463
|
var process$2 = global.process;
|
|
2706
3464
|
const processOk = function(process$3) {
|
|
2707
3465
|
return process$3 && typeof process$3 === "object" && typeof process$3.removeListener === "function" && typeof process$3.emit === "function" && typeof process$3.reallyExit === "function" && typeof process$3.listeners === "function" && typeof process$3.kill === "function" && typeof process$3.pid === "number" && typeof process$3.on === "function";
|
|
@@ -2827,7 +3585,7 @@ var require_signal_exit = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/sig
|
|
|
2827
3585
|
}) });
|
|
2828
3586
|
|
|
2829
3587
|
//#endregion
|
|
2830
|
-
//#region
|
|
3588
|
+
//#region ../../node_modules/.bun/patch-console@2.0.0/node_modules/patch-console/dist/index.js
|
|
2831
3589
|
const consoleMethods = [
|
|
2832
3590
|
"assert",
|
|
2833
3591
|
"count",
|
|
@@ -2871,8 +3629,8 @@ const patchConsole = (callback) => {
|
|
|
2871
3629
|
var dist_default = patchConsole;
|
|
2872
3630
|
|
|
2873
3631
|
//#endregion
|
|
2874
|
-
//#region
|
|
2875
|
-
var require_react_reconciler_constants_production = /* @__PURE__ */ __commonJS({ "
|
|
3632
|
+
//#region ../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js
|
|
3633
|
+
var require_react_reconciler_constants_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js": ((exports) => {
|
|
2876
3634
|
exports.ConcurrentRoot = 1;
|
|
2877
3635
|
exports.DefaultEventPriority = 32;
|
|
2878
3636
|
exports.LegacyRoot = 0;
|
|
@@ -2880,20 +3638,20 @@ var require_react_reconciler_constants_production = /* @__PURE__ */ __commonJS({
|
|
|
2880
3638
|
}) });
|
|
2881
3639
|
|
|
2882
3640
|
//#endregion
|
|
2883
|
-
//#region
|
|
2884
|
-
var require_react_reconciler_constants_development = /* @__PURE__ */ __commonJS({ "
|
|
3641
|
+
//#region ../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
|
|
3642
|
+
var require_react_reconciler_constants_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js": ((exports) => {
|
|
2885
3643
|
"production" !== process.env.NODE_ENV && (exports.ConcurrentRoot = 1, exports.ContinuousEventPriority = 8, exports.DefaultEventPriority = 32, exports.DiscreteEventPriority = 2, exports.IdleEventPriority = 268435456, exports.LegacyRoot = 0, exports.NoEventPriority = 0);
|
|
2886
3644
|
}) });
|
|
2887
3645
|
|
|
2888
3646
|
//#endregion
|
|
2889
|
-
//#region
|
|
2890
|
-
var require_constants$1 = /* @__PURE__ */ __commonJS({ "
|
|
3647
|
+
//#region ../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/constants.js
|
|
3648
|
+
var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/constants.js": ((exports, module) => {
|
|
2891
3649
|
if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_constants_production();
|
|
2892
3650
|
else module.exports = require_react_reconciler_constants_development();
|
|
2893
3651
|
}) });
|
|
2894
3652
|
|
|
2895
3653
|
//#endregion
|
|
2896
|
-
//#region
|
|
3654
|
+
//#region ../../node_modules/.bun/yoga-layout@3.2.1/node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js
|
|
2897
3655
|
var loadYoga = (() => {
|
|
2898
3656
|
var _scriptDir = import.meta.url;
|
|
2899
3657
|
return (function(loadYoga$1) {
|
|
@@ -3078,7 +3836,7 @@ var loadYoga = (() => {
|
|
|
3078
3836
|
function Ja(a) {
|
|
3079
3837
|
a = Ka(a);
|
|
3080
3838
|
var b = N(a);
|
|
3081
|
-
S
|
|
3839
|
+
S(a);
|
|
3082
3840
|
return b;
|
|
3083
3841
|
}
|
|
3084
3842
|
function La(a, b) {
|
|
@@ -3896,7 +4654,7 @@ var loadYoga = (() => {
|
|
|
3896
4654
|
for (k = 0; k < e; ++k) l[k] = String.fromCharCode(A[f + k]);
|
|
3897
4655
|
l = l.join("");
|
|
3898
4656
|
}
|
|
3899
|
-
S
|
|
4657
|
+
S(d);
|
|
3900
4658
|
return l;
|
|
3901
4659
|
},
|
|
3902
4660
|
toWireType: function(d, e) {
|
|
@@ -3946,15 +4704,15 @@ var loadYoga = (() => {
|
|
|
3946
4704
|
}
|
|
3947
4705
|
f[g] = 0;
|
|
3948
4706
|
}
|
|
3949
|
-
} else if (g) for (g = 0; g < f; ++g) l = e.charCodeAt(g), 255 < l && (S
|
|
4707
|
+
} else if (g) for (g = 0; g < f; ++g) l = e.charCodeAt(g), 255 < l && (S(m), L("String has UTF-16 code units that do not fit in 8 bits")), A[m + g] = l;
|
|
3950
4708
|
else for (g = 0; g < f; ++g) A[m + g] = e[g];
|
|
3951
|
-
null !== d && d.push(S
|
|
4709
|
+
null !== d && d.push(S, k);
|
|
3952
4710
|
return k;
|
|
3953
4711
|
},
|
|
3954
4712
|
argPackAdvance: 8,
|
|
3955
4713
|
readValueFromPointer: Xa,
|
|
3956
4714
|
V: function(d) {
|
|
3957
|
-
S
|
|
4715
|
+
S(d);
|
|
3958
4716
|
}
|
|
3959
4717
|
});
|
|
3960
4718
|
},
|
|
@@ -3974,7 +4732,7 @@ var loadYoga = (() => {
|
|
|
3974
4732
|
var t = m + 4 + u * b;
|
|
3975
4733
|
if (u == l || 0 == n[t >> k]) r = d(r, t - r), void 0 === p ? p = r : (p += String.fromCharCode(0), p += r), r = t + b;
|
|
3976
4734
|
}
|
|
3977
|
-
S
|
|
4735
|
+
S(m);
|
|
3978
4736
|
return p;
|
|
3979
4737
|
},
|
|
3980
4738
|
toWireType: function(m, l) {
|
|
@@ -3982,13 +4740,13 @@ var loadYoga = (() => {
|
|
|
3982
4740
|
var n = f(l), p = Ib(4 + n + b);
|
|
3983
4741
|
E[p >> 2] = n >> k;
|
|
3984
4742
|
e(l, p + 4, n + b);
|
|
3985
|
-
null !== m && m.push(S
|
|
4743
|
+
null !== m && m.push(S, p);
|
|
3986
4744
|
return p;
|
|
3987
4745
|
},
|
|
3988
4746
|
argPackAdvance: 8,
|
|
3989
4747
|
readValueFromPointer: Xa,
|
|
3990
4748
|
V: function(m) {
|
|
3991
|
-
S
|
|
4749
|
+
S(m);
|
|
3992
4750
|
}
|
|
3993
4751
|
});
|
|
3994
4752
|
},
|
|
@@ -4162,8 +4920,8 @@ var loadYoga = (() => {
|
|
|
4162
4920
|
};
|
|
4163
4921
|
var Ib = h._malloc = function() {
|
|
4164
4922
|
return (Ib = h._malloc = h.asm.I).apply(null, arguments);
|
|
4165
|
-
}, S
|
|
4166
|
-
return (S
|
|
4923
|
+
}, S = h._free = function() {
|
|
4924
|
+
return (S = h._free = h.asm.K).apply(null, arguments);
|
|
4167
4925
|
};
|
|
4168
4926
|
h.dynCall_jiji = function() {
|
|
4169
4927
|
return (h.dynCall_jiji = h.asm.L).apply(null, arguments);
|
|
@@ -4205,7 +4963,7 @@ var loadYoga = (() => {
|
|
|
4205
4963
|
var yoga_wasm_base64_esm_default = loadYoga;
|
|
4206
4964
|
|
|
4207
4965
|
//#endregion
|
|
4208
|
-
//#region
|
|
4966
|
+
//#region ../../node_modules/.bun/yoga-layout@3.2.1/node_modules/yoga-layout/dist/src/generated/YGEnums.js
|
|
4209
4967
|
/**
|
|
4210
4968
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4211
4969
|
*
|
|
@@ -4415,7 +5173,7 @@ const constants = {
|
|
|
4415
5173
|
var YGEnums_default = constants;
|
|
4416
5174
|
|
|
4417
5175
|
//#endregion
|
|
4418
|
-
//#region
|
|
5176
|
+
//#region ../../node_modules/.bun/yoga-layout@3.2.1/node_modules/yoga-layout/dist/src/wrapAssembly.js
|
|
4419
5177
|
function wrapAssembly(lib) {
|
|
4420
5178
|
function patch(prototype, name, fn) {
|
|
4421
5179
|
const original = prototype[name];
|
|
@@ -4508,18 +5266,18 @@ function wrapAssembly(lib) {
|
|
|
4508
5266
|
}
|
|
4509
5267
|
|
|
4510
5268
|
//#endregion
|
|
4511
|
-
//#region
|
|
5269
|
+
//#region ../../node_modules/.bun/yoga-layout@3.2.1/node_modules/yoga-layout/dist/src/index.js
|
|
4512
5270
|
const Yoga = wrapAssembly(await yoga_wasm_base64_esm_default());
|
|
4513
5271
|
var src_default = Yoga;
|
|
4514
5272
|
|
|
4515
5273
|
//#endregion
|
|
4516
|
-
//#region
|
|
5274
|
+
//#region ../../node_modules/.bun/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
|
|
4517
5275
|
function ansiRegex$1({ onlyFirst = false } = {}) {
|
|
4518
5276
|
return new RegExp(`(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]`, onlyFirst ? void 0 : "g");
|
|
4519
5277
|
}
|
|
4520
5278
|
|
|
4521
5279
|
//#endregion
|
|
4522
|
-
//#region
|
|
5280
|
+
//#region ../../node_modules/.bun/strip-ansi@7.2.0/node_modules/strip-ansi/index.js
|
|
4523
5281
|
const regex = ansiRegex$1();
|
|
4524
5282
|
function stripAnsi(string) {
|
|
4525
5283
|
if (typeof string !== "string") throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
|
|
@@ -4528,7 +5286,7 @@ function stripAnsi(string) {
|
|
|
4528
5286
|
}
|
|
4529
5287
|
|
|
4530
5288
|
//#endregion
|
|
4531
|
-
//#region
|
|
5289
|
+
//#region ../../node_modules/.bun/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.js
|
|
4532
5290
|
const ambiguousRanges = [
|
|
4533
5291
|
161,
|
|
4534
5292
|
161,
|
|
@@ -5177,7 +5935,7 @@ const wideRanges = [
|
|
|
5177
5935
|
];
|
|
5178
5936
|
|
|
5179
5937
|
//#endregion
|
|
5180
|
-
//#region
|
|
5938
|
+
//#region ../../node_modules/.bun/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.js
|
|
5181
5939
|
/**
|
|
5182
5940
|
Binary search on a sorted flat array of [start, end] pairs.
|
|
5183
5941
|
|
|
@@ -5199,7 +5957,7 @@ const isInRange = (ranges, codePoint) => {
|
|
|
5199
5957
|
};
|
|
5200
5958
|
|
|
5201
5959
|
//#endregion
|
|
5202
|
-
//#region
|
|
5960
|
+
//#region ../../node_modules/.bun/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.js
|
|
5203
5961
|
const minimumAmbiguousCodePoint = ambiguousRanges[0];
|
|
5204
5962
|
const maximumAmbiguousCodePoint = ambiguousRanges.at(-1);
|
|
5205
5963
|
const minimumFullWidthCodePoint = fullwidthRanges[0];
|
|
@@ -5241,7 +5999,7 @@ const isWide = (codePoint) => {
|
|
|
5241
5999
|
};
|
|
5242
6000
|
|
|
5243
6001
|
//#endregion
|
|
5244
|
-
//#region
|
|
6002
|
+
//#region ../../node_modules/.bun/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.js
|
|
5245
6003
|
function validate(codePoint) {
|
|
5246
6004
|
if (!Number.isSafeInteger(codePoint)) throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
5247
6005
|
}
|
|
@@ -5252,15 +6010,15 @@ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
|
5252
6010
|
}
|
|
5253
6011
|
|
|
5254
6012
|
//#endregion
|
|
5255
|
-
//#region
|
|
5256
|
-
var require_emoji_regex = /* @__PURE__ */ __commonJS({ "
|
|
6013
|
+
//#region ../../node_modules/.bun/emoji-regex@10.6.0/node_modules/emoji-regex/index.js
|
|
6014
|
+
var require_emoji_regex = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/emoji-regex@10.6.0/node_modules/emoji-regex/index.js": ((exports, module) => {
|
|
5257
6015
|
module.exports = () => {
|
|
5258
6016
|
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
5259
6017
|
};
|
|
5260
6018
|
}) });
|
|
5261
6019
|
|
|
5262
6020
|
//#endregion
|
|
5263
|
-
//#region
|
|
6021
|
+
//#region ../../node_modules/.bun/string-width@7.2.0/node_modules/string-width/index.js
|
|
5264
6022
|
var import_emoji_regex = /* @__PURE__ */ __toESM(require_emoji_regex(), 1);
|
|
5265
6023
|
const segmenter$2 = new Intl.Segmenter();
|
|
5266
6024
|
const defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
|
|
@@ -5289,7 +6047,7 @@ function stringWidth$1(string, options = {}) {
|
|
|
5289
6047
|
}
|
|
5290
6048
|
|
|
5291
6049
|
//#endregion
|
|
5292
|
-
//#region
|
|
6050
|
+
//#region ../../node_modules/.bun/ansi-styles@6.2.3/node_modules/ansi-styles/index.js
|
|
5293
6051
|
const ANSI_BACKGROUND_OFFSET$1 = 10;
|
|
5294
6052
|
const wrapAnsi16$1 = (offset = 0) => (code) => `\u001B[${code + offset}m`;
|
|
5295
6053
|
const wrapAnsi256$1 = (offset = 0) => (code) => `\u001B[${38 + offset};5;${code}m`;
|
|
@@ -5455,7 +6213,7 @@ const ansiStyles$1 = assembleStyles$1();
|
|
|
5455
6213
|
var ansi_styles_default = ansiStyles$1;
|
|
5456
6214
|
|
|
5457
6215
|
//#endregion
|
|
5458
|
-
//#region
|
|
6216
|
+
//#region ../../node_modules/.bun/wrap-ansi@9.0.2/node_modules/wrap-ansi/index.js
|
|
5459
6217
|
const ESCAPES$2 = new Set(["\x1B", ""]);
|
|
5460
6218
|
const END_CODE = 39;
|
|
5461
6219
|
const ANSI_ESCAPE_BELL = "\x07";
|
|
@@ -5579,7 +6337,7 @@ function wrapAnsi(string, columns, options) {
|
|
|
5579
6337
|
}
|
|
5580
6338
|
|
|
5581
6339
|
//#endregion
|
|
5582
|
-
//#region
|
|
6340
|
+
//#region ../../node_modules/.bun/terminal-size@4.0.1/node_modules/terminal-size/index.js
|
|
5583
6341
|
const defaultColumns = 80;
|
|
5584
6342
|
const defaultRows = 24;
|
|
5585
6343
|
const exec = (command, arguments_, { shell, env: env$2 } = {}) => execFileSync(command, arguments_, {
|
|
@@ -5667,12 +6425,12 @@ const resize = () => {
|
|
|
5667
6425
|
};
|
|
5668
6426
|
|
|
5669
6427
|
//#endregion
|
|
5670
|
-
//#region
|
|
6428
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/utils.js
|
|
5671
6429
|
const isDev = () => process$1.env["DEV"] === "true";
|
|
5672
6430
|
|
|
5673
6431
|
//#endregion
|
|
5674
|
-
//#region
|
|
5675
|
-
var require_scheduler_production = /* @__PURE__ */ __commonJS({ "
|
|
6432
|
+
//#region ../../node_modules/.bun/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js
|
|
6433
|
+
var require_scheduler_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js": ((exports) => {
|
|
5676
6434
|
function push$1(heap, node) {
|
|
5677
6435
|
var index = heap.length;
|
|
5678
6436
|
heap.push(node);
|
|
@@ -5904,8 +6662,8 @@ var require_scheduler_production = /* @__PURE__ */ __commonJS({ "../node_modules
|
|
|
5904
6662
|
}) });
|
|
5905
6663
|
|
|
5906
6664
|
//#endregion
|
|
5907
|
-
//#region
|
|
5908
|
-
var require_scheduler_development = /* @__PURE__ */ __commonJS({ "
|
|
6665
|
+
//#region ../../node_modules/.bun/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js
|
|
6666
|
+
var require_scheduler_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js": ((exports) => {
|
|
5909
6667
|
"production" !== process.env.NODE_ENV && (function() {
|
|
5910
6668
|
function performWorkUntilDeadline$1() {
|
|
5911
6669
|
needsPaint$1 = !1;
|
|
@@ -6139,15 +6897,15 @@ var require_scheduler_development = /* @__PURE__ */ __commonJS({ "../node_module
|
|
|
6139
6897
|
}) });
|
|
6140
6898
|
|
|
6141
6899
|
//#endregion
|
|
6142
|
-
//#region
|
|
6143
|
-
var require_scheduler = /* @__PURE__ */ __commonJS({ "
|
|
6900
|
+
//#region ../../node_modules/.bun/scheduler@0.27.0/node_modules/scheduler/index.js
|
|
6901
|
+
var require_scheduler = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/scheduler@0.27.0/node_modules/scheduler/index.js": ((exports, module) => {
|
|
6144
6902
|
if (process.env.NODE_ENV === "production") module.exports = require_scheduler_production();
|
|
6145
6903
|
else module.exports = require_scheduler_development();
|
|
6146
6904
|
}) });
|
|
6147
6905
|
|
|
6148
6906
|
//#endregion
|
|
6149
|
-
//#region
|
|
6150
|
-
var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "
|
|
6907
|
+
//#region ../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/cjs/react-reconciler.production.js
|
|
6908
|
+
var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/cjs/react-reconciler.production.js": ((exports, module) => {
|
|
6151
6909
|
module.exports = function($$$config) {
|
|
6152
6910
|
function createFiber(tag, pendingProps, key, mode) {
|
|
6153
6911
|
return new FiberNode(tag, pendingProps, key, mode);
|
|
@@ -7010,8 +7768,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "../node_
|
|
|
7010
7768
|
currentEntangledActionThenable = {
|
|
7011
7769
|
status: "pending",
|
|
7012
7770
|
value: void 0,
|
|
7013
|
-
then: function(resolve) {
|
|
7014
|
-
entangledListeners.push(resolve);
|
|
7771
|
+
then: function(resolve$1) {
|
|
7772
|
+
entangledListeners.push(resolve$1);
|
|
7015
7773
|
}
|
|
7016
7774
|
};
|
|
7017
7775
|
}
|
|
@@ -7034,8 +7792,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "../node_
|
|
|
7034
7792
|
status: "pending",
|
|
7035
7793
|
value: null,
|
|
7036
7794
|
reason: null,
|
|
7037
|
-
then: function(resolve) {
|
|
7038
|
-
listeners.push(resolve);
|
|
7795
|
+
then: function(resolve$1) {
|
|
7796
|
+
listeners.push(resolve$1);
|
|
7039
7797
|
}
|
|
7040
7798
|
};
|
|
7041
7799
|
thenable.then(function() {
|
|
@@ -12299,8 +13057,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "../node_
|
|
|
12299
13057
|
}) });
|
|
12300
13058
|
|
|
12301
13059
|
//#endregion
|
|
12302
|
-
//#region
|
|
12303
|
-
var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "
|
|
13060
|
+
//#region ../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/cjs/react-reconciler.development.js
|
|
13061
|
+
var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/cjs/react-reconciler.development.js": ((exports, module) => {
|
|
12304
13062
|
"production" !== process.env.NODE_ENV && (module.exports = function($$$config) {
|
|
12305
13063
|
function findHook(fiber, id) {
|
|
12306
13064
|
for (fiber = fiber.memoizedState; null !== fiber && 0 < id;) fiber = fiber.next, id--;
|
|
@@ -14117,8 +14875,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "../node
|
|
|
14117
14875
|
currentEntangledActionThenable = {
|
|
14118
14876
|
status: "pending",
|
|
14119
14877
|
value: void 0,
|
|
14120
|
-
then: function(resolve) {
|
|
14121
|
-
entangledListeners.push(resolve);
|
|
14878
|
+
then: function(resolve$1) {
|
|
14879
|
+
entangledListeners.push(resolve$1);
|
|
14122
14880
|
}
|
|
14123
14881
|
};
|
|
14124
14882
|
}
|
|
@@ -14141,8 +14899,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "../node
|
|
|
14141
14899
|
status: "pending",
|
|
14142
14900
|
value: null,
|
|
14143
14901
|
reason: null,
|
|
14144
|
-
then: function(resolve) {
|
|
14145
|
-
listeners.push(resolve);
|
|
14902
|
+
then: function(resolve$1) {
|
|
14903
|
+
listeners.push(resolve$1);
|
|
14146
14904
|
}
|
|
14147
14905
|
};
|
|
14148
14906
|
thenable.then(function() {
|
|
@@ -21708,14 +22466,14 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "../node
|
|
|
21708
22466
|
}) });
|
|
21709
22467
|
|
|
21710
22468
|
//#endregion
|
|
21711
|
-
//#region
|
|
21712
|
-
var require_react_reconciler = /* @__PURE__ */ __commonJS({ "
|
|
22469
|
+
//#region ../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/index.js
|
|
22470
|
+
var require_react_reconciler = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+3f10a4be4e334a9b/node_modules/react-reconciler/index.js": ((exports, module) => {
|
|
21713
22471
|
if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_production();
|
|
21714
22472
|
else module.exports = require_react_reconciler_development();
|
|
21715
22473
|
}) });
|
|
21716
22474
|
|
|
21717
22475
|
//#endregion
|
|
21718
|
-
//#region
|
|
22476
|
+
//#region ../../node_modules/.bun/string-width@8.2.0/node_modules/string-width/index.js
|
|
21719
22477
|
/**
|
|
21720
22478
|
Logic:
|
|
21721
22479
|
- Segment graphemes to match how terminals render clusters.
|
|
@@ -21776,7 +22534,7 @@ function stringWidth(input, options = {}) {
|
|
|
21776
22534
|
}
|
|
21777
22535
|
|
|
21778
22536
|
//#endregion
|
|
21779
|
-
//#region
|
|
22537
|
+
//#region ../../node_modules/.bun/widest-line@6.0.0/node_modules/widest-line/index.js
|
|
21780
22538
|
function widestLine(string) {
|
|
21781
22539
|
let lineWidth = 0;
|
|
21782
22540
|
for (const line of string.split("\n")) lineWidth = Math.max(lineWidth, stringWidth(line));
|
|
@@ -21784,7 +22542,7 @@ function widestLine(string) {
|
|
|
21784
22542
|
}
|
|
21785
22543
|
|
|
21786
22544
|
//#endregion
|
|
21787
|
-
//#region
|
|
22545
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/measure-text.js
|
|
21788
22546
|
const cache$1 = /* @__PURE__ */ new Map();
|
|
21789
22547
|
const measureText = (text) => {
|
|
21790
22548
|
if (text.length === 0) return {
|
|
@@ -21803,14 +22561,14 @@ const measureText = (text) => {
|
|
|
21803
22561
|
var measure_text_default = measureText;
|
|
21804
22562
|
|
|
21805
22563
|
//#endregion
|
|
21806
|
-
//#region
|
|
22564
|
+
//#region ../../node_modules/.bun/is-fullwidth-code-point@5.1.0/node_modules/is-fullwidth-code-point/index.js
|
|
21807
22565
|
function isFullwidthCodePoint(codePoint) {
|
|
21808
22566
|
if (!Number.isInteger(codePoint)) return false;
|
|
21809
22567
|
return isFullWidth(codePoint) || isWide(codePoint);
|
|
21810
22568
|
}
|
|
21811
22569
|
|
|
21812
22570
|
//#endregion
|
|
21813
|
-
//#region
|
|
22571
|
+
//#region ../../node_modules/.bun/slice-ansi@8.0.0/node_modules/slice-ansi/tokenize-ansi.js
|
|
21814
22572
|
const ESCAPE_CODE_POINT = 27;
|
|
21815
22573
|
const C1_DCS_CODE_POINT = 144;
|
|
21816
22574
|
const C1_SOS_CODE_POINT = 152;
|
|
@@ -22317,7 +23075,7 @@ function tokenizeAnsi$1(string, { endCharacter = Number.POSITIVE_INFINITY } = {}
|
|
|
22317
23075
|
}
|
|
22318
23076
|
|
|
22319
23077
|
//#endregion
|
|
22320
|
-
//#region
|
|
23078
|
+
//#region ../../node_modules/.bun/slice-ansi@8.0.0/node_modules/slice-ansi/index.js
|
|
22321
23079
|
function applySgrFragments(activeStyles, fragments) {
|
|
22322
23080
|
for (const fragment of fragments) switch (fragment.type) {
|
|
22323
23081
|
case "reset":
|
|
@@ -22479,7 +23237,7 @@ function sliceAnsi(string, start, end) {
|
|
|
22479
23237
|
}
|
|
22480
23238
|
|
|
22481
23239
|
//#endregion
|
|
22482
|
-
//#region
|
|
23240
|
+
//#region ../../node_modules/.bun/cli-truncate@5.2.0/node_modules/cli-truncate/index.js
|
|
22483
23241
|
function getIndexOfNearestSpace(string, wantedIndex, shouldSearchRight) {
|
|
22484
23242
|
if (string.charAt(wantedIndex) === " ") return wantedIndex;
|
|
22485
23243
|
const direction = shouldSearchRight ? 1 : -1;
|
|
@@ -22568,7 +23326,7 @@ function cliTruncate(text, columns, options = {}) {
|
|
|
22568
23326
|
}
|
|
22569
23327
|
|
|
22570
23328
|
//#endregion
|
|
22571
|
-
//#region
|
|
23329
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/wrap-text.js
|
|
22572
23330
|
const cache = {};
|
|
22573
23331
|
const wrapText = (text, maxWidth, wrapType) => {
|
|
22574
23332
|
const cacheKey = text + String(maxWidth) + String(wrapType);
|
|
@@ -22591,7 +23349,7 @@ const wrapText = (text, maxWidth, wrapType) => {
|
|
|
22591
23349
|
var wrap_text_default = wrapText;
|
|
22592
23350
|
|
|
22593
23351
|
//#endregion
|
|
22594
|
-
//#region
|
|
23352
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/ansi-tokenizer.js
|
|
22595
23353
|
const bellCharacter = "\x07";
|
|
22596
23354
|
const escapeCharacter = "\x1B";
|
|
22597
23355
|
const stringTerminatorCharacter = "";
|
|
@@ -22888,7 +23646,7 @@ const tokenizeAnsi = (text) => {
|
|
|
22888
23646
|
};
|
|
22889
23647
|
|
|
22890
23648
|
//#endregion
|
|
22891
|
-
//#region
|
|
23649
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/sanitize-ansi.js
|
|
22892
23650
|
const sgrParametersRegex = /^[\d:;]*$/;
|
|
22893
23651
|
const sanitizeAnsi = (text) => {
|
|
22894
23652
|
if (!hasAnsiControlCharacters(text)) return text;
|
|
@@ -22905,7 +23663,7 @@ const sanitizeAnsi = (text) => {
|
|
|
22905
23663
|
var sanitize_ansi_default = sanitizeAnsi;
|
|
22906
23664
|
|
|
22907
23665
|
//#endregion
|
|
22908
|
-
//#region
|
|
23666
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/squash-text-nodes.js
|
|
22909
23667
|
const squashTextNodes = (node) => {
|
|
22910
23668
|
let text = "";
|
|
22911
23669
|
for (let index = 0; index < node.childNodes.length; index++) {
|
|
@@ -22924,7 +23682,7 @@ const squashTextNodes = (node) => {
|
|
|
22924
23682
|
var squash_text_nodes_default = squashTextNodes;
|
|
22925
23683
|
|
|
22926
23684
|
//#endregion
|
|
22927
|
-
//#region
|
|
23685
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/dom.js
|
|
22928
23686
|
const createNode = (nodeName) => {
|
|
22929
23687
|
const node = {
|
|
22930
23688
|
nodeName,
|
|
@@ -23007,7 +23765,7 @@ const setTextNodeValue = (node, text) => {
|
|
|
23007
23765
|
};
|
|
23008
23766
|
|
|
23009
23767
|
//#endregion
|
|
23010
|
-
//#region
|
|
23768
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/styles.js
|
|
23011
23769
|
const applyPositionStyles = (node, style) => {
|
|
23012
23770
|
if ("position" in style) node.setPositionType(style.position === "absolute" ? src_default.POSITION_TYPE_ABSOLUTE : src_default.POSITION_TYPE_RELATIVE);
|
|
23013
23771
|
};
|
|
@@ -23109,8 +23867,8 @@ const styles$2 = (node, style = {}) => {
|
|
|
23109
23867
|
var styles_default = styles$2;
|
|
23110
23868
|
|
|
23111
23869
|
//#endregion
|
|
23112
|
-
//#region
|
|
23113
|
-
var require_constants = /* @__PURE__ */ __commonJS({ "
|
|
23870
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/constants.js
|
|
23871
|
+
var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/constants.js": ((exports, module) => {
|
|
23114
23872
|
const BINARY_TYPES$2 = [
|
|
23115
23873
|
"nodebuffer",
|
|
23116
23874
|
"arraybuffer",
|
|
@@ -23133,8 +23891,8 @@ var require_constants = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@8.
|
|
|
23133
23891
|
}) });
|
|
23134
23892
|
|
|
23135
23893
|
//#endregion
|
|
23136
|
-
//#region
|
|
23137
|
-
var require_buffer_util = /* @__PURE__ */ __commonJS({ "
|
|
23894
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/buffer-util.js
|
|
23895
|
+
var require_buffer_util = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/buffer-util.js": ((exports, module) => {
|
|
23138
23896
|
const { EMPTY_BUFFER: EMPTY_BUFFER$3 } = require_constants();
|
|
23139
23897
|
const FastBuffer$2 = Buffer[Symbol.species];
|
|
23140
23898
|
/**
|
|
@@ -23234,8 +23992,8 @@ var require_buffer_util = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@
|
|
|
23234
23992
|
}) });
|
|
23235
23993
|
|
|
23236
23994
|
//#endregion
|
|
23237
|
-
//#region
|
|
23238
|
-
var require_limiter = /* @__PURE__ */ __commonJS({ "
|
|
23995
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/limiter.js
|
|
23996
|
+
var require_limiter = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/limiter.js": ((exports, module) => {
|
|
23239
23997
|
const kDone = Symbol("kDone");
|
|
23240
23998
|
const kRun = Symbol("kRun");
|
|
23241
23999
|
/**
|
|
@@ -23286,8 +24044,8 @@ var require_limiter = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@8.20
|
|
|
23286
24044
|
}) });
|
|
23287
24045
|
|
|
23288
24046
|
//#endregion
|
|
23289
|
-
//#region
|
|
23290
|
-
var require_permessage_deflate = /* @__PURE__ */ __commonJS({ "
|
|
24047
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/permessage-deflate.js
|
|
24048
|
+
var require_permessage_deflate = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/permessage-deflate.js": ((exports, module) => {
|
|
23291
24049
|
const zlib = __require("zlib");
|
|
23292
24050
|
const bufferUtil = require_buffer_util();
|
|
23293
24051
|
const Limiter = require_limiter();
|
|
@@ -23620,8 +24378,8 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJS({ "../node_modules/.
|
|
|
23620
24378
|
}) });
|
|
23621
24379
|
|
|
23622
24380
|
//#endregion
|
|
23623
|
-
//#region
|
|
23624
|
-
var require_validation = /* @__PURE__ */ __commonJS({ "
|
|
24381
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/validation.js
|
|
24382
|
+
var require_validation = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/validation.js": ((exports, module) => {
|
|
23625
24383
|
const { isUtf8 } = __require("buffer");
|
|
23626
24384
|
const { hasBlob } = require_constants();
|
|
23627
24385
|
const tokenChars$2 = [
|
|
@@ -23817,8 +24575,8 @@ var require_validation = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@8
|
|
|
23817
24575
|
}) });
|
|
23818
24576
|
|
|
23819
24577
|
//#endregion
|
|
23820
|
-
//#region
|
|
23821
|
-
var require_receiver = /* @__PURE__ */ __commonJS({ "
|
|
24578
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/receiver.js
|
|
24579
|
+
var require_receiver = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/receiver.js": ((exports, module) => {
|
|
23822
24580
|
const { Writable } = __require("stream");
|
|
23823
24581
|
const PerMessageDeflate$4 = require_permessage_deflate();
|
|
23824
24582
|
const { BINARY_TYPES: BINARY_TYPES$1, EMPTY_BUFFER: EMPTY_BUFFER$2, kStatusCode: kStatusCode$1, kWebSocket: kWebSocket$3 } = require_constants();
|
|
@@ -24265,8 +25023,8 @@ var require_receiver = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@8.2
|
|
|
24265
25023
|
}) });
|
|
24266
25024
|
|
|
24267
25025
|
//#endregion
|
|
24268
|
-
//#region
|
|
24269
|
-
var require_sender = /* @__PURE__ */ __commonJS({ "
|
|
25026
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/sender.js
|
|
25027
|
+
var require_sender = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/sender.js": ((exports, module) => {
|
|
24270
25028
|
const { Duplex: Duplex$3 } = __require("stream");
|
|
24271
25029
|
const { randomFillSync } = __require("crypto");
|
|
24272
25030
|
const PerMessageDeflate$3 = require_permessage_deflate();
|
|
@@ -24761,8 +25519,8 @@ var require_sender = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@8.20.
|
|
|
24761
25519
|
}) });
|
|
24762
25520
|
|
|
24763
25521
|
//#endregion
|
|
24764
|
-
//#region
|
|
24765
|
-
var require_event_target = /* @__PURE__ */ __commonJS({ "
|
|
25522
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/event-target.js
|
|
25523
|
+
var require_event_target = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/event-target.js": ((exports, module) => {
|
|
24766
25524
|
const { kForOnEventAttribute: kForOnEventAttribute$1, kListener: kListener$1 } = require_constants();
|
|
24767
25525
|
const kCode = Symbol("kCode");
|
|
24768
25526
|
const kData = Symbol("kData");
|
|
@@ -24981,8 +25739,8 @@ var require_event_target = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws
|
|
|
24981
25739
|
}) });
|
|
24982
25740
|
|
|
24983
25741
|
//#endregion
|
|
24984
|
-
//#region
|
|
24985
|
-
var require_extension = /* @__PURE__ */ __commonJS({ "
|
|
25742
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/extension.js
|
|
25743
|
+
var require_extension = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/extension.js": ((exports, module) => {
|
|
24986
25744
|
const { tokenChars: tokenChars$1 } = require_validation();
|
|
24987
25745
|
/**
|
|
24988
25746
|
* Adds an offer to the map of extension offers or a parameter to the map of
|
|
@@ -25125,8 +25883,8 @@ var require_extension = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@8.
|
|
|
25125
25883
|
}) });
|
|
25126
25884
|
|
|
25127
25885
|
//#endregion
|
|
25128
|
-
//#region
|
|
25129
|
-
var require_websocket = /* @__PURE__ */ __commonJS({ "
|
|
25886
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/websocket.js
|
|
25887
|
+
var require_websocket = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/websocket.js": ((exports, module) => {
|
|
25130
25888
|
const EventEmitter$2 = __require("events");
|
|
25131
25889
|
const https = __require("https");
|
|
25132
25890
|
const http$1 = __require("http");
|
|
@@ -26101,8 +26859,8 @@ var require_websocket = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@8.
|
|
|
26101
26859
|
}) });
|
|
26102
26860
|
|
|
26103
26861
|
//#endregion
|
|
26104
|
-
//#region
|
|
26105
|
-
var require_stream = /* @__PURE__ */ __commonJS({ "
|
|
26862
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/stream.js
|
|
26863
|
+
var require_stream = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/stream.js": ((exports, module) => {
|
|
26106
26864
|
require_websocket();
|
|
26107
26865
|
const { Duplex: Duplex$1 } = __require("stream");
|
|
26108
26866
|
/**
|
|
@@ -26218,8 +26976,8 @@ var require_stream = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@8.20.
|
|
|
26218
26976
|
}) });
|
|
26219
26977
|
|
|
26220
26978
|
//#endregion
|
|
26221
|
-
//#region
|
|
26222
|
-
var require_subprotocol = /* @__PURE__ */ __commonJS({ "
|
|
26979
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/subprotocol.js
|
|
26980
|
+
var require_subprotocol = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/subprotocol.js": ((exports, module) => {
|
|
26223
26981
|
const { tokenChars } = require_validation();
|
|
26224
26982
|
/**
|
|
26225
26983
|
* Parses the `Sec-WebSocket-Protocol` header into a set of subprotocol names.
|
|
@@ -26258,8 +27016,8 @@ var require_subprotocol = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/ws@
|
|
|
26258
27016
|
}) });
|
|
26259
27017
|
|
|
26260
27018
|
//#endregion
|
|
26261
|
-
//#region
|
|
26262
|
-
var require_websocket_server = /* @__PURE__ */ __commonJS({ "
|
|
27019
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/websocket-server.js
|
|
27020
|
+
var require_websocket_server = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/lib/websocket-server.js": ((exports, module) => {
|
|
26263
27021
|
const EventEmitter$1 = __require("events");
|
|
26264
27022
|
const http = __require("http");
|
|
26265
27023
|
const { Duplex } = __require("stream");
|
|
@@ -26637,9 +27395,9 @@ var require_websocket_server = /* @__PURE__ */ __commonJS({ "../node_modules/.bu
|
|
|
26637
27395
|
}) });
|
|
26638
27396
|
|
|
26639
27397
|
//#endregion
|
|
26640
|
-
//#region
|
|
27398
|
+
//#region ../../node_modules/.bun/ws@8.20.0/node_modules/ws/wrapper.mjs
|
|
26641
27399
|
var import_stream, import_extension, import_permessage_deflate, import_receiver, import_sender, import_subprotocol, import_websocket, import_websocket_server, wrapper_default;
|
|
26642
|
-
var init_wrapper = __esm({ "
|
|
27400
|
+
var init_wrapper = __esm({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/wrapper.mjs": (() => {
|
|
26643
27401
|
import_stream = /* @__PURE__ */ __toESM(require_stream(), 1);
|
|
26644
27402
|
import_extension = /* @__PURE__ */ __toESM(require_extension(), 1);
|
|
26645
27403
|
import_permessage_deflate = /* @__PURE__ */ __toESM(require_permessage_deflate(), 1);
|
|
@@ -26652,9 +27410,9 @@ var init_wrapper = __esm({ "../node_modules/.bun/ws@8.20.0/node_modules/ws/wrapp
|
|
|
26652
27410
|
}) });
|
|
26653
27411
|
|
|
26654
27412
|
//#endregion
|
|
26655
|
-
//#region
|
|
27413
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/devtools-window-polyfill.js
|
|
26656
27414
|
var customGlobal;
|
|
26657
|
-
var init_devtools_window_polyfill = __esm({ "
|
|
27415
|
+
var init_devtools_window_polyfill = __esm({ "../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/devtools-window-polyfill.js": (() => {
|
|
26658
27416
|
init_wrapper();
|
|
26659
27417
|
customGlobal = global;
|
|
26660
27418
|
customGlobal.WebSocket ||= wrapper_default;
|
|
@@ -26706,8 +27464,8 @@ var init_devtools_window_polyfill = __esm({ "../node_modules/.bun/ink@6.8.0+4d40
|
|
|
26706
27464
|
}) });
|
|
26707
27465
|
|
|
26708
27466
|
//#endregion
|
|
26709
|
-
//#region
|
|
26710
|
-
var require_backend = /* @__PURE__ */ __commonJS({ "
|
|
27467
|
+
//#region ../../node_modules/.bun/react-devtools-core@7.0.1/node_modules/react-devtools-core/dist/backend.js
|
|
27468
|
+
var require_backend = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-devtools-core@7.0.1/node_modules/react-devtools-core/dist/backend.js": ((exports, module) => {
|
|
26711
27469
|
(function webpackUniversalModuleDefinition(root$1, factory) {
|
|
26712
27470
|
if (typeof exports === "object" && typeof module === "object") module.exports = factory();
|
|
26713
27471
|
else if (typeof define === "function" && define.amd) define([], factory);
|
|
@@ -32668,11 +33426,11 @@ var require_backend = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/react-d
|
|
|
32668
33426
|
var componentInfo = getCurrentComponentInfo();
|
|
32669
33427
|
if (componentInfo === null) return;
|
|
32670
33428
|
if (args.length > 3 && typeof args[0] === "string" && args[0].startsWith("%c%s%c ") && typeof args[1] === "string" && typeof args[2] === "string" && typeof args[3] === "string") {
|
|
32671
|
-
var format$
|
|
33429
|
+
var format$3 = args[0].slice(7);
|
|
32672
33430
|
var env$2 = args[2].trim();
|
|
32673
33431
|
args = args.slice(4);
|
|
32674
|
-
if (env$2 !== componentInfo.env) args.unshift("[" + env$2 + "] " + format$
|
|
32675
|
-
else args.unshift(format$
|
|
33432
|
+
if (env$2 !== componentInfo.env) args.unshift("[" + env$2 + "] " + format$3);
|
|
33433
|
+
else args.unshift(format$3);
|
|
32676
33434
|
}
|
|
32677
33435
|
var message = formatConsoleArgumentsToSingleString.apply(void 0, renderer_toConsumableArray(args));
|
|
32678
33436
|
var componentLogsEntry = componentInfoToComponentLogsMap.get(componentInfo);
|
|
@@ -40087,10 +40845,10 @@ var require_backend = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/react-d
|
|
|
40087
40845
|
}) });
|
|
40088
40846
|
|
|
40089
40847
|
//#endregion
|
|
40090
|
-
//#region
|
|
40848
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/devtools.js
|
|
40091
40849
|
var devtools_exports = {};
|
|
40092
40850
|
var import_backend;
|
|
40093
|
-
var init_devtools = __esm({ "
|
|
40851
|
+
var init_devtools = __esm({ "../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/devtools.js": (() => {
|
|
40094
40852
|
init_devtools_window_polyfill();
|
|
40095
40853
|
import_backend = /* @__PURE__ */ __toESM(require_backend(), 1);
|
|
40096
40854
|
import_backend.default.initialize();
|
|
@@ -40098,7 +40856,7 @@ var init_devtools = __esm({ "../node_modules/.bun/ink@6.8.0+4d40c05051311df7/nod
|
|
|
40098
40856
|
}) });
|
|
40099
40857
|
|
|
40100
40858
|
//#endregion
|
|
40101
|
-
//#region
|
|
40859
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/reconciler.js
|
|
40102
40860
|
var import_react_reconciler = /* @__PURE__ */ __toESM(require_react_reconciler(), 1);
|
|
40103
40861
|
var import_constants$2 = /* @__PURE__ */ __toESM(require_constants$1(), 1);
|
|
40104
40862
|
var import_scheduler = /* @__PURE__ */ __toESM(require_scheduler(), 1);
|
|
@@ -40309,7 +41067,7 @@ var reconciler_default = (0, import_react_reconciler.default)({
|
|
|
40309
41067
|
});
|
|
40310
41068
|
|
|
40311
41069
|
//#endregion
|
|
40312
|
-
//#region
|
|
41070
|
+
//#region ../../node_modules/.bun/indent-string@5.0.0/node_modules/indent-string/index.js
|
|
40313
41071
|
function indentString(string, count = 1, options = {}) {
|
|
40314
41072
|
const { indent = " ", includeEmptyLines = false } = options;
|
|
40315
41073
|
if (typeof string !== "string") throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof string}\``);
|
|
@@ -40322,15 +41080,15 @@ function indentString(string, count = 1, options = {}) {
|
|
|
40322
41080
|
}
|
|
40323
41081
|
|
|
40324
41082
|
//#endregion
|
|
40325
|
-
//#region
|
|
41083
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/get-max-width.js
|
|
40326
41084
|
const getMaxWidth = (yogaNode) => {
|
|
40327
41085
|
return yogaNode.getComputedWidth() - yogaNode.getComputedPadding(src_default.EDGE_LEFT) - yogaNode.getComputedPadding(src_default.EDGE_RIGHT) - yogaNode.getComputedBorder(src_default.EDGE_LEFT) - yogaNode.getComputedBorder(src_default.EDGE_RIGHT);
|
|
40328
41086
|
};
|
|
40329
41087
|
var get_max_width_default = getMaxWidth;
|
|
40330
41088
|
|
|
40331
41089
|
//#endregion
|
|
40332
|
-
//#region
|
|
40333
|
-
var require_boxes = /* @__PURE__ */ __commonJS({ "
|
|
41090
|
+
//#region ../../node_modules/.bun/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json
|
|
41091
|
+
var require_boxes = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json": ((exports, module) => {
|
|
40334
41092
|
module.exports = {
|
|
40335
41093
|
"single": {
|
|
40336
41094
|
"topLeft": "┌",
|
|
@@ -40416,15 +41174,15 @@ var require_boxes = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/cli-boxes
|
|
|
40416
41174
|
}) });
|
|
40417
41175
|
|
|
40418
41176
|
//#endregion
|
|
40419
|
-
//#region
|
|
40420
|
-
var require_cli_boxes = /* @__PURE__ */ __commonJS({ "
|
|
41177
|
+
//#region ../../node_modules/.bun/cli-boxes@3.0.0/node_modules/cli-boxes/index.js
|
|
41178
|
+
var require_cli_boxes = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/cli-boxes@3.0.0/node_modules/cli-boxes/index.js": ((exports, module) => {
|
|
40421
41179
|
const cliBoxes$1 = require_boxes();
|
|
40422
41180
|
module.exports = cliBoxes$1;
|
|
40423
41181
|
module.exports.default = cliBoxes$1;
|
|
40424
41182
|
}) });
|
|
40425
41183
|
|
|
40426
41184
|
//#endregion
|
|
40427
|
-
//#region
|
|
41185
|
+
//#region ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
40428
41186
|
const ANSI_BACKGROUND_OFFSET = 10;
|
|
40429
41187
|
const wrapAnsi16 = (offset = 0) => (code) => `\u001B[${code + offset}m`;
|
|
40430
41188
|
const wrapAnsi256 = (offset = 0) => (code) => `\u001B[${38 + offset};5;${code}m`;
|
|
@@ -40590,7 +41348,7 @@ const ansiStyles = assembleStyles();
|
|
|
40590
41348
|
var ansi_styles_default$1 = ansiStyles;
|
|
40591
41349
|
|
|
40592
41350
|
//#endregion
|
|
40593
|
-
//#region
|
|
41351
|
+
//#region ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
|
|
40594
41352
|
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process$1.argv) {
|
|
40595
41353
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
40596
41354
|
const position = argv.indexOf(prefix + flag);
|
|
@@ -40680,7 +41438,7 @@ const supportsColor = {
|
|
|
40680
41438
|
var supports_color_default = supportsColor;
|
|
40681
41439
|
|
|
40682
41440
|
//#endregion
|
|
40683
|
-
//#region
|
|
41441
|
+
//#region ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
|
|
40684
41442
|
function stringReplaceAll(string, substring, replacer) {
|
|
40685
41443
|
let index = string.indexOf(substring);
|
|
40686
41444
|
if (index === -1) return string;
|
|
@@ -40709,7 +41467,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
40709
41467
|
}
|
|
40710
41468
|
|
|
40711
41469
|
//#endregion
|
|
40712
|
-
//#region
|
|
41470
|
+
//#region ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
40713
41471
|
const { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
40714
41472
|
const GENERATOR = Symbol("GENERATOR");
|
|
40715
41473
|
const STYLER = Symbol("STYLER");
|
|
@@ -40833,7 +41591,7 @@ const chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
|
40833
41591
|
var source_default = chalk;
|
|
40834
41592
|
|
|
40835
41593
|
//#endregion
|
|
40836
|
-
//#region
|
|
41594
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/colorize.js
|
|
40837
41595
|
const rgbRegex = /^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/;
|
|
40838
41596
|
const ansiRegex = /^ansi256\(\s?(\d+)\s?\)$/;
|
|
40839
41597
|
const isNamedColor = (color) => {
|
|
@@ -40865,7 +41623,7 @@ const colorize = (str, color, type) => {
|
|
|
40865
41623
|
var colorize_default = colorize;
|
|
40866
41624
|
|
|
40867
41625
|
//#endregion
|
|
40868
|
-
//#region
|
|
41626
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render-border.js
|
|
40869
41627
|
var import_cli_boxes = /* @__PURE__ */ __toESM(require_cli_boxes(), 1);
|
|
40870
41628
|
const renderBorder = (x, y, node, output) => {
|
|
40871
41629
|
if (node.style.borderStyle) {
|
|
@@ -40906,7 +41664,7 @@ const renderBorder = (x, y, node, output) => {
|
|
|
40906
41664
|
var render_border_default = renderBorder;
|
|
40907
41665
|
|
|
40908
41666
|
//#endregion
|
|
40909
|
-
//#region
|
|
41667
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render-background.js
|
|
40910
41668
|
const renderBackground = (x, y, node, output) => {
|
|
40911
41669
|
if (!node.style.backgroundColor) return;
|
|
40912
41670
|
const width = node.yogaNode.getComputedWidth();
|
|
@@ -40924,7 +41682,7 @@ const renderBackground = (x, y, node, output) => {
|
|
|
40924
41682
|
var render_background_default = renderBackground;
|
|
40925
41683
|
|
|
40926
41684
|
//#endregion
|
|
40927
|
-
//#region
|
|
41685
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render-node-to-output.js
|
|
40928
41686
|
const applyPaddingToText = (node, text) => {
|
|
40929
41687
|
const yogaNode = node.childNodes[0]?.yogaNode;
|
|
40930
41688
|
if (yogaNode) {
|
|
@@ -41016,7 +41774,7 @@ const renderNodeToOutput = (node, output, options) => {
|
|
|
41016
41774
|
var render_node_to_output_default = renderNodeToOutput;
|
|
41017
41775
|
|
|
41018
41776
|
//#endregion
|
|
41019
|
-
//#region
|
|
41777
|
+
//#region ../../node_modules/.bun/@alcalzone+ansi-tokenize@0.2.5/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js
|
|
41020
41778
|
const ESCAPES = new Set([27, 155]);
|
|
41021
41779
|
const CSI = "[".codePointAt(0);
|
|
41022
41780
|
const OSC = "]".codePointAt(0);
|
|
@@ -41051,7 +41809,7 @@ function isIntensityCode(code) {
|
|
|
41051
41809
|
}
|
|
41052
41810
|
|
|
41053
41811
|
//#endregion
|
|
41054
|
-
//#region
|
|
41812
|
+
//#region ../../node_modules/.bun/@alcalzone+ansi-tokenize@0.2.5/node_modules/@alcalzone/ansi-tokenize/build/reduce.js
|
|
41055
41813
|
/** Reduces the given array of ANSI codes to the minimum necessary to render with the same style */
|
|
41056
41814
|
function reduceAnsiCodes(codes) {
|
|
41057
41815
|
return reduceAnsiCodesIncremental([], codes);
|
|
@@ -41071,7 +41829,7 @@ function reduceAnsiCodesIncremental(codes, newCodes) {
|
|
|
41071
41829
|
}
|
|
41072
41830
|
|
|
41073
41831
|
//#endregion
|
|
41074
|
-
//#region
|
|
41832
|
+
//#region ../../node_modules/.bun/@alcalzone+ansi-tokenize@0.2.5/node_modules/@alcalzone/ansi-tokenize/build/undo.js
|
|
41075
41833
|
/** Returns the combination of ANSI codes needed to undo the given ANSI codes */
|
|
41076
41834
|
function undoAnsiCodes(codes) {
|
|
41077
41835
|
return reduceAnsiCodes(codes).reverse().map((code) => ({
|
|
@@ -41081,7 +41839,7 @@ function undoAnsiCodes(codes) {
|
|
|
41081
41839
|
}
|
|
41082
41840
|
|
|
41083
41841
|
//#endregion
|
|
41084
|
-
//#region
|
|
41842
|
+
//#region ../../node_modules/.bun/@alcalzone+ansi-tokenize@0.2.5/node_modules/@alcalzone/ansi-tokenize/build/diff.js
|
|
41085
41843
|
/**
|
|
41086
41844
|
* Returns the minimum amount of ANSI codes necessary to get from the compound style `from` to `to`.
|
|
41087
41845
|
* Both `from` and `to` are expected to be reduced.
|
|
@@ -41097,7 +41855,7 @@ function diffAnsiCodes(from, to) {
|
|
|
41097
41855
|
}
|
|
41098
41856
|
|
|
41099
41857
|
//#endregion
|
|
41100
|
-
//#region
|
|
41858
|
+
//#region ../../node_modules/.bun/@alcalzone+ansi-tokenize@0.2.5/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js
|
|
41101
41859
|
function styledCharsFromTokens(tokens) {
|
|
41102
41860
|
let codes = [];
|
|
41103
41861
|
const ret = [];
|
|
@@ -41121,7 +41879,7 @@ function styledCharsToString(chars) {
|
|
|
41121
41879
|
}
|
|
41122
41880
|
|
|
41123
41881
|
//#endregion
|
|
41124
|
-
//#region
|
|
41882
|
+
//#region ../../node_modules/.bun/@alcalzone+ansi-tokenize@0.2.5/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js
|
|
41125
41883
|
const segmenter = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
41126
41884
|
function isFullwidthGrapheme(grapheme, baseCodePoint) {
|
|
41127
41885
|
if (isFullwidthCodePoint(baseCodePoint)) return true;
|
|
@@ -41233,7 +41991,7 @@ function tokenize(str, endChar = Number.POSITIVE_INFINITY) {
|
|
|
41233
41991
|
}
|
|
41234
41992
|
|
|
41235
41993
|
//#endregion
|
|
41236
|
-
//#region
|
|
41994
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/output.js
|
|
41237
41995
|
var OutputCaches = class {
|
|
41238
41996
|
widths = /* @__PURE__ */ new Map();
|
|
41239
41997
|
blockWidths = /* @__PURE__ */ new Map();
|
|
@@ -41375,7 +42133,7 @@ var Output = class {
|
|
|
41375
42133
|
};
|
|
41376
42134
|
|
|
41377
42135
|
//#endregion
|
|
41378
|
-
//#region
|
|
42136
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/renderer.js
|
|
41379
42137
|
const renderer = (node, isScreenReaderEnabled) => {
|
|
41380
42138
|
if (node.yogaNode) {
|
|
41381
42139
|
if (isScreenReaderEnabled) {
|
|
@@ -41418,8 +42176,8 @@ const renderer = (node, isScreenReaderEnabled) => {
|
|
|
41418
42176
|
var renderer_default = renderer;
|
|
41419
42177
|
|
|
41420
42178
|
//#endregion
|
|
41421
|
-
//#region
|
|
41422
|
-
var require_mimic_fn = /* @__PURE__ */ __commonJS({ "
|
|
42179
|
+
//#region ../../node_modules/.bun/mimic-fn@2.1.0/node_modules/mimic-fn/index.js
|
|
42180
|
+
var require_mimic_fn = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/mimic-fn@2.1.0/node_modules/mimic-fn/index.js": ((exports, module) => {
|
|
41423
42181
|
const mimicFn$1 = (to, from) => {
|
|
41424
42182
|
for (const prop of Reflect.ownKeys(from)) Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
|
|
41425
42183
|
return to;
|
|
@@ -41429,8 +42187,8 @@ var require_mimic_fn = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/mimic-
|
|
|
41429
42187
|
}) });
|
|
41430
42188
|
|
|
41431
42189
|
//#endregion
|
|
41432
|
-
//#region
|
|
41433
|
-
var require_onetime = /* @__PURE__ */ __commonJS({ "
|
|
42190
|
+
//#region ../../node_modules/.bun/onetime@5.1.2/node_modules/onetime/index.js
|
|
42191
|
+
var require_onetime = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/onetime@5.1.2/node_modules/onetime/index.js": ((exports, module) => {
|
|
41434
42192
|
const mimicFn = require_mimic_fn();
|
|
41435
42193
|
const calledFunctions = /* @__PURE__ */ new WeakMap();
|
|
41436
42194
|
const onetime$1 = (function_, options = {}) => {
|
|
@@ -41459,7 +42217,7 @@ var require_onetime = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/onetime
|
|
|
41459
42217
|
}) });
|
|
41460
42218
|
|
|
41461
42219
|
//#endregion
|
|
41462
|
-
//#region
|
|
42220
|
+
//#region ../../node_modules/.bun/restore-cursor@4.0.0/node_modules/restore-cursor/index.js
|
|
41463
42221
|
var import_onetime = /* @__PURE__ */ __toESM(require_onetime(), 1);
|
|
41464
42222
|
var import_signal_exit$1 = /* @__PURE__ */ __toESM(require_signal_exit(), 1);
|
|
41465
42223
|
const restoreCursor = (0, import_onetime.default)(() => {
|
|
@@ -41470,7 +42228,7 @@ const restoreCursor = (0, import_onetime.default)(() => {
|
|
|
41470
42228
|
var restore_cursor_default = restoreCursor;
|
|
41471
42229
|
|
|
41472
42230
|
//#endregion
|
|
41473
|
-
//#region
|
|
42231
|
+
//#region ../../node_modules/.bun/cli-cursor@4.0.0/node_modules/cli-cursor/index.js
|
|
41474
42232
|
let isHidden = false;
|
|
41475
42233
|
const cliCursor = {};
|
|
41476
42234
|
cliCursor.show = (writableStream = process$1.stderr) => {
|
|
@@ -41492,7 +42250,7 @@ cliCursor.toggle = (force$1, writableStream) => {
|
|
|
41492
42250
|
var cli_cursor_default = cliCursor;
|
|
41493
42251
|
|
|
41494
42252
|
//#endregion
|
|
41495
|
-
//#region
|
|
42253
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/cursor-helpers.js
|
|
41496
42254
|
const showCursorEscape = "\x1B[?25h";
|
|
41497
42255
|
const hideCursorEscape = "\x1B[?25l";
|
|
41498
42256
|
/**
|
|
@@ -41537,7 +42295,7 @@ const buildReturnToBottomPrefix = (cursorWasShown, previousLineCount, previousCu
|
|
|
41537
42295
|
};
|
|
41538
42296
|
|
|
41539
42297
|
//#endregion
|
|
41540
|
-
//#region
|
|
42298
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/log-update.js
|
|
41541
42299
|
const visibleLineCount = (lines, str) => str.endsWith("\n") ? lines.length - 1 : lines.length;
|
|
41542
42300
|
const createStandard = (stream, { showCursor = false } = {}) => {
|
|
41543
42301
|
let previousLineCount = 0;
|
|
@@ -41734,7 +42492,7 @@ const logUpdate = { create };
|
|
|
41734
42492
|
var log_update_default = logUpdate;
|
|
41735
42493
|
|
|
41736
42494
|
//#endregion
|
|
41737
|
-
//#region
|
|
42495
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/write-synchronized.js
|
|
41738
42496
|
const bsu = "\x1B[?2026h";
|
|
41739
42497
|
const esu = "\x1B[?2026l";
|
|
41740
42498
|
function shouldSynchronize(stream) {
|
|
@@ -41742,12 +42500,12 @@ function shouldSynchronize(stream) {
|
|
|
41742
42500
|
}
|
|
41743
42501
|
|
|
41744
42502
|
//#endregion
|
|
41745
|
-
//#region
|
|
42503
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/instances.js
|
|
41746
42504
|
const instances = /* @__PURE__ */ new WeakMap();
|
|
41747
42505
|
var instances_default = instances;
|
|
41748
42506
|
|
|
41749
42507
|
//#endregion
|
|
41750
|
-
//#region
|
|
42508
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/input-parser.js
|
|
41751
42509
|
const escape$1 = "\x1B";
|
|
41752
42510
|
const isCsiParameterByte = (byte) => {
|
|
41753
42511
|
return byte >= 48 && byte <= 63;
|
|
@@ -41870,7 +42628,7 @@ const createInputParser = () => {
|
|
|
41870
42628
|
};
|
|
41871
42629
|
|
|
41872
42630
|
//#endregion
|
|
41873
|
-
//#region
|
|
42631
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/AppContext.js
|
|
41874
42632
|
/**
|
|
41875
42633
|
`AppContext` is a React context that exposes a method to manually exit the app (unmount).
|
|
41876
42634
|
*/
|
|
@@ -41879,7 +42637,7 @@ AppContext.displayName = "InternalAppContext";
|
|
|
41879
42637
|
var AppContext_default = AppContext;
|
|
41880
42638
|
|
|
41881
42639
|
//#endregion
|
|
41882
|
-
//#region
|
|
42640
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/StdinContext.js
|
|
41883
42641
|
/**
|
|
41884
42642
|
`StdinContext` is a React context that exposes the input stream.
|
|
41885
42643
|
*/
|
|
@@ -41894,7 +42652,7 @@ StdinContext.displayName = "InternalStdinContext";
|
|
|
41894
42652
|
var StdinContext_default = StdinContext;
|
|
41895
42653
|
|
|
41896
42654
|
//#endregion
|
|
41897
|
-
//#region
|
|
42655
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/StdoutContext.js
|
|
41898
42656
|
/**
|
|
41899
42657
|
`StdoutContext` is a React context that exposes the stdout stream where Ink renders your app.
|
|
41900
42658
|
*/
|
|
@@ -41906,7 +42664,7 @@ StdoutContext.displayName = "InternalStdoutContext";
|
|
|
41906
42664
|
var StdoutContext_default = StdoutContext;
|
|
41907
42665
|
|
|
41908
42666
|
//#endregion
|
|
41909
|
-
//#region
|
|
42667
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/StderrContext.js
|
|
41910
42668
|
/**
|
|
41911
42669
|
`StderrContext` is a React context that exposes the stderr stream.
|
|
41912
42670
|
*/
|
|
@@ -41918,7 +42676,7 @@ StderrContext.displayName = "InternalStderrContext";
|
|
|
41918
42676
|
var StderrContext_default = StderrContext;
|
|
41919
42677
|
|
|
41920
42678
|
//#endregion
|
|
41921
|
-
//#region
|
|
42679
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/FocusContext.js
|
|
41922
42680
|
const FocusContext = (0, import_react.createContext)({
|
|
41923
42681
|
activeId: void 0,
|
|
41924
42682
|
add() {},
|
|
@@ -41935,14 +42693,14 @@ FocusContext.displayName = "InternalFocusContext";
|
|
|
41935
42693
|
var FocusContext_default = FocusContext;
|
|
41936
42694
|
|
|
41937
42695
|
//#endregion
|
|
41938
|
-
//#region
|
|
42696
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/CursorContext.js
|
|
41939
42697
|
const CursorContext = (0, import_react.createContext)({ setCursorPosition() {} });
|
|
41940
42698
|
CursorContext.displayName = "InternalCursorContext";
|
|
41941
42699
|
var CursorContext_default = CursorContext;
|
|
41942
42700
|
|
|
41943
42701
|
//#endregion
|
|
41944
|
-
//#region
|
|
41945
|
-
var require_escape_string_regexp = /* @__PURE__ */ __commonJS({ "
|
|
42702
|
+
//#region ../../node_modules/.bun/escape-string-regexp@2.0.0/node_modules/escape-string-regexp/index.js
|
|
42703
|
+
var require_escape_string_regexp = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/escape-string-regexp@2.0.0/node_modules/escape-string-regexp/index.js": ((exports, module) => {
|
|
41946
42704
|
const matchOperatorsRegex = /[|\\{}()[\]^$+*?.-]/g;
|
|
41947
42705
|
module.exports = (string) => {
|
|
41948
42706
|
if (typeof string !== "string") throw new TypeError("Expected a string");
|
|
@@ -41951,8 +42709,8 @@ var require_escape_string_regexp = /* @__PURE__ */ __commonJS({ "../node_modules
|
|
|
41951
42709
|
}) });
|
|
41952
42710
|
|
|
41953
42711
|
//#endregion
|
|
41954
|
-
//#region
|
|
41955
|
-
var require_stack_utils = /* @__PURE__ */ __commonJS({ "
|
|
42712
|
+
//#region ../../node_modules/.bun/stack-utils@2.0.6/node_modules/stack-utils/index.js
|
|
42713
|
+
var require_stack_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/stack-utils@2.0.6/node_modules/stack-utils/index.js": ((exports, module) => {
|
|
41956
42714
|
const escapeStringRegexp = require_escape_string_regexp();
|
|
41957
42715
|
const cwd$1 = typeof process === "object" && process && typeof process.cwd === "function" ? process.cwd() : ".";
|
|
41958
42716
|
const natives = [].concat(__require("module").builtinModules, "bootstrap_node", "node").map((n) => /* @__PURE__ */ new RegExp(`(?:\\((?:node:)?${n}(?:\\.js)?:\\d+:\\d+\\)$|^\\s*at (?:node:)?${n}(?:\\.js)?:\\d+:\\d+$)`));
|
|
@@ -42116,10 +42874,10 @@ var require_stack_utils = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/sta
|
|
|
42116
42874
|
return res;
|
|
42117
42875
|
}
|
|
42118
42876
|
};
|
|
42119
|
-
function setFile(result, filename, cwd$
|
|
42877
|
+
function setFile(result, filename, cwd$3) {
|
|
42120
42878
|
if (filename) {
|
|
42121
42879
|
filename = filename.replace(/\\/g, "/");
|
|
42122
|
-
if (filename.startsWith(`${cwd$
|
|
42880
|
+
if (filename.startsWith(`${cwd$3}/`)) filename = filename.slice(cwd$3.length + 1);
|
|
42123
42881
|
result.file = filename;
|
|
42124
42882
|
}
|
|
42125
42883
|
}
|
|
@@ -42134,14 +42892,14 @@ var require_stack_utils = /* @__PURE__ */ __commonJS({ "../node_modules/.bun/sta
|
|
|
42134
42892
|
}) });
|
|
42135
42893
|
|
|
42136
42894
|
//#endregion
|
|
42137
|
-
//#region
|
|
42895
|
+
//#region ../../node_modules/.bun/convert-to-spaces@2.0.1/node_modules/convert-to-spaces/dist/index.js
|
|
42138
42896
|
const convertToSpaces = (input, spaces = 2) => {
|
|
42139
42897
|
return input.replace(/^\t+/gm, ($1) => " ".repeat($1.length * spaces));
|
|
42140
42898
|
};
|
|
42141
42899
|
var dist_default$2 = convertToSpaces;
|
|
42142
42900
|
|
|
42143
42901
|
//#endregion
|
|
42144
|
-
//#region
|
|
42902
|
+
//#region ../../node_modules/.bun/code-excerpt@4.0.0/node_modules/code-excerpt/dist/index.js
|
|
42145
42903
|
const generateLineNumbers = (line, around) => {
|
|
42146
42904
|
const lineNumbers = [];
|
|
42147
42905
|
const min = line - around;
|
|
@@ -42163,15 +42921,15 @@ const codeExcerpt = (source, line, options = {}) => {
|
|
|
42163
42921
|
var dist_default$1 = codeExcerpt;
|
|
42164
42922
|
|
|
42165
42923
|
//#endregion
|
|
42166
|
-
//#region
|
|
42924
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/AccessibilityContext.js
|
|
42167
42925
|
const accessibilityContext = (0, import_react.createContext)({ isScreenReaderEnabled: false });
|
|
42168
42926
|
|
|
42169
42927
|
//#endregion
|
|
42170
|
-
//#region
|
|
42928
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/BackgroundContext.js
|
|
42171
42929
|
const backgroundContext = (0, import_react.createContext)(void 0);
|
|
42172
42930
|
|
|
42173
42931
|
//#endregion
|
|
42174
|
-
//#region
|
|
42932
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/Box.js
|
|
42175
42933
|
/**
|
|
42176
42934
|
`<Box>` is an essential Ink component to build your layout. It's like `<div style="display: flex">` in the browser.
|
|
42177
42935
|
*/
|
|
@@ -42203,7 +42961,7 @@ Box.displayName = "Box";
|
|
|
42203
42961
|
var Box_default = Box;
|
|
42204
42962
|
|
|
42205
42963
|
//#endregion
|
|
42206
|
-
//#region
|
|
42964
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/Text.js
|
|
42207
42965
|
/**
|
|
42208
42966
|
This component can display text and change its style to make it bold, underlined, italic, or strikethrough.
|
|
42209
42967
|
*/
|
|
@@ -42237,7 +42995,7 @@ function Text({ color, backgroundColor, dimColor = false, bold = false, italic =
|
|
|
42237
42995
|
}
|
|
42238
42996
|
|
|
42239
42997
|
//#endregion
|
|
42240
|
-
//#region
|
|
42998
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/ErrorOverview.js
|
|
42241
42999
|
var import_stack_utils = /* @__PURE__ */ __toESM(require_stack_utils(), 1);
|
|
42242
43000
|
const cleanupPath = (path) => {
|
|
42243
43001
|
return path?.replace(`file://${cwd()}/`, "");
|
|
@@ -42295,7 +43053,7 @@ function ErrorOverview({ error }) {
|
|
|
42295
43053
|
}
|
|
42296
43054
|
|
|
42297
43055
|
//#endregion
|
|
42298
|
-
//#region
|
|
43056
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/ErrorBoundary.js
|
|
42299
43057
|
var ErrorBoundary = class extends import_react.PureComponent {
|
|
42300
43058
|
static displayName = "InternalErrorBoundary";
|
|
42301
43059
|
static getDerivedStateFromError(error) {
|
|
@@ -42312,7 +43070,7 @@ var ErrorBoundary = class extends import_react.PureComponent {
|
|
|
42312
43070
|
};
|
|
42313
43071
|
|
|
42314
43072
|
//#endregion
|
|
42315
|
-
//#region
|
|
43073
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/App.js
|
|
42316
43074
|
const tab = " ";
|
|
42317
43075
|
const shiftTab = "\x1B[Z";
|
|
42318
43076
|
const escape = "\x1B";
|
|
@@ -42590,7 +43348,7 @@ App.displayName = "InternalApp";
|
|
|
42590
43348
|
var App_default = App;
|
|
42591
43349
|
|
|
42592
43350
|
//#endregion
|
|
42593
|
-
//#region
|
|
43351
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/kitty-keyboard.js
|
|
42594
43352
|
const kittyFlags = {
|
|
42595
43353
|
disambiguateEscapeCodes: 1,
|
|
42596
43354
|
reportEventTypes: 2,
|
|
@@ -42615,7 +43373,7 @@ const kittyModifiers = {
|
|
|
42615
43373
|
};
|
|
42616
43374
|
|
|
42617
43375
|
//#endregion
|
|
42618
|
-
//#region
|
|
43376
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/ink.js
|
|
42619
43377
|
var import_signal_exit = /* @__PURE__ */ __toESM(require_signal_exit(), 1);
|
|
42620
43378
|
var import_constants$1 = /* @__PURE__ */ __toESM(require_constants$1(), 1);
|
|
42621
43379
|
const noop = () => {};
|
|
@@ -42962,8 +43720,8 @@ var Ink = class {
|
|
|
42962
43720
|
else setImmediate(resolveOrReject);
|
|
42963
43721
|
}
|
|
42964
43722
|
async waitUntilExit() {
|
|
42965
|
-
this.exitPromise ||= new Promise((resolve, reject) => {
|
|
42966
|
-
this.resolveExitPromise = resolve;
|
|
43723
|
+
this.exitPromise ||= new Promise((resolve$1, reject) => {
|
|
43724
|
+
this.resolveExitPromise = resolve$1;
|
|
42967
43725
|
this.rejectExitPromise = reject;
|
|
42968
43726
|
});
|
|
42969
43727
|
if (!this.beforeExitHandler) {
|
|
@@ -43035,7 +43793,7 @@ var Ink = class {
|
|
|
43035
43793
|
};
|
|
43036
43794
|
|
|
43037
43795
|
//#endregion
|
|
43038
|
-
//#region
|
|
43796
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render.js
|
|
43039
43797
|
/**
|
|
43040
43798
|
Mount a component and render the output.
|
|
43041
43799
|
*/
|
|
@@ -43082,11 +43840,11 @@ const getInstance = (stdout, createInstance, concurrent) => {
|
|
|
43082
43840
|
};
|
|
43083
43841
|
|
|
43084
43842
|
//#endregion
|
|
43085
|
-
//#region
|
|
43843
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render-to-string.js
|
|
43086
43844
|
var import_constants = /* @__PURE__ */ __toESM(require_constants$1(), 1);
|
|
43087
43845
|
|
|
43088
43846
|
//#endregion
|
|
43089
|
-
//#region
|
|
43847
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/parse-keypress.js
|
|
43090
43848
|
const metaKeyCodeRe = /^(?:\x1b)([a-zA-Z0-9])$/;
|
|
43091
43849
|
const fnKeyRe = /^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/;
|
|
43092
43850
|
const keyName = {
|
|
@@ -43480,7 +44238,7 @@ const parseKeypress = (s = "") => {
|
|
|
43480
44238
|
var parse_keypress_default = parseKeypress;
|
|
43481
44239
|
|
|
43482
44240
|
//#endregion
|
|
43483
|
-
//#region
|
|
44241
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/hooks/use-stdin.js
|
|
43484
44242
|
/**
|
|
43485
44243
|
`useStdin` is a React hook that exposes the stdin stream.
|
|
43486
44244
|
*/
|
|
@@ -43488,7 +44246,7 @@ const useStdin = () => (0, import_react.useContext)(StdinContext_default);
|
|
|
43488
44246
|
var use_stdin_default = useStdin;
|
|
43489
44247
|
|
|
43490
44248
|
//#endregion
|
|
43491
|
-
//#region
|
|
44249
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/hooks/use-input.js
|
|
43492
44250
|
/**
|
|
43493
44251
|
This hook is used for handling user input. It's a more convenient alternative to using `StdinContext` and listening for `data` events. The callback you pass to `useInput` is called for each character when the user enters any input. However, if the user pastes text and it's more than one character, the callback will be called only once, and the whole string will be passed as `input`.
|
|
43494
44252
|
|
|
@@ -43573,7 +44331,7 @@ const useInput = (inputHandler, options = {}) => {
|
|
|
43573
44331
|
var use_input_default = useInput;
|
|
43574
44332
|
|
|
43575
44333
|
//#endregion
|
|
43576
|
-
//#region
|
|
44334
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/hooks/use-app.js
|
|
43577
44335
|
/**
|
|
43578
44336
|
`useApp` is a React hook that exposes a method to manually exit the app (unmount).
|
|
43579
44337
|
*/
|
|
@@ -43684,8 +44442,8 @@ const deriveAction = (actions) => {
|
|
|
43684
44442
|
};
|
|
43685
44443
|
|
|
43686
44444
|
//#endregion
|
|
43687
|
-
//#region
|
|
43688
|
-
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJS({ "
|
|
44445
|
+
//#region ../../node_modules/.bun/react@19.2.5/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
44446
|
+
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.5/node_modules/react/cjs/react-jsx-runtime.production.js": ((exports) => {
|
|
43689
44447
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
43690
44448
|
function jsxProd(type, config, maybeKey) {
|
|
43691
44449
|
var key = null;
|
|
@@ -43709,8 +44467,8 @@ var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJS({ "../node
|
|
|
43709
44467
|
}) });
|
|
43710
44468
|
|
|
43711
44469
|
//#endregion
|
|
43712
|
-
//#region
|
|
43713
|
-
var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJS({ "
|
|
44470
|
+
//#region ../../node_modules/.bun/react@19.2.5/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
44471
|
+
var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.5/node_modules/react/cjs/react-jsx-runtime.development.js": ((exports) => {
|
|
43714
44472
|
"production" !== process.env.NODE_ENV && (function() {
|
|
43715
44473
|
function getComponentNameFromType(type) {
|
|
43716
44474
|
if (null == type) return null;
|
|
@@ -43900,8 +44658,8 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJS({ "../nod
|
|
|
43900
44658
|
}) });
|
|
43901
44659
|
|
|
43902
44660
|
//#endregion
|
|
43903
|
-
//#region
|
|
43904
|
-
var require_jsx_runtime = /* @__PURE__ */ __commonJS({ "
|
|
44661
|
+
//#region ../../node_modules/.bun/react@19.2.5/node_modules/react/jsx-runtime.js
|
|
44662
|
+
var require_jsx_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.5/node_modules/react/jsx-runtime.js": ((exports, module) => {
|
|
43905
44663
|
if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
|
|
43906
44664
|
else module.exports = require_react_jsx_runtime_development();
|
|
43907
44665
|
}) });
|
|
@@ -44348,23 +45106,13 @@ const startApplySession = Effect.fn(function* (plan) {
|
|
|
44348
45106
|
};
|
|
44349
45107
|
});
|
|
44350
45108
|
|
|
44351
|
-
//#endregion
|
|
44352
|
-
//#region src/Config.ts
|
|
44353
|
-
var DotAlchemy = class extends Context.Service()(".alchemy") {};
|
|
44354
|
-
const dotAlchemy = Layer.effect(DotAlchemy, Effect.gen(function* () {
|
|
44355
|
-
const fs$2 = yield* FileSystem.FileSystem;
|
|
44356
|
-
const dir = (yield* Path$1.Path).join(process.cwd(), ".alchemy");
|
|
44357
|
-
yield* fs$2.makeDirectory(dir, { recursive: true });
|
|
44358
|
-
return dir;
|
|
44359
|
-
}));
|
|
44360
|
-
|
|
44361
45109
|
//#endregion
|
|
44362
45110
|
//#region src/Util/types.ts
|
|
44363
45111
|
const asEffect = (effect) => Effect.isEffect(effect) ? effect : Effect.succeed(effect);
|
|
44364
45112
|
|
|
44365
45113
|
//#endregion
|
|
44366
45114
|
//#region src/Plan.ts
|
|
44367
|
-
const make = (stack, options = {}) =>
|
|
45115
|
+
const make = (stack, options = {}) => Effect.gen(function* () {
|
|
44368
45116
|
const state = yield* State;
|
|
44369
45117
|
const resources = Object.values(stack.resources);
|
|
44370
45118
|
const stackName = stack.name;
|
|
@@ -44382,7 +45130,7 @@ const make = (stack, options = {}) => ensureArtifactStore(Effect.gen(function* (
|
|
|
44382
45130
|
const resolveResource = (resourceExpr) => Effect.gen(function* () {
|
|
44383
45131
|
return yield* resolvedResources[resourceExpr.src.FQN] ??= yield* Effect.cached(Effect.gen(function* () {
|
|
44384
45132
|
const resource = resourceExpr.src;
|
|
44385
|
-
const provider = yield*
|
|
45133
|
+
const provider = yield* findProviderByType(resource.Type);
|
|
44386
45134
|
const props = yield* resolveInput(resource.Props);
|
|
44387
45135
|
const oldState = yield* state.get({
|
|
44388
45136
|
stack: stackName,
|
|
@@ -44449,7 +45197,7 @@ const make = (stack, options = {}) => ensureArtifactStore(Effect.gen(function* (
|
|
|
44449
45197
|
}));
|
|
44450
45198
|
const newDownstreamDependencies = Object.fromEntries(resources.map((resource) => [resource.FQN, Object.entries(newUpstreamDependencies).filter(([_, upstream$1]) => upstream$1.includes(resource.FQN)).map(([depFqn]) => depFqn)]));
|
|
44451
45199
|
const resourceGraph = Object.fromEntries((yield* Effect.all(resources.map(Effect.fn(function* (resource) {
|
|
44452
|
-
const provider = yield*
|
|
45200
|
+
const provider = yield* findProviderByType(resource.Type);
|
|
44453
45201
|
const id = resource.LogicalId;
|
|
44454
45202
|
const fqn = resource.FQN;
|
|
44455
45203
|
const news = yield* resolveInput(resource.Props);
|
|
@@ -44632,7 +45380,7 @@ const make = (stack, options = {}) => ensureArtifactStore(Effect.gen(function* (
|
|
|
44632
45380
|
if (oldState) {
|
|
44633
45381
|
const { logicalId } = parseFqn(fqn);
|
|
44634
45382
|
const resourceType = oldState.resourceType;
|
|
44635
|
-
const provider = yield*
|
|
45383
|
+
const provider = yield* findProviderByType(resourceType);
|
|
44636
45384
|
if (oldState.attr === void 0) {
|
|
44637
45385
|
if (provider.read) attr = yield* provider.read({
|
|
44638
45386
|
id: logicalId,
|
|
@@ -44658,7 +45406,8 @@ const make = (stack, options = {}) => ensureArtifactStore(Effect.gen(function* (
|
|
|
44658
45406
|
Binding: void 0,
|
|
44659
45407
|
Provider: Provider(resourceType),
|
|
44660
45408
|
RemovalPolicy: oldState.removalPolicy,
|
|
44661
|
-
ExecutionContext: void 0
|
|
45409
|
+
ExecutionContext: void 0,
|
|
45410
|
+
Providers: void 0
|
|
44662
45411
|
},
|
|
44663
45412
|
downstream: oldDownstreamDependencies[fqn] ?? [],
|
|
44664
45413
|
bindings: oldState.bindings.map((binding) => ({
|
|
@@ -44682,230 +45431,120 @@ const make = (stack, options = {}) => ensureArtifactStore(Effect.gen(function* (
|
|
|
44682
45431
|
deletions,
|
|
44683
45432
|
output: stack.output
|
|
44684
45433
|
};
|
|
44685
|
-
}));
|
|
45434
|
+
}).pipe(ensureArtifactStore);
|
|
44686
45435
|
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))));
|
|
44687
45436
|
var DeleteResourceHasDownstreamDependencies = class extends Data.TaggedError("DeleteResourceHasDownstreamDependencies") {};
|
|
44688
45437
|
var UnsatisfiedResourceCycle = class extends Data.TaggedError("UnsatisfiedResourceCycle") {};
|
|
44689
45438
|
|
|
44690
45439
|
//#endregion
|
|
44691
|
-
//#region
|
|
44692
|
-
const
|
|
44693
|
-
|
|
44694
|
-
|
|
44695
|
-
|
|
44696
|
-
|
|
44697
|
-
|
|
44698
|
-
|
|
44699
|
-
|
|
44700
|
-
|
|
44701
|
-
|
|
44702
|
-
|
|
44703
|
-
|
|
44704
|
-
|
|
44705
|
-
|
|
44706
|
-
|
|
44707
|
-
|
|
44708
|
-
|
|
45440
|
+
//#region bin/commands/deploy.ts
|
|
45441
|
+
const execStack = Effect.fn(function* ({ main: main$1, stage: stage$1, envFile: envFile$1, profile: profile$1, dryRun: dryRun$1 = false, force: force$1 = false, yes: yes$1 = false, destroy = false }) {
|
|
45442
|
+
const stackEffect = yield* importStack(main$1);
|
|
45443
|
+
const services$1 = Layer.mergeAll(Layer.succeed(ArtifactStore, createArtifactStore()), Layer.succeed(AuthProviders, {}), ConfigProvider.layer(withProfileOverride(yield* loadConfigProvider(envFile$1), profile$1)), inkCLI(), Logger.layer([fileLogger("out")]), Layer.succeed(Stage, stage$1), LocalState);
|
|
45444
|
+
yield* Effect.gen(function* () {
|
|
45445
|
+
const cli$1 = yield* Cli;
|
|
45446
|
+
const stack = yield* stackEffect;
|
|
45447
|
+
yield* Effect.gen(function* () {
|
|
45448
|
+
const updatePlan = yield* make(destroy ? {
|
|
45449
|
+
...stack,
|
|
45450
|
+
resources: {},
|
|
45451
|
+
bindings: {},
|
|
45452
|
+
output: {}
|
|
45453
|
+
} : stack, { force: force$1 });
|
|
45454
|
+
if (dryRun$1) yield* cli$1.displayPlan(updatePlan);
|
|
45455
|
+
else {
|
|
45456
|
+
if (!yes$1) {
|
|
45457
|
+
if (!(yield* cli$1.approvePlan(updatePlan))) return;
|
|
45458
|
+
}
|
|
45459
|
+
const outputs = yield* apply(updatePlan);
|
|
45460
|
+
yield* Console.log(outputs);
|
|
45461
|
+
}
|
|
45462
|
+
}).pipe(Effect.provide(stack.services));
|
|
45463
|
+
}).pipe(Effect.provide(services$1));
|
|
44709
45464
|
});
|
|
44710
|
-
|
|
44711
|
-
//#endregion
|
|
44712
|
-
//#region bin/alchemy-effect.ts
|
|
44713
|
-
const USER = Config.string("USER").pipe(Config.orElse(() => Config.string("USERNAME")), Config.withDefault("unknown"));
|
|
44714
|
-
const STAGE = Config.string("stage").pipe(Config.option, (a) => a.asEffect(), Effect.map(Option.getOrUndefined));
|
|
44715
|
-
const stage = Flag.string("stage").pipe(Flag.withSchema(S.String.check(S.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) {
|
|
44716
|
-
if (stage$1) return stage$1;
|
|
44717
|
-
return yield* STAGE.pipe(Effect.catch(() => Effect.fail(new CliError.MissingOption({ option: "stage" }))), Effect.flatMap((s) => s === void 0 ? USER.asEffect().pipe(Effect.map((user) => `dev_${user}`), Effect.catch(() => Effect.succeed("unknown"))) : Effect.succeed(s)));
|
|
44718
|
-
})));
|
|
44719
|
-
const envFile = Flag.file("env-file").pipe(Flag.optional, Flag.withDescription("File to load environment variables from, defaults to .env"));
|
|
44720
|
-
const dryRun = Flag.boolean("dry-run").pipe(Flag.withDescription("Dry run the deployment, do not actually deploy"), Flag.withDefault(false));
|
|
44721
|
-
const yes = Flag.boolean("yes").pipe(Flag.withDescription("Yes to all prompts"), Flag.withDefault(false));
|
|
44722
|
-
const force = Flag.boolean("force").pipe(Flag.withDescription("Force updates for resources that would otherwise no-op"), Flag.withDefault(false));
|
|
44723
|
-
const main = Argument.file("main", { mustExist: true }).pipe(Argument.withDescription("Main file to deploy, defaults to alchemy.run.ts"), Argument.withDefault("alchemy.run.ts"));
|
|
44724
|
-
const deployCommand = Command.make("deploy", {
|
|
45465
|
+
const deployCommand = Command$1.make("deploy", {
|
|
44725
45466
|
dryRun,
|
|
44726
45467
|
force,
|
|
44727
45468
|
main,
|
|
44728
45469
|
envFile,
|
|
44729
45470
|
stage,
|
|
44730
|
-
yes
|
|
44731
|
-
|
|
44732
|
-
|
|
45471
|
+
yes,
|
|
45472
|
+
profile
|
|
45473
|
+
}, execStack);
|
|
45474
|
+
const destroyCommand = Command$1.make("destroy", {
|
|
44733
45475
|
dryRun,
|
|
44734
45476
|
main,
|
|
44735
45477
|
envFile,
|
|
44736
45478
|
stage,
|
|
44737
|
-
yes
|
|
45479
|
+
yes,
|
|
45480
|
+
profile
|
|
44738
45481
|
}, (args) => execStack({
|
|
44739
45482
|
...args,
|
|
44740
45483
|
destroy: true
|
|
44741
45484
|
}));
|
|
44742
|
-
const planCommand = Command.make("plan", {
|
|
45485
|
+
const planCommand = Command$1.make("plan", {
|
|
44743
45486
|
main,
|
|
44744
45487
|
envFile,
|
|
44745
|
-
stage
|
|
45488
|
+
stage,
|
|
45489
|
+
profile
|
|
44746
45490
|
}, (args) => execStack({
|
|
44747
45491
|
...args,
|
|
44748
45492
|
dryRun: true
|
|
44749
45493
|
}));
|
|
44750
|
-
|
|
44751
|
-
|
|
44752
|
-
|
|
44753
|
-
|
|
44754
|
-
|
|
44755
|
-
const platform$1 = Layer.mergeAll(NodeServices.layer, FetchHttpClient.layer);
|
|
44756
|
-
const rootLogger = Logger.layer([fileLogger("out")]);
|
|
44757
|
-
const alchemy = Layer.mergeAll(LocalState, inkCLI(), Layer.provideMerge(rootLogger, dotAlchemy));
|
|
44758
|
-
yield* Effect.gen(function* () {
|
|
44759
|
-
const cli = yield* Cli;
|
|
44760
|
-
const stack = yield* stackEffect;
|
|
44761
|
-
yield* Effect.gen(function* () {
|
|
44762
|
-
const updatePlan = yield* make(destroy ? {
|
|
44763
|
-
...stack,
|
|
44764
|
-
resources: {},
|
|
44765
|
-
bindings: {},
|
|
44766
|
-
output: {}
|
|
44767
|
-
} : stack, { force: force$1 });
|
|
44768
|
-
if (dryRun$1) yield* cli.displayPlan(updatePlan);
|
|
44769
|
-
else {
|
|
44770
|
-
if (!yes$1) {
|
|
44771
|
-
if (!(yield* cli.approvePlan(updatePlan))) return;
|
|
44772
|
-
}
|
|
44773
|
-
const outputs = yield* apply(updatePlan);
|
|
44774
|
-
yield* Console.log(outputs);
|
|
44775
|
-
}
|
|
44776
|
-
}).pipe(Effect.provide(stack.services), provideFreshArtifactStore);
|
|
44777
|
-
}).pipe(Effect.provide(Layer.provideMerge(alchemy, Layer.mergeAll(platform$1, Layer.succeed(Stage, stage$1)))), Effect.provideService(ConfigProvider.ConfigProvider, configProvider));
|
|
44778
|
-
});
|
|
44779
|
-
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));
|
|
44780
|
-
const tailCommand = Command.make("tail", {
|
|
45494
|
+
|
|
45495
|
+
//#endregion
|
|
45496
|
+
//#region bin/commands/login.ts
|
|
45497
|
+
const loginConfigure = Flag.boolean("configure").pipe(Flag.withDescription("Run the provider's interactive configure step before logging in"), Flag.withDefault(false));
|
|
45498
|
+
const loginCommand = Command.make("login", {
|
|
44781
45499
|
main,
|
|
44782
45500
|
envFile,
|
|
44783
45501
|
stage,
|
|
44784
|
-
|
|
44785
|
-
|
|
44786
|
-
|
|
44787
|
-
const stackEffect =
|
|
44788
|
-
|
|
44789
|
-
const
|
|
44790
|
-
const platform$1 = Layer.mergeAll(NodeServices.layer, FetchHttpClient.layer);
|
|
44791
|
-
const rootLogger = Logger.layer([fileLogger("out")]);
|
|
44792
|
-
const alchemy = Layer.mergeAll(LocalState, Layer.provideMerge(rootLogger, dotAlchemy));
|
|
45502
|
+
profile,
|
|
45503
|
+
configure: loginConfigure
|
|
45504
|
+
}, Effect.fnUntraced(function* ({ main: main$1, stage: stage$1, envFile: envFile$1, profile: profile$1, configure }) {
|
|
45505
|
+
const stackEffect = yield* importStack(main$1);
|
|
45506
|
+
const authProviders = {};
|
|
45507
|
+
const services$1 = Layer.mergeAll(Layer.succeed(AuthProviders, authProviders), ConfigProvider.layer(withProfileOverride(yield* loadConfigProvider(envFile$1), profile$1)), Logger.layer([fileLogger("out")]), Layer.succeed(Stage, stage$1), LocalState);
|
|
44793
45508
|
yield* Effect.gen(function* () {
|
|
44794
|
-
|
|
44795
|
-
const
|
|
44796
|
-
|
|
44797
|
-
|
|
44798
|
-
|
|
44799
|
-
|
|
44800
|
-
|
|
44801
|
-
|
|
44802
|
-
const
|
|
44803
|
-
const
|
|
44804
|
-
|
|
44805
|
-
|
|
44806
|
-
|
|
44807
|
-
|
|
44808
|
-
|
|
44809
|
-
|
|
44810
|
-
fqn
|
|
44811
|
-
});
|
|
44812
|
-
if (!resourceState?.attr) continue;
|
|
44813
|
-
const provider = yield* getProviderByType(resource.Type);
|
|
44814
|
-
if (!provider.tail) continue;
|
|
44815
|
-
tailable.push({
|
|
44816
|
-
logicalId: resource.LogicalId,
|
|
44817
|
-
stream: provider.tail({
|
|
44818
|
-
id: resource.LogicalId,
|
|
44819
|
-
instanceId: resourceState.instanceId,
|
|
44820
|
-
props: resourceState.props,
|
|
44821
|
-
output: resourceState.attr
|
|
44822
|
-
})
|
|
45509
|
+
yield* stackEffect;
|
|
45510
|
+
const ci = yield* Config.boolean("CI").pipe(Config.withDefault(false));
|
|
45511
|
+
const providers = Object.values(authProviders);
|
|
45512
|
+
if (providers.length === 0) {
|
|
45513
|
+
yield* Console.log("No AuthProviders registered. Make sure the stack's providers() layer includes AuthProviderLayer entries.");
|
|
45514
|
+
return;
|
|
45515
|
+
}
|
|
45516
|
+
yield* Effect.forEach(providers, (provider) => Effect.gen(function* () {
|
|
45517
|
+
const existing = yield* getProfile(profile$1);
|
|
45518
|
+
const stored = existing?.[provider.name];
|
|
45519
|
+
let cfg;
|
|
45520
|
+
if (configure || stored == null) {
|
|
45521
|
+
cfg = yield* provider.configure(profile$1, { ci });
|
|
45522
|
+
yield* setProfile(profile$1, {
|
|
45523
|
+
...existing,
|
|
45524
|
+
[provider.name]: cfg
|
|
44823
45525
|
});
|
|
44824
|
-
}
|
|
44825
|
-
|
|
44826
|
-
|
|
44827
|
-
|
|
44828
|
-
|
|
44829
|
-
}
|
|
44830
|
-
yield* Console.log(`Tailing: ${tailable.map((t) => t.logicalId).join(", ")}`);
|
|
44831
|
-
const taggedStreams = tailable.map(({ logicalId, stream }, i) => {
|
|
44832
|
-
const color = TAIL_COLORS[i % TAIL_COLORS.length];
|
|
44833
|
-
return stream.pipe(Stream$1.map(({ timestamp, message }) => {
|
|
44834
|
-
return `${color}${formatLocalTimestamp(timestamp)} [${logicalId}]${TAIL_RESET} ${message}`;
|
|
44835
|
-
}));
|
|
44836
|
-
});
|
|
44837
|
-
yield* Stream$1.mergeAll(taggedStreams, { concurrency: "unbounded" }).pipe(Stream$1.runForEach((line) => Console.log(line)));
|
|
44838
|
-
}).pipe(Effect.provide(stack.services));
|
|
44839
|
-
}).pipe(Effect.provide(Layer.provideMerge(alchemy, Layer.mergeAll(platform$1, Layer.succeed(Stage, stage$1)))), Effect.provideService(ConfigProvider.ConfigProvider, configProvider), Effect.scoped);
|
|
45526
|
+
} else cfg = stored;
|
|
45527
|
+
yield* provider.login(profile$1, cfg);
|
|
45528
|
+
yield* provider.prettyPrint(profile$1, cfg);
|
|
45529
|
+
}), { discard: true });
|
|
45530
|
+
}).pipe(Effect.provide(services$1));
|
|
44840
45531
|
}));
|
|
44841
|
-
|
|
44842
|
-
|
|
44843
|
-
|
|
44844
|
-
const bootstrapCommand = Command.make("bootstrap", {
|
|
44845
|
-
envFile,
|
|
44846
|
-
profile: awsProfile,
|
|
44847
|
-
region: awsRegion,
|
|
44848
|
-
destroy: bootstrapDestroy
|
|
44849
|
-
}, Effect.fnUntraced(function* ({ envFile: envFile$1, profile, region, destroy }) {
|
|
44850
|
-
const platform$1 = Layer.mergeAll(NodeServices.layer, FetchHttpClient.layer, Layer.provideMerge(Logger.layer([fileLogger("bootstrap.txt")]), dotAlchemy));
|
|
44851
|
-
return yield* Effect.gen(function* () {
|
|
44852
|
-
const ssoProfile = yield* Auth.loadProfile(profile);
|
|
44853
|
-
const credentials = yield* Auth.loadProfileCredentials(profile);
|
|
44854
|
-
const awsLayers = Layer.mergeAll(Layer.succeed(Account, profile), Layer.succeed(Region$1, region ?? ssoProfile.region ?? "us-east-1"), Layer.succeed(Credentials, Effect.succeed(credentials)));
|
|
44855
|
-
return yield* Effect.gen(function* () {
|
|
44856
|
-
const provider = yield* loadConfigProvider(envFile$1);
|
|
44857
|
-
const bootstrapLayer = Layer.provide(awsLayers, Layer.succeed(ConfigProvider.ConfigProvider, provider));
|
|
44858
|
-
if (destroy) {
|
|
44859
|
-
yield* destroyBootstrap().pipe(Effect.tap((result) => result.destroyed === 0 ? Console.log("✓ No bootstrap buckets found to destroy") : Console.log(`✓ Destroyed ${result.destroyed} bootstrap bucket(s): ${result.bucketNames.join(", ")}`)), Effect.provide(bootstrapLayer));
|
|
44860
|
-
return;
|
|
44861
|
-
}
|
|
44862
|
-
yield* bootstrap().pipe(Effect.tap(({ bucketName, created }) => created ? Console.log(`✓ Created assets bucket: ${bucketName}`) : Console.log(`✓ Assets bucket already exists: ${bucketName}`)), Effect.provide(bootstrapLayer));
|
|
44863
|
-
});
|
|
44864
|
-
}).pipe(Effect.provide(platform$1));
|
|
44865
|
-
}));
|
|
44866
|
-
Command.make("dev", {
|
|
44867
|
-
main,
|
|
44868
|
-
envFile,
|
|
44869
|
-
stage
|
|
44870
|
-
}, ({ envFile: envFile$1, main: main$1, stage: stage$1 }) => Effect.gen(function* () {
|
|
44871
|
-
const proc = yield* ChildProcess.make("bun", ["--hot", main$1], { env: { ALCHEMY_PHASE: "dev" } });
|
|
44872
|
-
proc.stdout;
|
|
44873
|
-
proc.stderr;
|
|
44874
|
-
proc.all;
|
|
44875
|
-
}));
|
|
44876
|
-
const TAIL_COLORS = [
|
|
44877
|
-
"\x1B[36m",
|
|
44878
|
-
"\x1B[35m",
|
|
44879
|
-
"\x1B[33m",
|
|
44880
|
-
"\x1B[32m",
|
|
44881
|
-
"\x1B[34m",
|
|
44882
|
-
"\x1B[91m",
|
|
44883
|
-
"\x1B[96m",
|
|
44884
|
-
"\x1B[95m",
|
|
44885
|
-
"\x1B[93m",
|
|
44886
|
-
"\x1B[92m"
|
|
44887
|
-
];
|
|
44888
|
-
const TAIL_RESET = "\x1B[0m";
|
|
44889
|
-
const formatLocalTimestamp = (date) => {
|
|
44890
|
-
return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")} ${String(date.getHours()).padStart(2, "0")}:${String(date.getMinutes()).padStart(2, "0")}:${String(date.getSeconds()).padStart(2, "0")}.${String(date.getMilliseconds()).padStart(3, "0")} ${new Intl.DateTimeFormat("en-US", { timeZoneName: "short" }).formatToParts(date).find((p) => p.type === "timeZoneName")?.value ?? ""}`;
|
|
44891
|
-
};
|
|
45532
|
+
|
|
45533
|
+
//#endregion
|
|
45534
|
+
//#region bin/commands/logs.ts
|
|
44892
45535
|
const logsLimit = Flag.integer("limit").pipe(Flag.withDescription("Number of log entries to fetch"), Flag.withDefault(100));
|
|
44893
45536
|
const logsSince = Flag.string("since").pipe(Flag.withDescription("Fetch logs since this time (e.g. '1h', '30m', '2024-01-01T00:00:00Z')"), Flag.optional, Flag.map(Option.getOrUndefined));
|
|
44894
45537
|
const logsCommand = Command.make("logs", {
|
|
44895
45538
|
main,
|
|
44896
45539
|
envFile,
|
|
44897
45540
|
stage,
|
|
45541
|
+
profile,
|
|
44898
45542
|
filter: resourceFilter,
|
|
44899
45543
|
limit: logsLimit,
|
|
44900
45544
|
since: logsSince
|
|
44901
|
-
}, Effect.fnUntraced(function* ({ main: main$1, stage: stage$1, envFile: envFile$1, filter, limit, since }) {
|
|
44902
|
-
const
|
|
44903
|
-
const
|
|
44904
|
-
if (!stackEffect) return yield* Effect.die(/* @__PURE__ */ new Error(`Main file '${main$1}' must export a default stack definition (export default defineStack({...}))`));
|
|
44905
|
-
const configProvider = yield* loadConfigProvider(envFile$1);
|
|
44906
|
-
const platform$1 = Layer.mergeAll(NodeServices.layer, FetchHttpClient.layer);
|
|
44907
|
-
const rootLogger = Logger.layer([fileLogger("out")]);
|
|
44908
|
-
const alchemy = Layer.mergeAll(LocalState, Layer.provideMerge(rootLogger, dotAlchemy));
|
|
45545
|
+
}, Effect.fnUntraced(function* ({ main: main$1, stage: stage$1, envFile: envFile$1, profile: profile$1, filter, limit, since }) {
|
|
45546
|
+
const stackEffect = yield* importStack(main$1);
|
|
45547
|
+
const services$1 = Layer.mergeAll(ConfigProvider.layer(withProfileOverride(yield* loadConfigProvider(envFile$1), profile$1)), Layer.succeed(AuthProviders, {}), Layer.succeed(Stage, stage$1), Logger.layer([fileLogger("out")]), LocalState);
|
|
44909
45548
|
const sinceDate = since ? parseSince(since) : void 0;
|
|
44910
45549
|
yield* Effect.gen(function* () {
|
|
44911
45550
|
const state = yield* State;
|
|
@@ -44927,7 +45566,7 @@ const logsCommand = Command.make("logs", {
|
|
|
44927
45566
|
fqn
|
|
44928
45567
|
});
|
|
44929
45568
|
if (!resourceState?.attr) continue;
|
|
44930
|
-
const provider = yield*
|
|
45569
|
+
const provider = yield* findProviderByType(resource.Type);
|
|
44931
45570
|
if (!provider.logs) continue;
|
|
44932
45571
|
const lines = yield* provider.logs({
|
|
44933
45572
|
id: resource.LogicalId,
|
|
@@ -44958,36 +45597,84 @@ const logsCommand = Command.make("logs", {
|
|
|
44958
45597
|
}).sort((a, b) => a.timestamp.getTime() - b.timestamp.getTime());
|
|
44959
45598
|
for (const entry of merged) yield* Console.log(entry.formatted);
|
|
44960
45599
|
}).pipe(Effect.provide(stack.services));
|
|
44961
|
-
}).pipe(Effect.provide(
|
|
45600
|
+
}).pipe(Effect.provide(services$1));
|
|
44962
45601
|
}));
|
|
44963
|
-
|
|
44964
|
-
|
|
44965
|
-
|
|
44966
|
-
|
|
44967
|
-
|
|
44968
|
-
|
|
44969
|
-
|
|
44970
|
-
|
|
44971
|
-
|
|
44972
|
-
|
|
44973
|
-
|
|
44974
|
-
|
|
44975
|
-
|
|
44976
|
-
|
|
44977
|
-
|
|
44978
|
-
|
|
44979
|
-
|
|
44980
|
-
|
|
44981
|
-
|
|
45602
|
+
|
|
45603
|
+
//#endregion
|
|
45604
|
+
//#region bin/commands/tail.ts
|
|
45605
|
+
const tailCommand = Command$1.make("tail", {
|
|
45606
|
+
main,
|
|
45607
|
+
envFile,
|
|
45608
|
+
stage,
|
|
45609
|
+
profile,
|
|
45610
|
+
filter: resourceFilter
|
|
45611
|
+
}, Effect.fnUntraced(function* ({ main: main$1, stage: stage$1, envFile: envFile$1, profile: profile$1, filter }) {
|
|
45612
|
+
const stackEffect = yield* importStack(main$1);
|
|
45613
|
+
const services$1 = Layer.mergeAll(ConfigProvider.layer(withProfileOverride(yield* loadConfigProvider(envFile$1), profile$1)), Layer.succeed(AuthProviders, {}), Layer.succeed(Stage, stage$1), Logger.layer([fileLogger("out")]), LocalState);
|
|
45614
|
+
yield* Effect.gen(function* () {
|
|
45615
|
+
const state = yield* State;
|
|
45616
|
+
const stack = yield* stackEffect;
|
|
45617
|
+
yield* Effect.gen(function* () {
|
|
45618
|
+
const filterSet = parseResourceFilter(filter);
|
|
45619
|
+
const availableIds = [...new Set(Object.values(stack.resources).map((r) => r.LogicalId))].sort();
|
|
45620
|
+
if (filterSet) {
|
|
45621
|
+
for (const id of filterSet) if (!availableIds.includes(id)) return yield* Effect.die(/* @__PURE__ */ new Error(`Unknown resource '${id}' in --filter. Available: ${availableIds.join(", ") || "(none)"}`));
|
|
45622
|
+
}
|
|
45623
|
+
const fqns = Object.keys(stack.resources);
|
|
45624
|
+
const tailable = [];
|
|
45625
|
+
for (const fqn of fqns) {
|
|
45626
|
+
const resource = stack.resources[fqn];
|
|
45627
|
+
if (filterSet && !filterSet.has(resource.LogicalId)) continue;
|
|
45628
|
+
const resourceState = yield* state.get({
|
|
45629
|
+
stack: stack.name,
|
|
45630
|
+
stage: stack.stage,
|
|
45631
|
+
fqn
|
|
45632
|
+
});
|
|
45633
|
+
if (!resourceState?.attr) continue;
|
|
45634
|
+
const provider = yield* findProviderByType(resource.Type);
|
|
45635
|
+
if (!provider.tail) continue;
|
|
45636
|
+
tailable.push({
|
|
45637
|
+
logicalId: resource.LogicalId,
|
|
45638
|
+
stream: provider.tail({
|
|
45639
|
+
id: resource.LogicalId,
|
|
45640
|
+
instanceId: resourceState.instanceId,
|
|
45641
|
+
props: resourceState.props,
|
|
45642
|
+
output: resourceState.attr
|
|
45643
|
+
})
|
|
45644
|
+
});
|
|
45645
|
+
}
|
|
45646
|
+
if (tailable.length === 0) {
|
|
45647
|
+
if (filterSet) yield* Console.log("No tailable resources match --filter (deploy first, or selected resources may not support tail).");
|
|
45648
|
+
else yield* Console.log("No tailable resources found. Deploy first, then run tail.");
|
|
45649
|
+
return;
|
|
45650
|
+
}
|
|
45651
|
+
yield* Console.log(`Tailing: ${tailable.map((t) => t.logicalId).join(", ")}`);
|
|
45652
|
+
const taggedStreams = tailable.map(({ logicalId, stream }, i) => {
|
|
45653
|
+
const color = TAIL_COLORS[i % TAIL_COLORS.length];
|
|
45654
|
+
return stream.pipe(Stream$1.map(({ timestamp, message }) => {
|
|
45655
|
+
return `${color}${formatLocalTimestamp(timestamp)} [${logicalId}]${TAIL_RESET} ${message}`;
|
|
45656
|
+
}));
|
|
45657
|
+
});
|
|
45658
|
+
yield* Stream$1.mergeAll(taggedStreams, { concurrency: "unbounded" }).pipe(Stream$1.runForEach((line) => Console.log(line)));
|
|
45659
|
+
}).pipe(Effect.provide(stack.services));
|
|
45660
|
+
}).pipe(Effect.provide(services$1));
|
|
45661
|
+
}));
|
|
45662
|
+
|
|
45663
|
+
//#endregion
|
|
45664
|
+
//#region bin/alchemy.ts
|
|
45665
|
+
const root = Command$1.make("alchemy", {}).pipe(Command$1.withSubcommands([
|
|
44982
45666
|
bootstrapCommand,
|
|
44983
45667
|
deployCommand,
|
|
44984
45668
|
destroyCommand,
|
|
44985
45669
|
planCommand,
|
|
44986
45670
|
tailCommand,
|
|
44987
|
-
logsCommand
|
|
45671
|
+
logsCommand,
|
|
45672
|
+
loginCommand
|
|
44988
45673
|
]));
|
|
44989
|
-
Command.run(root, { version })
|
|
45674
|
+
const cli = Command$1.run(root, { version });
|
|
45675
|
+
const services = Layer.mergeAll(Layer.provideMerge(dotAlchemy, PlatformServices), FetchHttpClient.layer, ConfigProvider.layer(ConfigProvider.fromEnv()));
|
|
45676
|
+
cli.pipe(Effect.provide(services), Effect.scoped, handleCancellation, runMain);
|
|
44990
45677
|
|
|
44991
45678
|
//#endregion
|
|
44992
45679
|
export { };
|
|
44993
|
-
//# sourceMappingURL=alchemy
|
|
45680
|
+
//# sourceMappingURL=alchemy.js.map
|