bps-kit 1.0.17 → 1.0.19
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
CHANGED
|
@@ -5,6 +5,11 @@ 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.18] - 2026-03-08
|
|
9
|
+
### Modificado
|
|
10
|
+
- Universalização do *Lazy-Loading*: A instrução contida no template base `GEMINI.md` dizia que as habilidades (skills) na pasta raíz estariam "*always in context*" (sempre no contexto). Essa linha foi alterada para um comando forte que impõe as IAs nativas (Windsurf e Cursor) lerem a habilidade "explicitly read the SKILL.md file via file tools before using". Isso universaliza a redução de uso de Tokens Passivos (barrando possíveis alucinações de contexto) em todas as esferas e não apenas na arquitetura VS Code Copilot.
|
|
11
|
+
- Com isso, o construtor do VS Code (`convert_to_vscode.js`) não precisa mais realizar uma conversão *custom* desta *string* especifica visto que a performance de token foi regularizada no template Global.
|
|
12
|
+
|
|
8
13
|
## [1.0.17] - 2026-03-08
|
|
9
14
|
### Corrigido
|
|
10
15
|
- O script `convert_to_vscode.js` esvaziava os metadados e scripts em Python de `.copilot-skills/` durante o processo de migração por achatar ativamente e destrutivamente pastas em um `.md` individual. O conversor agora move a pasta preservando a sanidade estrutural e utilitária de cada *skill*.
|
package/bin/convert_to_vscode.js
CHANGED
|
@@ -12,6 +12,9 @@ async function convertToVsCode(destAgents, destBase) {
|
|
|
12
12
|
|
|
13
13
|
console.log(chalk.dim(' [VS Code] Convertendo arquivos para sintaxe do Copilot...'));
|
|
14
14
|
|
|
15
|
+
// Garantir que o diretório .github existe antes de qualquer escrita
|
|
16
|
+
await fs.ensureDir(gitHubDir);
|
|
17
|
+
|
|
15
18
|
// 1. Converter a rule master GEMINI.md em copilot-instructions.md
|
|
16
19
|
const geminiPath = path.join(destAgents, 'rules', 'GEMINI.md');
|
|
17
20
|
if (await fs.pathExists(geminiPath)) {
|
|
@@ -23,9 +26,6 @@ async function convertToVsCode(destAgents, destBase) {
|
|
|
23
26
|
content = content.replace(/\.\/\.agents\/rules\/GEMINI\.md/g, './.github/copilot-instructions.md');
|
|
24
27
|
content = content.replace(/\.\/\.agents\/VAULT_INDEX\.md/g, './.github/VAULT_INDEX.md');
|
|
25
28
|
|
|
26
|
-
// Copilot precisa ser avisado de que as skills ativas agora requerem leitura ativa (view_file) fora da injecao limitante do contexto
|
|
27
|
-
content = content.replace(/— always in context/g, '— explicitly read the SKILL.md file via file tools before using');
|
|
28
|
-
|
|
29
29
|
// Trocar sintaxe bruta de trigger pelo ApplyTo nativo
|
|
30
30
|
content = content.replace(/trigger:\s*always_on/g, 'applyTo: "**/*"');
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -67,7 +67,7 @@ Agent activated → Check frontmatter "skills:" → Read SKILL.md (INDEX) → Re
|
|
|
67
67
|
## 🧠 Skill Auto-Routing System (v8.0.0 — Vault Edition)
|
|
68
68
|
|
|
69
69
|
### Architecture
|
|
70
|
-
- **Active skills** (~65): in `./.agents/skills/` —
|
|
70
|
+
- **Active skills** (~65): in `./.agents/skills/` — explicitly read the SKILL.md file via file tools before using
|
|
71
71
|
- **Vault skills** (~1200+): in `./.agents/vault/` — discoverable via index
|
|
72
72
|
|
|
73
73
|
### Core Rule — Skills First
|