@codedrifters/configulator 0.0.183 → 0.0.184

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
@@ -342,6 +342,21 @@ interface AgentSubAgent {
342
342
  /** Optional per-platform overrides for this sub-agent. */
343
343
  readonly platforms?: AgentSubAgentPlatformOverrides;
344
344
  }
345
+ /**
346
+ * An executable procedure (shell script) that ships with a bundle.
347
+ * Rendered to .claude/procedures/{name} as an executable file.
348
+ */
349
+ interface AgentProcedure {
350
+ /**
351
+ * Filename for the procedure (e.g., 'check-blocked.sh').
352
+ * Used as the filename in .claude/procedures/.
353
+ */
354
+ readonly name: string;
355
+ /** Human-readable description of what this procedure does. */
356
+ readonly description: string;
357
+ /** Script content as a single string. Lines are split on newlines for rendering. */
358
+ readonly content: string;
359
+ }
345
360
  /**
346
361
  * MCP server configuration. Cross-platform — rendered to .claude/settings.json
347
362
  * (Claude Code) and .cursor/mcp.json (Cursor).
@@ -422,6 +437,8 @@ interface AgentRuleBundle {
422
437
  readonly skills?: ReadonlyArray<AgentSkill>;
423
438
  /** Sub-agents included in this bundle. */
424
439
  readonly subAgents?: ReadonlyArray<AgentSubAgent>;
440
+ /** Executable procedures (shell scripts) included in this bundle. */
441
+ readonly procedures?: ReadonlyArray<AgentProcedure>;
425
442
  /**
426
443
  * Claude Code permission entries contributed by this bundle.
427
444
  * Allow and deny entries are merged with the default and user-supplied
@@ -768,6 +785,10 @@ interface AgentConfigOptions {
768
785
  * Custom sub-agent definitions.
769
786
  */
770
787
  readonly subAgents?: ReadonlyArray<AgentSubAgent>;
788
+ /**
789
+ * Custom procedure definitions (executable shell scripts).
790
+ */
791
+ readonly procedures?: ReadonlyArray<AgentProcedure>;
771
792
  /**
772
793
  * MCP server configurations. Cross-platform — rendered to the appropriate
773
794
  * config file for each platform.
@@ -873,6 +894,7 @@ declare class AgentConfig extends Component {
873
894
  private bundleRulesFor;
874
895
  private resolveSkills;
875
896
  private resolveSubAgents;
897
+ private resolveProcedures;
876
898
  /**
877
899
  * Resolves template variables in rule content using project metadata.
878
900
  * Emits synthesis warnings for rules with unresolved variables.
@@ -886,6 +908,10 @@ declare class AgentConfig extends Component {
886
908
  * Resolves template variables in sub-agent prompts using project metadata.
887
909
  */
888
910
  private resolveSubAgentTemplates;
911
+ /**
912
+ * Resolves template variables in procedure content using project metadata.
913
+ */
914
+ private resolveProcedureTemplates;
889
915
  /**
890
916
  * Collects Claude permission entries from all active bundles.
891
917
  */
@@ -919,6 +945,13 @@ declare const jestBundle: AgentRuleBundle;
919
945
  */
920
946
  declare const meetingAnalysisBundle: AgentRuleBundle;
921
947
 
948
+ /*******************************************************************************
949
+ *
950
+ * Bundle definition
951
+ *
952
+ ******************************************************************************/
953
+ declare const orchestratorBundle: AgentRuleBundle;
954
+
922
955
  /**
923
956
  * PNPM bundle — auto-detected when the PnpmWorkspace component is present.
924
957
  */
@@ -2940,4 +2973,4 @@ declare const COMPLETE_JOB_ID = "complete";
2940
2973
  */
2941
2974
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
2942
2975
 
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 };
2976
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, type AgentConfigOptions, type AgentModel, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, 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, orchestratorBundle, pnpmBundle, projenBundle, resolveModelAlias, resolveTemplateVariables, slackBundle, turborepoBundle, typescriptBundle, vitestBundle };
package/lib/index.d.ts CHANGED
@@ -391,6 +391,21 @@ interface AgentSubAgent {
391
391
  /** Optional per-platform overrides for this sub-agent. */
392
392
  readonly platforms?: AgentSubAgentPlatformOverrides;
393
393
  }
394
+ /**
395
+ * An executable procedure (shell script) that ships with a bundle.
396
+ * Rendered to .claude/procedures/{name} as an executable file.
397
+ */
398
+ interface AgentProcedure {
399
+ /**
400
+ * Filename for the procedure (e.g., 'check-blocked.sh').
401
+ * Used as the filename in .claude/procedures/.
402
+ */
403
+ readonly name: string;
404
+ /** Human-readable description of what this procedure does. */
405
+ readonly description: string;
406
+ /** Script content as a single string. Lines are split on newlines for rendering. */
407
+ readonly content: string;
408
+ }
394
409
  /**
395
410
  * MCP server configuration. Cross-platform — rendered to .claude/settings.json
396
411
  * (Claude Code) and .cursor/mcp.json (Cursor).
@@ -471,6 +486,8 @@ interface AgentRuleBundle {
471
486
  readonly skills?: ReadonlyArray<AgentSkill>;
472
487
  /** Sub-agents included in this bundle. */
473
488
  readonly subAgents?: ReadonlyArray<AgentSubAgent>;
489
+ /** Executable procedures (shell scripts) included in this bundle. */
490
+ readonly procedures?: ReadonlyArray<AgentProcedure>;
474
491
  /**
475
492
  * Claude Code permission entries contributed by this bundle.
476
493
  * Allow and deny entries are merged with the default and user-supplied
@@ -817,6 +834,10 @@ interface AgentConfigOptions {
817
834
  * Custom sub-agent definitions.
818
835
  */
819
836
  readonly subAgents?: ReadonlyArray<AgentSubAgent>;
837
+ /**
838
+ * Custom procedure definitions (executable shell scripts).
839
+ */
840
+ readonly procedures?: ReadonlyArray<AgentProcedure>;
820
841
  /**
821
842
  * MCP server configurations. Cross-platform — rendered to the appropriate
822
843
  * config file for each platform.
@@ -922,6 +943,7 @@ declare class AgentConfig extends Component {
922
943
  private bundleRulesFor;
923
944
  private resolveSkills;
924
945
  private resolveSubAgents;
946
+ private resolveProcedures;
925
947
  /**
926
948
  * Resolves template variables in rule content using project metadata.
927
949
  * Emits synthesis warnings for rules with unresolved variables.
@@ -935,6 +957,10 @@ declare class AgentConfig extends Component {
935
957
  * Resolves template variables in sub-agent prompts using project metadata.
936
958
  */
937
959
  private resolveSubAgentTemplates;
960
+ /**
961
+ * Resolves template variables in procedure content using project metadata.
962
+ */
963
+ private resolveProcedureTemplates;
938
964
  /**
939
965
  * Collects Claude permission entries from all active bundles.
940
966
  */
@@ -968,6 +994,13 @@ declare const jestBundle: AgentRuleBundle;
968
994
  */
969
995
  declare const meetingAnalysisBundle: AgentRuleBundle;
970
996
 
997
+ /*******************************************************************************
998
+ *
999
+ * Bundle definition
1000
+ *
1001
+ ******************************************************************************/
1002
+ declare const orchestratorBundle: AgentRuleBundle;
1003
+
971
1004
  /**
972
1005
  * PNPM bundle — auto-detected when the PnpmWorkspace component is present.
973
1006
  */
@@ -2989,5 +3022,5 @@ declare const COMPLETE_JOB_ID = "complete";
2989
3022
  */
2990
3023
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
2991
3024
 
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 };
3025
+ 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, orchestratorBundle, pnpmBundle, projenBundle, resolveModelAlias, resolveTemplateVariables, slackBundle, turborepoBundle, typescriptBundle, vitestBundle };
3026
+ export type { AgentConfigOptions, AgentModel, AgentPlatform, AgentPlatformOverrides, AgentProcedure, 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 };