bps-kit 1.0.12 → 1.0.13
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/CHANGELOG.md +4 -0
- package/bin/convert_to_vscode.js +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ Todas as mudanças notáveis neste projeto serão documentadas neste arqui
|
|
|
5
5
|
O formato é baseado no [Keep a Changelog](https://keepachangelog.com/pt-BR/1.0.0/),
|
|
6
6
|
e este projeto adere ao [Versionamento Semântico](https://semver.org/lang/pt-BR/).
|
|
7
7
|
|
|
8
|
+
## [1.0.13] - 2026-03-08
|
|
9
|
+
### Corrigido
|
|
10
|
+
- Workflows exportadas para Copilot Prompts (`.github/prompts/`) agora processam sua integridade lexical e efetuam substituições completas via RegEx, trocando qualquer referência contextual de `GEMINI.md` ou `.agents/` para adequação na nuvem do Copilot (`copilot-instructions.md` e `.github/`).
|
|
11
|
+
|
|
8
12
|
## [1.0.12] - 2026-03-08
|
|
9
13
|
### Adicionado
|
|
10
14
|
- Script conversor do VS Code agora transcreve dinamicamente blocos de Frontmatter YAML embutindo o parâmetro `description` e array vazio em `tools: []` para os Agentes Extraídos.
|
package/bin/convert_to_vscode.js
CHANGED
|
@@ -98,9 +98,16 @@ ${content}`;
|
|
|
98
98
|
const workflowFiles = await fs.readdir(workflowsSrc);
|
|
99
99
|
for (const workflow of workflowFiles) {
|
|
100
100
|
if (workflow.endsWith('.md')) {
|
|
101
|
-
|
|
101
|
+
let content = await fs.readFile(path.join(workflowsSrc, workflow), 'utf8');
|
|
102
102
|
const promptName = workflow.replace('.md', '');
|
|
103
103
|
|
|
104
|
+
// Converter referências visuais e lógicas residuais do Antigravity nativo
|
|
105
|
+
// para o equivalente funcional da arquitetura VS Code.
|
|
106
|
+
content = content.replace(/\.\/\.agents\/rules\/GEMINI\.md/g, './.github/copilot-instructions.md');
|
|
107
|
+
content = content.replace(/\.\/\.agents\//g, './.github/');
|
|
108
|
+
content = content.replace(/GEMINI\.md/g, 'copilot-instructions.md');
|
|
109
|
+
content = content.replace(/VAULT_INDEX\.md/g, 'VAULT_INDEX.instructions.md');
|
|
110
|
+
|
|
104
111
|
// Formato exigido para GitHub Copilot Prompts (.prompt.md)
|
|
105
112
|
const vsCodePromptContent = `---
|
|
106
113
|
agent: agent
|