fix: bump plugin.json de marketing/gestao/project-manager/wordpress
O commit 0e2c832 bumpou só o marketplace.json agregado. A fonte de verdade
para o /plugin update é <plugin>/.claude-plugin/plugin.json, que ficou nas
versões antigas — resultado: o catálogo mostrava marketing 2.0.0 mas o
/plugin update respondia "already at the latest version (1.0.0)" e o cache
continuou a servir a superfície SEO morta.
Alinha as quatro fontes com o agregado e documenta o acoplamento no README:
os dois ficheiros têm de ser bumpados juntos, não há automação a sincronizá-los.
This commit is contained in:
@@ -9,3 +9,30 @@ layer: wiki
|
|||||||
# claude-plugins
|
# claude-plugins
|
||||||
|
|
||||||
Marketplace de plugins Claude Code da Descomplicar
|
Marketplace de plugins Claude Code da Descomplicar
|
||||||
|
|
||||||
|
## Versões — bumpar sempre nos DOIS sítios
|
||||||
|
|
||||||
|
A versão de cada plugin vive em dois ficheiros e **não há automação a sincronizá-los**:
|
||||||
|
|
||||||
|
| Ficheiro | Papel | Quem o lê |
|
||||||
|
|---|---|---|
|
||||||
|
| `<plugin>/.claude-plugin/plugin.json` | **fonte de verdade** | `/plugin update` — é esta que decide se há versão nova |
|
||||||
|
| `.claude-plugin/marketplace.json` | agregado derivado | `/plugin marketplace update` — catálogo |
|
||||||
|
|
||||||
|
Bumpar só o agregado **não tem efeito nenhum**: o catálogo mostra a versão nova, o
|
||||||
|
`/plugin update` responde `already at the latest version` e o cache continua na antiga.
|
||||||
|
Aconteceu a 30-07-2026 com marketing/gestao/project-manager/wordpress.
|
||||||
|
|
||||||
|
Verificar coerência antes de commitar:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
for p in */; do p=${p%/}; f="$p/.claude-plugin/plugin.json"; [ -f "$f" ] || continue
|
||||||
|
a=$(jq -r .version "$f")
|
||||||
|
b=$(jq -r ".plugins[]|select(.name==\"$p\").version" .claude-plugin/marketplace.json)
|
||||||
|
[ "$a" = "$b" ] || echo "DIVERGE $p: plugin.json=$a marketplace.json=$b"
|
||||||
|
done
|
||||||
|
```
|
||||||
|
|
||||||
|
Depois de publicar: `/plugin marketplace update descomplicar-plugins` (catálogo) **e**
|
||||||
|
`/plugin update <nome>@descomplicar-plugins` (reinstala no cache). O primeiro sozinho
|
||||||
|
não actualiza o que corre.
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "gestao",
|
"name": "gestao",
|
||||||
"description": "Project management, time tracking, daily checkups, worklogs, reflections, knowledge management, archiving and compliance auditing. Backed by NotebookLM notebooks.",
|
"description": "Project management, time tracking, daily checkups, worklogs, reflections, knowledge management, archiving and compliance auditing. Backed by NotebookLM notebooks.",
|
||||||
"version": "1.6.2",
|
"version": "1.7.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Descomplicar - Crescimento Digital",
|
"name": "Descomplicar - Crescimento Digital",
|
||||||
"url": "https://descomplicar.pt"
|
"url": "https://descomplicar.pt"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "marketing",
|
"name": "marketing",
|
||||||
"description": "Digital marketing strategy, SEO, content marketing, social media, ads, copywriting, video and YouTube. Backed by NotebookLM notebooks.",
|
"description": "Digital marketing strategy, SEO, content marketing, social media, ads, copywriting, video and YouTube. Backed by NotebookLM notebooks.",
|
||||||
"version": "1.0.0",
|
"version": "2.0.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Descomplicar - Crescimento Digital",
|
"name": "Descomplicar - Crescimento Digital",
|
||||||
"url": "https://descomplicar.pt"
|
"url": "https://descomplicar.pt"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "project-manager",
|
"name": "project-manager",
|
||||||
"description": "Spec-driven project management with flexible sprints, scope validation, and NotebookLM-powered discovery. Prevents wasted work by forcing alignment before coding. 7 skills, 2 agents, 1 hook.",
|
"description": "Spec-driven project management with flexible sprints, scope validation, and NotebookLM-powered discovery. Prevents wasted work by forcing alignment before coding. 7 skills, 2 agents, 1 hook.",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Descomplicar - Crescimento Digital",
|
"name": "Descomplicar - Crescimento Digital",
|
||||||
"url": "https://descomplicar.pt"
|
"url": "https://descomplicar.pt"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "wordpress",
|
"name": "wordpress",
|
||||||
"description": "WordPress development, maintenance and optimization - plugins, themes, WooCommerce, Elementor, Crocoblock. Backed by NotebookLM notebooks.",
|
"description": "WordPress development, maintenance and optimization - plugins, themes, WooCommerce, Elementor, Crocoblock. Backed by NotebookLM notebooks.",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Descomplicar - Crescimento Digital",
|
"name": "Descomplicar - Crescimento Digital",
|
||||||
"url": "https://descomplicar.pt"
|
"url": "https://descomplicar.pt"
|
||||||
|
|||||||
Reference in New Issue
Block a user