@devobsessed/code-captain 0.1.0 → 0.2.1

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/README.md CHANGED
@@ -54,7 +54,7 @@ _AI-first development with built-in agent system_
54
54
 
55
55
  _Classic VS Code with Copilot Chat integration_
56
56
 
57
- - Custom chat modes and prompts
57
+ - Custom agents and prompts
58
58
  - `.github/` repository integration
59
59
  - Team collaboration features
60
60
  - **→ [Copilot Setup Guide](copilot/README.md)**
package/bin/install.js CHANGED
@@ -37,9 +37,10 @@ class CodeCaptainInstaller {
37
37
  },
38
38
  copilot: {
39
39
  name: "Copilot",
40
- description: "Visual Studio Code with Copilot extension",
40
+ description:
41
+ "VS Code or Visual Studio with GitHub Copilot",
41
42
  details:
42
- "Uses .github/chatmodes/ + .github/prompts/ + .code-captain/docs/",
43
+ "Uses .github/copilot-instructions.md + .github/agents/ + .github/prompts/ + .code-captain/docs/",
43
44
  },
44
45
  claude: {
45
46
  name: "Claude Code",
@@ -125,7 +126,11 @@ class CodeCaptainInstaller {
125
126
  ".cursor/rules/cc.mdc",
126
127
  ".cursor/rules/",
127
128
  ],
128
- "Copilot Integration": [".github/chatmodes/", ".github/prompts/"],
129
+ "Copilot Integration": [
130
+ ".github/copilot-instructions.md",
131
+ ".github/agents/",
132
+ ".github/prompts/",
133
+ ],
129
134
  "Claude Integration": [
130
135
  ".code-captain/claude/",
131
136
  "claude-code/",
@@ -679,7 +684,12 @@ class CodeCaptainInstaller {
679
684
  case "copilot":
680
685
  return [
681
686
  ...baseChoices,
682
- { name: "Copilot Chatmodes", value: "chatmodes", checked: true },
687
+ {
688
+ name: "Copilot Instructions (.github/copilot-instructions.md)",
689
+ value: "instructions",
690
+ checked: true,
691
+ },
692
+ { name: "Copilot Agents", value: "agents", checked: true },
683
693
  { name: "Copilot Prompts", value: "prompts", checked: true },
684
694
  ];
685
695
 
@@ -897,12 +907,21 @@ class CodeCaptainInstaller {
897
907
  break;
898
908
 
899
909
  case "copilot":
900
- // Chatmodes
901
- if (includeAll || selectedComponents.includes("chatmodes")) {
910
+ // Instructions
911
+ if (includeAll || selectedComponents.includes("instructions")) {
912
+ files.push({
913
+ source: "copilot/copilot-instructions.md",
914
+ target: ".github/copilot-instructions.md",
915
+ component: "instructions",
916
+ });
917
+ }
918
+
919
+ // Agents
920
+ if (includeAll || selectedComponents.includes("agents")) {
902
921
  files.push({
903
- source: "copilot/chatmodes/Code Captain.chatmode.md",
904
- target: ".github/chatmodes/Code Captain.chatmode.md",
905
- component: "chatmodes",
922
+ source: "copilot/agents/Code Captain.agent.md",
923
+ target: ".github/agents/Code Captain.agent.md",
924
+ component: "agents",
906
925
  });
907
926
  }
908
927
 
@@ -1101,21 +1120,32 @@ class CodeCaptainInstaller {
1101
1120
  case "copilot":
1102
1121
  console.log(
1103
1122
  chalk.blue("1.") +
1104
- " Restart VS Code to load chatmodes from " +
1105
- chalk.cyan(".github/chatmodes/")
1123
+ " Restart your IDE to load the new files"
1124
+ );
1125
+ console.log(
1126
+ chalk.blue("2.") +
1127
+ " " +
1128
+ chalk.cyan(".github/copilot-instructions.md") +
1129
+ " is automatically included in every Copilot request"
1130
+ );
1131
+ console.log(
1132
+ chalk.bold.yellow("\n VS Code:")
1106
1133
  );
1107
- console.log(chalk.blue("2.") + " Open Copilot Chat in VS Code");
1108
1134
  console.log(
1109
1135
  chalk.blue("3.") +
1110
- " Type " +
1111
- chalk.cyan("@Code Captain") +
1112
- " to access the chatmode"
1136
+ " Select the " +
1137
+ chalk.cyan("Code Captain") +
1138
+ " agent from the agent picker, or invoke prompts with " +
1139
+ chalk.cyan("/command-name")
1140
+ );
1141
+ console.log(
1142
+ chalk.bold.yellow("\n Visual Studio:")
1113
1143
  );
1114
1144
  console.log(
1115
1145
  chalk.blue("4.") +
1116
- " Use prompts from " +
1117
- chalk.cyan(".github/prompts/") +
1118
- " for workflows"
1146
+ " Invoke prompts with " +
1147
+ chalk.cyan("#command-name") +
1148
+ " in Copilot Chat (agents are not supported)"
1119
1149
  );
1120
1150
  break;
1121
1151