dlw-machine-setup 0.2.5 → 0.2.6

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.
Files changed (2) hide show
  1. package/bin/installer.js +4 -4
  2. package/package.json +1 -1
package/bin/installer.js CHANGED
@@ -3868,15 +3868,15 @@ async function setupInstructions(config) {
3868
3868
  break;
3869
3869
  }
3870
3870
  case "github-copilot": {
3871
- const instructionsDir = (0, import_path4.join)(process.cwd(), ".github", "instructions");
3872
- if (!(0, import_fs4.existsSync)(instructionsDir)) (0, import_fs4.mkdirSync)(instructionsDir, { recursive: true });
3871
+ const agentsDir = (0, import_path4.join)(process.cwd(), ".github", "agents");
3872
+ if (!(0, import_fs4.existsSync)(agentsDir)) (0, import_fs4.mkdirSync)(agentsDir, { recursive: true });
3873
3873
  const body = buildCombinedInstructions(domains, mcpConfig);
3874
3874
  const withFrontmatter = `---
3875
3875
  applyTo: "**"
3876
3876
  ---
3877
3877
 
3878
3878
  ${body}`;
3879
- upsertBlock((0, import_path4.join)(instructionsDir, `instructions.instructions.md`), withFrontmatter);
3879
+ upsertBlock((0, import_path4.join)(agentsDir, `instructions.md`), withFrontmatter);
3880
3880
  break;
3881
3881
  }
3882
3882
  case "cursor": {
@@ -3902,7 +3902,7 @@ function getInstructionFilePath(agent) {
3902
3902
  case "claude-code":
3903
3903
  return "CLAUDE.md";
3904
3904
  case "github-copilot":
3905
- return ".github/instructions/instructions.instructions.md";
3905
+ return ".github/agents/instructions.md";
3906
3906
  case "cursor":
3907
3907
  return ".cursor/rules/instructions.mdc";
3908
3908
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dlw-machine-setup",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "One-shot installer for The Machine toolchain",
5
5
  "bin": {
6
6
  "dlw-machine-setup": "bin/installer.js"