@codedrifters/configulator 0.0.252 → 0.0.254

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.mjs CHANGED
@@ -1342,6 +1342,47 @@ var baseBundle = {
1342
1342
  ]
1343
1343
  };
1344
1344
 
1345
+ // src/agent/bundles/paths.ts
1346
+ var DEFAULT_AGENT_PATHS = Object.freeze({
1347
+ docsRoot: "docs/src/content/docs",
1348
+ researchRoot: "docs/research",
1349
+ profilesRoot: "docs/src/content/docs/profiles",
1350
+ meetingsRoot: "docs/src/content/docs/meetings",
1351
+ requirementsRoot: "docs/src/content/docs/requirements",
1352
+ researchRequirementsRoot: "docs/research/requirements",
1353
+ bcmRoot: "docs/src/content/docs/concepts",
1354
+ peopleRoot: "docs/src/content/docs/profiles/people",
1355
+ companiesRoot: "docs/src/content/docs/profiles/companies",
1356
+ softwareRoot: "docs/src/content/docs/profiles/software",
1357
+ industriesRoot: "docs/src/content/docs/profiles/industries"
1358
+ });
1359
+ function resolveAgentPaths(paths) {
1360
+ const docsRoot = paths?.docsRoot ?? DEFAULT_AGENT_PATHS.docsRoot;
1361
+ const researchRoot = paths?.researchRoot ?? DEFAULT_AGENT_PATHS.researchRoot;
1362
+ const profilesRoot = paths?.profilesRoot ?? `${docsRoot}/profiles`;
1363
+ const meetingsRoot = paths?.meetingsRoot ?? `${docsRoot}/meetings`;
1364
+ const requirementsRoot = paths?.requirementsRoot ?? `${docsRoot}/requirements`;
1365
+ const bcmRoot = paths?.bcmRoot ?? `${docsRoot}/concepts`;
1366
+ const researchRequirementsRoot = paths?.researchRequirementsRoot ?? `${researchRoot}/requirements`;
1367
+ const peopleRoot = paths?.peopleRoot ?? `${profilesRoot}/people`;
1368
+ const companiesRoot = paths?.companiesRoot ?? `${profilesRoot}/companies`;
1369
+ const softwareRoot = paths?.softwareRoot ?? `${profilesRoot}/software`;
1370
+ const industriesRoot = paths?.industriesRoot ?? `${profilesRoot}/industries`;
1371
+ return {
1372
+ docsRoot,
1373
+ researchRoot,
1374
+ profilesRoot,
1375
+ meetingsRoot,
1376
+ requirementsRoot,
1377
+ researchRequirementsRoot,
1378
+ bcmRoot,
1379
+ peopleRoot,
1380
+ companiesRoot,
1381
+ softwareRoot,
1382
+ industriesRoot
1383
+ };
1384
+ }
1385
+
1345
1386
  // src/agent/bundles/project-context.ts
1346
1387
  var PROJECT_CONTEXT_PATH = "docs/src/content/docs/project-context.md";
1347
1388
  var SUBPROJECT_ROLE_GUIDANCE = [
@@ -1587,7 +1628,7 @@ var bcmWriterSubAgent = {
1587
1628
  "",
1588
1629
  "| Placeholder | Meaning | Default |",
1589
1630
  "|-------------|---------|---------|",
1590
- "| `<BCM_DOC_ROOT>` | Root folder for all BCM capability-model documents | `docs/src/content/docs/concepts/` |",
1631
+ `| \`<BCM_DOC_ROOT>\` | Root folder for all BCM capability-model documents | \`${DEFAULT_AGENT_PATHS.bcmRoot}/\` |`,
1591
1632
  "| `<OUTLINE_ROOT>` | Working-directory root for outline files produced in Phase 1 | `docs/src/content/docs/concepts/.outlines/` |",
1592
1633
  "| `<REGISTRY_INDEX>` | Capability registry `_index.md` file that lists every BCM doc | `<BCM_DOC_ROOT>/_index.md` |",
1593
1634
  "| `<CAPABILITY_MAP>` | Capability-map file that shows the L1/L2/L3 hierarchy | `<BCM_DOC_ROOT>/capability-map.md` |",
@@ -12552,7 +12593,7 @@ var researchAnalystSubAgent = {
12552
12593
  "",
12553
12594
  "| Placeholder | Meaning | Default |",
12554
12595
  "|-------------|---------|---------|",
12555
- "| `<RESEARCH_ROOT>` | Root folder for all research outputs | `docs/research/` |",
12596
+ `| \`<RESEARCH_ROOT>\` | Root folder for all research outputs | \`${DEFAULT_AGENT_PATHS.researchRoot}/\` |`,
12556
12597
  "| `<SCOPE_DIR>` | Scope files | `<RESEARCH_ROOT>/scopes/` |",
12557
12598
  "| `<SLICES_DIR>` | Slice note files | `<RESEARCH_ROOT>/slices/` |",
12558
12599
  "| `<DELIVERABLES_DIR>` | Final verified deliverables | `<RESEARCH_ROOT>/deliverables/` |",
@@ -14234,7 +14275,7 @@ var VERSION = {
14234
14275
  /**
14235
14276
  * Version of Astro to pin for AstroProject scaffolding.
14236
14277
  */
14237
- ASTRO_VERSION: "6.1.7",
14278
+ ASTRO_VERSION: "6.1.8",
14238
14279
  /**
14239
14280
  * CDK CLI for workflows and command line operations.
14240
14281
  *
@@ -18137,6 +18178,7 @@ export {
18137
18178
  BUILT_IN_BUNDLES,
18138
18179
  CLAUDE_RULE_TARGET,
18139
18180
  COMPLETE_JOB_ID,
18181
+ DEFAULT_AGENT_PATHS,
18140
18182
  DEFAULT_PRIORITY_LABELS,
18141
18183
  DEFAULT_STATUS_LABELS,
18142
18184
  DEFAULT_TEARDOWN_BRANCH_PATTERNS,
@@ -18193,6 +18235,7 @@ export {
18193
18235
  requirementsReviewerBundle,
18194
18236
  requirementsWriterBundle,
18195
18237
  researchPipelineBundle,
18238
+ resolveAgentPaths,
18196
18239
  resolveAstroProjectOutdir,
18197
18240
  resolveAwsCdkProjectOutdir,
18198
18241
  resolveModelAlias,