@codedrifters/configulator 0.0.181 → 0.0.183

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
@@ -51,6 +51,12 @@ declare const AGENT_MODEL: {
51
51
  readonly POWERFUL: "powerful";
52
52
  };
53
53
  type AgentModel = (typeof AGENT_MODEL)[keyof typeof AGENT_MODEL];
54
+ /**
55
+ * Maps abstract AGENT_MODEL values to Claude Code model aliases.
56
+ * Returns undefined for "inherit" (omit the field entirely).
57
+ * Cursor omits the model field to use its default model selection.
58
+ */
59
+ declare function resolveModelAlias(model: string | undefined): string | undefined;
54
60
  /**
55
61
  * MCP server transport type.
56
62
  */
@@ -209,6 +215,15 @@ interface AgentSkill {
209
215
  * @default 'bash'
210
216
  */
211
217
  readonly shell?: string;
218
+ /** Per-platform overrides. Use `exclude: true` to skip a platform. */
219
+ readonly platforms?: {
220
+ readonly claude?: {
221
+ readonly exclude?: boolean;
222
+ };
223
+ readonly cursor?: {
224
+ readonly exclude?: boolean;
225
+ };
226
+ };
212
227
  }
213
228
  /**
214
229
  * Platform-specific overrides for a sub-agent definition.
@@ -898,6 +913,12 @@ declare const githubWorkflowBundle: AgentRuleBundle;
898
913
  */
899
914
  declare const jestBundle: AgentRuleBundle;
900
915
 
916
+ /**
917
+ * Meeting analysis bundle — included by default.
918
+ * Provides a 4-phase meeting transcript processing workflow.
919
+ */
920
+ declare const meetingAnalysisBundle: AgentRuleBundle;
921
+
901
922
  /**
902
923
  * PNPM bundle — auto-detected when the PnpmWorkspace component is present.
903
924
  */
@@ -2453,6 +2474,46 @@ interface ApproveMergeUpgradeOptions {
2453
2474
  */
2454
2475
  declare function addApproveMergeUpgradeWorkflow(project: NodeProject, options: ApproveMergeUpgradeOptions): void;
2455
2476
 
2477
+ /** A single GitHub label definition for EndBug/label-sync. */
2478
+ interface LabelDefinition {
2479
+ /** Label name (e.g. "priority:high"). */
2480
+ readonly name: string;
2481
+ /** Hex color without the leading `#` (e.g. "B60205"). */
2482
+ readonly color: string;
2483
+ /** Short description shown in the GitHub UI. */
2484
+ readonly description: string;
2485
+ }
2486
+ /** Options for the sync-labels workflow and labels config file. */
2487
+ interface SyncLabelsOptions {
2488
+ /**
2489
+ * Additional labels to sync alongside the standard defaults.
2490
+ * Merged with DEFAULT_STATUS_LABELS, DEFAULT_PRIORITY_LABELS, and
2491
+ * DEFAULT_TYPE_LABELS (standard labels are always included).
2492
+ */
2493
+ readonly labels?: ReadonlyArray<LabelDefinition>;
2494
+ /**
2495
+ * Remove labels from the repo that are not in the config file.
2496
+ * @default true
2497
+ */
2498
+ readonly deleteOtherLabels?: boolean;
2499
+ /**
2500
+ * Workflow file name (display name in the Actions tab).
2501
+ * @default "sync-labels"
2502
+ */
2503
+ readonly workflowName?: string;
2504
+ }
2505
+ /** Default status labels. */
2506
+ declare const DEFAULT_STATUS_LABELS: ReadonlyArray<LabelDefinition>;
2507
+ /** Default priority labels. */
2508
+ declare const DEFAULT_PRIORITY_LABELS: ReadonlyArray<LabelDefinition>;
2509
+ /** Default type labels — one per conventional commit type. */
2510
+ declare const DEFAULT_TYPE_LABELS: ReadonlyArray<LabelDefinition>;
2511
+ /**
2512
+ * Adds a labels config file and a GitHub Actions workflow that syncs
2513
+ * labels to the repository using EndBug/label-sync.
2514
+ */
2515
+ declare function addSyncLabelsWorkflow(project: NodeProject, options: SyncLabelsOptions): void;
2516
+
2456
2517
  /*******************************************************************************
2457
2518
  *
2458
2519
  * Monorepo Root Project.
@@ -2546,6 +2607,17 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
2546
2607
  * @default false
2547
2608
  */
2548
2609
  readonly agentConfig?: AgentConfigOptions | boolean;
2610
+ /**
2611
+ * Sync GitHub labels from a config file using EndBug/label-sync.
2612
+ * Generates `.github/labels.yml` and a sync workflow.
2613
+ *
2614
+ * - `true` or `undefined`: enable with default priority labels (default)
2615
+ * - `SyncLabelsOptions`: enable with custom label configuration
2616
+ * - `false`: disable label syncing
2617
+ *
2618
+ * @default true
2619
+ */
2620
+ readonly syncLabels?: SyncLabelsOptions | boolean;
2549
2621
  }
2550
2622
  declare class MonorepoProject extends TypeScriptAppProject {
2551
2623
  /**
@@ -2868,4 +2940,4 @@ declare const COMPLETE_JOB_ID = "complete";
2868
2940
  */
2869
2941
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
2870
2942
 
2871
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, type AgentConfigOptions, type AgentModel, type AgentPlatform, type AgentPlatformOverrides, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type ApproveMergeUpgradeOptions, type AwsAccount, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type DeployWorkflowOptions, type DeploymentMetadata, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, JsiiFaker, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, type McpServerConfig, type McpTransport, type MergeMethod, MonorepoProject, type MonorepoProjectOptions, type OrganizationMetadata, PROD_DEPLOY_NAME, PnpmWorkspace, type PnpmWorkspaceOptions, ProjectMetadata, type ProjectMetadataOptions, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedProjectMetadata, type SlackMetadata, type TemplateResolveResult, TestRunner, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, awsCdkBundle, baseBundle, getLatestEligibleVersion, githubWorkflowBundle, jestBundle, pnpmBundle, projenBundle, resolveTemplateVariables, slackBundle, turborepoBundle, typescriptBundle, vitestBundle };
2943
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, type AgentConfigOptions, type AgentModel, type AgentPlatform, type AgentPlatformOverrides, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type ApproveMergeUpgradeOptions, type AwsAccount, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, DEFAULT_PRIORITY_LABELS, DEFAULT_STATUS_LABELS, DEFAULT_TYPE_LABELS, type DeployWorkflowOptions, type DeploymentMetadata, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, JsiiFaker, type LabelDefinition, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, type McpServerConfig, type McpTransport, type MergeMethod, MonorepoProject, type MonorepoProjectOptions, type OrganizationMetadata, PROD_DEPLOY_NAME, PnpmWorkspace, type PnpmWorkspaceOptions, ProjectMetadata, type ProjectMetadataOptions, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedProjectMetadata, type SlackMetadata, type SyncLabelsOptions, type TemplateResolveResult, TestRunner, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, awsCdkBundle, baseBundle, getLatestEligibleVersion, githubWorkflowBundle, jestBundle, meetingAnalysisBundle, pnpmBundle, projenBundle, resolveModelAlias, resolveTemplateVariables, slackBundle, turborepoBundle, typescriptBundle, vitestBundle };
package/lib/index.d.ts CHANGED
@@ -100,6 +100,12 @@ declare const AGENT_MODEL: {
100
100
  readonly POWERFUL: "powerful";
101
101
  };
102
102
  type AgentModel = (typeof AGENT_MODEL)[keyof typeof AGENT_MODEL];
103
+ /**
104
+ * Maps abstract AGENT_MODEL values to Claude Code model aliases.
105
+ * Returns undefined for "inherit" (omit the field entirely).
106
+ * Cursor omits the model field to use its default model selection.
107
+ */
108
+ declare function resolveModelAlias(model: string | undefined): string | undefined;
103
109
  /**
104
110
  * MCP server transport type.
105
111
  */
@@ -258,6 +264,15 @@ interface AgentSkill {
258
264
  * @default 'bash'
259
265
  */
260
266
  readonly shell?: string;
267
+ /** Per-platform overrides. Use `exclude: true` to skip a platform. */
268
+ readonly platforms?: {
269
+ readonly claude?: {
270
+ readonly exclude?: boolean;
271
+ };
272
+ readonly cursor?: {
273
+ readonly exclude?: boolean;
274
+ };
275
+ };
261
276
  }
262
277
  /**
263
278
  * Platform-specific overrides for a sub-agent definition.
@@ -947,6 +962,12 @@ declare const githubWorkflowBundle: AgentRuleBundle;
947
962
  */
948
963
  declare const jestBundle: AgentRuleBundle;
949
964
 
965
+ /**
966
+ * Meeting analysis bundle — included by default.
967
+ * Provides a 4-phase meeting transcript processing workflow.
968
+ */
969
+ declare const meetingAnalysisBundle: AgentRuleBundle;
970
+
950
971
  /**
951
972
  * PNPM bundle — auto-detected when the PnpmWorkspace component is present.
952
973
  */
@@ -2502,6 +2523,46 @@ interface ApproveMergeUpgradeOptions {
2502
2523
  */
2503
2524
  declare function addApproveMergeUpgradeWorkflow(project: NodeProject, options: ApproveMergeUpgradeOptions): void;
2504
2525
 
2526
+ /** A single GitHub label definition for EndBug/label-sync. */
2527
+ interface LabelDefinition {
2528
+ /** Label name (e.g. "priority:high"). */
2529
+ readonly name: string;
2530
+ /** Hex color without the leading `#` (e.g. "B60205"). */
2531
+ readonly color: string;
2532
+ /** Short description shown in the GitHub UI. */
2533
+ readonly description: string;
2534
+ }
2535
+ /** Options for the sync-labels workflow and labels config file. */
2536
+ interface SyncLabelsOptions {
2537
+ /**
2538
+ * Additional labels to sync alongside the standard defaults.
2539
+ * Merged with DEFAULT_STATUS_LABELS, DEFAULT_PRIORITY_LABELS, and
2540
+ * DEFAULT_TYPE_LABELS (standard labels are always included).
2541
+ */
2542
+ readonly labels?: ReadonlyArray<LabelDefinition>;
2543
+ /**
2544
+ * Remove labels from the repo that are not in the config file.
2545
+ * @default true
2546
+ */
2547
+ readonly deleteOtherLabels?: boolean;
2548
+ /**
2549
+ * Workflow file name (display name in the Actions tab).
2550
+ * @default "sync-labels"
2551
+ */
2552
+ readonly workflowName?: string;
2553
+ }
2554
+ /** Default status labels. */
2555
+ declare const DEFAULT_STATUS_LABELS: ReadonlyArray<LabelDefinition>;
2556
+ /** Default priority labels. */
2557
+ declare const DEFAULT_PRIORITY_LABELS: ReadonlyArray<LabelDefinition>;
2558
+ /** Default type labels — one per conventional commit type. */
2559
+ declare const DEFAULT_TYPE_LABELS: ReadonlyArray<LabelDefinition>;
2560
+ /**
2561
+ * Adds a labels config file and a GitHub Actions workflow that syncs
2562
+ * labels to the repository using EndBug/label-sync.
2563
+ */
2564
+ declare function addSyncLabelsWorkflow(project: NodeProject, options: SyncLabelsOptions): void;
2565
+
2505
2566
  /*******************************************************************************
2506
2567
  *
2507
2568
  * Monorepo Root Project.
@@ -2595,6 +2656,17 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
2595
2656
  * @default false
2596
2657
  */
2597
2658
  readonly agentConfig?: AgentConfigOptions | boolean;
2659
+ /**
2660
+ * Sync GitHub labels from a config file using EndBug/label-sync.
2661
+ * Generates `.github/labels.yml` and a sync workflow.
2662
+ *
2663
+ * - `true` or `undefined`: enable with default priority labels (default)
2664
+ * - `SyncLabelsOptions`: enable with custom label configuration
2665
+ * - `false`: disable label syncing
2666
+ *
2667
+ * @default true
2668
+ */
2669
+ readonly syncLabels?: SyncLabelsOptions | boolean;
2598
2670
  }
2599
2671
  declare class MonorepoProject extends TypeScriptAppProject {
2600
2672
  /**
@@ -2917,5 +2989,5 @@ declare const COMPLETE_JOB_ID = "complete";
2917
2989
  */
2918
2990
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
2919
2991
 
2920
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, JsiiFaker, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MonorepoProject, PROD_DEPLOY_NAME, PnpmWorkspace, ProjectMetadata, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, TestRunner, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, awsCdkBundle, baseBundle, getLatestEligibleVersion, githubWorkflowBundle, jestBundle, pnpmBundle, projenBundle, resolveTemplateVariables, slackBundle, turborepoBundle, typescriptBundle, vitestBundle };
2921
- export type { AgentConfigOptions, AgentModel, AgentPlatform, AgentPlatformOverrides, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, ApproveMergeUpgradeOptions, AwsAccount, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, DeployWorkflowOptions, DeploymentMetadata, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, IDependencyResolver, McpServerConfig, McpTransport, MergeMethod, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, ProjectMetadataOptions, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedProjectMetadata, SlackMetadata, TemplateResolveResult, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, VersionKey, VitestConfigOptions, VitestOptions };
2992
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, DEFAULT_PRIORITY_LABELS, DEFAULT_STATUS_LABELS, DEFAULT_TYPE_LABELS, JsiiFaker, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MonorepoProject, PROD_DEPLOY_NAME, PnpmWorkspace, ProjectMetadata, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, TestRunner, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, awsCdkBundle, baseBundle, getLatestEligibleVersion, githubWorkflowBundle, jestBundle, meetingAnalysisBundle, pnpmBundle, projenBundle, resolveModelAlias, resolveTemplateVariables, slackBundle, turborepoBundle, typescriptBundle, vitestBundle };
2993
+ export type { AgentConfigOptions, AgentModel, AgentPlatform, AgentPlatformOverrides, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, ApproveMergeUpgradeOptions, AwsAccount, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, DeployWorkflowOptions, DeploymentMetadata, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, IDependencyResolver, LabelDefinition, McpServerConfig, McpTransport, MergeMethod, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, ProjectMetadataOptions, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedProjectMetadata, SlackMetadata, SyncLabelsOptions, TemplateResolveResult, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, VersionKey, VitestConfigOptions, VitestOptions };