ragarciaruben 1.20.8 → 1.20.9
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/bin/install.js +9 -2
- package/package.json +1 -1
package/bin/install.js
CHANGED
|
@@ -25,13 +25,17 @@ const hasOpencode = args.includes('--opencode');
|
|
|
25
25
|
const hasClaude = args.includes('--claude');
|
|
26
26
|
const hasGemini = args.includes('--gemini');
|
|
27
27
|
const hasCodex = args.includes('--codex');
|
|
28
|
+
const hasCopilot = args.includes('--copilot');
|
|
28
29
|
const hasBoth = args.includes('--both'); // Legacy flag, keeps working
|
|
29
30
|
const hasAll = args.includes('--all');
|
|
30
31
|
const hasUninstall = args.includes('--uninstall') || args.includes('-u');
|
|
31
32
|
|
|
32
33
|
// Runtime selection - can be set by flags or interactive prompt
|
|
33
34
|
let selectedRuntimes = [];
|
|
34
|
-
if (
|
|
35
|
+
if (hasCopilot) {
|
|
36
|
+
require('./setup-copilot-context');
|
|
37
|
+
return;
|
|
38
|
+
} else if (hasAll) {
|
|
35
39
|
selectedRuntimes = ['claude', 'opencode', 'gemini', 'codex'];
|
|
36
40
|
} else if (hasBoth) {
|
|
37
41
|
selectedRuntimes = ['claude', 'opencode'];
|
|
@@ -1953,13 +1957,16 @@ function promptRuntime(callback) {
|
|
|
1953
1957
|
${cyan}3${reset}) Gemini ${dim}(~/.gemini)${reset}
|
|
1954
1958
|
${cyan}4${reset}) Codex ${dim}(~/.codex)${reset}
|
|
1955
1959
|
${cyan}5${reset}) All
|
|
1960
|
+
${cyan}6${reset}) GitHub Copilot ${dim}(VS Code — .github/ context system)${reset}
|
|
1956
1961
|
`);
|
|
1957
1962
|
|
|
1958
1963
|
rl.question(` Choice ${dim}[1]${reset}: `, (answer) => {
|
|
1959
1964
|
answered = true;
|
|
1960
1965
|
rl.close();
|
|
1961
1966
|
const choice = answer.trim() || '1';
|
|
1962
|
-
if (choice === '
|
|
1967
|
+
if (choice === '6') {
|
|
1968
|
+
require('./setup-copilot-context');
|
|
1969
|
+
} else if (choice === '5') {
|
|
1963
1970
|
callback(['claude', 'opencode', 'gemini', 'codex']);
|
|
1964
1971
|
} else if (choice === '4') {
|
|
1965
1972
|
callback(['codex']);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ragarciaruben",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.9",
|
|
4
4
|
"description": "A meta-prompting, context engineering and spec-driven development system for Claude Code, OpenCode, Gemini and Codex by TÂCHES.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"get-shit-done-cc": "bin/install.js"
|