alchemy 2.0.0-beta.test-export-fix-4 → 2.0.0-pipeline-v2-test
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.js +1194 -522
- package/bin/alchemy.js.map +1 -1
- package/bin/alchemy.sh +11 -9
- package/bin/alchemy.ts +22 -727
- 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.map +1 -1
- package/lib/cli/index.js +72 -72
- 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 +22 -13
- package/src/AWS/AuthProvider.ts +392 -0
- package/src/AWS/AutoScaling/LaunchTemplate.ts +3 -3
- package/src/AWS/Bootstrap.ts +32 -37
- package/src/AWS/CloudWatch/Alarm.ts +2 -2
- package/src/AWS/CloudWatch/AlarmMuteRule.ts +2 -2
- package/src/AWS/CloudWatch/CompositeAlarm.ts +2 -2
- package/src/AWS/CloudWatch/Dashboard.ts +2 -2
- package/src/AWS/CloudWatch/InsightRule.ts +2 -2
- package/src/AWS/CloudWatch/MetricStream.ts +2 -2
- package/src/AWS/Credentials.ts +9 -44
- package/src/AWS/DynamoDB/Table.ts +1 -1
- package/src/AWS/EC2/EIP.ts +3 -3
- package/src/AWS/EC2/EgressOnlyInternetGateway.ts +3 -3
- package/src/AWS/EC2/Instance.ts +3 -3
- package/src/AWS/EC2/InternetGateway.ts +3 -3
- package/src/AWS/EC2/NatGateway.ts +3 -3
- package/src/AWS/EC2/NetworkAcl.ts +3 -3
- package/src/AWS/EC2/RouteTable.ts +3 -3
- package/src/AWS/EC2/SecurityGroup.ts +3 -3
- package/src/AWS/EC2/Subnet.ts +1 -1
- package/src/AWS/EC2/Vpc.ts +3 -3
- package/src/AWS/EC2/VpcEndpoint.ts +7 -7
- package/src/AWS/ECR/Repository.ts +1 -1
- package/src/AWS/ECS/Cluster.ts +2 -2
- package/src/AWS/ECS/Service.ts +1 -1
- package/src/AWS/ECS/Task.ts +2 -2
- package/src/AWS/EKS/Cluster.ts +1 -1
- package/src/AWS/ELBv2/Listener.ts +1 -1
- package/src/AWS/ELBv2/LoadBalancer.ts +1 -1
- package/src/AWS/ELBv2/TargetGroup.ts +1 -1
- package/src/AWS/Endpoint.ts +12 -8
- package/src/AWS/Environment.ts +123 -0
- package/src/AWS/EventBridge/EventBus.ts +2 -2
- package/src/AWS/EventBridge/ListRules.ts +2 -2
- package/src/AWS/EventBridge/PutEvents.ts +2 -2
- package/src/AWS/EventBridge/Rule.ts +2 -2
- package/src/AWS/IAM/OpenIDConnectProvider.ts +2 -2
- package/src/AWS/IAM/Policy.ts +3 -3
- package/src/AWS/IAM/Role.ts +4 -4
- package/src/AWS/Kinesis/Stream.ts +2 -2
- package/src/AWS/Lambda/EventSourceMapping.ts +2 -2
- package/src/AWS/Lambda/Function.ts +2 -2
- package/src/AWS/Lambda/Permission.ts +1 -1
- package/src/AWS/Logs/LogGroup.ts +3 -3
- package/src/AWS/Providers.ts +7 -7
- package/src/AWS/Region.ts +9 -66
- package/src/AWS/S3/Bucket.ts +2 -2
- package/src/AWS/SNS/Topic.ts +1 -1
- package/src/AWS/SQS/Queue.ts +3 -3
- package/src/AWS/index.ts +1 -3
- package/src/Apply.ts +55 -57
- 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/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/ContainerApplication.ts +174 -96
- package/src/Cloudflare/Container/ContainerBinding.ts +2 -1
- package/src/Cloudflare/Credentials.ts +75 -0
- package/src/Cloudflare/D1/D1Database.ts +2 -2
- package/src/Cloudflare/KV/KVNamespace.ts +2 -2
- package/src/Cloudflare/Providers.ts +20 -10
- 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 +2 -2
- 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 +32 -19
- package/src/Cloudflare/Website/Vite.ts +22 -10
- package/src/Cloudflare/Workers/InferEnv.ts +5 -3
- package/src/Cloudflare/Workers/Worker.ts +249 -41
- package/src/Cloudflare/Workers/Workflow.ts +19 -9
- package/src/Cloudflare/index.ts +3 -1
- package/src/Platform.ts +10 -5
- package/src/Resource.ts +4 -4
- 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 +31 -23
- package/src/Util/Clank.ts +77 -0
- package/src/Util/PlatformServices.ts +54 -13
- 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/bin/alchemy.js
CHANGED
|
@@ -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-
|
|
77
|
+
var version = "2.0.0-pipeline-v2-test";
|
|
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
|
*/
|
|
@@ -287,20 +690,23 @@ const Stack = Object.assign(taggedFunction(Context.Service()("Stack"), (stackNam
|
|
|
287
690
|
id: stackName
|
|
288
691
|
}) }) }))));
|
|
289
692
|
const StackName = Stack.use((stack) => Effect.succeed(stack.name));
|
|
290
|
-
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([
|
|
291
702
|
effect,
|
|
292
703
|
Stack.asEffect(),
|
|
293
704
|
Effect.context()
|
|
294
|
-
]).pipe(Effect.map(([output, stack$1, services]) => ({
|
|
705
|
+
]).pipe(Effect.map(([output, stack$1, services$1]) => ({
|
|
295
706
|
...stack$1,
|
|
296
707
|
output,
|
|
297
|
-
services
|
|
298
|
-
})), Effect.
|
|
299
|
-
name,
|
|
300
|
-
stage: stage$1,
|
|
301
|
-
resources: {},
|
|
302
|
-
bindings: {}
|
|
303
|
-
}), Effect.tap(Effect.logInfo))));
|
|
708
|
+
services: services$1
|
|
709
|
+
})), Effect.provideContext(context))));
|
|
304
710
|
const CurrentStack = Effect.serviceOption(Stack).asEffect().pipe(Effect.map(Option.getOrUndefined));
|
|
305
711
|
|
|
306
712
|
//#endregion
|
|
@@ -576,6 +982,28 @@ const generateInstanceId = () => Effect.sync(() => {
|
|
|
576
982
|
|
|
577
983
|
//#endregion
|
|
578
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
|
+
};
|
|
579
1007
|
const LocalState = Layer.effect(State, Effect.gen(function* () {
|
|
580
1008
|
const fs$2 = yield* FileSystem.FileSystem;
|
|
581
1009
|
const path = yield* Path$1.Path;
|
|
@@ -593,7 +1021,7 @@ const LocalState = Layer.effect(State, Effect.gen(function* () {
|
|
|
593
1021
|
const state = {
|
|
594
1022
|
listStacks: () => fs$2.readDirectory(stateDir).pipe(recover, Effect.map((files) => files ?? [])),
|
|
595
1023
|
listStages: (stack) => fs$2.readDirectory(path.join(stateDir, stack)).pipe(recover, Effect.map((files) => files ?? [])),
|
|
596
|
-
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),
|
|
597
1025
|
getReplacedResources: Effect.fnUntraced(function* (request) {
|
|
598
1026
|
return (yield* Effect.all((yield* state.list(request)).map((fqn) => state.get({
|
|
599
1027
|
stack: request.stack,
|
|
@@ -601,15 +1029,7 @@ const LocalState = Layer.effect(State, Effect.gen(function* () {
|
|
|
601
1029
|
fqn
|
|
602
1030
|
})))).filter((r) => r?.status === "replaced");
|
|
603
1031
|
}),
|
|
604
|
-
set: (request) => ensure(stageDir(request)).pipe(Effect.flatMap(() => fs$2.writeFileString(resource(request), JSON.stringify(request.value,
|
|
605
|
-
if (isResource(v)) return {
|
|
606
|
-
id: v.LogicalId,
|
|
607
|
-
type: v.Type,
|
|
608
|
-
props: v.Props,
|
|
609
|
-
attr: v.Attributes
|
|
610
|
-
};
|
|
611
|
-
return v;
|
|
612
|
-
}, 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)),
|
|
613
1033
|
delete: (request) => fs$2.remove(resource(request)).pipe(recover),
|
|
614
1034
|
list: (request) => fs$2.readDirectory(stageDir(request)).pipe(recover, Effect.map((files) => files?.map((file) => decodeFqn(file.replace(/\.json$/, ""))) ?? []))
|
|
615
1035
|
};
|
|
@@ -619,7 +1039,7 @@ const LocalState = Layer.effect(State, Effect.gen(function* () {
|
|
|
619
1039
|
//#endregion
|
|
620
1040
|
//#region src/Apply.ts
|
|
621
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))));
|
|
622
|
-
const apply = (plan) =>
|
|
1042
|
+
const apply = (plan) => Effect.gen(function* () {
|
|
623
1043
|
const session = yield* (yield* Cli).startApplySession(plan);
|
|
624
1044
|
const state = yield* State;
|
|
625
1045
|
const stack = yield* Stack;
|
|
@@ -640,7 +1060,7 @@ const apply = (plan) => ensureArtifactStore(Effect.gen(function* () {
|
|
|
640
1060
|
if (!plan.output) return;
|
|
641
1061
|
const outputs = Object.fromEntries(Object.entries(tracker).map(([fqn, t]) => [fqn, t.output]));
|
|
642
1062
|
return yield* evaluate(plan.output, outputs);
|
|
643
|
-
}));
|
|
1063
|
+
}).pipe(ensureArtifactStore);
|
|
644
1064
|
const executePlan = Effect.fnUntraced(function* (plan, tracker, terminalStatuses, session, state, stackName, stage$1) {
|
|
645
1065
|
const ready = Object.fromEntries(yield* Effect.all(Object.keys(plan.resources).map((fqn) => Effect.map(Deferred.make(), (d) => [fqn, d]))));
|
|
646
1066
|
const getOutputs = () => Object.fromEntries(Object.entries(tracker).map(([fqn, t]) => [fqn, t.output]));
|
|
@@ -1217,174 +1637,498 @@ const excludeDeletedBindings = (bindings) => bindings.flatMap(({ action, sid, da
|
|
|
1217
1637
|
}]);
|
|
1218
1638
|
|
|
1219
1639
|
//#endregion
|
|
1220
|
-
//#region
|
|
1221
|
-
|
|
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
|
+
};
|
|
1222
2069
|
|
|
1223
2070
|
//#endregion
|
|
1224
|
-
//#region
|
|
1225
|
-
|
|
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(";");
|
|
1226
2087
|
|
|
1227
2088
|
//#endregion
|
|
1228
|
-
//#region src/
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
*/
|
|
1232
|
-
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");
|
|
1233
2092
|
/**
|
|
1234
|
-
*
|
|
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"`.
|
|
1235
2096
|
*/
|
|
1236
|
-
const
|
|
1237
|
-
const
|
|
1238
|
-
const
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
}, {
|
|
1242
|
-
Key: ASSETS_BUCKET_REGION_TAG,
|
|
1243
|
-
Value: region
|
|
1244
|
-
}];
|
|
1245
|
-
const getBucketTags = (bucketName) => s3.getBucketTagging({ Bucket: bucketName }).pipe(Effect.map((response) => response.TagSet ?? []), Effect.catchTag("NoSuchTagSet", () => Effect.succeed([])));
|
|
1246
|
-
const hasAssetsBucketTag = (tags) => tags.some((tag) => tag.Key === ASSETS_BUCKET_TAG && tag.Value === "true");
|
|
1247
|
-
const normalizeBucketRegion = (location) => {
|
|
1248
|
-
if (!location) return "us-east-1";
|
|
1249
|
-
if (location === "EU") return "eu-west-1";
|
|
1250
|
-
return location;
|
|
1251
|
-
};
|
|
1252
|
-
const bucketMatchesRegion = (tags, region) => {
|
|
1253
|
-
const taggedRegion = tags.find((tag) => tag.Key === ASSETS_BUCKET_REGION_TAG)?.Value;
|
|
1254
|
-
return taggedRegion === void 0 ? void 0 : taggedRegion === region;
|
|
1255
|
-
};
|
|
1256
|
-
const lookupAssetsBuckets = Effect.gen(function* () {
|
|
1257
|
-
const region = yield* Region;
|
|
1258
|
-
const buckets = (yield* s3.listBuckets({})).Buckets ?? [];
|
|
1259
|
-
const matchingBuckets = [];
|
|
1260
|
-
for (const bucket of buckets) {
|
|
1261
|
-
const bucketName = bucket.Name;
|
|
1262
|
-
if (!bucketName) continue;
|
|
1263
|
-
const tags = yield* getBucketTags(bucketName).pipe(Effect.catch(() => Effect.succeed([])));
|
|
1264
|
-
if (!hasAssetsBucketTag(tags)) continue;
|
|
1265
|
-
const taggedRegionMatch = bucketMatchesRegion(tags, region);
|
|
1266
|
-
if (taggedRegionMatch === true) {
|
|
1267
|
-
matchingBuckets.push(bucketName);
|
|
1268
|
-
continue;
|
|
1269
|
-
}
|
|
1270
|
-
if (taggedRegionMatch === false) continue;
|
|
1271
|
-
if ((yield* s3.getBucketLocation({ Bucket: bucketName }).pipe(Effect.map((response) => normalizeBucketRegion(response.LocationConstraint)), Effect.catch(() => Effect.succeed(void 0)))) === region) matchingBuckets.push(bucketName);
|
|
1272
|
-
}
|
|
1273
|
-
return matchingBuckets;
|
|
1274
|
-
});
|
|
1275
|
-
const lookupAssetsBucket = Effect.gen(function* () {
|
|
1276
|
-
const matchingBuckets = yield* lookupAssetsBuckets;
|
|
1277
|
-
for (const bucketName of matchingBuckets) return Option.some(bucketName);
|
|
1278
|
-
return Option.none();
|
|
1279
|
-
});
|
|
1280
|
-
const ensureAssetsBucketTags = Effect.fn(function* (bucketName, region) {
|
|
1281
|
-
const tagSet = [...(yield* getBucketTags(bucketName)).filter((tag) => tag.Key !== ASSETS_BUCKET_TAG && tag.Key !== ASSETS_BUCKET_REGION_TAG), ...createAssetsBucketTags(region)];
|
|
1282
|
-
yield* s3.putBucketTagging({
|
|
1283
|
-
Bucket: bucketName,
|
|
1284
|
-
Tagging: { TagSet: tagSet.map((tag) => ({
|
|
1285
|
-
Key: tag.Key,
|
|
1286
|
-
Value: tag.Value
|
|
1287
|
-
})) }
|
|
1288
|
-
});
|
|
1289
|
-
});
|
|
1290
|
-
const deleteAllObjects = Effect.fn(function* (bucketName) {
|
|
1291
|
-
let continuationToken;
|
|
1292
|
-
do {
|
|
1293
|
-
const listResponse = yield* s3.listObjectsV2({
|
|
1294
|
-
Bucket: bucketName,
|
|
1295
|
-
ContinuationToken: continuationToken
|
|
1296
|
-
});
|
|
1297
|
-
if (listResponse.Contents && listResponse.Contents.length > 0) yield* s3.deleteObjects({
|
|
1298
|
-
Bucket: bucketName,
|
|
1299
|
-
Delete: {
|
|
1300
|
-
Objects: listResponse.Contents.map((obj) => ({ Key: obj.Key })),
|
|
1301
|
-
Quiet: true
|
|
1302
|
-
}
|
|
1303
|
-
});
|
|
1304
|
-
continuationToken = listResponse.NextContinuationToken;
|
|
1305
|
-
} while (continuationToken);
|
|
1306
|
-
let keyMarker;
|
|
1307
|
-
let versionIdMarker;
|
|
1308
|
-
do {
|
|
1309
|
-
const listVersionsResponse = yield* s3.listObjectVersions({
|
|
1310
|
-
Bucket: bucketName,
|
|
1311
|
-
KeyMarker: keyMarker,
|
|
1312
|
-
VersionIdMarker: versionIdMarker
|
|
1313
|
-
});
|
|
1314
|
-
const objectsToDelete = [...(listVersionsResponse.Versions ?? []).map((v) => ({
|
|
1315
|
-
Key: v.Key,
|
|
1316
|
-
VersionId: v.VersionId
|
|
1317
|
-
})), ...(listVersionsResponse.DeleteMarkers ?? []).map((dm) => ({
|
|
1318
|
-
Key: dm.Key,
|
|
1319
|
-
VersionId: dm.VersionId
|
|
1320
|
-
}))];
|
|
1321
|
-
if (objectsToDelete.length > 0) yield* s3.deleteObjects({
|
|
1322
|
-
Bucket: bucketName,
|
|
1323
|
-
Delete: {
|
|
1324
|
-
Objects: objectsToDelete,
|
|
1325
|
-
Quiet: true
|
|
1326
|
-
}
|
|
1327
|
-
});
|
|
1328
|
-
keyMarker = listVersionsResponse.NextKeyMarker;
|
|
1329
|
-
versionIdMarker = listVersionsResponse.NextVersionIdMarker;
|
|
1330
|
-
} 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: {}
|
|
1331
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));
|
|
1332
2114
|
/**
|
|
1333
|
-
*
|
|
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.
|
|
1334
2118
|
*
|
|
1335
|
-
*
|
|
1336
|
-
*
|
|
2119
|
+
* Use this to let the CLI's `--profile <name>` win over `$ALCHEMY_PROFILE`
|
|
2120
|
+
* without disturbing other config lookups.
|
|
1337
2121
|
*/
|
|
1338
|
-
const
|
|
1339
|
-
|
|
1340
|
-
const
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
return {
|
|
1345
|
-
bucketName: existingBucket.value,
|
|
1346
|
-
created: false
|
|
1347
|
-
};
|
|
1348
|
-
}
|
|
1349
|
-
const bucketName = createAssetsBucketName(region);
|
|
1350
|
-
if (region === "us-east-1") yield* s3.createBucket({ Bucket: bucketName }).pipe(Effect.retry({
|
|
1351
|
-
while: (e) => e._tag === "OperationAborted" || e._tag === "ServiceUnavailable",
|
|
1352
|
-
schedule: Schedule.exponential(100)
|
|
1353
|
-
}));
|
|
1354
|
-
else yield* s3.createBucket({
|
|
1355
|
-
Bucket: bucketName,
|
|
1356
|
-
CreateBucketConfiguration: { LocationConstraint: region }
|
|
1357
|
-
}).pipe(Effect.catchTag("BucketAlreadyOwnedByYou", () => Effect.void), Effect.retry({
|
|
1358
|
-
while: (e) => e._tag === "OperationAborted" || e._tag === "ServiceUnavailable",
|
|
1359
|
-
schedule: Schedule.exponential(100)
|
|
1360
|
-
}));
|
|
1361
|
-
yield* s3.headBucket({ Bucket: bucketName }).pipe(Effect.retry({ schedule: Schedule.exponential(100).pipe(Schedule.both(Schedule.recurs(10))) }));
|
|
1362
|
-
yield* ensureAssetsBucketTags(bucketName, region);
|
|
1363
|
-
yield* Effect.logInfo(`Created assets bucket: ${bucketName}`);
|
|
1364
|
-
return {
|
|
1365
|
-
bucketName,
|
|
1366
|
-
created: true
|
|
1367
|
-
};
|
|
1368
|
-
});
|
|
1369
|
-
const destroyBootstrap = Effect.fn(function* () {
|
|
1370
|
-
const bucketNames = yield* lookupAssetsBuckets;
|
|
1371
|
-
for (const bucketName of bucketNames) {
|
|
1372
|
-
yield* Effect.logInfo(`Destroying assets bucket: ${bucketName}`);
|
|
1373
|
-
yield* deleteAllObjects(bucketName);
|
|
1374
|
-
yield* s3.deleteBucket({ Bucket: bucketName }).pipe(Effect.retry({
|
|
1375
|
-
while: (e) => e._tag === "OperationAborted" || e._tag === "ServiceUnavailable",
|
|
1376
|
-
schedule: Schedule.exponential(100).pipe(Schedule.both(Schedule.recurs(10)))
|
|
1377
|
-
}));
|
|
1378
|
-
}
|
|
1379
|
-
return {
|
|
1380
|
-
bucketNames,
|
|
1381
|
-
destroyed: bucketNames.length
|
|
1382
|
-
};
|
|
1383
|
-
});
|
|
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
|
+
};
|
|
1384
2128
|
|
|
1385
2129
|
//#endregion
|
|
1386
|
-
//#region ../../node_modules/.bun/react@19.2.
|
|
1387
|
-
var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.
|
|
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) => {
|
|
1388
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;
|
|
1389
2133
|
function getIteratorFn(maybeIterable) {
|
|
1390
2134
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -1731,12 +2475,12 @@ var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
1731
2475
|
exports.useTransition = function() {
|
|
1732
2476
|
return ReactSharedInternals.H.useTransition();
|
|
1733
2477
|
};
|
|
1734
|
-
exports.version = "19.2.
|
|
2478
|
+
exports.version = "19.2.5";
|
|
1735
2479
|
}) });
|
|
1736
2480
|
|
|
1737
2481
|
//#endregion
|
|
1738
|
-
//#region ../../node_modules/.bun/react@19.2.
|
|
1739
|
-
var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.
|
|
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) => {
|
|
1740
2484
|
"production" !== process.env.NODE_ENV && (function() {
|
|
1741
2485
|
function defineDeprecationWarning(methodName, info) {
|
|
1742
2486
|
Object.defineProperty(Component$1.prototype, methodName, { get: function() {
|
|
@@ -2048,19 +2792,19 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
2048
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. ");
|
|
2049
2793
|
actScopeDepth = prevActScopeDepth;
|
|
2050
2794
|
}
|
|
2051
|
-
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
|
2795
|
+
function recursivelyFlushAsyncActWork(returnValue, resolve$1, reject) {
|
|
2052
2796
|
var queue = ReactSharedInternals$1.actQueue;
|
|
2053
2797
|
if (null !== queue) if (0 !== queue.length) try {
|
|
2054
2798
|
flushActQueue(queue);
|
|
2055
2799
|
enqueueTask(function() {
|
|
2056
|
-
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
2800
|
+
return recursivelyFlushAsyncActWork(returnValue, resolve$1, reject);
|
|
2057
2801
|
});
|
|
2058
2802
|
return;
|
|
2059
2803
|
} catch (error) {
|
|
2060
2804
|
ReactSharedInternals$1.thrownErrors.push(error);
|
|
2061
2805
|
}
|
|
2062
2806
|
else ReactSharedInternals$1.actQueue = null;
|
|
2063
|
-
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);
|
|
2064
2808
|
}
|
|
2065
2809
|
function flushActQueue(queue) {
|
|
2066
2810
|
if (!isFlushing) {
|
|
@@ -2221,14 +2965,14 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
2221
2965
|
queueSeveralMicrotasks(function() {
|
|
2222
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 () => ...);"));
|
|
2223
2967
|
});
|
|
2224
|
-
return { then: function(resolve, reject) {
|
|
2968
|
+
return { then: function(resolve$1, reject) {
|
|
2225
2969
|
didAwaitActCall = !0;
|
|
2226
2970
|
thenable.then(function(returnValue) {
|
|
2227
2971
|
popActScope(prevActQueue, prevActScopeDepth);
|
|
2228
2972
|
if (0 === prevActScopeDepth) {
|
|
2229
2973
|
try {
|
|
2230
2974
|
flushActQueue(queue), enqueueTask(function() {
|
|
2231
|
-
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
2975
|
+
return recursivelyFlushAsyncActWork(returnValue, resolve$1, reject);
|
|
2232
2976
|
});
|
|
2233
2977
|
} catch (error$0) {
|
|
2234
2978
|
ReactSharedInternals$1.thrownErrors.push(error$0);
|
|
@@ -2238,7 +2982,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
2238
2982
|
ReactSharedInternals$1.thrownErrors.length = 0;
|
|
2239
2983
|
reject(_thrownError);
|
|
2240
2984
|
}
|
|
2241
|
-
} else resolve(returnValue);
|
|
2985
|
+
} else resolve$1(returnValue);
|
|
2242
2986
|
}, function(error) {
|
|
2243
2987
|
popActScope(prevActQueue, prevActScopeDepth);
|
|
2244
2988
|
0 < ReactSharedInternals$1.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals$1.thrownErrors), ReactSharedInternals$1.thrownErrors.length = 0, reject(error)) : reject(error);
|
|
@@ -2251,11 +2995,11 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
2251
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(() => ...)"));
|
|
2252
2996
|
}), ReactSharedInternals$1.actQueue = null);
|
|
2253
2997
|
if (0 < ReactSharedInternals$1.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals$1.thrownErrors), ReactSharedInternals$1.thrownErrors.length = 0, callback;
|
|
2254
|
-
return { then: function(resolve, reject) {
|
|
2998
|
+
return { then: function(resolve$1, reject) {
|
|
2255
2999
|
didAwaitActCall = !0;
|
|
2256
3000
|
0 === prevActScopeDepth ? (ReactSharedInternals$1.actQueue = queue, enqueueTask(function() {
|
|
2257
|
-
return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject);
|
|
2258
|
-
})) : resolve(returnValue$jscomp$0);
|
|
3001
|
+
return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve$1, reject);
|
|
3002
|
+
})) : resolve$1(returnValue$jscomp$0);
|
|
2259
3003
|
} };
|
|
2260
3004
|
};
|
|
2261
3005
|
exports.cache = function(fn) {
|
|
@@ -2480,14 +3224,14 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
2480
3224
|
exports.useTransition = function() {
|
|
2481
3225
|
return resolveDispatcher().useTransition();
|
|
2482
3226
|
};
|
|
2483
|
-
exports.version = "19.2.
|
|
3227
|
+
exports.version = "19.2.5";
|
|
2484
3228
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
2485
3229
|
})();
|
|
2486
3230
|
}) });
|
|
2487
3231
|
|
|
2488
3232
|
//#endregion
|
|
2489
|
-
//#region ../../node_modules/.bun/react@19.2.
|
|
2490
|
-
var require_react = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.
|
|
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) => {
|
|
2491
3235
|
if (process.env.NODE_ENV === "production") module.exports = require_react_production();
|
|
2492
3236
|
else module.exports = require_react_development();
|
|
2493
3237
|
}) });
|
|
@@ -2885,8 +3629,8 @@ const patchConsole = (callback) => {
|
|
|
2885
3629
|
var dist_default = patchConsole;
|
|
2886
3630
|
|
|
2887
3631
|
//#endregion
|
|
2888
|
-
//#region ../../node_modules/.bun/react-reconciler@0.33.0+
|
|
2889
|
-
var require_react_reconciler_constants_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+
|
|
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) => {
|
|
2890
3634
|
exports.ConcurrentRoot = 1;
|
|
2891
3635
|
exports.DefaultEventPriority = 32;
|
|
2892
3636
|
exports.LegacyRoot = 0;
|
|
@@ -2894,14 +3638,14 @@ var require_react_reconciler_constants_production = /* @__PURE__ */ __commonJS({
|
|
|
2894
3638
|
}) });
|
|
2895
3639
|
|
|
2896
3640
|
//#endregion
|
|
2897
|
-
//#region ../../node_modules/.bun/react-reconciler@0.33.0+
|
|
2898
|
-
var require_react_reconciler_constants_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+
|
|
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) => {
|
|
2899
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);
|
|
2900
3644
|
}) });
|
|
2901
3645
|
|
|
2902
3646
|
//#endregion
|
|
2903
|
-
//#region ../../node_modules/.bun/react-reconciler@0.33.0+
|
|
2904
|
-
var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+
|
|
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) => {
|
|
2905
3649
|
if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_constants_production();
|
|
2906
3650
|
else module.exports = require_react_reconciler_constants_development();
|
|
2907
3651
|
}) });
|
|
@@ -3092,7 +3836,7 @@ var loadYoga = (() => {
|
|
|
3092
3836
|
function Ja(a) {
|
|
3093
3837
|
a = Ka(a);
|
|
3094
3838
|
var b = N(a);
|
|
3095
|
-
S
|
|
3839
|
+
S(a);
|
|
3096
3840
|
return b;
|
|
3097
3841
|
}
|
|
3098
3842
|
function La(a, b) {
|
|
@@ -3910,7 +4654,7 @@ var loadYoga = (() => {
|
|
|
3910
4654
|
for (k = 0; k < e; ++k) l[k] = String.fromCharCode(A[f + k]);
|
|
3911
4655
|
l = l.join("");
|
|
3912
4656
|
}
|
|
3913
|
-
S
|
|
4657
|
+
S(d);
|
|
3914
4658
|
return l;
|
|
3915
4659
|
},
|
|
3916
4660
|
toWireType: function(d, e) {
|
|
@@ -3960,15 +4704,15 @@ var loadYoga = (() => {
|
|
|
3960
4704
|
}
|
|
3961
4705
|
f[g] = 0;
|
|
3962
4706
|
}
|
|
3963
|
-
} 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;
|
|
3964
4708
|
else for (g = 0; g < f; ++g) A[m + g] = e[g];
|
|
3965
|
-
null !== d && d.push(S
|
|
4709
|
+
null !== d && d.push(S, k);
|
|
3966
4710
|
return k;
|
|
3967
4711
|
},
|
|
3968
4712
|
argPackAdvance: 8,
|
|
3969
4713
|
readValueFromPointer: Xa,
|
|
3970
4714
|
V: function(d) {
|
|
3971
|
-
S
|
|
4715
|
+
S(d);
|
|
3972
4716
|
}
|
|
3973
4717
|
});
|
|
3974
4718
|
},
|
|
@@ -3988,7 +4732,7 @@ var loadYoga = (() => {
|
|
|
3988
4732
|
var t = m + 4 + u * b;
|
|
3989
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;
|
|
3990
4734
|
}
|
|
3991
|
-
S
|
|
4735
|
+
S(m);
|
|
3992
4736
|
return p;
|
|
3993
4737
|
},
|
|
3994
4738
|
toWireType: function(m, l) {
|
|
@@ -3996,13 +4740,13 @@ var loadYoga = (() => {
|
|
|
3996
4740
|
var n = f(l), p = Ib(4 + n + b);
|
|
3997
4741
|
E[p >> 2] = n >> k;
|
|
3998
4742
|
e(l, p + 4, n + b);
|
|
3999
|
-
null !== m && m.push(S
|
|
4743
|
+
null !== m && m.push(S, p);
|
|
4000
4744
|
return p;
|
|
4001
4745
|
},
|
|
4002
4746
|
argPackAdvance: 8,
|
|
4003
4747
|
readValueFromPointer: Xa,
|
|
4004
4748
|
V: function(m) {
|
|
4005
|
-
S
|
|
4749
|
+
S(m);
|
|
4006
4750
|
}
|
|
4007
4751
|
});
|
|
4008
4752
|
},
|
|
@@ -4176,8 +4920,8 @@ var loadYoga = (() => {
|
|
|
4176
4920
|
};
|
|
4177
4921
|
var Ib = h._malloc = function() {
|
|
4178
4922
|
return (Ib = h._malloc = h.asm.I).apply(null, arguments);
|
|
4179
|
-
}, S
|
|
4180
|
-
return (S
|
|
4923
|
+
}, S = h._free = function() {
|
|
4924
|
+
return (S = h._free = h.asm.K).apply(null, arguments);
|
|
4181
4925
|
};
|
|
4182
4926
|
h.dynCall_jiji = function() {
|
|
4183
4927
|
return (h.dynCall_jiji = h.asm.L).apply(null, arguments);
|
|
@@ -5681,7 +6425,7 @@ const resize = () => {
|
|
|
5681
6425
|
};
|
|
5682
6426
|
|
|
5683
6427
|
//#endregion
|
|
5684
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
6428
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/utils.js
|
|
5685
6429
|
const isDev = () => process$1.env["DEV"] === "true";
|
|
5686
6430
|
|
|
5687
6431
|
//#endregion
|
|
@@ -6160,8 +6904,8 @@ var require_scheduler = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/sc
|
|
|
6160
6904
|
}) });
|
|
6161
6905
|
|
|
6162
6906
|
//#endregion
|
|
6163
|
-
//#region ../../node_modules/.bun/react-reconciler@0.33.0+
|
|
6164
|
-
var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+
|
|
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) => {
|
|
6165
6909
|
module.exports = function($$$config) {
|
|
6166
6910
|
function createFiber(tag, pendingProps, key, mode) {
|
|
6167
6911
|
return new FiberNode(tag, pendingProps, key, mode);
|
|
@@ -7024,8 +7768,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "../../no
|
|
|
7024
7768
|
currentEntangledActionThenable = {
|
|
7025
7769
|
status: "pending",
|
|
7026
7770
|
value: void 0,
|
|
7027
|
-
then: function(resolve) {
|
|
7028
|
-
entangledListeners.push(resolve);
|
|
7771
|
+
then: function(resolve$1) {
|
|
7772
|
+
entangledListeners.push(resolve$1);
|
|
7029
7773
|
}
|
|
7030
7774
|
};
|
|
7031
7775
|
}
|
|
@@ -7048,8 +7792,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "../../no
|
|
|
7048
7792
|
status: "pending",
|
|
7049
7793
|
value: null,
|
|
7050
7794
|
reason: null,
|
|
7051
|
-
then: function(resolve) {
|
|
7052
|
-
listeners.push(resolve);
|
|
7795
|
+
then: function(resolve$1) {
|
|
7796
|
+
listeners.push(resolve$1);
|
|
7053
7797
|
}
|
|
7054
7798
|
};
|
|
7055
7799
|
thenable.then(function() {
|
|
@@ -12313,8 +13057,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJS({ "../../no
|
|
|
12313
13057
|
}) });
|
|
12314
13058
|
|
|
12315
13059
|
//#endregion
|
|
12316
|
-
//#region ../../node_modules/.bun/react-reconciler@0.33.0+
|
|
12317
|
-
var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+
|
|
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) => {
|
|
12318
13062
|
"production" !== process.env.NODE_ENV && (module.exports = function($$$config) {
|
|
12319
13063
|
function findHook(fiber, id) {
|
|
12320
13064
|
for (fiber = fiber.memoizedState; null !== fiber && 0 < id;) fiber = fiber.next, id--;
|
|
@@ -14131,8 +14875,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "../../n
|
|
|
14131
14875
|
currentEntangledActionThenable = {
|
|
14132
14876
|
status: "pending",
|
|
14133
14877
|
value: void 0,
|
|
14134
|
-
then: function(resolve) {
|
|
14135
|
-
entangledListeners.push(resolve);
|
|
14878
|
+
then: function(resolve$1) {
|
|
14879
|
+
entangledListeners.push(resolve$1);
|
|
14136
14880
|
}
|
|
14137
14881
|
};
|
|
14138
14882
|
}
|
|
@@ -14155,8 +14899,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "../../n
|
|
|
14155
14899
|
status: "pending",
|
|
14156
14900
|
value: null,
|
|
14157
14901
|
reason: null,
|
|
14158
|
-
then: function(resolve) {
|
|
14159
|
-
listeners.push(resolve);
|
|
14902
|
+
then: function(resolve$1) {
|
|
14903
|
+
listeners.push(resolve$1);
|
|
14160
14904
|
}
|
|
14161
14905
|
};
|
|
14162
14906
|
thenable.then(function() {
|
|
@@ -21722,8 +22466,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJS({ "../../n
|
|
|
21722
22466
|
}) });
|
|
21723
22467
|
|
|
21724
22468
|
//#endregion
|
|
21725
|
-
//#region ../../node_modules/.bun/react-reconciler@0.33.0+
|
|
21726
|
-
var require_react_reconciler = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react-reconciler@0.33.0+
|
|
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) => {
|
|
21727
22471
|
if (process.env.NODE_ENV === "production") module.exports = require_react_reconciler_production();
|
|
21728
22472
|
else module.exports = require_react_reconciler_development();
|
|
21729
22473
|
}) });
|
|
@@ -21798,7 +22542,7 @@ function widestLine(string) {
|
|
|
21798
22542
|
}
|
|
21799
22543
|
|
|
21800
22544
|
//#endregion
|
|
21801
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
22545
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/measure-text.js
|
|
21802
22546
|
const cache$1 = /* @__PURE__ */ new Map();
|
|
21803
22547
|
const measureText = (text) => {
|
|
21804
22548
|
if (text.length === 0) return {
|
|
@@ -22582,7 +23326,7 @@ function cliTruncate(text, columns, options = {}) {
|
|
|
22582
23326
|
}
|
|
22583
23327
|
|
|
22584
23328
|
//#endregion
|
|
22585
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
23329
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/wrap-text.js
|
|
22586
23330
|
const cache = {};
|
|
22587
23331
|
const wrapText = (text, maxWidth, wrapType) => {
|
|
22588
23332
|
const cacheKey = text + String(maxWidth) + String(wrapType);
|
|
@@ -22605,7 +23349,7 @@ const wrapText = (text, maxWidth, wrapType) => {
|
|
|
22605
23349
|
var wrap_text_default = wrapText;
|
|
22606
23350
|
|
|
22607
23351
|
//#endregion
|
|
22608
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
23352
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/ansi-tokenizer.js
|
|
22609
23353
|
const bellCharacter = "\x07";
|
|
22610
23354
|
const escapeCharacter = "\x1B";
|
|
22611
23355
|
const stringTerminatorCharacter = "";
|
|
@@ -22902,7 +23646,7 @@ const tokenizeAnsi = (text) => {
|
|
|
22902
23646
|
};
|
|
22903
23647
|
|
|
22904
23648
|
//#endregion
|
|
22905
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
23649
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/sanitize-ansi.js
|
|
22906
23650
|
const sgrParametersRegex = /^[\d:;]*$/;
|
|
22907
23651
|
const sanitizeAnsi = (text) => {
|
|
22908
23652
|
if (!hasAnsiControlCharacters(text)) return text;
|
|
@@ -22919,7 +23663,7 @@ const sanitizeAnsi = (text) => {
|
|
|
22919
23663
|
var sanitize_ansi_default = sanitizeAnsi;
|
|
22920
23664
|
|
|
22921
23665
|
//#endregion
|
|
22922
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
23666
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/squash-text-nodes.js
|
|
22923
23667
|
const squashTextNodes = (node) => {
|
|
22924
23668
|
let text = "";
|
|
22925
23669
|
for (let index = 0; index < node.childNodes.length; index++) {
|
|
@@ -22938,7 +23682,7 @@ const squashTextNodes = (node) => {
|
|
|
22938
23682
|
var squash_text_nodes_default = squashTextNodes;
|
|
22939
23683
|
|
|
22940
23684
|
//#endregion
|
|
22941
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
23685
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/dom.js
|
|
22942
23686
|
const createNode = (nodeName) => {
|
|
22943
23687
|
const node = {
|
|
22944
23688
|
nodeName,
|
|
@@ -23021,7 +23765,7 @@ const setTextNodeValue = (node, text) => {
|
|
|
23021
23765
|
};
|
|
23022
23766
|
|
|
23023
23767
|
//#endregion
|
|
23024
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
23768
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/styles.js
|
|
23025
23769
|
const applyPositionStyles = (node, style) => {
|
|
23026
23770
|
if ("position" in style) node.setPositionType(style.position === "absolute" ? src_default.POSITION_TYPE_ABSOLUTE : src_default.POSITION_TYPE_RELATIVE);
|
|
23027
23771
|
};
|
|
@@ -26666,9 +27410,9 @@ var init_wrapper = __esm({ "../../node_modules/.bun/ws@8.20.0/node_modules/ws/wr
|
|
|
26666
27410
|
}) });
|
|
26667
27411
|
|
|
26668
27412
|
//#endregion
|
|
26669
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
27413
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/devtools-window-polyfill.js
|
|
26670
27414
|
var customGlobal;
|
|
26671
|
-
var init_devtools_window_polyfill = __esm({ "../../node_modules/.bun/ink@6.8.0+
|
|
27415
|
+
var init_devtools_window_polyfill = __esm({ "../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/devtools-window-polyfill.js": (() => {
|
|
26672
27416
|
init_wrapper();
|
|
26673
27417
|
customGlobal = global;
|
|
26674
27418
|
customGlobal.WebSocket ||= wrapper_default;
|
|
@@ -32682,11 +33426,11 @@ var require_backend = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/reac
|
|
|
32682
33426
|
var componentInfo = getCurrentComponentInfo();
|
|
32683
33427
|
if (componentInfo === null) return;
|
|
32684
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") {
|
|
32685
|
-
var format$
|
|
33429
|
+
var format$3 = args[0].slice(7);
|
|
32686
33430
|
var env$2 = args[2].trim();
|
|
32687
33431
|
args = args.slice(4);
|
|
32688
|
-
if (env$2 !== componentInfo.env) args.unshift("[" + env$2 + "] " + format$
|
|
32689
|
-
else args.unshift(format$
|
|
33432
|
+
if (env$2 !== componentInfo.env) args.unshift("[" + env$2 + "] " + format$3);
|
|
33433
|
+
else args.unshift(format$3);
|
|
32690
33434
|
}
|
|
32691
33435
|
var message = formatConsoleArgumentsToSingleString.apply(void 0, renderer_toConsumableArray(args));
|
|
32692
33436
|
var componentLogsEntry = componentInfoToComponentLogsMap.get(componentInfo);
|
|
@@ -40101,10 +40845,10 @@ var require_backend = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/reac
|
|
|
40101
40845
|
}) });
|
|
40102
40846
|
|
|
40103
40847
|
//#endregion
|
|
40104
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
40848
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/devtools.js
|
|
40105
40849
|
var devtools_exports = {};
|
|
40106
40850
|
var import_backend;
|
|
40107
|
-
var init_devtools = __esm({ "../../node_modules/.bun/ink@6.8.0+
|
|
40851
|
+
var init_devtools = __esm({ "../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/devtools.js": (() => {
|
|
40108
40852
|
init_devtools_window_polyfill();
|
|
40109
40853
|
import_backend = /* @__PURE__ */ __toESM(require_backend(), 1);
|
|
40110
40854
|
import_backend.default.initialize();
|
|
@@ -40112,7 +40856,7 @@ var init_devtools = __esm({ "../../node_modules/.bun/ink@6.8.0+f52afc7756478863/
|
|
|
40112
40856
|
}) });
|
|
40113
40857
|
|
|
40114
40858
|
//#endregion
|
|
40115
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
40859
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/reconciler.js
|
|
40116
40860
|
var import_react_reconciler = /* @__PURE__ */ __toESM(require_react_reconciler(), 1);
|
|
40117
40861
|
var import_constants$2 = /* @__PURE__ */ __toESM(require_constants$1(), 1);
|
|
40118
40862
|
var import_scheduler = /* @__PURE__ */ __toESM(require_scheduler(), 1);
|
|
@@ -40336,7 +41080,7 @@ function indentString(string, count = 1, options = {}) {
|
|
|
40336
41080
|
}
|
|
40337
41081
|
|
|
40338
41082
|
//#endregion
|
|
40339
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
41083
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/get-max-width.js
|
|
40340
41084
|
const getMaxWidth = (yogaNode) => {
|
|
40341
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);
|
|
40342
41086
|
};
|
|
@@ -40847,7 +41591,7 @@ const chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
|
40847
41591
|
var source_default = chalk;
|
|
40848
41592
|
|
|
40849
41593
|
//#endregion
|
|
40850
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
41594
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/colorize.js
|
|
40851
41595
|
const rgbRegex = /^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/;
|
|
40852
41596
|
const ansiRegex = /^ansi256\(\s?(\d+)\s?\)$/;
|
|
40853
41597
|
const isNamedColor = (color) => {
|
|
@@ -40879,7 +41623,7 @@ const colorize = (str, color, type) => {
|
|
|
40879
41623
|
var colorize_default = colorize;
|
|
40880
41624
|
|
|
40881
41625
|
//#endregion
|
|
40882
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
41626
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render-border.js
|
|
40883
41627
|
var import_cli_boxes = /* @__PURE__ */ __toESM(require_cli_boxes(), 1);
|
|
40884
41628
|
const renderBorder = (x, y, node, output) => {
|
|
40885
41629
|
if (node.style.borderStyle) {
|
|
@@ -40920,7 +41664,7 @@ const renderBorder = (x, y, node, output) => {
|
|
|
40920
41664
|
var render_border_default = renderBorder;
|
|
40921
41665
|
|
|
40922
41666
|
//#endregion
|
|
40923
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
41667
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render-background.js
|
|
40924
41668
|
const renderBackground = (x, y, node, output) => {
|
|
40925
41669
|
if (!node.style.backgroundColor) return;
|
|
40926
41670
|
const width = node.yogaNode.getComputedWidth();
|
|
@@ -40938,7 +41682,7 @@ const renderBackground = (x, y, node, output) => {
|
|
|
40938
41682
|
var render_background_default = renderBackground;
|
|
40939
41683
|
|
|
40940
41684
|
//#endregion
|
|
40941
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
41685
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render-node-to-output.js
|
|
40942
41686
|
const applyPaddingToText = (node, text) => {
|
|
40943
41687
|
const yogaNode = node.childNodes[0]?.yogaNode;
|
|
40944
41688
|
if (yogaNode) {
|
|
@@ -41247,7 +41991,7 @@ function tokenize(str, endChar = Number.POSITIVE_INFINITY) {
|
|
|
41247
41991
|
}
|
|
41248
41992
|
|
|
41249
41993
|
//#endregion
|
|
41250
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
41994
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/output.js
|
|
41251
41995
|
var OutputCaches = class {
|
|
41252
41996
|
widths = /* @__PURE__ */ new Map();
|
|
41253
41997
|
blockWidths = /* @__PURE__ */ new Map();
|
|
@@ -41389,7 +42133,7 @@ var Output = class {
|
|
|
41389
42133
|
};
|
|
41390
42134
|
|
|
41391
42135
|
//#endregion
|
|
41392
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42136
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/renderer.js
|
|
41393
42137
|
const renderer = (node, isScreenReaderEnabled) => {
|
|
41394
42138
|
if (node.yogaNode) {
|
|
41395
42139
|
if (isScreenReaderEnabled) {
|
|
@@ -41506,7 +42250,7 @@ cliCursor.toggle = (force$1, writableStream) => {
|
|
|
41506
42250
|
var cli_cursor_default = cliCursor;
|
|
41507
42251
|
|
|
41508
42252
|
//#endregion
|
|
41509
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42253
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/cursor-helpers.js
|
|
41510
42254
|
const showCursorEscape = "\x1B[?25h";
|
|
41511
42255
|
const hideCursorEscape = "\x1B[?25l";
|
|
41512
42256
|
/**
|
|
@@ -41551,7 +42295,7 @@ const buildReturnToBottomPrefix = (cursorWasShown, previousLineCount, previousCu
|
|
|
41551
42295
|
};
|
|
41552
42296
|
|
|
41553
42297
|
//#endregion
|
|
41554
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42298
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/log-update.js
|
|
41555
42299
|
const visibleLineCount = (lines, str) => str.endsWith("\n") ? lines.length - 1 : lines.length;
|
|
41556
42300
|
const createStandard = (stream, { showCursor = false } = {}) => {
|
|
41557
42301
|
let previousLineCount = 0;
|
|
@@ -41748,7 +42492,7 @@ const logUpdate = { create };
|
|
|
41748
42492
|
var log_update_default = logUpdate;
|
|
41749
42493
|
|
|
41750
42494
|
//#endregion
|
|
41751
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42495
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/write-synchronized.js
|
|
41752
42496
|
const bsu = "\x1B[?2026h";
|
|
41753
42497
|
const esu = "\x1B[?2026l";
|
|
41754
42498
|
function shouldSynchronize(stream) {
|
|
@@ -41756,12 +42500,12 @@ function shouldSynchronize(stream) {
|
|
|
41756
42500
|
}
|
|
41757
42501
|
|
|
41758
42502
|
//#endregion
|
|
41759
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42503
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/instances.js
|
|
41760
42504
|
const instances = /* @__PURE__ */ new WeakMap();
|
|
41761
42505
|
var instances_default = instances;
|
|
41762
42506
|
|
|
41763
42507
|
//#endregion
|
|
41764
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42508
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/input-parser.js
|
|
41765
42509
|
const escape$1 = "\x1B";
|
|
41766
42510
|
const isCsiParameterByte = (byte) => {
|
|
41767
42511
|
return byte >= 48 && byte <= 63;
|
|
@@ -41884,7 +42628,7 @@ const createInputParser = () => {
|
|
|
41884
42628
|
};
|
|
41885
42629
|
|
|
41886
42630
|
//#endregion
|
|
41887
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42631
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/AppContext.js
|
|
41888
42632
|
/**
|
|
41889
42633
|
`AppContext` is a React context that exposes a method to manually exit the app (unmount).
|
|
41890
42634
|
*/
|
|
@@ -41893,7 +42637,7 @@ AppContext.displayName = "InternalAppContext";
|
|
|
41893
42637
|
var AppContext_default = AppContext;
|
|
41894
42638
|
|
|
41895
42639
|
//#endregion
|
|
41896
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42640
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/StdinContext.js
|
|
41897
42641
|
/**
|
|
41898
42642
|
`StdinContext` is a React context that exposes the input stream.
|
|
41899
42643
|
*/
|
|
@@ -41908,7 +42652,7 @@ StdinContext.displayName = "InternalStdinContext";
|
|
|
41908
42652
|
var StdinContext_default = StdinContext;
|
|
41909
42653
|
|
|
41910
42654
|
//#endregion
|
|
41911
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42655
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/StdoutContext.js
|
|
41912
42656
|
/**
|
|
41913
42657
|
`StdoutContext` is a React context that exposes the stdout stream where Ink renders your app.
|
|
41914
42658
|
*/
|
|
@@ -41920,7 +42664,7 @@ StdoutContext.displayName = "InternalStdoutContext";
|
|
|
41920
42664
|
var StdoutContext_default = StdoutContext;
|
|
41921
42665
|
|
|
41922
42666
|
//#endregion
|
|
41923
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42667
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/StderrContext.js
|
|
41924
42668
|
/**
|
|
41925
42669
|
`StderrContext` is a React context that exposes the stderr stream.
|
|
41926
42670
|
*/
|
|
@@ -41932,7 +42676,7 @@ StderrContext.displayName = "InternalStderrContext";
|
|
|
41932
42676
|
var StderrContext_default = StderrContext;
|
|
41933
42677
|
|
|
41934
42678
|
//#endregion
|
|
41935
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42679
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/FocusContext.js
|
|
41936
42680
|
const FocusContext = (0, import_react.createContext)({
|
|
41937
42681
|
activeId: void 0,
|
|
41938
42682
|
add() {},
|
|
@@ -41949,7 +42693,7 @@ FocusContext.displayName = "InternalFocusContext";
|
|
|
41949
42693
|
var FocusContext_default = FocusContext;
|
|
41950
42694
|
|
|
41951
42695
|
//#endregion
|
|
41952
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42696
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/CursorContext.js
|
|
41953
42697
|
const CursorContext = (0, import_react.createContext)({ setCursorPosition() {} });
|
|
41954
42698
|
CursorContext.displayName = "InternalCursorContext";
|
|
41955
42699
|
var CursorContext_default = CursorContext;
|
|
@@ -42130,10 +42874,10 @@ var require_stack_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/
|
|
|
42130
42874
|
return res;
|
|
42131
42875
|
}
|
|
42132
42876
|
};
|
|
42133
|
-
function setFile(result, filename, cwd$
|
|
42877
|
+
function setFile(result, filename, cwd$3) {
|
|
42134
42878
|
if (filename) {
|
|
42135
42879
|
filename = filename.replace(/\\/g, "/");
|
|
42136
|
-
if (filename.startsWith(`${cwd$
|
|
42880
|
+
if (filename.startsWith(`${cwd$3}/`)) filename = filename.slice(cwd$3.length + 1);
|
|
42137
42881
|
result.file = filename;
|
|
42138
42882
|
}
|
|
42139
42883
|
}
|
|
@@ -42177,15 +42921,15 @@ const codeExcerpt = (source, line, options = {}) => {
|
|
|
42177
42921
|
var dist_default$1 = codeExcerpt;
|
|
42178
42922
|
|
|
42179
42923
|
//#endregion
|
|
42180
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42924
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/AccessibilityContext.js
|
|
42181
42925
|
const accessibilityContext = (0, import_react.createContext)({ isScreenReaderEnabled: false });
|
|
42182
42926
|
|
|
42183
42927
|
//#endregion
|
|
42184
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42928
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/BackgroundContext.js
|
|
42185
42929
|
const backgroundContext = (0, import_react.createContext)(void 0);
|
|
42186
42930
|
|
|
42187
42931
|
//#endregion
|
|
42188
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42932
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/Box.js
|
|
42189
42933
|
/**
|
|
42190
42934
|
`<Box>` is an essential Ink component to build your layout. It's like `<div style="display: flex">` in the browser.
|
|
42191
42935
|
*/
|
|
@@ -42217,7 +42961,7 @@ Box.displayName = "Box";
|
|
|
42217
42961
|
var Box_default = Box;
|
|
42218
42962
|
|
|
42219
42963
|
//#endregion
|
|
42220
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42964
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/Text.js
|
|
42221
42965
|
/**
|
|
42222
42966
|
This component can display text and change its style to make it bold, underlined, italic, or strikethrough.
|
|
42223
42967
|
*/
|
|
@@ -42251,7 +42995,7 @@ function Text({ color, backgroundColor, dimColor = false, bold = false, italic =
|
|
|
42251
42995
|
}
|
|
42252
42996
|
|
|
42253
42997
|
//#endregion
|
|
42254
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
42998
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/ErrorOverview.js
|
|
42255
42999
|
var import_stack_utils = /* @__PURE__ */ __toESM(require_stack_utils(), 1);
|
|
42256
43000
|
const cleanupPath = (path) => {
|
|
42257
43001
|
return path?.replace(`file://${cwd()}/`, "");
|
|
@@ -42309,7 +43053,7 @@ function ErrorOverview({ error }) {
|
|
|
42309
43053
|
}
|
|
42310
43054
|
|
|
42311
43055
|
//#endregion
|
|
42312
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
43056
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/ErrorBoundary.js
|
|
42313
43057
|
var ErrorBoundary = class extends import_react.PureComponent {
|
|
42314
43058
|
static displayName = "InternalErrorBoundary";
|
|
42315
43059
|
static getDerivedStateFromError(error) {
|
|
@@ -42326,7 +43070,7 @@ var ErrorBoundary = class extends import_react.PureComponent {
|
|
|
42326
43070
|
};
|
|
42327
43071
|
|
|
42328
43072
|
//#endregion
|
|
42329
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
43073
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/components/App.js
|
|
42330
43074
|
const tab = " ";
|
|
42331
43075
|
const shiftTab = "\x1B[Z";
|
|
42332
43076
|
const escape = "\x1B";
|
|
@@ -42604,7 +43348,7 @@ App.displayName = "InternalApp";
|
|
|
42604
43348
|
var App_default = App;
|
|
42605
43349
|
|
|
42606
43350
|
//#endregion
|
|
42607
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
43351
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/kitty-keyboard.js
|
|
42608
43352
|
const kittyFlags = {
|
|
42609
43353
|
disambiguateEscapeCodes: 1,
|
|
42610
43354
|
reportEventTypes: 2,
|
|
@@ -42629,7 +43373,7 @@ const kittyModifiers = {
|
|
|
42629
43373
|
};
|
|
42630
43374
|
|
|
42631
43375
|
//#endregion
|
|
42632
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
43376
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/ink.js
|
|
42633
43377
|
var import_signal_exit = /* @__PURE__ */ __toESM(require_signal_exit(), 1);
|
|
42634
43378
|
var import_constants$1 = /* @__PURE__ */ __toESM(require_constants$1(), 1);
|
|
42635
43379
|
const noop = () => {};
|
|
@@ -42976,8 +43720,8 @@ var Ink = class {
|
|
|
42976
43720
|
else setImmediate(resolveOrReject);
|
|
42977
43721
|
}
|
|
42978
43722
|
async waitUntilExit() {
|
|
42979
|
-
this.exitPromise ||= new Promise((resolve, reject) => {
|
|
42980
|
-
this.resolveExitPromise = resolve;
|
|
43723
|
+
this.exitPromise ||= new Promise((resolve$1, reject) => {
|
|
43724
|
+
this.resolveExitPromise = resolve$1;
|
|
42981
43725
|
this.rejectExitPromise = reject;
|
|
42982
43726
|
});
|
|
42983
43727
|
if (!this.beforeExitHandler) {
|
|
@@ -43049,7 +43793,7 @@ var Ink = class {
|
|
|
43049
43793
|
};
|
|
43050
43794
|
|
|
43051
43795
|
//#endregion
|
|
43052
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
43796
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render.js
|
|
43053
43797
|
/**
|
|
43054
43798
|
Mount a component and render the output.
|
|
43055
43799
|
*/
|
|
@@ -43096,11 +43840,11 @@ const getInstance = (stdout, createInstance, concurrent) => {
|
|
|
43096
43840
|
};
|
|
43097
43841
|
|
|
43098
43842
|
//#endregion
|
|
43099
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
43843
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/render-to-string.js
|
|
43100
43844
|
var import_constants = /* @__PURE__ */ __toESM(require_constants$1(), 1);
|
|
43101
43845
|
|
|
43102
43846
|
//#endregion
|
|
43103
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
43847
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/parse-keypress.js
|
|
43104
43848
|
const metaKeyCodeRe = /^(?:\x1b)([a-zA-Z0-9])$/;
|
|
43105
43849
|
const fnKeyRe = /^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/;
|
|
43106
43850
|
const keyName = {
|
|
@@ -43494,7 +44238,7 @@ const parseKeypress = (s = "") => {
|
|
|
43494
44238
|
var parse_keypress_default = parseKeypress;
|
|
43495
44239
|
|
|
43496
44240
|
//#endregion
|
|
43497
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
44241
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/hooks/use-stdin.js
|
|
43498
44242
|
/**
|
|
43499
44243
|
`useStdin` is a React hook that exposes the stdin stream.
|
|
43500
44244
|
*/
|
|
@@ -43502,7 +44246,7 @@ const useStdin = () => (0, import_react.useContext)(StdinContext_default);
|
|
|
43502
44246
|
var use_stdin_default = useStdin;
|
|
43503
44247
|
|
|
43504
44248
|
//#endregion
|
|
43505
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
44249
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/hooks/use-input.js
|
|
43506
44250
|
/**
|
|
43507
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`.
|
|
43508
44252
|
|
|
@@ -43587,7 +44331,7 @@ const useInput = (inputHandler, options = {}) => {
|
|
|
43587
44331
|
var use_input_default = useInput;
|
|
43588
44332
|
|
|
43589
44333
|
//#endregion
|
|
43590
|
-
//#region ../../node_modules/.bun/ink@6.8.0+
|
|
44334
|
+
//#region ../../node_modules/.bun/ink@6.8.0+4d40c05051311df7/node_modules/ink/build/hooks/use-app.js
|
|
43591
44335
|
/**
|
|
43592
44336
|
`useApp` is a React hook that exposes a method to manually exit the app (unmount).
|
|
43593
44337
|
*/
|
|
@@ -43698,8 +44442,8 @@ const deriveAction = (actions) => {
|
|
|
43698
44442
|
};
|
|
43699
44443
|
|
|
43700
44444
|
//#endregion
|
|
43701
|
-
//#region ../../node_modules/.bun/react@19.2.
|
|
43702
|
-
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.
|
|
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) => {
|
|
43703
44447
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
43704
44448
|
function jsxProd(type, config, maybeKey) {
|
|
43705
44449
|
var key = null;
|
|
@@ -43723,8 +44467,8 @@ var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJS({ "../../n
|
|
|
43723
44467
|
}) });
|
|
43724
44468
|
|
|
43725
44469
|
//#endregion
|
|
43726
|
-
//#region ../../node_modules/.bun/react@19.2.
|
|
43727
|
-
var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.
|
|
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) => {
|
|
43728
44472
|
"production" !== process.env.NODE_ENV && (function() {
|
|
43729
44473
|
function getComponentNameFromType(type) {
|
|
43730
44474
|
if (null == type) return null;
|
|
@@ -43914,8 +44658,8 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJS({ "../../
|
|
|
43914
44658
|
}) });
|
|
43915
44659
|
|
|
43916
44660
|
//#endregion
|
|
43917
|
-
//#region ../../node_modules/.bun/react@19.2.
|
|
43918
|
-
var require_jsx_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.bun/react@19.2.
|
|
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) => {
|
|
43919
44663
|
if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
|
|
43920
44664
|
else module.exports = require_react_jsx_runtime_development();
|
|
43921
44665
|
}) });
|
|
@@ -44362,16 +45106,6 @@ const startApplySession = Effect.fn(function* (plan) {
|
|
|
44362
45106
|
};
|
|
44363
45107
|
});
|
|
44364
45108
|
|
|
44365
|
-
//#endregion
|
|
44366
|
-
//#region src/Config.ts
|
|
44367
|
-
var DotAlchemy = class extends Context.Service()(".alchemy") {};
|
|
44368
|
-
const dotAlchemy = Layer.effect(DotAlchemy, Effect.gen(function* () {
|
|
44369
|
-
const fs$2 = yield* FileSystem.FileSystem;
|
|
44370
|
-
const dir = (yield* Path$1.Path).join(process.cwd(), ".alchemy");
|
|
44371
|
-
yield* fs$2.makeDirectory(dir, { recursive: true });
|
|
44372
|
-
return dir;
|
|
44373
|
-
}));
|
|
44374
|
-
|
|
44375
45109
|
//#endregion
|
|
44376
45110
|
//#region src/Util/types.ts
|
|
44377
45111
|
const asEffect = (effect) => Effect.isEffect(effect) ? effect : Effect.succeed(effect);
|
|
@@ -44703,224 +45437,114 @@ var DeleteResourceHasDownstreamDependencies = class extends Data.TaggedError("De
|
|
|
44703
45437
|
var UnsatisfiedResourceCycle = class extends Data.TaggedError("UnsatisfiedResourceCycle") {};
|
|
44704
45438
|
|
|
44705
45439
|
//#endregion
|
|
44706
|
-
//#region
|
|
44707
|
-
const
|
|
44708
|
-
|
|
44709
|
-
|
|
44710
|
-
|
|
44711
|
-
|
|
44712
|
-
|
|
44713
|
-
|
|
44714
|
-
|
|
44715
|
-
|
|
44716
|
-
|
|
44717
|
-
|
|
44718
|
-
|
|
44719
|
-
|
|
44720
|
-
|
|
44721
|
-
|
|
44722
|
-
|
|
44723
|
-
|
|
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));
|
|
44724
45464
|
});
|
|
44725
|
-
|
|
44726
|
-
//#endregion
|
|
44727
|
-
//#region bin/alchemy.ts
|
|
44728
|
-
const USER = Config.string("USER").pipe(Config.orElse(() => Config.string("USERNAME")), Config.withDefault("unknown"));
|
|
44729
|
-
const STAGE = Config.string("stage").pipe(Config.option, (a) => a.asEffect(), Effect.map(Option.getOrUndefined));
|
|
44730
|
-
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) {
|
|
44731
|
-
if (stage$1) return stage$1;
|
|
44732
|
-
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)));
|
|
44733
|
-
})));
|
|
44734
|
-
const envFile = Flag.file("env-file").pipe(Flag.optional, Flag.withDescription("File to load environment variables from, defaults to .env"));
|
|
44735
|
-
const dryRun = Flag.boolean("dry-run").pipe(Flag.withDescription("Dry run the deployment, do not actually deploy"), Flag.withDefault(false));
|
|
44736
|
-
const yes = Flag.boolean("yes").pipe(Flag.withDescription("Yes to all prompts"), Flag.withDefault(false));
|
|
44737
|
-
const force = Flag.boolean("force").pipe(Flag.withDescription("Force updates for resources that would otherwise no-op"), Flag.withDefault(false));
|
|
44738
|
-
const main = Argument.file("main", { mustExist: true }).pipe(Argument.withDescription("Main file to deploy, defaults to alchemy.run.ts"), Argument.withDefault("alchemy.run.ts"));
|
|
44739
|
-
const deployCommand = Command.make("deploy", {
|
|
45465
|
+
const deployCommand = Command$1.make("deploy", {
|
|
44740
45466
|
dryRun,
|
|
44741
45467
|
force,
|
|
44742
45468
|
main,
|
|
44743
45469
|
envFile,
|
|
44744
45470
|
stage,
|
|
44745
|
-
yes
|
|
44746
|
-
|
|
44747
|
-
|
|
45471
|
+
yes,
|
|
45472
|
+
profile
|
|
45473
|
+
}, execStack);
|
|
45474
|
+
const destroyCommand = Command$1.make("destroy", {
|
|
44748
45475
|
dryRun,
|
|
44749
45476
|
main,
|
|
44750
45477
|
envFile,
|
|
44751
45478
|
stage,
|
|
44752
|
-
yes
|
|
45479
|
+
yes,
|
|
45480
|
+
profile
|
|
44753
45481
|
}, (args) => execStack({
|
|
44754
45482
|
...args,
|
|
44755
45483
|
destroy: true
|
|
44756
45484
|
}));
|
|
44757
|
-
const planCommand = Command.make("plan", {
|
|
45485
|
+
const planCommand = Command$1.make("plan", {
|
|
44758
45486
|
main,
|
|
44759
45487
|
envFile,
|
|
44760
|
-
stage
|
|
45488
|
+
stage,
|
|
45489
|
+
profile
|
|
44761
45490
|
}, (args) => execStack({
|
|
44762
45491
|
...args,
|
|
44763
45492
|
dryRun: true
|
|
44764
45493
|
}));
|
|
44765
|
-
|
|
44766
|
-
|
|
44767
|
-
|
|
44768
|
-
|
|
44769
|
-
|
|
44770
|
-
const platform$1 = Layer.mergeAll(NodeServices.layer, FetchHttpClient.layer);
|
|
44771
|
-
const rootLogger = Logger.layer([fileLogger("out")]);
|
|
44772
|
-
const alchemy = Layer.mergeAll(LocalState, inkCLI(), Layer.provideMerge(rootLogger, dotAlchemy));
|
|
44773
|
-
yield* Effect.gen(function* () {
|
|
44774
|
-
const cli = yield* Cli;
|
|
44775
|
-
const stack = yield* stackEffect;
|
|
44776
|
-
yield* Effect.gen(function* () {
|
|
44777
|
-
const updatePlan = yield* make(destroy ? {
|
|
44778
|
-
...stack,
|
|
44779
|
-
resources: {},
|
|
44780
|
-
bindings: {},
|
|
44781
|
-
output: {}
|
|
44782
|
-
} : stack, { force: force$1 });
|
|
44783
|
-
if (dryRun$1) yield* cli.displayPlan(updatePlan);
|
|
44784
|
-
else {
|
|
44785
|
-
if (!yes$1) {
|
|
44786
|
-
if (!(yield* cli.approvePlan(updatePlan))) return;
|
|
44787
|
-
}
|
|
44788
|
-
const outputs = yield* apply(updatePlan);
|
|
44789
|
-
yield* Console.log(outputs);
|
|
44790
|
-
}
|
|
44791
|
-
}).pipe(Effect.provide(stack.services), provideFreshArtifactStore);
|
|
44792
|
-
}).pipe(Effect.provide(Layer.provideMerge(alchemy, Layer.mergeAll(platform$1, Layer.succeed(Stage, stage$1)))), Effect.provideService(ConfigProvider.ConfigProvider, configProvider));
|
|
44793
|
-
});
|
|
44794
|
-
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));
|
|
44795
|
-
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", {
|
|
44796
45499
|
main,
|
|
44797
45500
|
envFile,
|
|
44798
45501
|
stage,
|
|
44799
|
-
|
|
44800
|
-
|
|
44801
|
-
|
|
44802
|
-
const stackEffect =
|
|
44803
|
-
|
|
44804
|
-
const
|
|
44805
|
-
const platform$1 = Layer.mergeAll(NodeServices.layer, FetchHttpClient.layer);
|
|
44806
|
-
const rootLogger = Logger.layer([fileLogger("out")]);
|
|
44807
|
-
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);
|
|
44808
45508
|
yield* Effect.gen(function* () {
|
|
44809
|
-
|
|
44810
|
-
const
|
|
44811
|
-
|
|
44812
|
-
|
|
44813
|
-
|
|
44814
|
-
|
|
44815
|
-
|
|
44816
|
-
|
|
44817
|
-
const
|
|
44818
|
-
const
|
|
44819
|
-
|
|
44820
|
-
|
|
44821
|
-
|
|
44822
|
-
|
|
44823
|
-
|
|
44824
|
-
|
|
44825
|
-
fqn
|
|
44826
|
-
});
|
|
44827
|
-
if (!resourceState?.attr) continue;
|
|
44828
|
-
const provider = yield* findProviderByType(resource.Type);
|
|
44829
|
-
if (!provider.tail) continue;
|
|
44830
|
-
tailable.push({
|
|
44831
|
-
logicalId: resource.LogicalId,
|
|
44832
|
-
stream: provider.tail({
|
|
44833
|
-
id: resource.LogicalId,
|
|
44834
|
-
instanceId: resourceState.instanceId,
|
|
44835
|
-
props: resourceState.props,
|
|
44836
|
-
output: resourceState.attr
|
|
44837
|
-
})
|
|
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
|
|
44838
45525
|
});
|
|
44839
|
-
}
|
|
44840
|
-
|
|
44841
|
-
|
|
44842
|
-
|
|
44843
|
-
|
|
44844
|
-
}
|
|
44845
|
-
yield* Console.log(`Tailing: ${tailable.map((t) => t.logicalId).join(", ")}`);
|
|
44846
|
-
const taggedStreams = tailable.map(({ logicalId, stream }, i) => {
|
|
44847
|
-
const color = TAIL_COLORS[i % TAIL_COLORS.length];
|
|
44848
|
-
return stream.pipe(Stream$1.map(({ timestamp, message }) => {
|
|
44849
|
-
return `${color}${formatLocalTimestamp(timestamp)} [${logicalId}]${TAIL_RESET} ${message}`;
|
|
44850
|
-
}));
|
|
44851
|
-
});
|
|
44852
|
-
yield* Stream$1.mergeAll(taggedStreams, { concurrency: "unbounded" }).pipe(Stream$1.runForEach((line) => Console.log(line)));
|
|
44853
|
-
}).pipe(Effect.provide(stack.services));
|
|
44854
|
-
}).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));
|
|
44855
45531
|
}));
|
|
44856
|
-
|
|
44857
|
-
|
|
44858
|
-
|
|
44859
|
-
const bootstrapCommand = Command.make("bootstrap", {
|
|
44860
|
-
envFile,
|
|
44861
|
-
profile: awsProfile,
|
|
44862
|
-
region: awsRegion,
|
|
44863
|
-
destroy: bootstrapDestroy
|
|
44864
|
-
}, Effect.fnUntraced(function* ({ envFile: envFile$1, profile, region, destroy }) {
|
|
44865
|
-
const platform$1 = Layer.mergeAll(NodeServices.layer, FetchHttpClient.layer, Layer.provideMerge(Logger.layer([fileLogger("bootstrap.txt")]), dotAlchemy));
|
|
44866
|
-
return yield* Effect.gen(function* () {
|
|
44867
|
-
const ssoProfile = yield* Auth.loadProfile(profile);
|
|
44868
|
-
const credentials = yield* Auth.loadProfileCredentials(profile);
|
|
44869
|
-
const awsLayers = Layer.mergeAll(Layer.succeed(Account, profile), Layer.succeed(Region$1, region ?? ssoProfile.region ?? "us-east-1"), Layer.succeed(Credentials, Effect.succeed(credentials)));
|
|
44870
|
-
return yield* Effect.gen(function* () {
|
|
44871
|
-
const provider = yield* loadConfigProvider(envFile$1);
|
|
44872
|
-
const bootstrapLayer = Layer.provide(awsLayers, Layer.succeed(ConfigProvider.ConfigProvider, provider));
|
|
44873
|
-
if (destroy) {
|
|
44874
|
-
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));
|
|
44875
|
-
return;
|
|
44876
|
-
}
|
|
44877
|
-
yield* bootstrap().pipe(Effect.tap(({ bucketName, created }) => created ? Console.log(`✓ Created assets bucket: ${bucketName}`) : Console.log(`✓ Assets bucket already exists: ${bucketName}`)), Effect.provide(bootstrapLayer));
|
|
44878
|
-
});
|
|
44879
|
-
}).pipe(Effect.provide(platform$1));
|
|
44880
|
-
}));
|
|
44881
|
-
Command.make("dev", {
|
|
44882
|
-
main,
|
|
44883
|
-
envFile,
|
|
44884
|
-
stage
|
|
44885
|
-
}, ({ envFile: envFile$1, main: main$1, stage: stage$1 }) => Effect.gen(function* () {
|
|
44886
|
-
const proc = yield* ChildProcess.make("bun", ["--hot", main$1], { env: { ALCHEMY_PHASE: "dev" } });
|
|
44887
|
-
proc.stdout;
|
|
44888
|
-
proc.stderr;
|
|
44889
|
-
proc.all;
|
|
44890
|
-
}));
|
|
44891
|
-
const TAIL_COLORS = [
|
|
44892
|
-
"\x1B[36m",
|
|
44893
|
-
"\x1B[35m",
|
|
44894
|
-
"\x1B[33m",
|
|
44895
|
-
"\x1B[32m",
|
|
44896
|
-
"\x1B[34m",
|
|
44897
|
-
"\x1B[91m",
|
|
44898
|
-
"\x1B[96m",
|
|
44899
|
-
"\x1B[95m",
|
|
44900
|
-
"\x1B[93m",
|
|
44901
|
-
"\x1B[92m"
|
|
44902
|
-
];
|
|
44903
|
-
const TAIL_RESET = "\x1B[0m";
|
|
44904
|
-
const formatLocalTimestamp = (date) => {
|
|
44905
|
-
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 ?? ""}`;
|
|
44906
|
-
};
|
|
45532
|
+
|
|
45533
|
+
//#endregion
|
|
45534
|
+
//#region bin/commands/logs.ts
|
|
44907
45535
|
const logsLimit = Flag.integer("limit").pipe(Flag.withDescription("Number of log entries to fetch"), Flag.withDefault(100));
|
|
44908
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));
|
|
44909
45537
|
const logsCommand = Command.make("logs", {
|
|
44910
45538
|
main,
|
|
44911
45539
|
envFile,
|
|
44912
45540
|
stage,
|
|
45541
|
+
profile,
|
|
44913
45542
|
filter: resourceFilter,
|
|
44914
45543
|
limit: logsLimit,
|
|
44915
45544
|
since: logsSince
|
|
44916
|
-
}, Effect.fnUntraced(function* ({ main: main$1, stage: stage$1, envFile: envFile$1, filter, limit, since }) {
|
|
44917
|
-
const
|
|
44918
|
-
const
|
|
44919
|
-
if (!stackEffect) return yield* Effect.die(/* @__PURE__ */ new Error(`Main file '${main$1}' must export a default stack definition (export default defineStack({...}))`));
|
|
44920
|
-
const configProvider = yield* loadConfigProvider(envFile$1);
|
|
44921
|
-
const platform$1 = Layer.mergeAll(NodeServices.layer, FetchHttpClient.layer);
|
|
44922
|
-
const rootLogger = Logger.layer([fileLogger("out")]);
|
|
44923
|
-
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);
|
|
44924
45548
|
const sinceDate = since ? parseSince(since) : void 0;
|
|
44925
45549
|
yield* Effect.gen(function* () {
|
|
44926
45550
|
const state = yield* State;
|
|
@@ -44973,35 +45597,83 @@ const logsCommand = Command.make("logs", {
|
|
|
44973
45597
|
}).sort((a, b) => a.timestamp.getTime() - b.timestamp.getTime());
|
|
44974
45598
|
for (const entry of merged) yield* Console.log(entry.formatted);
|
|
44975
45599
|
}).pipe(Effect.provide(stack.services));
|
|
44976
|
-
}).pipe(Effect.provide(
|
|
45600
|
+
}).pipe(Effect.provide(services$1));
|
|
44977
45601
|
}));
|
|
44978
|
-
|
|
44979
|
-
|
|
44980
|
-
|
|
44981
|
-
|
|
44982
|
-
|
|
44983
|
-
|
|
44984
|
-
|
|
44985
|
-
|
|
44986
|
-
|
|
44987
|
-
|
|
44988
|
-
|
|
44989
|
-
|
|
44990
|
-
|
|
44991
|
-
|
|
44992
|
-
|
|
44993
|
-
|
|
44994
|
-
|
|
44995
|
-
|
|
44996
|
-
|
|
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([
|
|
44997
45666
|
bootstrapCommand,
|
|
44998
45667
|
deployCommand,
|
|
44999
45668
|
destroyCommand,
|
|
45000
45669
|
planCommand,
|
|
45001
45670
|
tailCommand,
|
|
45002
|
-
logsCommand
|
|
45671
|
+
logsCommand,
|
|
45672
|
+
loginCommand
|
|
45003
45673
|
]));
|
|
45004
|
-
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);
|
|
45005
45677
|
|
|
45006
45678
|
//#endregion
|
|
45007
45679
|
export { };
|