@fprad0/skill-master-mcp 0.0.4 → 0.0.5
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 +6 -0
- package/README.md +53 -3
- package/VERSION.md +2 -2
- package/bin/skill-master-menu.mjs +10 -1
- package/bin/skill-master-update.mjs +72 -0
- package/manifests/channels/beta.json +5 -5
- package/manifests/channels/stable.json +6 -6
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ All notable changes to `skill_master` will be tracked here.
|
|
|
7
7
|
- Prepare a public npm publication path with dedicated workflow and operator guide.
|
|
8
8
|
- Upgrade release automation from Node `20` to Node `22`.
|
|
9
9
|
|
|
10
|
+
## [0.0.5] - 2026-06-26
|
|
11
|
+
|
|
12
|
+
- Add `skill-master-update` to update the global npm installation safely outside the MCP stdio process.
|
|
13
|
+
- Add a `skill-master-menu` option to run the global npm update flow.
|
|
14
|
+
- Document npm-based auto-update usage for operators and scheduled tasks.
|
|
15
|
+
|
|
10
16
|
## [0.0.4] - 2026-06-26
|
|
11
17
|
|
|
12
18
|
- Add `skill_master_activation_check` to decide when the MCP should activate for a prompt.
|
package/README.md
CHANGED
|
@@ -108,16 +108,17 @@ npx -y @fprad0/skill-master-mcp@latest
|
|
|
108
108
|
|
|
109
109
|
Estado atual validado em `2026-06-26`:
|
|
110
110
|
|
|
111
|
-
- pacote publico publicado: `@fprad0/skill-master-mcp@0.0.
|
|
112
|
-
- dist-tag `latest` apontando para `0.0.
|
|
111
|
+
- pacote publico publicado: `@fprad0/skill-master-mcp@0.0.5`
|
|
112
|
+
- dist-tag `latest` apontando para `0.0.5`
|
|
113
113
|
- workflow `Publish Skill Master to npmjs` concluido com sucesso
|
|
114
114
|
- `npm install` e `npx` confirmados
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
Comandos globais principais:
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
119
|
skill-master-mcp
|
|
120
120
|
skill-master-menu
|
|
121
|
+
skill-master-update
|
|
121
122
|
skill-master-configure-private-registry
|
|
122
123
|
```
|
|
123
124
|
|
|
@@ -127,6 +128,20 @@ O `skill-master-mcp` deve continuar reservado para clientes MCP via `stdio`. Par
|
|
|
127
128
|
skill-master-menu
|
|
128
129
|
```
|
|
129
130
|
|
|
131
|
+
Para atualizar a instalacao global via npm sem iniciar o servidor MCP:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
skill-master-update
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Esse comando executa o equivalente a:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
npm install -g @fprad0/skill-master-mcp@latest --registry=https://registry.npmjs.org
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Use `skill-master-update` antes de abrir ou depois de fechar o cliente MCP. Evite atualizar o pacote enquanto `skill-master-mcp` esta rodando em `stdio`, porque o cliente pode manter o processo antigo carregado ate ser reiniciado.
|
|
144
|
+
|
|
130
145
|
Leia:
|
|
131
146
|
|
|
132
147
|
- [Guia de publicacao no npm publico](docs/operations/GUIA_NPM_PUBLICO.md)
|
|
@@ -214,6 +229,41 @@ Cliente: chama skill_master_activation_check.
|
|
|
214
229
|
Cliente: se ativar, chama skill_master_recommend ou segue as recomendacoes retornadas.
|
|
215
230
|
```
|
|
216
231
|
|
|
232
|
+
## Atualizacao automatica via npm
|
|
233
|
+
|
|
234
|
+
Para instalacoes feitas por `npm install -g`, o caminho seguro de auto-update e executar `skill-master-update` fora do processo MCP.
|
|
235
|
+
|
|
236
|
+
Uso manual:
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
skill-master-update
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
Uso em agendamento Linux/macOS:
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
skill-master-update
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
Uso em agendamento Windows:
|
|
249
|
+
|
|
250
|
+
```powershell
|
|
251
|
+
skill-master-update
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
Validacao sem aplicar update:
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
skill-master-update --dry-run
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
Regra operacional:
|
|
261
|
+
|
|
262
|
+
- nao atualizar dentro do processo `skill-master-mcp` em `stdio`
|
|
263
|
+
- atualizar antes de iniciar o cliente MCP ou em janela agendada
|
|
264
|
+
- reiniciar Codex, Claude, Gemini ou outro cliente MCP depois da atualizacao
|
|
265
|
+
- para desenvolvimento com clone, continuar usando o launcher por manifesto e `git pull --ff-only`
|
|
266
|
+
|
|
217
267
|
## Arquivos principais
|
|
218
268
|
|
|
219
269
|
- [Plano geral](docs/PLANO_SKILL_MASTER_00_01.md)
|
package/VERSION.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Versão funcional planejada: `00.02`
|
|
4
4
|
|
|
5
|
-
Versão técnica para empacotamento semântico: `0.0.
|
|
5
|
+
Versão técnica para empacotamento semântico: `0.0.5`
|
|
6
6
|
|
|
7
7
|
## Observação
|
|
8
8
|
|
|
9
|
-
O nome `00.02` será usado na comunicação e nos documentos. Para ferramentas que exigem SemVer, como npm e alguns fluxos de release, usar `0.0.
|
|
9
|
+
O nome `00.02` será usado na comunicação e nos documentos. Para ferramentas que exigem SemVer, como npm e alguns fluxos de release, usar `0.0.5`.
|
|
@@ -35,6 +35,11 @@ const commands = {
|
|
|
35
35
|
'--registry=https://registry.npmjs.org',
|
|
36
36
|
],
|
|
37
37
|
},
|
|
38
|
+
updateGlobal: {
|
|
39
|
+
label: 'Atualizar pacote global via npm',
|
|
40
|
+
command: process.execPath,
|
|
41
|
+
args: [join(rootDir, 'bin', 'skill-master-update.mjs')],
|
|
42
|
+
},
|
|
38
43
|
privateRegistry: {
|
|
39
44
|
label: 'Configurar registry privado GitHub Packages',
|
|
40
45
|
command: process.execPath,
|
|
@@ -47,7 +52,8 @@ const menuItems = [
|
|
|
47
52
|
['2', commands.check],
|
|
48
53
|
['3', commands.build],
|
|
49
54
|
['4', commands.publicNpm],
|
|
50
|
-
['5', commands.
|
|
55
|
+
['5', commands.updateGlobal],
|
|
56
|
+
['6', commands.privateRegistry],
|
|
51
57
|
];
|
|
52
58
|
|
|
53
59
|
function readJson(relativePath) {
|
|
@@ -76,6 +82,9 @@ Uso:
|
|
|
76
82
|
skill-master-menu --status
|
|
77
83
|
skill-master-menu --help
|
|
78
84
|
|
|
85
|
+
Opcao 5 do menu:
|
|
86
|
+
atualiza o pacote global com npm install -g @fprad0/skill-master-mcp@latest
|
|
87
|
+
|
|
79
88
|
O comando de menu e voltado para operacao humana. O binario MCP stdio continua sendo:
|
|
80
89
|
skill-master-mcp
|
|
81
90
|
`);
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { spawn } from 'node:child_process';
|
|
4
|
+
|
|
5
|
+
const DEFAULT_PACKAGE = '@fprad0/skill-master-mcp@latest';
|
|
6
|
+
const DEFAULT_REGISTRY = 'https://registry.npmjs.org';
|
|
7
|
+
|
|
8
|
+
function printHelp() {
|
|
9
|
+
console.log(`Skill Master Update
|
|
10
|
+
|
|
11
|
+
Uso:
|
|
12
|
+
skill-master-update
|
|
13
|
+
skill-master-update --dry-run
|
|
14
|
+
skill-master-update --package @fprad0/skill-master-mcp@latest
|
|
15
|
+
skill-master-update --registry https://registry.npmjs.org
|
|
16
|
+
|
|
17
|
+
Este comando atualiza a instalacao global via npm. Ele deve ser executado fora
|
|
18
|
+
do processo MCP stdio para evitar substituir arquivos enquanto o servidor esta
|
|
19
|
+
em uso por um cliente.
|
|
20
|
+
`);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function readOption(args, name, fallback) {
|
|
24
|
+
const index = args.indexOf(name);
|
|
25
|
+
if (index === -1) {
|
|
26
|
+
return fallback;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
return args[index + 1] || fallback;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function buildInstallArgs(args) {
|
|
33
|
+
const packageName = readOption(args, '--package', DEFAULT_PACKAGE);
|
|
34
|
+
const registry = readOption(args, '--registry', DEFAULT_REGISTRY);
|
|
35
|
+
return ['install', '-g', packageName, `--registry=${registry}`];
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function run(command, args) {
|
|
39
|
+
return new Promise((resolve) => {
|
|
40
|
+
console.log(`> ${command} ${args.join(' ')}`);
|
|
41
|
+
const child = spawn(command, args, {
|
|
42
|
+
env: process.env,
|
|
43
|
+
shell: process.platform === 'win32',
|
|
44
|
+
stdio: 'inherit',
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
child.on('close', (code) => resolve(code ?? 1));
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
async function main() {
|
|
52
|
+
const args = process.argv.slice(2);
|
|
53
|
+
|
|
54
|
+
if (args.includes('--help') || args.includes('-h')) {
|
|
55
|
+
printHelp();
|
|
56
|
+
return 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const installArgs = buildInstallArgs(args);
|
|
60
|
+
|
|
61
|
+
if (args.includes('--dry-run')) {
|
|
62
|
+
console.log(['npm', ...installArgs].join(' '));
|
|
63
|
+
return 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
console.log('Atualizando Skill Master MCP por npm global.');
|
|
67
|
+
console.log('Feche/reinicie clientes MCP depois da atualizacao para carregar a nova versao.\n');
|
|
68
|
+
|
|
69
|
+
return run('npm', installArgs);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
process.exitCode = await main();
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"name": "skill_master",
|
|
3
3
|
"channel": "beta",
|
|
4
4
|
"version": "00.02-beta",
|
|
5
|
-
"semver": "0.0.
|
|
6
|
-
"publishedAt": "2026-06-26T14:
|
|
5
|
+
"semver": "0.0.5",
|
|
6
|
+
"publishedAt": "2026-06-26T14:35:00-03:00",
|
|
7
7
|
"git": {
|
|
8
8
|
"repo": "https://github.com/FPrad0/skill-master-mcp",
|
|
9
9
|
"branch": "main",
|
|
10
|
-
"commit": "
|
|
10
|
+
"commit": "af41244"
|
|
11
11
|
},
|
|
12
12
|
"node": {
|
|
13
13
|
"minimum": "18.0.0"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"buildCommand": "npm run build"
|
|
20
20
|
},
|
|
21
21
|
"changelog": [
|
|
22
|
-
"Canal beta acompanha
|
|
23
|
-
"
|
|
22
|
+
"Canal beta acompanha o novo comando skill-master-update.",
|
|
23
|
+
"Update npm fica disponivel via comando separado e pelo menu operacional."
|
|
24
24
|
]
|
|
25
25
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"name": "skill_master",
|
|
3
3
|
"channel": "stable",
|
|
4
4
|
"version": "00.02",
|
|
5
|
-
"semver": "0.0.
|
|
6
|
-
"publishedAt": "2026-06-26T14:
|
|
5
|
+
"semver": "0.0.5",
|
|
6
|
+
"publishedAt": "2026-06-26T14:35:00-03:00",
|
|
7
7
|
"git": {
|
|
8
8
|
"repo": "https://github.com/FPrad0/skill-master-mcp",
|
|
9
9
|
"branch": "main",
|
|
10
|
-
"commit": "
|
|
10
|
+
"commit": "af41244"
|
|
11
11
|
},
|
|
12
12
|
"node": {
|
|
13
13
|
"minimum": "18.0.0"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"buildCommand": "npm run build"
|
|
20
20
|
},
|
|
21
21
|
"changelog": [
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
22
|
+
"Novo binario skill-master-update para atualizar instalacao global via npm.",
|
|
23
|
+
"Menu operacional passa a incluir opcao de update global seguro.",
|
|
24
|
+
"Fluxo evita atualizar arquivos durante execucao do servidor MCP stdio."
|
|
25
25
|
]
|
|
26
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fprad0/skill-master-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Personal MCP server that catalogs, recommends and reports skills with update-aware metadata.",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"bin": {
|
|
9
9
|
"skill-master-configure-private-registry": "./bin/skill-master-configure-private-registry.mjs",
|
|
10
10
|
"skill-master-menu": "./bin/skill-master-menu.mjs",
|
|
11
|
-
"skill-master-mcp": "./bin/skill-master.mjs"
|
|
11
|
+
"skill-master-mcp": "./bin/skill-master.mjs",
|
|
12
|
+
"skill-master-update": "./bin/skill-master-update.mjs"
|
|
12
13
|
},
|
|
13
14
|
"files": [
|
|
14
15
|
"bin",
|