@codedrifters/configulator 0.0.317 → 0.0.319

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/lib/index.d.mts CHANGED
@@ -32,7 +32,7 @@ declare const AGENT_PLATFORM: {
32
32
  type AgentPlatform = (typeof AGENT_PLATFORM)[keyof typeof AGENT_PLATFORM];
33
33
  /**
34
34
  * Render target for Claude Code rules.
35
- * - SCOPED_FILE: .claude/rules/{name}.md (default — supports paths frontmatter for conditional activation)
35
+ * - SCOPED_FILE: `.claude/rules/{name}.md` (default — supports paths frontmatter for conditional activation)
36
36
  * - AGENTS_MD: AGENTS.md (always-active, shared with Codex)
37
37
  * - CLAUDE_MD: CLAUDE.md (always-active, Claude-only content not consumed by other agents)
38
38
  */
@@ -82,7 +82,7 @@ interface AgentPlatformOverrides {
82
82
  readonly claude?: {
83
83
  /**
84
84
  * Where to render this rule for Claude Code.
85
- * - SCOPED_FILE: .claude/rules/{name}.md (default — supports paths frontmatter)
85
+ * - SCOPED_FILE: `.claude/rules/{name}.md` (default — supports paths frontmatter)
86
86
  * - AGENTS_MD: AGENTS.md (always-active, shared with Codex)
87
87
  * - CLAUDE_MD: CLAUDE.md (always-active, Claude-only)
88
88
  */
@@ -220,10 +220,12 @@ interface AgentSkill {
220
220
  * files for that platform alongside the SKILL.md.
221
221
  *
222
222
  * @example
223
+ * ```ts
223
224
  * referenceFiles: [
224
225
  * { path: '_references/templates/_template-FR.md', content: '# Functional Requirement\n...' },
225
226
  * { path: '_references/standards-and-frameworks.md', content: '# Standards\n...' },
226
227
  * ]
228
+ * ```
227
229
  */
228
230
  readonly referenceFiles?: ReadonlyArray<{
229
231
  /** Path relative to the skill directory (e.g., `_references/templates/_template-FR.md`). */
@@ -403,7 +405,7 @@ interface AgentCommand {
403
405
  }
404
406
  /**
405
407
  * An executable procedure (shell script) that ships with a bundle.
406
- * Rendered to .claude/procedures/{name} as an executable file.
408
+ * Rendered to `.claude/procedures/{name}` as an executable file.
407
409
  */
408
410
  interface AgentProcedure {
409
411
  /**
@@ -531,7 +533,7 @@ interface AgentRuleBundle {
531
533
  * Function that inspects the Projen project and returns true if this
532
534
  * bundle should be automatically included. Receives the root project
533
535
  * as input and can check for sibling components, dependencies, etc.
534
- * @example (project) => Vitest.of(project) !== undefined
536
+ * @example `(project) => Vitest.of(project) !== undefined`
535
537
  */
536
538
  readonly appliesWhen: (project: Project) => boolean;
537
539
  /**
@@ -544,7 +546,7 @@ interface AgentRuleBundle {
544
546
  * TypeScript-adjacent code (e.g. typescript, aws-cdk, vitest, jest) should
545
547
  * implement this so their rules only activate for files in the packages
546
548
  * that actually use them.
547
- * @example (project) => findProjectsWithFile(project, 'tsconfig.json')
549
+ * @example `(project) => findProjectsWithFile(project, 'tsconfig.json')`
548
550
  */
549
551
  readonly findApplicableProjects?: (project: Project) => ReadonlyArray<Project>;
550
552
  /** Rules included in this bundle. */
@@ -1331,11 +1333,11 @@ interface MeetingType {
1331
1333
  * edits on that meeting (see the `meeting-analyst` agent's
1332
1334
  * **Areas filtering** section for the full gating contract).
1333
1335
  *
1334
- * Example: declaring `{ id: 'product-engineering', label: 'Product &
1335
- * Engineering', docRoot: 'product' }` tells the `meeting-analysis`
1336
- * bundle that a meeting whose frontmatter carries
1337
- * `areas: [product-engineering]` should have its direct edits routed
1338
- * under `<docsRoot>/product/`.
1336
+ * Example: declaring
1337
+ * `{ id: 'product-engineering', label: 'Product & Engineering', docRoot: 'product' }`
1338
+ * tells the `meeting-analysis` bundle that a meeting whose frontmatter
1339
+ * carries `areas: [product-engineering]` should have its direct edits
1340
+ * routed under `<docsRoot>/product/`.
1339
1341
  *
1340
1342
  * When `AgentConfigOptions.meetings.meetingAreas` is non-empty, the
1341
1343
  * `meeting-analysis` bundle renders an "Area → doc-root mapping"
@@ -2828,7 +2830,7 @@ interface AgentConfigOptions {
2828
2830
  * match one of the six tier-aware bundle names — typos or
2829
2831
  * deprecated bundle names would otherwise be silently ignored.
2830
2832
  *
2831
- * @default {}
2833
+ * @default `{}`
2832
2834
  */
2833
2835
  readonly bundleAgentTiers?: Readonly<Record<string, "powerful" | "balanced" | "fast">>;
2834
2836
  /**
@@ -4418,7 +4420,7 @@ interface ResolvedScheduledTask {
4418
4420
  readonly typeLabel: string;
4419
4421
  /**
4420
4422
  * Exact `type:*` label values (without the `type:` prefix) the
4421
- * worker picks up. When set (length >= 1), represents a
4423
+ * worker picks up. When set (`length >= 1`), represents a
4422
4424
  * multi-type filter (e.g. routing-bucket `worker-issue`). When
4423
4425
  * unset, the `typeLabel` single-value filter applies.
4424
4426
  */
@@ -4432,7 +4434,7 @@ interface ResolvedScheduledTask {
4432
4434
  readonly phasePrefix?: string;
4433
4435
  /**
4434
4436
  * Exact phase-label values the worker filters on (e.g.
4435
- * `["req:write"]`). When set (length >= 1), takes precedence over
4437
+ * `["req:write"]`). When set (`length >= 1`), takes precedence over
4436
4438
  * `phasePrefix`. When unset, the `phasePrefix` prefix-match
4437
4439
  * applies.
4438
4440
  */
@@ -4885,10 +4887,10 @@ declare function validateAgentTierConfig(config?: AgentTierConfig): ReadonlyArra
4885
4887
  *
4886
4888
  * When `excludeBundles` is non-empty, rows whose `type:*` label is
4887
4889
  * owned by an excluded bundle are dropped before rendering. Tiers
4888
- * that end up with no surviving rows render an empty `_(none
4889
- * registered)_` cell for consistency with the existing render — the
4890
- * tier itself stays in the table so the dispatch ordering is still
4891
- * documented end-to-end.
4890
+ * that end up with no surviving rows render an empty
4891
+ * `_(none registered)_` cell for consistency with the existing
4892
+ * render — the tier itself stays in the table so the dispatch
4893
+ * ordering is still documented end-to-end.
4892
4894
  */
4893
4895
  declare function renderAgentTierSection(tiers: ReadonlyArray<ResolvedAgentTier>, excludeBundles?: ReadonlyArray<string>): string;
4894
4896
  /**
@@ -6367,7 +6369,7 @@ interface GitHubProjectMetadata {
6367
6369
  readonly sprints?: GitHubSprintMetadata;
6368
6370
  /**
6369
6371
  * Kanban column (status field) definitions.
6370
- * @example [{ name: 'To Do', id: 'status_1' }, { name: 'In Progress', id: 'status_2' }]
6372
+ * @example `[{ name: 'To Do', id: 'status_1' }, { name: 'In Progress', id: 'status_2' }]`
6371
6373
  */
6372
6374
  readonly columns?: ReadonlyArray<{
6373
6375
  readonly name: string;
@@ -6416,7 +6418,7 @@ interface SlackMetadata {
6416
6418
  readonly alertsChannel?: string;
6417
6419
  /**
6418
6420
  * Additional named channels. Keys are purpose identifiers.
6419
- * @example { releases: '#releases', support: '#customer-support' }
6421
+ * @example `{ releases: '#releases', support: '#customer-support' }`
6420
6422
  */
6421
6423
  readonly channels?: Readonly<Record<string, string>>;
6422
6424
  }
@@ -6441,7 +6443,7 @@ interface DeploymentMetadata {
6441
6443
  readonly awsRegion?: string;
6442
6444
  /**
6443
6445
  * Named environments.
6444
- * @example { dev: { accountId: '111', region: 'us-east-1' }, prod: { accountId: '222', region: 'us-east-1' } }
6446
+ * @example `{ dev: { accountId: '111', region: 'us-east-1' }, prod: { accountId: '222', region: 'us-east-1' } }`
6445
6447
  */
6446
6448
  readonly environments?: Readonly<Record<string, {
6447
6449
  readonly accountId?: string;
@@ -6714,7 +6716,7 @@ interface AstroIntegrationSpec {
6714
6716
  */
6715
6717
  readonly name: string;
6716
6718
  /**
6717
- * Module to import from, e.g. "@astrojs/react".
6719
+ * Module to import from, e.g. `@astrojs/react`.
6718
6720
  */
6719
6721
  readonly importPath: string;
6720
6722
  /**
@@ -6787,265 +6789,1672 @@ declare class AstroConfig extends Component {
6787
6789
 
6788
6790
  /*******************************************************************************
6789
6791
  *
6790
- * Git configs for this repo. This venn diagram has a great deal of overlap
6791
- * with GitHub config options but is not a perfect circle.
6792
+ * AWS CDK CLI Enums
6793
+ *
6794
+ * `as const` enums for the `cdk` CLI surface. Phase 1 covered `cdk deploy`;
6795
+ * Phase 2 adds the enum needed by `cdk diff`; Phase 3 adds the enums needed by
6796
+ * `cdk gc`; Phase 4 adds the enums needed by `cdk init` (and reused by `cdk
6797
+ * migrate`).
6792
6798
  *
6793
6799
  ******************************************************************************/
6794
- interface GitBranch {
6795
- /**
6796
- * The name of the branch pattern.
6797
- *
6798
- * @example "main" or "feature/*"
6799
- */
6800
- branch: string;
6801
- /**
6802
- * Description for this branch's purpose, used for generated documentation.
6803
- */
6804
- description?: Array<string>;
6805
- }
6800
+ /**
6801
+ * `--require-approval` values accepted by `cdk deploy`.
6802
+ */
6803
+ declare const CDK_REQUIRE_APPROVAL: {
6804
+ readonly Never: "never";
6805
+ readonly AnyChange: "any-change";
6806
+ readonly Broadening: "broadening";
6807
+ };
6808
+ /**
6809
+ * Type for {@link CDK_REQUIRE_APPROVAL} values.
6810
+ */
6811
+ type CdkRequireApproval = (typeof CDK_REQUIRE_APPROVAL)[keyof typeof CDK_REQUIRE_APPROVAL];
6812
+ /**
6813
+ * `--method` values accepted by `cdk deploy`.
6814
+ */
6815
+ declare const CDK_DEPLOY_METHOD: {
6816
+ readonly ChangeSet: "change-set";
6817
+ readonly Direct: "direct";
6818
+ readonly PrepareChangeSet: "prepare-change-set";
6819
+ readonly ExecuteChangeSet: "execute-change-set";
6820
+ };
6821
+ /**
6822
+ * Type for {@link CDK_DEPLOY_METHOD} values.
6823
+ */
6824
+ type CdkDeployMethod = (typeof CDK_DEPLOY_METHOD)[keyof typeof CDK_DEPLOY_METHOD];
6825
+ /**
6826
+ * `--progress` values accepted by `cdk deploy`.
6827
+ */
6828
+ declare const CDK_PROGRESS: {
6829
+ readonly Bar: "bar";
6830
+ readonly Events: "events";
6831
+ };
6832
+ /**
6833
+ * Type for {@link CDK_PROGRESS} values.
6834
+ */
6835
+ type CdkProgress = (typeof CDK_PROGRESS)[keyof typeof CDK_PROGRESS];
6836
+ /**
6837
+ * `--method` values accepted by `cdk diff`.
6838
+ */
6839
+ declare const CDK_DIFF_METHOD: {
6840
+ readonly Auto: "auto";
6841
+ readonly ChangeSet: "change-set";
6842
+ readonly Template: "template";
6843
+ };
6844
+ /**
6845
+ * Type for {@link CDK_DIFF_METHOD} values.
6846
+ */
6847
+ type CdkDiffMethod = (typeof CDK_DIFF_METHOD)[keyof typeof CDK_DIFF_METHOD];
6848
+ /**
6849
+ * `--action` values accepted by `cdk gc`.
6850
+ */
6851
+ declare const CDK_GC_ACTION: {
6852
+ readonly DeleteTagged: "delete-tagged";
6853
+ readonly Full: "full";
6854
+ readonly Print: "print";
6855
+ readonly Tag: "tag";
6856
+ };
6857
+ /**
6858
+ * Type for {@link CDK_GC_ACTION} values.
6859
+ */
6860
+ type CdkGcAction = (typeof CDK_GC_ACTION)[keyof typeof CDK_GC_ACTION];
6861
+ /**
6862
+ * `--type` values accepted by `cdk gc`.
6863
+ */
6864
+ declare const CDK_GC_TYPE: {
6865
+ readonly All: "all";
6866
+ readonly Ecr: "ecr";
6867
+ readonly S3: "s3";
6868
+ };
6869
+ /**
6870
+ * Type for {@link CDK_GC_TYPE} values.
6871
+ */
6872
+ type CdkGcType = (typeof CDK_GC_TYPE)[keyof typeof CDK_GC_TYPE];
6873
+ /**
6874
+ * Positional `<template>` values accepted by `cdk init`.
6875
+ */
6876
+ declare const CDK_INIT_TEMPLATE: {
6877
+ readonly App: "app";
6878
+ readonly Lib: "lib";
6879
+ readonly SampleApp: "sample-app";
6880
+ };
6881
+ /**
6882
+ * Type for {@link CDK_INIT_TEMPLATE} values.
6883
+ */
6884
+ type CdkInitTemplate = (typeof CDK_INIT_TEMPLATE)[keyof typeof CDK_INIT_TEMPLATE];
6885
+ /**
6886
+ * `--language` values accepted by `cdk init`. Also reused by `cdk migrate`'s
6887
+ * `--language` flag, which accepts the same set of language identifiers.
6888
+ */
6889
+ declare const CDK_INIT_LANGUAGE: {
6890
+ readonly CSharp: "csharp";
6891
+ readonly FSharp: "fsharp";
6892
+ readonly Go: "go";
6893
+ readonly Java: "java";
6894
+ readonly JavaScript: "javascript";
6895
+ readonly Python: "python";
6896
+ readonly TypeScript: "typescript";
6897
+ };
6898
+ /**
6899
+ * Type for {@link CDK_INIT_LANGUAGE} values.
6900
+ */
6901
+ type CdkInitLanguage = (typeof CDK_INIT_LANGUAGE)[keyof typeof CDK_INIT_LANGUAGE];
6806
6902
 
6807
6903
  /*******************************************************************************
6808
6904
  *
6809
- * AWS Deployment Configuration
6905
+ * AWS CDK CLI Options
6810
6906
  *
6811
- * A single deployment target that CDK applications can be deployed into.
6907
+ * Typed coverage of the `cdk` CLI surface. Phase 1 covered `deploy`; Phase 2
6908
+ * adds `synth`, `watch`, `destroy`, `diff`, `bootstrap`, and `list`; Phase 3
6909
+ * adds the maintenance / lifecycle commands `rollback`, `import`, `gc`,
6910
+ * `drift`, `refactor`, `publish-assets`, and `orphan`; Phase 4 adds the
6911
+ * inspection / scaffolding commands `init`, `migrate`, `context`, `metadata`,
6912
+ * `flags`, `acknowledge`, `notices`, `doctor`, and `docs`. Every
6913
+ * command-specific interface inherits {@link CdkGlobalOptions} so it carries
6914
+ * the same global flag surface.
6915
+ *
6916
+ * Every boolean field is tri-state (`boolean | undefined`):
6917
+ * - `undefined` → the renderer emits nothing, and the CLI's own default
6918
+ * applies.
6919
+ * - `true` → renders as `--flag`.
6920
+ * - `false` → renders as `--no-flag`.
6812
6921
  *
6813
6922
  ******************************************************************************/
6814
6923
  /**
6815
- * Represents the configuration for local deployment in AWS.
6924
+ * Global CLI flags accepted by every `cdk` subcommand. Command-specific option
6925
+ * interfaces extend this base so the global flag surface stays in lock-step
6926
+ * across commands.
6816
6927
  */
6817
- interface AwsLocalDeploymentConfig {
6818
- /**
6819
- * The AWS profile (in ~/.aws/config) to use for local deployment.
6928
+ interface CdkGlobalOptions {
6929
+ /*****************************************************************************
6820
6930
  *
6821
- * @default generated dynamically based role name, account and region
6931
+ * Global CLI flags
6932
+ *
6933
+ ****************************************************************************/
6934
+ /**
6935
+ * `--app` — path to the CDK cloud assembly (or the synth command).
6936
+ */
6937
+ readonly app?: string;
6938
+ /**
6939
+ * `--profile` — named AWS profile from `~/.aws/credentials`.
6822
6940
  */
6823
6941
  readonly profile?: string;
6824
6942
  /**
6825
- * Named Role used to conduct local deployments.
6826
- *
6827
- * @default "poweruseraccess"
6943
+ * `--lookups` whether the CLI may perform context lookups against the
6944
+ * target environment.
6828
6945
  */
6829
- readonly roleName?: string;
6946
+ readonly lookups?: boolean;
6830
6947
  /**
6831
- * The pattern used to identify stacks to deploy in CI deployments.
6832
- *
6833
- * @default *-${account}-${region}
6948
+ * `--context` CDK context values. Repeats one `--context` flag per
6949
+ * `KEY=VALUE` entry.
6834
6950
  */
6835
- readonly stackPattern?: string;
6836
- }
6837
- interface CiDeploymentConfig {
6951
+ readonly context?: Record<string, string>;
6838
6952
  /**
6839
- * The OIDC IAM Role to assume for CI deployments.
6953
+ * `--output` directory to read the cloud assembly from.
6840
6954
  */
6841
- readonly roleArn: string;
6955
+ readonly output?: string;
6842
6956
  /**
6843
- * The pattern used to identify stacks to deploy in CI deployments.
6844
- *
6845
- * @default *-${account}-${region}
6957
+ * `--verbose` (`-v`) verbosity level. The renderer emits `-v` repeated N
6958
+ * times.
6846
6959
  */
6847
- readonly stackPattern?: string;
6848
- }
6849
- /**
6850
- * Represents a deployment target in AWS, including account and region, and
6851
- * branches allowed to deploy to this target.
6852
- */
6853
- interface AwsDeploymentTargetOptions {
6960
+ readonly verbose?: number;
6854
6961
  /**
6855
- * The account name for the deployment target.
6962
+ * `--debug` enable debug output.
6856
6963
  */
6857
- readonly account: string;
6964
+ readonly debug?: boolean;
6858
6965
  /**
6859
- * The AWS region for the deployment target.
6966
+ * `--ci` non-interactive CI mode.
6860
6967
  */
6861
- readonly region: string;
6968
+ readonly ci?: boolean;
6862
6969
  /**
6863
- * AWS deployment type, such as dev, stage, or prod.
6864
- *
6865
- * @default 'dev'
6970
+ * `--yes` auto-confirm prompts.
6866
6971
  */
6867
- readonly awsStageType?: AwsStageType;
6972
+ readonly yes?: boolean;
6868
6973
  /**
6869
- * Deployment target role: whether this (account, region) is the primary or
6870
- * secondary deployment target (e.g. primary vs replica region).
6871
- *
6872
- * @default 'primary'
6974
+ * `--role-arn` IAM role to assume for CloudFormation deployments.
6873
6975
  */
6874
- readonly deploymentTargetRole?: DeploymentTargetRoleType;
6976
+ readonly roleArn?: string;
6875
6977
  /**
6876
- * AWS environment type, such as primary or secondary.
6877
- *
6878
- * @deprecated Use `deploymentTargetRole` instead. This property is maintained for backward compatibility.
6879
- * @default 'primary'
6978
+ * `--proxy` HTTP/HTTPS proxy URL.
6880
6979
  */
6881
- readonly awsEnvironmentType?: AwsEnvironmentType;
6980
+ readonly proxy?: string;
6882
6981
  /**
6883
- * The AWS profile to use for this deployment target.
6884
- *
6885
- * @default ['main'] when prod release type, ['feature/*'] when dev type
6982
+ * `--ca-bundle-path` path to a CA bundle for TLS verification.
6886
6983
  */
6887
- readonly branches?: Array<GitBranch>;
6984
+ readonly caBundlePath?: string;
6888
6985
  /**
6889
- * Can this deployment target be used for local development?
6890
- *
6891
- * @default true for dev environments, false for prod environments
6986
+ * `--ec2creds` force the SDK to obtain credentials from the EC2 instance
6987
+ * metadata service.
6892
6988
  */
6893
- readonly localDeployment?: boolean;
6989
+ readonly ec2creds?: boolean;
6894
6990
  /**
6895
- * Configuration when deploying to this target locally.
6991
+ * `--version-reporting` include CDK library version reporting in the
6992
+ * synthesised template metadata.
6896
6993
  */
6897
- readonly localDeploymentConfig?: AwsLocalDeploymentConfig;
6994
+ readonly versionReporting?: boolean;
6898
6995
  /**
6899
- * Can this deployment target be used in CI deployments?
6900
- *
6901
- * @default false
6996
+ * `--path-metadata` include path metadata in the synthesised template.
6902
6997
  */
6903
- readonly ciDeployment?: boolean;
6904
- readonly ciDeploymentConfig?: CiDeploymentConfig;
6905
- }
6906
- declare class AwsDeploymentTarget extends Component {
6998
+ readonly pathMetadata?: boolean;
6907
6999
  /**
6908
- * Static method to discovert targets in a project.
7000
+ * `--asset-metadata` include asset metadata in the synthesised template.
6909
7001
  */
6910
- static of(project: AwsCdkTypeScriptApp): Array<AwsDeploymentTarget> | undefined;
7002
+ readonly assetMetadata?: boolean;
6911
7003
  /**
6912
- * The account name for the deployment target.
7004
+ * `--staging` copy assets to `cdk.out` for staging.
6913
7005
  */
6914
- account: string;
7006
+ readonly staging?: boolean;
6915
7007
  /**
6916
- * The AWS region for the deployment target.
7008
+ * `--notices` show CDK notices.
6917
7009
  */
6918
- region: string;
6919
- /**'
6920
- * AWS stage type, such as dev, stage, or prod.
6921
- *
6922
- * @default 'dev'
7010
+ readonly notices?: boolean;
7011
+ /**
7012
+ * `--color` force-enable coloured output.
6923
7013
  */
6924
- awsStageType: AwsStageType;
7014
+ readonly color?: boolean;
6925
7015
  /**
6926
- * Deployment target role: whether this (account, region) is the primary or
6927
- * secondary deployment target (e.g. primary vs replica region).
6928
- *
6929
- * @default 'primary'
7016
+ * `--no-color` disable coloured output.
6930
7017
  */
6931
- deploymentTargetRole: DeploymentTargetRoleType;
7018
+ readonly noColor?: boolean;
6932
7019
  /**
6933
- * AWS environment type, such as primary or secondary.
6934
- *
6935
- * @deprecated Use `deploymentTargetRole` instead. This property is maintained for backward compatibility.
6936
- * @default 'primary'
7020
+ * `--unstable` opt into named unstable CLI features. Repeats one
7021
+ * `--unstable` flag per entry.
6937
7022
  */
6938
- awsEnvironmentType: AwsEnvironmentType;
7023
+ readonly unstable?: Array<string>;
6939
7024
  /**
6940
- * The AWS profile to use for this deployment target.
6941
- *
6942
- * @default ['main'] when prod release type, ['feature/*'] when dev type
7025
+ * `--telemetry-file` write CDK telemetry to the given path.
6943
7026
  */
6944
- branches: Array<GitBranch>;
7027
+ readonly telemetryFile?: string;
6945
7028
  /**
6946
- * Can this deployment target be used for local development?
6947
- *
6948
- * @default true for dev environments, false for prod environments
7029
+ * `--trace` print stack traces on errors.
6949
7030
  */
6950
- localDeployment?: boolean;
7031
+ readonly trace?: boolean;
6951
7032
  /**
6952
- * Configuration when deploying to this target locally.
7033
+ * `--strict` promote certain warnings to errors.
6953
7034
  */
6954
- localDeploymentConfig?: AwsLocalDeploymentConfig;
7035
+ readonly strict?: boolean;
6955
7036
  /**
6956
- * Can this deployment target be used in CI deployments?
6957
- *
6958
- * @default false
7037
+ * `--ignore-errors` proceed past non-fatal errors.
6959
7038
  */
6960
- ciDeployment?: boolean;
6961
- ciDeploymentConfig?: Required<CiDeploymentConfig>;
7039
+ readonly ignoreErrors?: boolean;
6962
7040
  /**
6963
- * Configuration for the CDK output directory for this deployment target.
7041
+ * `--json` emit JSON-formatted output.
6964
7042
  */
6965
- awsDeploymentConfig: AwsDeploymentConfig;
6966
- constructor(project: AwsCdkTypeScriptApp, options: AwsDeploymentTargetOptions);
7043
+ readonly json?: boolean;
7044
+ /**
7045
+ * `--plugin` — register one or more CDK CLI plugins. Repeats one `--plugin`
7046
+ * flag per entry.
7047
+ */
7048
+ readonly plugin?: Array<string>;
7049
+ /**
7050
+ * `--build` — command to build the CDK app before deploy.
7051
+ */
7052
+ readonly build?: string;
6967
7053
  /*****************************************************************************
6968
7054
  *
6969
- * Deploy Tasks
6970
- *
6971
- * - If local deploy, add a deploy task.
7055
+ * Trailing positional arguments
6972
7056
  *
6973
7057
  ****************************************************************************/
6974
- private configureDeployTask;
7058
+ /**
7059
+ * Stack patterns passed as trailing positional arguments. Quoted by the
7060
+ * renderer to preserve glob characters across shells.
7061
+ */
7062
+ readonly stackPatterns?: Array<string>;
7063
+ }
7064
+ /**
7065
+ * Options for the `cdk deploy` command.
7066
+ */
7067
+ interface CdkDeployOptions extends CdkGlobalOptions {
6975
7068
  /*****************************************************************************
6976
7069
  *
6977
- * Watch tasks
6978
- *
6979
- * - Configure watch task to use the branch name
6980
- * - configure watch task to use the correct synth output location.
7070
+ * Deploy-specific flags
6981
7071
  *
6982
7072
  ****************************************************************************/
6983
- private configureWatchTask;
6984
- }
6985
-
6986
- /*******************************************************************************
6987
- *
6988
- * AWS Deployment Configuration
6989
- *
6990
- * This component allows configuration of multiple AWS deployment
6991
- * targets, each with its own account, region, and deployment type
6992
- * (dev, stage, prod). It supports both local and CI deployments,
6993
- * with customizable settings for each target.
6994
- *
6995
- ******************************************************************************/
6996
- declare class AwsDeploymentConfig extends Component {
6997
- static of(project: AwsCdkTypeScriptApp): AwsDeploymentConfig | undefined;
6998
7073
  /**
6999
- * Environment variables to be injected into all tasks.
7074
+ * Deploy all stacks in the application.
7000
7075
  */
7001
- readonly env: Record<string, string>;
7076
+ readonly all?: boolean;
7002
7077
  /**
7003
- * The relative path to the project directory from the root of the project.
7078
+ * `--require-approval` when to prompt for security-related approvals.
7004
7079
  */
7005
- readonly projectPath: string;
7080
+ readonly requireApproval?: CdkRequireApproval;
7006
7081
  /**
7007
- * The relative path to the root of the project from the output directory.
7082
+ * `--rollback` / `--no-rollback` roll back the stack on failure.
7083
+ *
7084
+ * Tri-state: `true` enables rollback, `false` disables it (useful in dev for
7085
+ * fast iteration), `undefined` defers to the CLI default.
7008
7086
  */
7009
- readonly rootPath: string;
7087
+ readonly rollback?: boolean;
7010
7088
  /**
7011
- * The output directory for the CDK synthesis, from the root directory.
7089
+ * `--hotswap` apply changes directly to running resources without going
7090
+ * through CloudFormation when possible.
7091
+ *
7092
+ * @deprecated AWS recommends `--hotswap` strictly for development use; it
7093
+ * introduces drift relative to the deployed CloudFormation template and
7094
+ * should never be used in production deployments.
7012
7095
  */
7013
- readonly rootCdkOut: string;
7096
+ readonly hotswap?: boolean;
7014
7097
  /**
7015
- * The output directory for the CDK synthesis.
7098
+ * `--hotswap-fallback` fall back to a full CloudFormation deployment when a
7099
+ * hotswap is not possible.
7016
7100
  */
7017
- readonly cdkOut: string;
7101
+ readonly hotswapFallback?: boolean;
7018
7102
  /**
7019
- * Array of targets for deployment.
7103
+ * `--method` how the deployment is performed (change-set vs direct).
7020
7104
  */
7021
- readonly awsDeploymentTargets: Array<AwsDeploymentTarget>;
7022
- constructor(project: AwsCdkTypeScriptApp);
7023
- /*****************************************************************************
7024
- *
7025
- * Target filter helpers
7026
- *
7027
- * Return various targets for deployment scripts to use.
7028
- *
7029
- ****************************************************************************/
7105
+ readonly method?: CdkDeployMethod;
7030
7106
  /**
7031
- * @returns All production deployment targets.
7107
+ * `--change-set-name` name of the change set to create/execute.
7032
7108
  */
7033
- get prodTargets(): Array<AwsDeploymentTarget>;
7034
- get prodTargetsForCI(): Array<AwsDeploymentTarget>;
7035
- get prodTargetsForLocal(): Array<AwsDeploymentTarget>;
7109
+ readonly changeSetName?: string;
7036
7110
  /**
7037
- *
7038
- * @returns All stage deployment targets.
7111
+ * `--force` — always deploy even if no changes are detected.
7039
7112
  */
7040
- get stageTargets(): Array<AwsDeploymentTarget>;
7041
- get stageTargetsForCI(): Array<AwsDeploymentTarget>;
7042
- get stageTargetsForLocal(): Array<AwsDeploymentTarget>;
7113
+ readonly force?: boolean;
7114
+ /**
7115
+ * `--exclusively` — deploy only the requested stacks; do not include
7116
+ * dependencies.
7117
+ */
7118
+ readonly exclusively?: boolean;
7119
+ /**
7120
+ * `--toolkit-stack-name` — name of the CDK toolkit stack used as the
7121
+ * environment bootstrap.
7122
+ */
7123
+ readonly toolkitStackName?: string;
7124
+ /**
7125
+ * `--parameters` — CloudFormation parameters to pass to the stack. Each
7126
+ * entry is a `KEY=VALUE` string. Repeats one `--parameters` flag per entry.
7127
+ */
7128
+ readonly parameters?: Array<string>;
7129
+ /**
7130
+ * `--outputs-file` — write CloudFormation outputs to a JSON file at the
7131
+ * given path.
7132
+ */
7133
+ readonly outputsFile?: string;
7134
+ /**
7135
+ * `--previous-parameters` — use previous parameter values for any parameters
7136
+ * not explicitly supplied.
7137
+ */
7138
+ readonly previousParameters?: boolean;
7139
+ /**
7140
+ * `--concurrency` — number of stacks to deploy in parallel.
7141
+ */
7142
+ readonly concurrency?: number;
7143
+ /**
7144
+ * `--asset-parallelism` — upload assets in parallel.
7145
+ */
7146
+ readonly assetParallelism?: boolean;
7147
+ /**
7148
+ * `--asset-prebuild` — pre-build assets before deploying.
7149
+ */
7150
+ readonly assetPrebuild?: boolean;
7151
+ /**
7152
+ * `--watch` — continue watching for changes after the initial deploy.
7153
+ */
7154
+ readonly watch?: boolean;
7155
+ /**
7156
+ * `--logs` — stream CloudWatch logs for resources updated by the deploy.
7157
+ */
7158
+ readonly logs?: boolean;
7159
+ /**
7160
+ * `--build-exclude` — names of asset bundlers/build steps to skip. Repeats
7161
+ * one `--build-exclude` flag per entry.
7162
+ */
7163
+ readonly buildExclude?: Array<string>;
7164
+ /**
7165
+ * `--notification-arns` — SNS topic ARNs to notify on stack events. Repeats
7166
+ * one `--notification-arns` flag per entry.
7167
+ */
7168
+ readonly notificationArns?: Array<string>;
7043
7169
  /**
7170
+ * `--tags` — tags to apply to all stack resources. Repeats one `--tags` flag
7171
+ * per `KEY=VALUE` entry.
7044
7172
  *
7045
- * @returns All dev deployment targets.
7173
+ * @deprecated Tag declarations belong in the cloud assembly via
7174
+ * `Tags.of(scope).add(...)` rather than the CLI. The flag is modelled for
7175
+ * completeness, but consumers should prefer in-stack tagging.
7046
7176
  */
7047
- get devTargets(): Array<AwsDeploymentTarget>;
7048
- get devTargetsForCI(): Array<AwsDeploymentTarget>;
7177
+ readonly tags?: Record<string, string>;
7178
+ /**
7179
+ * `--progress` — progress reporting style.
7180
+ */
7181
+ readonly progress?: CdkProgress;
7182
+ /**
7183
+ * `--ignore-no-stacks` — succeed (with a warning) when no stacks match the
7184
+ * supplied pattern.
7185
+ */
7186
+ readonly ignoreNoStacks?: boolean;
7187
+ /**
7188
+ * `--import-existing-resources` — generate a change set that imports
7189
+ * existing AWS resources into the stack.
7190
+ */
7191
+ readonly importExistingResources?: boolean;
7192
+ /**
7193
+ * `--revert-drift` — revert any drift detected on the target stacks before
7194
+ * applying the new deployment.
7195
+ */
7196
+ readonly revertDrift?: boolean;
7197
+ /**
7198
+ * `--execute` — execute the prepared change set immediately.
7199
+ *
7200
+ * @deprecated Replaced by `--method=prepare-change-set` and
7201
+ * `--method=execute-change-set`. Surfaced here only for completeness.
7202
+ */
7203
+ readonly execute?: boolean;
7204
+ }
7205
+ /**
7206
+ * Options for the `cdk synth` command.
7207
+ */
7208
+ interface CdkSynthOptions extends CdkGlobalOptions {
7209
+ /*****************************************************************************
7210
+ *
7211
+ * Synth-specific flags
7212
+ *
7213
+ ****************************************************************************/
7214
+ /**
7215
+ * `--exclusively` — synthesize only the requested stacks; do not include
7216
+ * dependencies.
7217
+ */
7218
+ readonly exclusively?: boolean;
7219
+ /**
7220
+ * `--quiet` (`-q`) — suppress the template output on stdout.
7221
+ */
7222
+ readonly quiet?: boolean;
7223
+ /**
7224
+ * `--validation` — run additional cloud-assembly validation.
7225
+ */
7226
+ readonly validation?: boolean;
7227
+ }
7228
+ /**
7229
+ * Options for the `cdk watch` command.
7230
+ */
7231
+ interface CdkWatchOptions extends CdkGlobalOptions {
7232
+ /*****************************************************************************
7233
+ *
7234
+ * Watch-specific flags
7235
+ *
7236
+ ****************************************************************************/
7237
+ /**
7238
+ * `--build-exclude` — names of asset bundlers/build steps to skip. Repeats
7239
+ * one `--build-exclude` flag per entry.
7240
+ */
7241
+ readonly buildExclude?: Array<string>;
7242
+ /**
7243
+ * `--change-set-name` — name of the change set to create/execute.
7244
+ */
7245
+ readonly changeSetName?: string;
7246
+ /**
7247
+ * `--concurrency` — number of stacks to deploy in parallel.
7248
+ */
7249
+ readonly concurrency?: number;
7250
+ /**
7251
+ * `--exclusively` — deploy only the requested stacks; do not include
7252
+ * dependencies.
7253
+ */
7254
+ readonly exclusively?: boolean;
7255
+ /**
7256
+ * `--force` — always deploy even if no changes are detected.
7257
+ */
7258
+ readonly force?: boolean;
7259
+ /**
7260
+ * `--hotswap` — apply changes directly to running resources without going
7261
+ * through CloudFormation when possible. The CLI default for `cdk watch` is
7262
+ * `true`; supply `false` to disable.
7263
+ */
7264
+ readonly hotswap?: boolean;
7265
+ /**
7266
+ * `--hotswap-fallback` — fall back to a full CloudFormation deployment when
7267
+ * a hotswap is not possible.
7268
+ */
7269
+ readonly hotswapFallback?: boolean;
7270
+ /**
7271
+ * `--logs` — stream CloudWatch logs for resources updated by the deploy.
7272
+ */
7273
+ readonly logs?: boolean;
7274
+ /**
7275
+ * `--progress` — progress reporting style.
7276
+ */
7277
+ readonly progress?: CdkProgress;
7278
+ /**
7279
+ * `--rollback` / `--no-rollback` — roll back the stack on failure.
7280
+ *
7281
+ * Tri-state: `true` enables rollback, `false` disables it (useful in dev for
7282
+ * fast iteration), `undefined` defers to the CLI default.
7283
+ */
7284
+ readonly rollback?: boolean;
7285
+ /**
7286
+ * `--toolkit-stack-name` — name of the CDK toolkit stack used as the
7287
+ * environment bootstrap.
7288
+ */
7289
+ readonly toolkitStackName?: string;
7290
+ }
7291
+ /**
7292
+ * Options for the `cdk destroy` command.
7293
+ */
7294
+ interface CdkDestroyOptions extends CdkGlobalOptions {
7295
+ /*****************************************************************************
7296
+ *
7297
+ * Destroy-specific flags
7298
+ *
7299
+ ****************************************************************************/
7300
+ /**
7301
+ * `--all` — destroy all stacks in the application.
7302
+ */
7303
+ readonly all?: boolean;
7304
+ /**
7305
+ * `--concurrency` — number of stacks to destroy in parallel.
7306
+ */
7307
+ readonly concurrency?: number;
7308
+ /**
7309
+ * `--exclusively` — destroy only the requested stacks; do not include
7310
+ * dependencies.
7311
+ */
7312
+ readonly exclusively?: boolean;
7313
+ /**
7314
+ * `--force` — skip the confirmation prompt before destroying.
7315
+ */
7316
+ readonly force?: boolean;
7317
+ }
7318
+ /**
7319
+ * Options for the `cdk diff` command.
7320
+ */
7321
+ interface CdkDiffOptions extends CdkGlobalOptions {
7322
+ /*****************************************************************************
7323
+ *
7324
+ * Diff-specific flags
7325
+ *
7326
+ ****************************************************************************/
7327
+ /**
7328
+ * `--change-set` — use a CloudFormation change set to compute the diff.
7329
+ *
7330
+ * @deprecated Prefer the `--method` flag (e.g. `--method=change-set`).
7331
+ */
7332
+ readonly changeSet?: boolean;
7333
+ /**
7334
+ * `--context-lines` — number of context lines to print around each change.
7335
+ */
7336
+ readonly contextLines?: number;
7337
+ /**
7338
+ * `--exclusively` — diff only the requested stacks; do not include
7339
+ * dependencies.
7340
+ */
7341
+ readonly exclusively?: boolean;
7342
+ /**
7343
+ * `--fail` — fail with a non-zero exit code when differences are detected.
7344
+ */
7345
+ readonly fail?: boolean;
7346
+ /**
7347
+ * `--method` — how the diff is computed.
7348
+ */
7349
+ readonly method?: CdkDiffMethod;
7350
+ /**
7351
+ * `--processed` — compare against the processed (CDK-augmented) template
7352
+ * rather than the raw user input.
7353
+ */
7354
+ readonly processed?: boolean;
7355
+ /**
7356
+ * `--quiet` — suppress unchanged-resource output.
7357
+ */
7358
+ readonly quiet?: boolean;
7359
+ /**
7360
+ * `--security-only` — restrict the diff to security-relevant changes only.
7361
+ */
7362
+ readonly securityOnly?: boolean;
7363
+ /**
7364
+ * `--template` — diff against a specific template file path.
7365
+ */
7366
+ readonly template?: string;
7367
+ }
7368
+ /**
7369
+ * Options for the `cdk bootstrap` command.
7370
+ */
7371
+ interface CdkBootstrapOptions extends CdkGlobalOptions {
7372
+ /*****************************************************************************
7373
+ *
7374
+ * Bootstrap-specific flags
7375
+ *
7376
+ ****************************************************************************/
7377
+ /**
7378
+ * `--bootstrap-bucket-name` / `--toolkit-bucket-name` — name of the S3
7379
+ * bucket used by the bootstrap stack to stage assets.
7380
+ */
7381
+ readonly bootstrapBucketName?: string;
7382
+ /**
7383
+ * `--bootstrap-customer-key` — opt into a customer-managed KMS key for the
7384
+ * bootstrap bucket (creates the key as part of bootstrap).
7385
+ */
7386
+ readonly bootstrapCustomerKey?: boolean;
7387
+ /**
7388
+ * `--bootstrap-kms-key-id` — supply an existing KMS key ID for the
7389
+ * bootstrap bucket.
7390
+ */
7391
+ readonly bootstrapKmsKeyId?: string;
7392
+ /**
7393
+ * `--cloudformation-execution-policies` — managed-policy ARNs to attach to
7394
+ * the CloudFormation execution role. Repeats one
7395
+ * `--cloudformation-execution-policies` flag per entry.
7396
+ */
7397
+ readonly cloudformationExecutionPolicies?: Array<string>;
7398
+ /**
7399
+ * `--custom-permissions-boundary` — name of an IAM permissions boundary to
7400
+ * attach to the bootstrap roles.
7401
+ */
7402
+ readonly customPermissionsBoundary?: string;
7403
+ /**
7404
+ * `--example-permissions-boundary` — install the example permissions
7405
+ * boundary shipped with the CDK.
7406
+ */
7407
+ readonly examplePermissionsBoundary?: boolean;
7408
+ /**
7409
+ * `--execute` — execute the bootstrap change set immediately.
7410
+ */
7411
+ readonly execute?: boolean;
7412
+ /**
7413
+ * `--force` — force re-bootstrap even when the bootstrap stack is current.
7414
+ */
7415
+ readonly force?: boolean;
7416
+ /**
7417
+ * `--previous-parameters` — use previous parameter values for any parameters
7418
+ * not explicitly supplied.
7419
+ */
7420
+ readonly previousParameters?: boolean;
7421
+ /**
7422
+ * `--public-access-block-configuration` — enable S3 public access block on
7423
+ * the bootstrap bucket.
7424
+ */
7425
+ readonly publicAccessBlockConfiguration?: boolean;
7426
+ /**
7427
+ * `--qualifier` — qualifier appended to bootstrap resource names so multiple
7428
+ * bootstraps can coexist in the same account/region.
7429
+ */
7430
+ readonly qualifier?: string;
7431
+ /**
7432
+ * `--show-template` — emit the bootstrap template to stdout instead of
7433
+ * deploying it.
7434
+ */
7435
+ readonly showTemplate?: boolean;
7436
+ /**
7437
+ * `--tags` — tags to apply to the bootstrap stack. Repeats one `--tags`
7438
+ * flag per `KEY=VALUE` entry.
7439
+ */
7440
+ readonly tags?: Record<string, string>;
7441
+ /**
7442
+ * `--template` — bootstrap from a custom template file path.
7443
+ */
7444
+ readonly template?: string;
7445
+ /**
7446
+ * `--termination-protection` — enable CloudFormation termination protection
7447
+ * on the bootstrap stack.
7448
+ */
7449
+ readonly terminationProtection?: boolean;
7450
+ /**
7451
+ * `--toolkit-stack-name` — name of the CDK toolkit (bootstrap) stack.
7452
+ */
7453
+ readonly toolkitStackName?: string;
7454
+ /**
7455
+ * `--trust` — AWS account IDs trusted to deploy into this bootstrap
7456
+ * environment. Repeats one `--trust` flag per entry.
7457
+ */
7458
+ readonly trust?: Array<string>;
7459
+ /**
7460
+ * `--trust-for-lookup` — AWS account IDs trusted to perform context lookups
7461
+ * against this bootstrap environment. Repeats one `--trust-for-lookup` flag
7462
+ * per entry.
7463
+ */
7464
+ readonly trustForLookup?: Array<string>;
7465
+ }
7466
+ /**
7467
+ * Options for the `cdk list` / `cdk ls` command.
7468
+ */
7469
+ interface CdkListOptions extends CdkGlobalOptions {
7470
+ /*****************************************************************************
7471
+ *
7472
+ * List-specific flags
7473
+ *
7474
+ ****************************************************************************/
7475
+ /**
7476
+ * `--long` — include extra columns (account, region, etc.) in the listing.
7477
+ */
7478
+ readonly long?: boolean;
7479
+ /**
7480
+ * `--show-dependencies` — emit each stack's inter-stack dependencies.
7481
+ */
7482
+ readonly showDependencies?: boolean;
7483
+ }
7484
+ /**
7485
+ * Options for the `cdk rollback` command.
7486
+ */
7487
+ interface CdkRollbackOptions extends CdkGlobalOptions {
7488
+ /*****************************************************************************
7489
+ *
7490
+ * Rollback-specific flags
7491
+ *
7492
+ ****************************************************************************/
7493
+ /**
7494
+ * `--all` — roll back every stack in the application.
7495
+ */
7496
+ readonly all?: boolean;
7497
+ /**
7498
+ * `--force` — force the rollback even when CloudFormation reports the stack
7499
+ * is already in a stable state.
7500
+ */
7501
+ readonly force?: boolean;
7502
+ /**
7503
+ * `--orphan` — logical IDs of resources to orphan (skip) during rollback.
7504
+ * Repeats one `--orphan` flag per entry.
7505
+ */
7506
+ readonly orphan?: Array<string>;
7507
+ /**
7508
+ * `--toolkit-stack-name` — name of the CDK toolkit stack used as the
7509
+ * environment bootstrap.
7510
+ */
7511
+ readonly toolkitStackName?: string;
7512
+ /**
7513
+ * `--validate-bootstrap-version` — require the bootstrap stack version on
7514
+ * the target environment to match the version the CLI was built against.
7515
+ */
7516
+ readonly validateBootstrapVersion?: boolean;
7517
+ }
7518
+ /**
7519
+ * Options for the `cdk import` command.
7520
+ */
7521
+ interface CdkImportOptions extends CdkGlobalOptions {
7522
+ /*****************************************************************************
7523
+ *
7524
+ * Import-specific flags
7525
+ *
7526
+ ****************************************************************************/
7527
+ /**
7528
+ * `--change-set-name` — name of the import change set to create/execute.
7529
+ */
7530
+ readonly changeSetName?: string;
7531
+ /**
7532
+ * `--execute` — execute the prepared import change set immediately.
7533
+ */
7534
+ readonly execute?: boolean;
7535
+ /**
7536
+ * `--force` — proceed with the import even when CloudFormation warnings
7537
+ * would normally block it.
7538
+ */
7539
+ readonly force?: boolean;
7540
+ /**
7541
+ * `--record-resource-mapping` — write the resolved logical-id → physical-id
7542
+ * mapping to the given path for later reuse.
7543
+ */
7544
+ readonly recordResourceMapping?: string;
7545
+ /**
7546
+ * `--resource-mapping` — read the logical-id → physical-id mapping from the
7547
+ * given path instead of prompting interactively.
7548
+ */
7549
+ readonly resourceMapping?: string;
7550
+ /**
7551
+ * `--rollback` / `--no-rollback` — roll back the stack on failure.
7552
+ *
7553
+ * Tri-state: `true` enables rollback, `false` disables it, `undefined`
7554
+ * defers to the CLI default.
7555
+ */
7556
+ readonly rollback?: boolean;
7557
+ /**
7558
+ * `--toolkit-stack-name` — name of the CDK toolkit stack used as the
7559
+ * environment bootstrap.
7560
+ */
7561
+ readonly toolkitStackName?: string;
7562
+ }
7563
+ /**
7564
+ * Options for the `cdk gc` command.
7565
+ *
7566
+ * `cdk gc` is gated behind the global `--unstable=gc` flag. Callers MUST
7567
+ * include `"gc"` in {@link CdkGlobalOptions.unstable} (modelled on this
7568
+ * interface as the inherited `unstable` field) for the CLI to accept the
7569
+ * command; the renderer surfaces `unstable` as a regular global flag and does
7570
+ * not validate the gate itself.
7571
+ */
7572
+ interface CdkGcOptions extends CdkGlobalOptions {
7573
+ /*****************************************************************************
7574
+ *
7575
+ * GC-specific flags
7576
+ *
7577
+ ****************************************************************************/
7578
+ /**
7579
+ * `--action` — which garbage-collection action to perform.
7580
+ */
7581
+ readonly action?: CdkGcAction;
7582
+ /**
7583
+ * `--bootstrap-stack-name` — name of the bootstrap stack whose assets are
7584
+ * being garbage collected.
7585
+ */
7586
+ readonly bootstrapStackName?: string;
7587
+ /**
7588
+ * `--confirm` / `--no-confirm` — prompt before deleting tagged assets.
7589
+ */
7590
+ readonly confirm?: boolean;
7591
+ /**
7592
+ * `--created-buffer-days` — only consider assets created more than N days
7593
+ * ago for tagging.
7594
+ */
7595
+ readonly createdBufferDays?: number;
7596
+ /**
7597
+ * `--rollback-buffer-days` — keep tagged assets for at least N days before
7598
+ * deleting them so a rollback can recover them.
7599
+ */
7600
+ readonly rollbackBufferDays?: number;
7601
+ /**
7602
+ * `--type` — restrict garbage collection to a particular asset type.
7603
+ */
7604
+ readonly type?: CdkGcType;
7605
+ }
7606
+ /**
7607
+ * Options for the `cdk drift` command.
7608
+ */
7609
+ interface CdkDriftOptions extends CdkGlobalOptions {
7610
+ /*****************************************************************************
7611
+ *
7612
+ * Drift-specific flags
7613
+ *
7614
+ ****************************************************************************/
7615
+ /**
7616
+ * `--fail` — exit with a non-zero status when drift is detected.
7617
+ */
7618
+ readonly fail?: boolean;
7619
+ }
7620
+ /**
7621
+ * Options for the `cdk refactor` command.
7622
+ */
7623
+ interface CdkRefactorOptions extends CdkGlobalOptions {
7624
+ /*****************************************************************************
7625
+ *
7626
+ * Refactor-specific flags
7627
+ *
7628
+ ****************************************************************************/
7629
+ /**
7630
+ * `--additional-stack-name` — additional stack names to include in the
7631
+ * refactor scope. Repeats one `--additional-stack-name` flag per entry.
7632
+ */
7633
+ readonly additionalStackName?: Array<string>;
7634
+ /**
7635
+ * `--dry-run` — preview the refactor plan without applying it.
7636
+ */
7637
+ readonly dryRun?: boolean;
7638
+ /**
7639
+ * `--override-file` — path to a refactor override file that pins specific
7640
+ * resource moves.
7641
+ */
7642
+ readonly overrideFile?: string;
7643
+ /**
7644
+ * `--revert` — apply the inverse of the refactor (undo a previous refactor
7645
+ * plan).
7646
+ */
7647
+ readonly revert?: boolean;
7648
+ /**
7649
+ * `--force` — proceed even when the refactor planner would normally bail
7650
+ * out.
7651
+ */
7652
+ readonly force?: boolean;
7653
+ }
7654
+ /**
7655
+ * Options for the `cdk publish-assets` command.
7656
+ */
7657
+ interface CdkPublishAssetsOptions extends CdkGlobalOptions {
7658
+ /*****************************************************************************
7659
+ *
7660
+ * Publish-assets-specific flags
7661
+ *
7662
+ ****************************************************************************/
7663
+ /**
7664
+ * `--all` — publish assets for every stack in the application.
7665
+ */
7666
+ readonly all?: boolean;
7667
+ /**
7668
+ * `--exclusively` — publish only the requested stacks' assets; do not
7669
+ * include dependencies.
7670
+ */
7671
+ readonly exclusively?: boolean;
7672
+ /**
7673
+ * `--force` — re-upload assets even when the target already has them.
7674
+ */
7675
+ readonly force?: boolean;
7676
+ /**
7677
+ * `--concurrency` — number of asset uploads to run in parallel.
7678
+ */
7679
+ readonly concurrency?: number;
7680
+ }
7681
+ /**
7682
+ * Options for the `cdk orphan` command.
7683
+ *
7684
+ * `cdk orphan` takes only positional `<logicalId>` arguments — there are no
7685
+ * command-specific flags beyond the inherited globals.
7686
+ */
7687
+ interface CdkOrphanOptions extends CdkGlobalOptions {
7688
+ /*****************************************************************************
7689
+ *
7690
+ * Orphan-specific positional arguments
7691
+ *
7692
+ ****************************************************************************/
7693
+ /**
7694
+ * Logical resource IDs to orphan. Rendered as quoted, space-separated
7695
+ * positional arguments after the command name.
7696
+ */
7697
+ readonly logicalIds?: Array<string>;
7698
+ }
7699
+ /**
7700
+ * Options for the `cdk init` command.
7701
+ *
7702
+ * `cdk init` accepts a positional `<template>` argument and the
7703
+ * `--language` flag. Both are typed via the {@link CdkInitTemplate} and
7704
+ * {@link CdkInitLanguage} enums.
7705
+ */
7706
+ interface CdkInitOptions extends CdkGlobalOptions {
7707
+ /*****************************************************************************
7708
+ *
7709
+ * Init-specific positional arguments
7710
+ *
7711
+ ****************************************************************************/
7712
+ /**
7713
+ * Positional `<template>` argument — `app`, `lib`, or `sample-app`.
7714
+ * Rendered after the command name and any command-specific flags, before
7715
+ * the trailing tokens.
7716
+ */
7717
+ readonly template?: CdkInitTemplate;
7718
+ /*****************************************************************************
7719
+ *
7720
+ * Init-specific flags
7721
+ *
7722
+ ****************************************************************************/
7723
+ /**
7724
+ * `--language` — language to scaffold the new CDK project in.
7725
+ */
7726
+ readonly language?: CdkInitLanguage;
7727
+ /**
7728
+ * `--list` — print the available templates and exit instead of
7729
+ * scaffolding.
7730
+ */
7731
+ readonly list?: boolean;
7732
+ /**
7733
+ * `--generate-only` — generate the project files without performing
7734
+ * post-scaffold steps (e.g. `git init`, dependency install).
7735
+ */
7736
+ readonly generateOnly?: boolean;
7737
+ }
7738
+ /**
7739
+ * Options for the `cdk migrate` command.
7740
+ */
7741
+ interface CdkMigrateOptions extends CdkGlobalOptions {
7742
+ /*****************************************************************************
7743
+ *
7744
+ * Migrate-specific flags
7745
+ *
7746
+ ****************************************************************************/
7747
+ /**
7748
+ * `--stack-name` — name of the CDK stack created from the migrated
7749
+ * resources.
7750
+ */
7751
+ readonly stackName?: string;
7752
+ /**
7753
+ * `--language` — language to generate the migrated CDK app in. Reuses the
7754
+ * same enum as `cdk init`.
7755
+ */
7756
+ readonly language?: CdkInitLanguage;
7757
+ /**
7758
+ * `--account` — AWS account ID hosting the source resources.
7759
+ */
7760
+ readonly account?: string;
7761
+ /**
7762
+ * `--region` — AWS region hosting the source resources.
7763
+ */
7764
+ readonly region?: string;
7765
+ /**
7766
+ * `--from-path` — path to a CloudFormation template file to migrate from.
7767
+ */
7768
+ readonly fromPath?: string;
7769
+ /**
7770
+ * `--from-stack` — migrate from an existing CloudFormation stack by name.
7771
+ */
7772
+ readonly fromStack?: boolean;
7773
+ /**
7774
+ * `--from-scan` — migrate by initiating a CloudFormation resource scan.
7775
+ */
7776
+ readonly fromScan?: boolean;
7777
+ /**
7778
+ * `--output-path` — directory to write the generated CDK app into.
7779
+ */
7780
+ readonly outputPath?: string;
7781
+ /**
7782
+ * `--filter` — resource filter expressions that narrow which resources
7783
+ * are included in the migration. Repeats one `--filter` flag per entry.
7784
+ */
7785
+ readonly filter?: Array<string>;
7786
+ /**
7787
+ * `--compress` — compress the generated CDK app into a zip archive.
7788
+ */
7789
+ readonly compress?: boolean;
7790
+ }
7791
+ /**
7792
+ * Options for the `cdk context` command.
7793
+ */
7794
+ interface CdkContextOptions extends CdkGlobalOptions {
7795
+ /*****************************************************************************
7796
+ *
7797
+ * Context-specific flags
7798
+ *
7799
+ ****************************************************************************/
7800
+ /**
7801
+ * `--clear` — clear all cached context values.
7802
+ */
7803
+ readonly clear?: boolean;
7804
+ /**
7805
+ * `--force` — perform context operations without prompting.
7806
+ */
7807
+ readonly force?: boolean;
7808
+ /**
7809
+ * `--reset=KEY` — clear a single cached context value by key. The CLI's
7810
+ * `--reset` flag is value-taking (it accepts the context key to reset),
7811
+ * so this field is typed as `string | undefined` rather than as a
7812
+ * tri-state boolean.
7813
+ */
7814
+ readonly reset?: string;
7815
+ }
7816
+ /**
7817
+ * Options for the `cdk metadata` command.
7818
+ *
7819
+ * `cdk metadata` takes a single positional `<stack>` argument and has no
7820
+ * command-specific flags beyond the inherited globals.
7821
+ */
7822
+ interface CdkMetadataOptions extends CdkGlobalOptions {
7823
+ /*****************************************************************************
7824
+ *
7825
+ * Metadata-specific positional arguments
7826
+ *
7827
+ ****************************************************************************/
7828
+ /**
7829
+ * Positional `<stack>` argument naming the stack whose metadata to print.
7830
+ * Rendered after the command name and any command-specific flags, before
7831
+ * the trailing tokens.
7832
+ */
7833
+ readonly stack?: string;
7834
+ }
7835
+ /**
7836
+ * Options for the `cdk flags` command.
7837
+ */
7838
+ interface CdkFlagsOptions extends CdkGlobalOptions {
7839
+ /*****************************************************************************
7840
+ *
7841
+ * Flags-specific flags
7842
+ *
7843
+ ****************************************************************************/
7844
+ /**
7845
+ * `--value=FLAG` — print the configured value of a single feature flag.
7846
+ * The CLI's `--value` flag is value-taking, so this field is typed as
7847
+ * `string | undefined`.
7848
+ */
7849
+ readonly value?: string;
7850
+ /**
7851
+ * `--set=FLAG=VALUE` — set a feature flag to the given value. The CLI's
7852
+ * `--set` flag is value-taking, so this field is typed as
7853
+ * `string | undefined`.
7854
+ */
7855
+ readonly set?: string;
7856
+ /**
7857
+ * `--all` — include every known feature flag in the output.
7858
+ */
7859
+ readonly all?: boolean;
7860
+ /**
7861
+ * `--unconfigured` — include feature flags that have not been configured
7862
+ * yet.
7863
+ */
7864
+ readonly unconfigured?: boolean;
7865
+ /**
7866
+ * `--recommended` — set feature flags to their recommended values.
7867
+ */
7868
+ readonly recommended?: boolean;
7869
+ /**
7870
+ * `--default` — set feature flags to their default values.
7871
+ */
7872
+ readonly default?: boolean;
7873
+ /**
7874
+ * `--interactive` — prompt interactively to confirm each flag change.
7875
+ */
7876
+ readonly interactive?: boolean;
7877
+ /**
7878
+ * `--safe` — only apply changes that are safe (no resource replacement,
7879
+ * no destructive updates).
7880
+ */
7881
+ readonly safe?: boolean;
7882
+ /**
7883
+ * `--concurrency` — number of concurrent operations to run when applying
7884
+ * flag changes.
7885
+ */
7886
+ readonly concurrency?: number;
7887
+ }
7888
+ /**
7889
+ * Options for the `cdk acknowledge` (`ack`) command.
7890
+ *
7891
+ * `cdk acknowledge` takes a single positional `<id>` argument identifying
7892
+ * the notice to acknowledge. It has no command-specific flags beyond the
7893
+ * inherited globals.
7894
+ */
7895
+ interface CdkAcknowledgeOptions extends CdkGlobalOptions {
7896
+ /*****************************************************************************
7897
+ *
7898
+ * Acknowledge-specific positional arguments
7899
+ *
7900
+ ****************************************************************************/
7901
+ /**
7902
+ * Positional `<id>` argument — the notice ID to acknowledge. Rendered
7903
+ * after the command name and any command-specific flags, before the
7904
+ * trailing tokens.
7905
+ */
7906
+ readonly id?: string;
7907
+ }
7908
+ /**
7909
+ * Options for the `cdk notices` command.
7910
+ *
7911
+ * `cdk notices` has no command-specific flags beyond the inherited globals.
7912
+ * Surfaced as an empty interface so the renderer signature stays uniform
7913
+ * with the rest of the command surface.
7914
+ */
7915
+ interface CdkNoticesOptions extends CdkGlobalOptions {
7916
+ }
7917
+ /**
7918
+ * Options for the `cdk doctor` command.
7919
+ *
7920
+ * `cdk doctor` has no command-specific flags beyond the inherited globals.
7921
+ * Surfaced as an empty interface so the renderer signature stays uniform
7922
+ * with the rest of the command surface.
7923
+ */
7924
+ interface CdkDoctorOptions extends CdkGlobalOptions {
7925
+ }
7926
+ /**
7927
+ * Options for the `cdk docs` (`doc`) command.
7928
+ *
7929
+ * `cdk docs` has no command-specific flags beyond the inherited globals.
7930
+ * Surfaced as an empty interface so the renderer signature stays uniform
7931
+ * with the rest of the command surface.
7932
+ */
7933
+ interface CdkDocsOptions extends CdkGlobalOptions {
7934
+ }
7935
+ /**
7936
+ * Per-target / per-account override bundle for the `CdkCli` component.
7937
+ *
7938
+ * Used in two distinct positions in the override stack:
7939
+ *
7940
+ * - **Per-account** on `CdkCliOptions.accountOverrides[accountId]` —
7941
+ * applies to every {@link AwsDeploymentTarget} that resolves to the same
7942
+ * AWS account ID.
7943
+ * - **Per-target** on `AwsDeploymentTargetOptions.cdkOptions` — applies
7944
+ * only to that specific deployment target.
7945
+ *
7946
+ * Both layers slot into the precedence chain documented on {@link CdkCli};
7947
+ * per-target wins on collisions because it is the more specific layer.
7948
+ *
7949
+ * Every command field is optional so consumers can override one command
7950
+ * (e.g. just `deploy`) without restating the others.
7951
+ */
7952
+ interface CdkTargetOverrides {
7953
+ /**
7954
+ * Overrides applied to `cdk deploy` invocations against the matching
7955
+ * target / account.
7956
+ */
7957
+ readonly deploy?: Partial<CdkDeployOptions>;
7958
+ /**
7959
+ * Overrides applied to `cdk synth` invocations against the matching
7960
+ * target / account.
7961
+ */
7962
+ readonly synth?: Partial<CdkSynthOptions>;
7963
+ /**
7964
+ * Overrides applied to `cdk watch` invocations against the matching
7965
+ * target / account.
7966
+ */
7967
+ readonly watch?: Partial<CdkWatchOptions>;
7968
+ /**
7969
+ * Overrides applied to `cdk destroy` invocations against the matching
7970
+ * target / account.
7971
+ */
7972
+ readonly destroy?: Partial<CdkDestroyOptions>;
7973
+ /**
7974
+ * Overrides applied to `cdk diff` invocations against the matching
7975
+ * target / account.
7976
+ */
7977
+ readonly diff?: Partial<CdkDiffOptions>;
7978
+ /**
7979
+ * Overrides applied to `cdk bootstrap` invocations against the matching
7980
+ * target / account.
7981
+ */
7982
+ readonly bootstrap?: Partial<CdkBootstrapOptions>;
7983
+ }
7984
+
7985
+ /*******************************************************************************
7986
+ *
7987
+ * Git configs for this repo. This venn diagram has a great deal of overlap
7988
+ * with GitHub config options but is not a perfect circle.
7989
+ *
7990
+ ******************************************************************************/
7991
+ interface GitBranch {
7992
+ /**
7993
+ * The name of the branch pattern.
7994
+ *
7995
+ * @example "main" or "feature/*"
7996
+ */
7997
+ branch: string;
7998
+ /**
7999
+ * Description for this branch's purpose, used for generated documentation.
8000
+ */
8001
+ description?: Array<string>;
8002
+ }
8003
+
8004
+ /*******************************************************************************
8005
+ *
8006
+ * AWS Deployment Configuration
8007
+ *
8008
+ * A single deployment target that CDK applications can be deployed into.
8009
+ *
8010
+ ******************************************************************************/
8011
+ /**
8012
+ * Represents the configuration for local deployment in AWS.
8013
+ */
8014
+ interface AwsLocalDeploymentConfig {
8015
+ /**
8016
+ * The AWS profile (in ~/.aws/config) to use for local deployment.
8017
+ *
8018
+ * @default generated dynamically based role name, account and region
8019
+ */
8020
+ readonly profile?: string;
8021
+ /**
8022
+ * Named Role used to conduct local deployments.
8023
+ *
8024
+ * @default "poweruseraccess"
8025
+ */
8026
+ readonly roleName?: string;
8027
+ /**
8028
+ * The pattern used to identify stacks to deploy in CI deployments.
8029
+ *
8030
+ * @default `*-${account}-${region}`
8031
+ */
8032
+ readonly stackPattern?: string;
8033
+ }
8034
+ interface CiDeploymentConfig {
8035
+ /**
8036
+ * The OIDC IAM Role to assume for CI deployments.
8037
+ */
8038
+ readonly roleArn: string;
8039
+ /**
8040
+ * The pattern used to identify stacks to deploy in CI deployments.
8041
+ *
8042
+ * @default `*-${account}-${region}`
8043
+ */
8044
+ readonly stackPattern?: string;
8045
+ }
8046
+ /**
8047
+ * Represents a deployment target in AWS, including account and region, and
8048
+ * branches allowed to deploy to this target.
8049
+ */
8050
+ interface AwsDeploymentTargetOptions {
8051
+ /**
8052
+ * The account name for the deployment target.
8053
+ */
8054
+ readonly account: string;
8055
+ /**
8056
+ * The AWS region for the deployment target.
8057
+ */
8058
+ readonly region: string;
8059
+ /**
8060
+ * AWS deployment type, such as dev, stage, or prod.
8061
+ *
8062
+ * @default 'dev'
8063
+ */
8064
+ readonly awsStageType?: AwsStageType;
8065
+ /**
8066
+ * Deployment target role: whether this (account, region) is the primary or
8067
+ * secondary deployment target (e.g. primary vs replica region).
8068
+ *
8069
+ * @default 'primary'
8070
+ */
8071
+ readonly deploymentTargetRole?: DeploymentTargetRoleType;
8072
+ /**
8073
+ * AWS environment type, such as primary or secondary.
8074
+ *
8075
+ * @deprecated Use `deploymentTargetRole` instead. This property is maintained for backward compatibility.
8076
+ * @default 'primary'
8077
+ */
8078
+ readonly awsEnvironmentType?: AwsEnvironmentType;
8079
+ /**
8080
+ * The AWS profile to use for this deployment target.
8081
+ *
8082
+ * @default ['main'] when prod release type, ['feature/*'] when dev type
8083
+ */
8084
+ readonly branches?: Array<GitBranch>;
8085
+ /**
8086
+ * Can this deployment target be used for local development?
8087
+ *
8088
+ * @default true for dev environments, false for prod environments
8089
+ */
8090
+ readonly localDeployment?: boolean;
8091
+ /**
8092
+ * Configuration when deploying to this target locally.
8093
+ */
8094
+ readonly localDeploymentConfig?: AwsLocalDeploymentConfig;
8095
+ /**
8096
+ * Can this deployment target be used in CI deployments?
8097
+ *
8098
+ * @default false
8099
+ */
8100
+ readonly ciDeployment?: boolean;
8101
+ readonly ciDeploymentConfig?: CiDeploymentConfig;
8102
+ /**
8103
+ * Per-target overrides for `cdk` CLI options.
8104
+ *
8105
+ * Layered on top of the per-stage defaults and any per-account overrides
8106
+ * configured on {@link CdkCli}. See {@link CdkCli} for the full precedence
8107
+ * chain.
8108
+ */
8109
+ readonly cdkOptions?: CdkTargetOverrides;
8110
+ }
8111
+ declare class AwsDeploymentTarget extends Component {
8112
+ /**
8113
+ * Static method to discovert targets in a project.
8114
+ */
8115
+ static of(project: AwsCdkTypeScriptApp): Array<AwsDeploymentTarget> | undefined;
8116
+ /**
8117
+ * The account name for the deployment target.
8118
+ */
8119
+ account: string;
8120
+ /**
8121
+ * The AWS region for the deployment target.
8122
+ */
8123
+ region: string;
8124
+ /**'
8125
+ * AWS stage type, such as dev, stage, or prod.
8126
+ *
8127
+ * @default 'dev'
8128
+ */
8129
+ awsStageType: AwsStageType;
8130
+ /**
8131
+ * Deployment target role: whether this (account, region) is the primary or
8132
+ * secondary deployment target (e.g. primary vs replica region).
8133
+ *
8134
+ * @default 'primary'
8135
+ */
8136
+ deploymentTargetRole: DeploymentTargetRoleType;
8137
+ /**
8138
+ * AWS environment type, such as primary or secondary.
8139
+ *
8140
+ * @deprecated Use `deploymentTargetRole` instead. This property is maintained for backward compatibility.
8141
+ * @default 'primary'
8142
+ */
8143
+ awsEnvironmentType: AwsEnvironmentType;
8144
+ /**
8145
+ * The AWS profile to use for this deployment target.
8146
+ *
8147
+ * @default ['main'] when prod release type, ['feature/*'] when dev type
8148
+ */
8149
+ branches: Array<GitBranch>;
8150
+ /**
8151
+ * Can this deployment target be used for local development?
8152
+ *
8153
+ * @default true for dev environments, false for prod environments
8154
+ */
8155
+ localDeployment?: boolean;
8156
+ /**
8157
+ * Configuration when deploying to this target locally.
8158
+ */
8159
+ localDeploymentConfig?: AwsLocalDeploymentConfig;
8160
+ /**
8161
+ * Can this deployment target be used in CI deployments?
8162
+ *
8163
+ * @default false
8164
+ */
8165
+ ciDeployment?: boolean;
8166
+ ciDeploymentConfig?: Required<CiDeploymentConfig>;
8167
+ /**
8168
+ * Configuration for the CDK output directory for this deployment target.
8169
+ */
8170
+ awsDeploymentConfig: AwsDeploymentConfig;
8171
+ /**
8172
+ * Per-target overrides for `cdk` CLI options.
8173
+ *
8174
+ * Read by `CdkCli.*OptionsFor(target)` as the second-highest layer in the
8175
+ * precedence chain (below call-site explicit options, above per-account
8176
+ * overrides). See {@link CdkCli} for the full chain.
8177
+ */
8178
+ cdkOptions?: CdkTargetOverrides;
8179
+ constructor(project: AwsCdkTypeScriptApp, options: AwsDeploymentTargetOptions);
8180
+ /*****************************************************************************
8181
+ *
8182
+ * Deploy Tasks
8183
+ *
8184
+ * - If local deploy, add a deploy task.
8185
+ *
8186
+ ****************************************************************************/
8187
+ private configureDeployTask;
8188
+ /*****************************************************************************
8189
+ *
8190
+ * Watch tasks
8191
+ *
8192
+ * - Configure watch task to use the branch name
8193
+ * - configure watch task to use the correct synth output location.
8194
+ *
8195
+ ****************************************************************************/
8196
+ private configureWatchTask;
8197
+ }
8198
+
8199
+ /*******************************************************************************
8200
+ *
8201
+ * AWS CDK CLI Component
8202
+ *
8203
+ * Owns the per-project options that get layered into every `cdk` CLI
8204
+ * invocation the generated project makes. Phase 1 covered `cdk deploy`; Phase
8205
+ * 2 extended the component with `synth`, `watch`, `destroy`, `diff`, and
8206
+ * `bootstrap`. Phase 5 (this revision) wires in the full per-target /
8207
+ * per-account override surface and the generic {@link mergeCdkOptions} folder.
8208
+ *
8209
+ * ## Override precedence
8210
+ *
8211
+ * Each `*OptionsFor(target)` accessor folds the layers below in
8212
+ * **lowest-precedence-first** order; the rightmost (highest) layer wins on
8213
+ * scalar collisions, arrays concat-and-dedupe across layers, and record-valued
8214
+ * fields merge one level deep with the higher layer winning on key collisions.
8215
+ *
8216
+ * 1. **Per-stage built-in default** — from `CDK_*_DEFAULTS_BY_STAGE` for the
8217
+ * target's {@link AwsDeploymentTarget.awsStageType}.
8218
+ * 2. **Per-stage consumer override** — from this component's
8219
+ * `<command>Defaults[stage]` map.
8220
+ * 3. **Per-account override** — from `accountOverrides[target.account][<command>]`.
8221
+ * 4. **Per-target override** — from `target.cdkOptions.<command>`.
8222
+ * 5. **Call-site explicit option** — passed by the caller into the renderer
8223
+ * directly, after the accessor returns. The accessor does not see this
8224
+ * layer; the caller is responsible for spreading the accessor result first
8225
+ * and then the call-site option on top.
8226
+ *
8227
+ * Auto-instantiated by {@link AwsDeploymentConfig} when absent; consumers can
8228
+ * pre-instantiate it via `new CdkCli(project, options)` to register custom
8229
+ * per-stage defaults and per-account overrides.
8230
+ *
8231
+ ******************************************************************************/
8232
+ /**
8233
+ * Options accepted by {@link CdkCli}.
8234
+ */
8235
+ interface CdkCliOptions {
8236
+ /**
8237
+ * Consumer-supplied overrides for the built-in per-stage deploy defaults.
8238
+ *
8239
+ * Each entry is merged on top of
8240
+ * {@link CDK_DEPLOY_DEFAULTS_BY_STAGE} for the matching stage via
8241
+ * {@link mergeCdkOptions}.
8242
+ */
8243
+ readonly deployDefaults?: Partial<Record<AwsStageType, Partial<CdkDeployOptions>>>;
8244
+ /**
8245
+ * Consumer-supplied overrides for the built-in per-stage synth defaults.
8246
+ *
8247
+ * Each entry is merged on top of
8248
+ * {@link CDK_SYNTH_DEFAULTS_BY_STAGE} for the matching stage via
8249
+ * {@link mergeCdkOptions}.
8250
+ */
8251
+ readonly synthDefaults?: Partial<Record<AwsStageType, Partial<CdkSynthOptions>>>;
8252
+ /**
8253
+ * Consumer-supplied overrides for the built-in per-stage watch defaults.
8254
+ *
8255
+ * Each entry is merged on top of
8256
+ * {@link CDK_WATCH_DEFAULTS_BY_STAGE} for the matching stage via
8257
+ * {@link mergeCdkOptions}.
8258
+ */
8259
+ readonly watchDefaults?: Partial<Record<AwsStageType, Partial<CdkWatchOptions>>>;
8260
+ /**
8261
+ * Consumer-supplied overrides for the built-in per-stage destroy defaults.
8262
+ *
8263
+ * Each entry is merged on top of
8264
+ * {@link CDK_DESTROY_DEFAULTS_BY_STAGE} for the matching stage via
8265
+ * {@link mergeCdkOptions}.
8266
+ */
8267
+ readonly destroyDefaults?: Partial<Record<AwsStageType, Partial<CdkDestroyOptions>>>;
8268
+ /**
8269
+ * Consumer-supplied overrides for the built-in per-stage diff defaults.
8270
+ *
8271
+ * Each entry is merged on top of
8272
+ * {@link CDK_DIFF_DEFAULTS_BY_STAGE} for the matching stage via
8273
+ * {@link mergeCdkOptions}.
8274
+ */
8275
+ readonly diffDefaults?: Partial<Record<AwsStageType, Partial<CdkDiffOptions>>>;
8276
+ /**
8277
+ * Consumer-supplied overrides for the built-in per-stage bootstrap defaults.
8278
+ *
8279
+ * Each entry is merged on top of
8280
+ * {@link CDK_BOOTSTRAP_DEFAULTS_BY_STAGE} for the matching stage via
8281
+ * {@link mergeCdkOptions}.
8282
+ */
8283
+ readonly bootstrapDefaults?: Partial<Record<AwsStageType, Partial<CdkBootstrapOptions>>>;
8284
+ /**
8285
+ * Per-account overrides keyed by AWS account ID.
8286
+ *
8287
+ * Each value is a {@link CdkTargetOverrides} bundle that applies to every
8288
+ * {@link AwsDeploymentTarget} whose `account` matches the key. Sits in the
8289
+ * precedence chain between per-stage overrides and per-target overrides —
8290
+ * see {@link CdkCli} for the full layer order.
8291
+ *
8292
+ * Example: pin `--no-rollback` on every deploy into a sandbox account
8293
+ * regardless of the target's stage:
8294
+ *
8295
+ * ```typescript
8296
+ * new CdkCli(project, {
8297
+ * accountOverrides: {
8298
+ * "111122223333": { deploy: { rollback: false } },
8299
+ * },
8300
+ * });
8301
+ * ```
8302
+ */
8303
+ readonly accountOverrides?: Record<string, CdkTargetOverrides>;
8304
+ }
8305
+ declare class CdkCli extends Component {
8306
+ /**
8307
+ * Find the {@link CdkCli} component already attached to the project, if any.
8308
+ */
8309
+ static of(project: AwsCdkTypeScriptApp): CdkCli | undefined;
8310
+ /**
8311
+ * The consumer-supplied per-stage deploy default overrides.
8312
+ */
8313
+ readonly deployDefaults: Partial<Record<AwsStageType, Partial<CdkDeployOptions>>>;
8314
+ /**
8315
+ * The consumer-supplied per-stage synth default overrides.
8316
+ */
8317
+ readonly synthDefaults: Partial<Record<AwsStageType, Partial<CdkSynthOptions>>>;
8318
+ /**
8319
+ * The consumer-supplied per-stage watch default overrides.
8320
+ */
8321
+ readonly watchDefaults: Partial<Record<AwsStageType, Partial<CdkWatchOptions>>>;
8322
+ /**
8323
+ * The consumer-supplied per-stage destroy default overrides.
8324
+ */
8325
+ readonly destroyDefaults: Partial<Record<AwsStageType, Partial<CdkDestroyOptions>>>;
8326
+ /**
8327
+ * The consumer-supplied per-stage diff default overrides.
8328
+ */
8329
+ readonly diffDefaults: Partial<Record<AwsStageType, Partial<CdkDiffOptions>>>;
8330
+ /**
8331
+ * The consumer-supplied per-stage bootstrap default overrides.
8332
+ */
8333
+ readonly bootstrapDefaults: Partial<Record<AwsStageType, Partial<CdkBootstrapOptions>>>;
8334
+ /**
8335
+ * The consumer-supplied per-account overrides, keyed by AWS account ID.
8336
+ */
8337
+ readonly accountOverrides: Record<string, CdkTargetOverrides>;
8338
+ constructor(project: AwsCdkTypeScriptApp, options?: CdkCliOptions);
8339
+ /**
8340
+ * Resolve the `cdk deploy` options to use against a given target.
8341
+ *
8342
+ * Folds the precedence chain via {@link mergeCdkOptions}: per-stage built-in
8343
+ * → per-stage consumer override → per-account override → per-target
8344
+ * override. The call-site explicit layer is applied by the caller after
8345
+ * this method returns. See {@link CdkCli} for the full chain.
8346
+ */
8347
+ deployOptionsFor(target: AwsDeploymentTarget): CdkDeployOptions;
8348
+ /**
8349
+ * Resolve the `cdk synth` options to use against a given target.
8350
+ *
8351
+ * Folds the precedence chain via {@link mergeCdkOptions}: per-stage built-in
8352
+ * → per-stage consumer override → per-account override → per-target
8353
+ * override. See {@link CdkCli} for the full chain.
8354
+ */
8355
+ synthOptionsFor(target: AwsDeploymentTarget): CdkSynthOptions;
8356
+ /**
8357
+ * Resolve the `cdk watch` options to use against a given target.
8358
+ *
8359
+ * Folds the precedence chain via {@link mergeCdkOptions}: per-stage built-in
8360
+ * → per-stage consumer override → per-account override → per-target
8361
+ * override. See {@link CdkCli} for the full chain.
8362
+ */
8363
+ watchOptionsFor(target: AwsDeploymentTarget): CdkWatchOptions;
8364
+ /**
8365
+ * Resolve the `cdk destroy` options to use against a given target.
8366
+ *
8367
+ * Folds the precedence chain via {@link mergeCdkOptions}: per-stage built-in
8368
+ * → per-stage consumer override → per-account override → per-target
8369
+ * override. See {@link CdkCli} for the full chain.
8370
+ */
8371
+ destroyOptionsFor(target: AwsDeploymentTarget): CdkDestroyOptions;
8372
+ /**
8373
+ * Resolve the `cdk diff` options to use against a given target.
8374
+ *
8375
+ * Folds the precedence chain via {@link mergeCdkOptions}: per-stage built-in
8376
+ * → per-stage consumer override → per-account override → per-target
8377
+ * override. See {@link CdkCli} for the full chain.
8378
+ */
8379
+ diffOptionsFor(target: AwsDeploymentTarget): CdkDiffOptions;
8380
+ /**
8381
+ * Resolve the `cdk bootstrap` options to use against a given target.
8382
+ *
8383
+ * Folds the precedence chain via {@link mergeCdkOptions}: per-stage built-in
8384
+ * → per-stage consumer override → per-account override → per-target
8385
+ * override. See {@link CdkCli} for the full chain.
8386
+ */
8387
+ bootstrapOptionsFor(target: AwsDeploymentTarget): CdkBootstrapOptions;
8388
+ }
8389
+
8390
+ /*******************************************************************************
8391
+ *
8392
+ * AWS Deployment Configuration
8393
+ *
8394
+ * This component allows configuration of multiple AWS deployment
8395
+ * targets, each with its own account, region, and deployment type
8396
+ * (dev, stage, prod). It supports both local and CI deployments,
8397
+ * with customizable settings for each target.
8398
+ *
8399
+ ******************************************************************************/
8400
+ declare class AwsDeploymentConfig extends Component {
8401
+ static of(project: AwsCdkTypeScriptApp): AwsDeploymentConfig | undefined;
8402
+ /**
8403
+ * Environment variables to be injected into all tasks.
8404
+ */
8405
+ readonly env: Record<string, string>;
8406
+ /**
8407
+ * The relative path to the project directory from the root of the project.
8408
+ */
8409
+ readonly projectPath: string;
8410
+ /**
8411
+ * The relative path to the root of the project from the output directory.
8412
+ */
8413
+ readonly rootPath: string;
8414
+ /**
8415
+ * The output directory for the CDK synthesis, from the root directory.
8416
+ */
8417
+ readonly rootCdkOut: string;
8418
+ /**
8419
+ * The output directory for the CDK synthesis.
8420
+ */
8421
+ readonly cdkOut: string;
8422
+ /**
8423
+ * Array of targets for deployment.
8424
+ */
8425
+ readonly awsDeploymentTargets: Array<AwsDeploymentTarget>;
8426
+ /**
8427
+ * The CDK CLI component that owns shared `cdk` invocation options for this
8428
+ * project.
8429
+ */
8430
+ readonly cdkCli: CdkCli;
8431
+ constructor(project: AwsCdkTypeScriptApp);
8432
+ /*****************************************************************************
8433
+ *
8434
+ * Target filter helpers
8435
+ *
8436
+ * Return various targets for deployment scripts to use.
8437
+ *
8438
+ ****************************************************************************/
8439
+ /**
8440
+ * @returns All production deployment targets.
8441
+ */
8442
+ get prodTargets(): Array<AwsDeploymentTarget>;
8443
+ get prodTargetsForCI(): Array<AwsDeploymentTarget>;
8444
+ get prodTargetsForLocal(): Array<AwsDeploymentTarget>;
8445
+ /**
8446
+ *
8447
+ * @returns All stage deployment targets.
8448
+ */
8449
+ get stageTargets(): Array<AwsDeploymentTarget>;
8450
+ get stageTargetsForCI(): Array<AwsDeploymentTarget>;
8451
+ get stageTargetsForLocal(): Array<AwsDeploymentTarget>;
8452
+ /**
8453
+ *
8454
+ * @returns All dev deployment targets.
8455
+ */
8456
+ get devTargets(): Array<AwsDeploymentTarget>;
8457
+ get devTargetsForCI(): Array<AwsDeploymentTarget>;
7049
8458
  get devTargetsForLocal(): Array<AwsDeploymentTarget>;
7050
8459
  /*****************************************************************************
7051
8460
  *
@@ -7123,6 +8532,226 @@ interface AwsOrganization {
7123
8532
  accounts: Array<AwsAccount>;
7124
8533
  }
7125
8534
 
8535
+ /*******************************************************************************
8536
+ *
8537
+ * AWS CDK CLI Defaults
8538
+ *
8539
+ * Per-stage default option sets the `CdkCli` component layers in when a
8540
+ * consumer asks for the options to use against a given deployment target.
8541
+ * Phase 1 registered defaults for `cdk deploy`; Phase 2 registers defaults for
8542
+ * `synth`, `watch`, `destroy`, `diff`, and `bootstrap`.
8543
+ *
8544
+ ******************************************************************************/
8545
+ /**
8546
+ * Per-stage defaults for `cdk deploy`.
8547
+ *
8548
+ * - `dev` opts into `--no-rollback` for fast iteration.
8549
+ * - `stage` and `prod` deliberately omit `rollback` so the CLI default
8550
+ * (`true`, i.e. atomic deploys with rollback) applies — this is what allows
8551
+ * replacement-style updates to succeed in stage/prod.
8552
+ * - `prod` pins `--method=change-set` to leave a reviewable change-set trail.
8553
+ */
8554
+ declare const CDK_DEPLOY_DEFAULTS_BY_STAGE: Record<AwsStageType, Partial<CdkDeployOptions>>;
8555
+ /**
8556
+ * Per-stage defaults for `cdk synth`.
8557
+ *
8558
+ * Every stage runs synth with `--quiet` so the synthesised template stays out
8559
+ * of normal task logs.
8560
+ */
8561
+ declare const CDK_SYNTH_DEFAULTS_BY_STAGE: Record<AwsStageType, Partial<CdkSynthOptions>>;
8562
+ /**
8563
+ * Per-stage defaults for `cdk watch`.
8564
+ *
8565
+ * Every stage uses `--progress=events` to stream CloudFormation events line by
8566
+ * line. The CLI default for `cdk watch --hotswap` is already `true`, so the
8567
+ * record leaves it unset.
8568
+ */
8569
+ declare const CDK_WATCH_DEFAULTS_BY_STAGE: Record<AwsStageType, Partial<CdkWatchOptions>>;
8570
+ /**
8571
+ * Per-stage defaults for `cdk destroy`.
8572
+ *
8573
+ * `dev` opts into `--force` so local teardown does not prompt; `stage` and
8574
+ * `prod` deliberately omit `force` so the CLI's confirmation prompt fires.
8575
+ */
8576
+ declare const CDK_DESTROY_DEFAULTS_BY_STAGE: Record<AwsStageType, Partial<CdkDestroyOptions>>;
8577
+ /**
8578
+ * Per-stage defaults for `cdk diff`.
8579
+ *
8580
+ * Empty by default — diff has no flags whose stage-by-stage value is obvious.
8581
+ * Reserved for consumer overrides.
8582
+ */
8583
+ declare const CDK_DIFF_DEFAULTS_BY_STAGE: Record<AwsStageType, Partial<CdkDiffOptions>>;
8584
+ /**
8585
+ * Per-stage defaults for `cdk bootstrap`.
8586
+ *
8587
+ * `prod` opts into `--termination-protection` so the bootstrap stack cannot be
8588
+ * accidentally deleted; `dev` and `stage` omit it.
8589
+ */
8590
+ declare const CDK_BOOTSTRAP_DEFAULTS_BY_STAGE: Record<AwsStageType, Partial<CdkBootstrapOptions>>;
8591
+
8592
+ /*******************************************************************************
8593
+ *
8594
+ * AWS CDK CLI Option Merge
8595
+ *
8596
+ * Generic helper that folds a precedence-ordered list of `CdkXxxOptions`
8597
+ * fragments into a single resolved option set. Used by every
8598
+ * `CdkCli.*OptionsFor(target)` accessor to assemble the documented 5-level
8599
+ * override stack (per-stage default → per-account override → per-target
8600
+ * override → consumer override → call-site explicit) without per-command merge
8601
+ * logic.
8602
+ *
8603
+ * Merge semantics (see also the `CdkCli` JSDoc):
8604
+ *
8605
+ * - **Scalars** (booleans, strings, numbers, enums): a non-`undefined` value in
8606
+ * a later (higher-precedence) layer overwrites the previous value. An
8607
+ * `undefined` value in a later layer is treated as "no opinion" and falls
8608
+ * through to whatever lower layers contributed.
8609
+ * - **Arrays**: concatenated low → high precedence, then deduplicated preserving
8610
+ * document order (first occurrence wins). This lets a per-stage default seed
8611
+ * a list and per-target/per-account layers append to it without losing the
8612
+ * seeded entries.
8613
+ * - **Records / maps** (plain object values, including `tags` and `context`
8614
+ * when modelled as `Record<string, string>`): merged one level deep; later
8615
+ * layers win on key collisions, earlier layers' keys survive otherwise.
8616
+ * - **`undefined` layers** and **`undefined` field values** short-circuit — no
8617
+ * field on the output is touched by a missing layer or a `undefined` entry.
8618
+ *
8619
+ ******************************************************************************/
8620
+ /**
8621
+ * Fold a precedence-ordered list of partial CDK CLI option layers into a
8622
+ * single resolved option set.
8623
+ *
8624
+ * Layers are supplied in **lowest-precedence-first** order. Each subsequent
8625
+ * layer's non-`undefined` values overwrite the previous accumulator for
8626
+ * scalars; arrays are concatenated and deduped; record-valued fields are
8627
+ * merged one level deep.
8628
+ *
8629
+ * `undefined` layers are skipped entirely. `undefined` field values within a
8630
+ * layer are skipped per-field — they never clobber a previously set value.
8631
+ *
8632
+ * @typeParam TOptions - The fully resolved option interface (e.g.
8633
+ * `CdkDeployOptions`). The function returns `TOptions`, but the caller is
8634
+ * responsible for ensuring every field its consumers depend on is supplied
8635
+ * by at least one layer — the helper does not validate completeness.
8636
+ */
8637
+ declare const mergeCdkOptions: <TOptions>(...layers: Array<Partial<TOptions> | undefined>) => TOptions;
8638
+
8639
+ /**
8640
+ * Render a `cdk deploy ...` command from the supplied options. Returns the
8641
+ * full command string (starting with `deploy`).
8642
+ */
8643
+ declare const renderCdkDeploy: (opts: CdkDeployOptions) => string;
8644
+ /**
8645
+ * Render a `cdk synth ...` command from the supplied options.
8646
+ */
8647
+ declare const renderCdkSynth: (opts: CdkSynthOptions) => string;
8648
+ /**
8649
+ * Render a `cdk watch ...` command from the supplied options.
8650
+ */
8651
+ declare const renderCdkWatch: (opts: CdkWatchOptions) => string;
8652
+ /**
8653
+ * Render a `cdk destroy ...` command from the supplied options.
8654
+ */
8655
+ declare const renderCdkDestroy: (opts: CdkDestroyOptions) => string;
8656
+ /**
8657
+ * Render a `cdk diff ...` command from the supplied options.
8658
+ */
8659
+ declare const renderCdkDiff: (opts: CdkDiffOptions) => string;
8660
+ /**
8661
+ * Render a `cdk bootstrap ...` command from the supplied options.
8662
+ */
8663
+ declare const renderCdkBootstrap: (opts: CdkBootstrapOptions) => string;
8664
+ /**
8665
+ * Render a `cdk list ...` command from the supplied options.
8666
+ */
8667
+ declare const renderCdkList: (opts: CdkListOptions) => string;
8668
+ /**
8669
+ * Render a `cdk rollback ...` command from the supplied options.
8670
+ */
8671
+ declare const renderCdkRollback: (opts: CdkRollbackOptions) => string;
8672
+ /**
8673
+ * Render a `cdk import ...` command from the supplied options.
8674
+ */
8675
+ declare const renderCdkImport: (opts: CdkImportOptions) => string;
8676
+ /**
8677
+ * Render a `cdk gc ...` command from the supplied options.
8678
+ *
8679
+ * The CLI requires the global `--unstable=gc` flag for this command; callers
8680
+ * are responsible for including `"gc"` in {@link CdkGlobalOptions.unstable}.
8681
+ */
8682
+ declare const renderCdkGc: (opts: CdkGcOptions) => string;
8683
+ /**
8684
+ * Render a `cdk drift ...` command from the supplied options.
8685
+ */
8686
+ declare const renderCdkDrift: (opts: CdkDriftOptions) => string;
8687
+ /**
8688
+ * Render a `cdk refactor ...` command from the supplied options.
8689
+ */
8690
+ declare const renderCdkRefactor: (opts: CdkRefactorOptions) => string;
8691
+ /**
8692
+ * Render a `cdk publish-assets ...` command from the supplied options.
8693
+ */
8694
+ declare const renderCdkPublishAssets: (opts: CdkPublishAssetsOptions) => string;
8695
+ /**
8696
+ * Render a `cdk orphan ...` command from the supplied options. Positional
8697
+ * `logicalIds` render after the command name as quoted, space-separated
8698
+ * arguments.
8699
+ */
8700
+ declare const renderCdkOrphan: (opts: CdkOrphanOptions) => string;
8701
+ /**
8702
+ * Render a `cdk init ...` command from the supplied options. The positional
8703
+ * `template` argument renders after the command-specific flags, before the
8704
+ * trailing tokens.
8705
+ */
8706
+ declare const renderCdkInit: (opts: CdkInitOptions) => string;
8707
+ /**
8708
+ * Render a `cdk migrate ...` command from the supplied options.
8709
+ */
8710
+ declare const renderCdkMigrate: (opts: CdkMigrateOptions) => string;
8711
+ /**
8712
+ * Render a `cdk context ...` command from the supplied options. The CLI's
8713
+ * `--reset` flag takes a context key as its value, so `reset` is rendered
8714
+ * as `--reset=KEY` rather than as a tri-state boolean.
8715
+ */
8716
+ declare const renderCdkContext: (opts: CdkContextOptions) => string;
8717
+ /**
8718
+ * Render a `cdk metadata ...` command from the supplied options. The
8719
+ * positional `stack` argument renders after the command-specific flags
8720
+ * (there are none beyond the inherited globals), before the trailing
8721
+ * tokens.
8722
+ */
8723
+ declare const renderCdkMetadata: (opts: CdkMetadataOptions) => string;
8724
+ /**
8725
+ * Render a `cdk flags ...` command from the supplied options. `--value` and
8726
+ * `--set` are value-taking string flags per the CLI surface; the remaining
8727
+ * flags are tri-state booleans.
8728
+ */
8729
+ declare const renderCdkFlags: (opts: CdkFlagsOptions) => string;
8730
+ /**
8731
+ * Render a `cdk acknowledge ...` command from the supplied options. The
8732
+ * positional `id` argument renders after the command-specific flags (there
8733
+ * are none beyond the inherited globals), before the trailing tokens.
8734
+ */
8735
+ declare const renderCdkAcknowledge: (opts: CdkAcknowledgeOptions) => string;
8736
+ /**
8737
+ * Render a `cdk notices ...` command from the supplied options. `notices`
8738
+ * has no command-specific flags; only the inherited globals and trailing
8739
+ * tokens contribute output.
8740
+ */
8741
+ declare const renderCdkNotices: (opts: CdkNoticesOptions) => string;
8742
+ /**
8743
+ * Render a `cdk doctor ...` command from the supplied options. `doctor` has
8744
+ * no command-specific flags; only the inherited globals and trailing tokens
8745
+ * contribute output.
8746
+ */
8747
+ declare const renderCdkDoctor: (opts: CdkDoctorOptions) => string;
8748
+ /**
8749
+ * Render a `cdk docs ...` command from the supplied options. `docs` has no
8750
+ * command-specific flags; only the inherited globals and trailing tokens
8751
+ * contribute output.
8752
+ */
8753
+ declare const renderCdkDocs: (opts: CdkDocsOptions) => string;
8754
+
7126
8755
  /**
7127
8756
  * One row in the doc reference-extraction report — describes a single
7128
8757
  * inline-code symbol mention found in a markdown page and whether
@@ -7492,7 +9121,7 @@ declare const AuditCategory: {
7492
9121
  readonly LinkFailures: "linkFailures";
7493
9122
  /**
7494
9123
  * Findings produced by the fenced-sample compilation check that
7495
- * flags ` ```ts ` / ` ```typescript ` / ` ```tsx ` blocks in the
9124
+ * flags `ts`, `typescript`, and `tsx` fenced code blocks in the
7496
9125
  * docs that fail `tsc`. Wired in by child issue #520.
7497
9126
  */
7498
9127
  readonly SampleFailures: "sampleFailures";
@@ -8418,7 +10047,7 @@ declare const VERSION: {
8418
10047
  */
8419
10048
  readonly SHARP_VERSION: "0.34.5";
8420
10049
  /**
8421
- * Version of @astrojs/starlight to pin for StarlightProject scaffolding.
10050
+ * Version of `@astrojs/starlight` to pin for StarlightProject scaffolding.
8422
10051
  */
8423
10052
  readonly STARLIGHT_VERSION: "0.39.2";
8424
10053
  /**
@@ -8426,7 +10055,7 @@ declare const VERSION: {
8426
10055
  */
8427
10056
  readonly TURBO_VERSION: "2.9.14";
8428
10057
  /**
8429
- * Version of @types/node to use across all packages (pnpm catalog).
10058
+ * Version of `@types/node` to use across all packages (pnpm catalog).
8430
10059
  */
8431
10060
  readonly TYPES_NODE_VERSION: "25.8.0";
8432
10061
  /**
@@ -8790,8 +10419,8 @@ declare class PnpmWorkspace extends Component {
8790
10419
  * Get the pnpm workspace component of a project. If it does not exist,
8791
10420
  * return undefined.
8792
10421
  *
8793
- * @param project
8794
- * @returns
10422
+ * @param project - The project to query.
10423
+ * @returns The PnpmWorkspace component if present, otherwise undefined.
8795
10424
  */
8796
10425
  static of(project: Project$1): PnpmWorkspace | undefined;
8797
10426
  /**
@@ -9157,7 +10786,7 @@ interface VitestConfigOptions {
9157
10786
  /**
9158
10787
  * Glob patterns for test files.
9159
10788
  *
9160
- * @default ["**\/*.{test,spec}.?(c|m)[jt]s?(x)"]
10789
+ * @default `["**\/*.{test,spec}.?(c|m)[jt]s?(x)"]`
9161
10790
  */
9162
10791
  readonly include?: string[];
9163
10792
  /**
@@ -9299,7 +10928,7 @@ interface TypeScriptProjectOptions extends Omit<typescript.TypeScriptProjectOpti
9299
10928
  * `.api-extractor/` and are gitignored). Set to `false` to opt a
9300
10929
  * package out of drift detection entirely.
9301
10930
  *
9302
- * @default {}
10931
+ * @default `{}`
9303
10932
  */
9304
10933
  readonly apiExtractor?: ApiExtractorOptions | false;
9305
10934
  /**
@@ -9318,7 +10947,7 @@ interface TypeScriptProjectOptions extends Omit<typescript.TypeScriptProjectOpti
9318
10947
  * `internal` tag — even when the token sits inside a backtick code span
9319
10948
  * — and that strips this field from the published `.d.ts` rollup.
9320
10949
  *
9321
- * @default {}
10950
+ * @default `{}`
9322
10951
  */
9323
10952
  readonly tsdocConfig?: TsdocConfigOptions | false;
9324
10953
  /**
@@ -9460,7 +11089,7 @@ declare class AwsDeployWorkflow extends Component {
9460
11089
  * Handles both exact matches (e.g., "main") and glob patterns (e.g., "feature/*").
9461
11090
  * Also allows workflow_dispatch (manual runs) to proceed.
9462
11091
  *
9463
- * @param branches Array of GitBranch objects with branch patterns
11092
+ * @param branches - Array of GitBranch objects with branch patterns
9464
11093
  * @returns Condition string or empty string if no branches provided
9465
11094
  */
9466
11095
  private buildBranchFilterCondition;
@@ -9667,7 +11296,7 @@ interface TurboRepoOptions {
9667
11296
  /**
9668
11297
  * Version of turborepo to use.
9669
11298
  *
9670
- * @default: specified in versions file
11299
+ * @default specified in versions file
9671
11300
  */
9672
11301
  readonly turboVersion?: string;
9673
11302
  /**
@@ -9716,7 +11345,7 @@ interface TurboRepoOptions {
9716
11345
  */
9717
11346
  readonly globalPassThroughEnv?: Array<string>;
9718
11347
  /**
9719
- * @default: "stream"
11348
+ * @default "stream"
9720
11349
  *
9721
11350
  * Select a terminal UI for the repository.
9722
11351
  *
@@ -9727,7 +11356,7 @@ interface TurboRepoOptions {
9727
11356
  */
9728
11357
  readonly ui?: "tui" | "stream";
9729
11358
  /**
9730
- * @default: false
11359
+ * @default false
9731
11360
  *
9732
11361
  * Turborepo uses your repository's lockfile to determine caching behavior,
9733
11362
  * Package Graphs, and more. Because of this, we use the packageManager field
@@ -9744,7 +11373,7 @@ interface TurboRepoOptions {
9744
11373
  */
9745
11374
  readonly dangerouslyDisablePackageManagerCheck?: boolean;
9746
11375
  /**
9747
- * @default: ".turbo/cache"
11376
+ * @default ".turbo/cache"
9748
11377
  *
9749
11378
  * Specify the filesystem cache directory.
9750
11379
  *
@@ -9761,7 +11390,7 @@ interface TurboRepoOptions {
9761
11390
  */
9762
11391
  readonly daemon?: boolean;
9763
11392
  /**
9764
- * @default: "strict"
11393
+ * @default "strict"
9765
11394
  *
9766
11395
  * Turborepo's Environment Modes allow you to control which environment
9767
11396
  * variables are available to a task at runtime:
@@ -9786,7 +11415,7 @@ interface TurboRepoOptions {
9786
11415
  /**
9787
11416
  * Env Args that will bre added to turbo's build:all task
9788
11417
  *
9789
- * @default: {}
11418
+ * @default `{}`
9790
11419
  */
9791
11420
  readonly buildAllTaskEnvVars?: Record<string, string>;
9792
11421
  /*****************************************************************************
@@ -9798,31 +11427,31 @@ interface TurboRepoOptions {
9798
11427
  /**
9799
11428
  * Pre compile task
9800
11429
  *
9801
- * @default: "pre-compile"
11430
+ * @default "pre-compile"
9802
11431
  */
9803
11432
  readonly preCompileTask?: Task;
9804
11433
  /**
9805
11434
  * Compile task
9806
11435
  *
9807
- * @default: "compile"
11436
+ * @default "compile"
9808
11437
  */
9809
11438
  readonly compileTask?: Task;
9810
11439
  /**
9811
11440
  * Post compile task
9812
11441
  *
9813
- * @default: "post-compile"
11442
+ * @default "post-compile"
9814
11443
  */
9815
11444
  readonly postCompileTask?: Task;
9816
11445
  /**
9817
11446
  * Test task
9818
11447
  *
9819
- * @default: "test"
11448
+ * @default "test"
9820
11449
  */
9821
11450
  readonly testTask?: Task;
9822
11451
  /**
9823
11452
  * Package task
9824
11453
  *
9825
- * @default: "package"
11454
+ * @default "package"
9826
11455
  */
9827
11456
  readonly packageTask?: Task;
9828
11457
  }
@@ -9883,7 +11512,7 @@ declare class TurboRepo extends Component$1 {
9883
11512
  */
9884
11513
  readonly globalPassThroughEnv: Array<string>;
9885
11514
  /**
9886
- * @default: "stream"
11515
+ * @default "stream"
9887
11516
  *
9888
11517
  * Select a terminal UI for the repository.
9889
11518
  *
@@ -9894,7 +11523,7 @@ declare class TurboRepo extends Component$1 {
9894
11523
  */
9895
11524
  readonly ui: "tui" | "stream";
9896
11525
  /**
9897
- * @default: false
11526
+ * @default false
9898
11527
  *
9899
11528
  * Turborepo uses your repository's lockfile to determine caching behavior,
9900
11529
  * Package Graphs, and more. Because of this, we use the packageManager field
@@ -9911,7 +11540,7 @@ declare class TurboRepo extends Component$1 {
9911
11540
  */
9912
11541
  readonly dangerouslyDisablePackageManagerCheck: boolean;
9913
11542
  /**
9914
- * @default: ".turbo/cache"
11543
+ * @default ".turbo/cache"
9915
11544
  *
9916
11545
  * Specify the filesystem cache directory.
9917
11546
  *
@@ -9927,7 +11556,7 @@ declare class TurboRepo extends Component$1 {
9927
11556
  */
9928
11557
  readonly daemon: boolean;
9929
11558
  /**
9930
- * @default: "strict"
11559
+ * @default "strict"
9931
11560
  *
9932
11561
  * Turborepo's Environment Modes allow you to control which environment
9933
11562
  * variables are available to a task at runtime:
@@ -10144,7 +11773,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
10144
11773
  /**
10145
11774
  * The version of PNPM to use in the monorepo.
10146
11775
  * @default VERSION.PNPM_VERSION
10147
- * @see {@link src/versions.ts}
11776
+ * @see `src/versions.ts`
10148
11777
  */
10149
11778
  version?: string;
10150
11779
  /**
@@ -10162,7 +11791,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
10162
11791
  */
10163
11792
  readonly approveMergeUpgradeOptions?: ApproveMergeUpgradeOptions;
10164
11793
  /**
10165
- * Whether this monorepo consumes @codedrifters/configulator from a registry (npm).
11794
+ * Whether this monorepo consumes `@codedrifters/configulator` from a registry (npm).
10166
11795
  * When true, the upgrade workflow adds steps to sync configulator and synthesize.
10167
11796
  * Set to false when configulator is developed in this repo (e.g. workspace dependency).
10168
11797
  *
@@ -10178,7 +11807,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
10178
11807
  * - `ProjectMetadataOptions`: explicit metadata configuration
10179
11808
  * - `false`: disable ProjectMetadata entirely
10180
11809
  *
10181
- * @default {} (auto-detect from package.json)
11810
+ * @default `{}` (auto-detect from package.json)
10182
11811
  */
10183
11812
  readonly projectMetadata?: ProjectMetadataOptions | false;
10184
11813
  /**
@@ -10452,8 +12081,8 @@ declare class ProjectMetadata extends Component {
10452
12081
  /**
10453
12082
  * Return the maintainer-seed addendum for the `project-context`
10454
12083
  * bundle, or an empty string when the root project either has no
10455
- * layout-enforcement opinion or has opted out (`layoutEnforcement:
10456
- * "off"`).
12084
+ * layout-enforcement opinion or has opted out
12085
+ * (`layoutEnforcement: "off"`).
10457
12086
  *
10458
12087
  * Uses duck-typing on the root project's `layoutEnforcement`
10459
12088
  * property to avoid a circular import with `MonorepoProject`. The
@@ -10678,7 +12307,7 @@ interface StarlightProjectOptions extends AstroProjectOptions {
10678
12307
  */
10679
12308
  readonly editLink?: StarlightEditLink;
10680
12309
  /**
10681
- * @astrojs/starlight package version.
12310
+ * `@astrojs/starlight` package version.
10682
12311
  *
10683
12312
  * @default VERSION.STARLIGHT_VERSION
10684
12313
  */
@@ -10730,7 +12359,7 @@ declare const COMPLETE_JOB_ID = "complete";
10730
12359
  * Call this for the default build workflow and for any build workflow created
10731
12360
  * by Configulator (e.g. AwsDeployWorkflow).
10732
12361
  *
10733
- * @param buildWorkflow The Projen BuildWorkflow to append the complete job to.
12362
+ * @param buildWorkflow - The Projen BuildWorkflow to append the complete job to.
10734
12363
  */
10735
12364
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
10736
12365
 
@@ -10758,7 +12387,7 @@ declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
10758
12387
  * (e.g. the upgrade workflow). Steps held inside lazy closures
10759
12388
  * are skipped — those are reached via pass 1.
10760
12389
  *
10761
- * @param project The project whose GitHub workflows should be patched.
12390
+ * @param project - The project whose GitHub workflows should be patched.
10762
12391
  */
10763
12392
  declare function pinPnpmActionSetup(project: Project$1): void;
10764
12393
 
@@ -10806,8 +12435,8 @@ declare function pinPnpmActionSetup(project: Project$1): void;
10806
12435
  * untouched. The step's `uses` field is also left alone — this
10807
12436
  * helper pins the input, not the action version pin.
10808
12437
  *
10809
- * @param project The project whose GitHub workflows should be patched.
12438
+ * @param project - The project whose GitHub workflows should be patched.
10810
12439
  */
10811
12440
  declare function pinSetupNodeVersion(project: Project$1): void;
10812
12441
 
10813
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_REGISTRY_ENTRIES, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, type ActivateBranchNameEnvVarOptions, type AddStorybookOptions, type AgentCommand, AgentConfig, type AgentConfigOptions, type AgentExpansionRules, type AgentFeaturesConfig, type AgentModel, type AgentPathsConfig, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, type AgentRegistryEntry, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type AgentTier, type AgentTierConfig, type AgentTierEntry, type AnalyzeTsDocCoverageOptions, type ApiDiffCheckOptions, type ApiDiffFinding, type ApiDiffResult, ApiExtractor, type ApiExtractorOptions, type ApiExtractorReportOptions, type ApiSurfaceEntry, type ApproveMergeUpgradeOptions, AstroConfig, type AstroConfigOptions, type AstroIntegrationSpec, AstroOutput, AstroProject, type AstroProjectOptions, AuditCategory, type AuditCheckRunner, type AuditCheckRunnerContext, type AuditFinding, type AuditFindingBase, type AuditLocation, AuditMode, type AuditReport, AuditSeverity, type AwsAccount, AwsCdkProject, type AwsCdkProjectOptions, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, AwsTeardownWorkflow, type AwsTeardownWorkflowOptions, BUILT_IN_BUNDLES, BUNDLE_OWNERSHIP, type BundleOwnership, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudeMdConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CompileFencedSamplesOptions, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type CustomDocSection, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_PRIORITY, DEFAULT_ISSUE_STATUS, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TEMPORAL_FRAMING_CADENCES, DEFAULT_TEMPORAL_FRAMING_EMIT_CHECKER, DEFAULT_TEMPORAL_FRAMING_ENABLED, DEFAULT_TEMPORAL_FRAMING_PATHS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, type EffectiveScopeThresholds, type ExtractDocReferencesOptions, type ExtractFencedSamplesOptions, type FencedSampleRecord, type FocusArea, type FocusAreaMatch, type FocusConfig, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, type IssueDefaultsConfig, type IssueDefaultsOverride, type IssueDefaultsPriority, type IssueDefaultsStatus, type IssueTemplatesConfig, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, type LabelDefinition, type LayoutEnforcement, type LayoutViolation, type LinkFailureFinding, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, type McpServerConfig, type McpTransport, type MeetingArea, type MeetingScope, type MeetingType, type MeetingTypeKind, type MeetingsConfig, type MergeMethod, type MonorepoLayoutRoot, MonorepoProject, type MonorepoProjectOptions, Nvmrc, type OrganizationMetadata, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, type PriorityRule, type ProgressFilesConfig, ProjectMetadata, type ProjectMetadataOptions, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ReactViteSiteProject, type ReactViteSiteProjectOptions, type ReferenceMismatchCheckOptions, type ReferenceMismatchFinding, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedIssueDefaults, type ResolvedIssueDefaultsEntry, type ResolvedIssueTemplates, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, type ResolvedScopeGateBundleOverride, type ResolvedSharedEditing, type ResolvedSkillEvals, type ResolvedTemporalFraming, type ResolvedUnblockDependents, type RunRatioConfig, type RunScanOptions, type RunScanResult, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SUPPRESSED_WORKFLOW_RULE_NAMES, type SampleCompilationFailure, type SampleFailureFinding, SampleLang, type ScheduledTaskEntry, type ScheduledTaskModel, type ScheduledTaskOverride, type ScheduledTasksConfig, type ScopeClass, type ScopeGateBundleOverride, type ScopeGateConfig, type ScopeGateThresholds, type SharedEditingConfig, type SkillEvalsConfig, type SlackMetadata, type SourceTierExamples, type StarlightEditLink, type StarlightLogo, StarlightProject, type StarlightProjectOptions, type StarlightRole, type StarlightSidebarItem, type StarlightSingletonViolation, type StarlightSocialLink, type SyncLabelsOptions, TEMPORAL_FRAMING_CATEGORY_VALUES, type TemplateResolveResult, type TemporalFramingCategory, type TemporalFramingConfig, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, TsdocConfig, type TsdocConfigOptions, type TsdocCoverageCheckOptions, type TsdocCoverageFinding, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, UNKNOWN_TYPE_FALLBACK_TIER, type UnblockDependentsConfig, type UpstreamConfigulatorConfig, VALID_PRIORITY_VALUES, VALID_STATUS_VALUES, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addPlaywright, addStorybook, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildAgentRegistryRule, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pinPnpmActionSetup, pinSetupNodeVersion, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };
12442
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_REGISTRY_ENTRIES, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, type ActivateBranchNameEnvVarOptions, type AddStorybookOptions, type AgentCommand, AgentConfig, type AgentConfigOptions, type AgentExpansionRules, type AgentFeaturesConfig, type AgentModel, type AgentPathsConfig, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, type AgentRegistryEntry, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type AgentTier, type AgentTierConfig, type AgentTierEntry, type AnalyzeTsDocCoverageOptions, type ApiDiffCheckOptions, type ApiDiffFinding, type ApiDiffResult, ApiExtractor, type ApiExtractorOptions, type ApiExtractorReportOptions, type ApiSurfaceEntry, type ApproveMergeUpgradeOptions, AstroConfig, type AstroConfigOptions, type AstroIntegrationSpec, AstroOutput, AstroProject, type AstroProjectOptions, AuditCategory, type AuditCheckRunner, type AuditCheckRunnerContext, type AuditFinding, type AuditFindingBase, type AuditLocation, AuditMode, type AuditReport, AuditSeverity, type AwsAccount, AwsCdkProject, type AwsCdkProjectOptions, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, AwsTeardownWorkflow, type AwsTeardownWorkflowOptions, BUILT_IN_BUNDLES, BUNDLE_OWNERSHIP, type BundleOwnership, CDK_BOOTSTRAP_DEFAULTS_BY_STAGE, CDK_DEPLOY_DEFAULTS_BY_STAGE, CDK_DEPLOY_METHOD, CDK_DESTROY_DEFAULTS_BY_STAGE, CDK_DIFF_DEFAULTS_BY_STAGE, CDK_DIFF_METHOD, CDK_GC_ACTION, CDK_GC_TYPE, CDK_INIT_LANGUAGE, CDK_INIT_TEMPLATE, CDK_PROGRESS, CDK_REQUIRE_APPROVAL, CDK_SYNTH_DEFAULTS_BY_STAGE, CDK_WATCH_DEFAULTS_BY_STAGE, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CdkAcknowledgeOptions, type CdkBootstrapOptions, CdkCli, type CdkCliOptions, type CdkContextOptions, type CdkDeployMethod, type CdkDeployOptions, type CdkDestroyOptions, type CdkDiffMethod, type CdkDiffOptions, type CdkDocsOptions, type CdkDoctorOptions, type CdkDriftOptions, type CdkFlagsOptions, type CdkGcAction, type CdkGcOptions, type CdkGcType, type CdkGlobalOptions, type CdkImportOptions, type CdkInitLanguage, type CdkInitOptions, type CdkInitTemplate, type CdkListOptions, type CdkMetadataOptions, type CdkMigrateOptions, type CdkNoticesOptions, type CdkOrphanOptions, type CdkProgress, type CdkPublishAssetsOptions, type CdkRefactorOptions, type CdkRequireApproval, type CdkRollbackOptions, type CdkSynthOptions, type CdkTargetOverrides, type CdkWatchOptions, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudeMdConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CompileFencedSamplesOptions, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type CustomDocSection, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_PRIORITY, DEFAULT_ISSUE_STATUS, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TEMPORAL_FRAMING_CADENCES, DEFAULT_TEMPORAL_FRAMING_EMIT_CHECKER, DEFAULT_TEMPORAL_FRAMING_ENABLED, DEFAULT_TEMPORAL_FRAMING_PATHS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, type EffectiveScopeThresholds, type ExtractDocReferencesOptions, type ExtractFencedSamplesOptions, type FencedSampleRecord, type FocusArea, type FocusAreaMatch, type FocusConfig, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, type IssueDefaultsConfig, type IssueDefaultsOverride, type IssueDefaultsPriority, type IssueDefaultsStatus, type IssueTemplatesConfig, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, type LabelDefinition, type LayoutEnforcement, type LayoutViolation, type LinkFailureFinding, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, type McpServerConfig, type McpTransport, type MeetingArea, type MeetingScope, type MeetingType, type MeetingTypeKind, type MeetingsConfig, type MergeMethod, type MonorepoLayoutRoot, MonorepoProject, type MonorepoProjectOptions, Nvmrc, type OrganizationMetadata, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, type PriorityRule, type ProgressFilesConfig, ProjectMetadata, type ProjectMetadataOptions, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ReactViteSiteProject, type ReactViteSiteProjectOptions, type ReferenceMismatchCheckOptions, type ReferenceMismatchFinding, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedIssueDefaults, type ResolvedIssueDefaultsEntry, type ResolvedIssueTemplates, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, type ResolvedScopeGateBundleOverride, type ResolvedSharedEditing, type ResolvedSkillEvals, type ResolvedTemporalFraming, type ResolvedUnblockDependents, type RunRatioConfig, type RunScanOptions, type RunScanResult, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SUPPRESSED_WORKFLOW_RULE_NAMES, type SampleCompilationFailure, type SampleFailureFinding, SampleLang, type ScheduledTaskEntry, type ScheduledTaskModel, type ScheduledTaskOverride, type ScheduledTasksConfig, type ScopeClass, type ScopeGateBundleOverride, type ScopeGateConfig, type ScopeGateThresholds, type SharedEditingConfig, type SkillEvalsConfig, type SlackMetadata, type SourceTierExamples, type StarlightEditLink, type StarlightLogo, StarlightProject, type StarlightProjectOptions, type StarlightRole, type StarlightSidebarItem, type StarlightSingletonViolation, type StarlightSocialLink, type SyncLabelsOptions, TEMPORAL_FRAMING_CATEGORY_VALUES, type TemplateResolveResult, type TemporalFramingCategory, type TemporalFramingConfig, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, TsdocConfig, type TsdocConfigOptions, type TsdocCoverageCheckOptions, type TsdocCoverageFinding, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, UNKNOWN_TYPE_FALLBACK_TIER, type UnblockDependentsConfig, type UpstreamConfigulatorConfig, VALID_PRIORITY_VALUES, VALID_STATUS_VALUES, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addPlaywright, addStorybook, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildAgentRegistryRule, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, mergeCdkOptions, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pinPnpmActionSetup, pinSetupNodeVersion, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCdkAcknowledge, renderCdkBootstrap, renderCdkContext, renderCdkDeploy, renderCdkDestroy, renderCdkDiff, renderCdkDocs, renderCdkDoctor, renderCdkDrift, renderCdkFlags, renderCdkGc, renderCdkImport, renderCdkInit, renderCdkList, renderCdkMetadata, renderCdkMigrate, renderCdkNotices, renderCdkOrphan, renderCdkPublishAssets, renderCdkRefactor, renderCdkRollback, renderCdkSynth, renderCdkWatch, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };