ganbatte-os 0.2.2 → 0.2.4
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.
|
@@ -277,11 +277,20 @@ function cmdInstall(args) {
|
|
|
277
277
|
process.exit(1);
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
// 2. Copiar arquivos do framework
|
|
281
|
-
const exclude = ['.git', '.gos-local', 'node_modules', 'package-lock.json', 'install-log.json', 'update-log.json'];
|
|
280
|
+
// 2. Copiar arquivos do framework
|
|
282
281
|
log('Copiando arquivos do framework...');
|
|
283
282
|
try {
|
|
284
|
-
|
|
283
|
+
// Copiar pasta .gos inteira
|
|
284
|
+
copyDirRecursive(path.join(sourceRoot, '.gos'), path.join(targetRoot, '.gos'));
|
|
285
|
+
|
|
286
|
+
// Copiar arquivos .md da raiz
|
|
287
|
+
const rootFiles = ['AGENTS.md', 'CLAUDE.md', 'GEMINI.md', 'README.md', 'LICENSE'];
|
|
288
|
+
for (const file of rootFiles) {
|
|
289
|
+
const src = path.join(sourceRoot, file);
|
|
290
|
+
if (pathExists(src)) {
|
|
291
|
+
fs.copyFileSync(src, path.join(targetRoot, file));
|
|
292
|
+
}
|
|
293
|
+
}
|
|
285
294
|
ok('Arquivos copiados com sucesso.');
|
|
286
295
|
} catch (e) {
|
|
287
296
|
fail(`Erro ao copiar arquivos: ${e.message}`);
|
|
@@ -8,27 +8,19 @@ const required = [
|
|
|
8
8
|
'AGENTS.md',
|
|
9
9
|
'CLAUDE.md',
|
|
10
10
|
'GEMINI.md',
|
|
11
|
-
'prompts/01-search.md',
|
|
12
|
-
'prompts/02-spec.md',
|
|
13
|
-
'prompts/03-tasks.md',
|
|
14
|
-
'prompts/04-code.md',
|
|
15
|
-
'prompts/05-reviews.md',
|
|
16
|
-
'integrations/registry.json',
|
|
17
|
-
'integrations/claude/command-map.json',
|
|
18
|
-
'integrations/codex/command-map.json',
|
|
19
|
-
'integrations/opencode/command-map.json',
|
|
20
|
-
'integrations/antigravity/command-map.json',
|
|
21
|
-
'integrations/gemini/command-map.json',
|
|
22
|
-
'integrations/cursor/command-map.json',
|
|
23
|
-
'integrations/kilo-code/command-map.json'
|
|
24
|
-
'.claude/commands/gos/agents/dev.md',
|
|
25
|
-
'.claude/commands/gos/skills/design-to-code.md',
|
|
26
|
-
'.codex/skills/gos-design-to-code.md',
|
|
27
|
-
'.gemini/skills/gos-design-to-code/SKILL.md',
|
|
28
|
-
'.opencode/skills/gos-design-to-code/SKILL.md',
|
|
29
|
-
'.antigravity/instructions.md',
|
|
30
|
-
'.cursor/rules/g-os.mdc',
|
|
31
|
-
'.kilocode/rules/g-os.md'
|
|
11
|
+
'.gos/prompts/01-search.md',
|
|
12
|
+
'.gos/prompts/02-spec.md',
|
|
13
|
+
'.gos/prompts/03-tasks.md',
|
|
14
|
+
'.gos/prompts/04-code.md',
|
|
15
|
+
'.gos/prompts/05-reviews.md',
|
|
16
|
+
'.gos/integrations/registry.json',
|
|
17
|
+
'.gos/integrations/claude/command-map.json',
|
|
18
|
+
'.gos/integrations/codex/command-map.json',
|
|
19
|
+
'.gos/integrations/opencode/command-map.json',
|
|
20
|
+
'.gos/integrations/antigravity/command-map.json',
|
|
21
|
+
'.gos/integrations/gemini/command-map.json',
|
|
22
|
+
'.gos/integrations/cursor/command-map.json',
|
|
23
|
+
'.gos/integrations/kilo-code/command-map.json'
|
|
32
24
|
];
|
|
33
25
|
|
|
34
26
|
const missing = required.filter((entry) => !fs.existsSync(path.join(root, entry)));
|