superpowers-mcp 6.4.8 → 6.4.9
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/README.es.md +8 -2
- package/README.hi.md +8 -2
- package/README.ja.md +8 -2
- package/README.ko.md +8 -2
- package/README.md +8 -2
- package/README.pt-BR.md +8 -2
- package/README.zh-TW.md +8 -2
- package/out/server.js +69 -68
- package/out/setup-runner.js +30 -30
- package/out/setup.js +34 -34
- package/package.json +1 -1
package/README.es.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md) | [Português (BR)](README.pt-BR.md) | [हिन्दी](README.hi.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
Este documento resume la información y las instrucciones de uso para empaquetar las habilidades (skills) de Superpowers y el sistema de flujos de trabajo autónomos en un servidor **Model Context Protocol (MCP)** independiente, de alto rendimiento y seguro.
|
|
@@ -182,7 +182,13 @@ Para ayudarte a elegir el skill adecuado, hemos estructurado los 15 skills a lo
|
|
|
182
182
|
|
|
183
183
|
## 🆕 Novedades recientes
|
|
184
184
|
|
|
185
|
-
### v6.4.
|
|
185
|
+
### v6.4.9 (última versión)
|
|
186
|
+
|
|
187
|
+
- **Remediación CodeQL (`list_skills` + YAML setup)**: `escapeListMarkdown` escapa toda la puntuación ASCII y colapsa saltos de línea para que descripciones no confiables no inyecten Markdown ni HTML crudo en `list_skills` (`tests/client_truncation_test.js`). La detección de claves anidadas YAML usa `isBareYamlMappingKey()` lineal en lugar del regex con backtracking `/:\s*(?:#.*)?$/` (alerta CodeQL #11; fijado en `tests/setup_test.js`).
|
|
188
|
+
- **Comprobaciones allowed-root en macOS**: `safeWriteConfig` resuelve rutas de configuración mediante el ancestro padre existente más profundo, de modo que `/var/folders/...` y `/private/var/folders/...` coinciden en la contención de raíces permitidas. Corrige rechazos falsos al configurar con un clic bajo el árbol temp del usuario en macOS (`tests/setup_test.js` **97/97**).
|
|
189
|
+
- Verificación: `npm run build` correcto; `npm test` en verde — **16/23** suites (**7** de PowerShell omitidas sin `pwsh`).
|
|
190
|
+
|
|
191
|
+
### v6.4.8
|
|
186
192
|
|
|
187
193
|
- **Límites de respuesta al cliente MCP**: el cuerpo inline de las skills se limita a **20 KB** en `read_skill`, `list_skills`, resources y la guía de compositions para que un `SKILL.md` enorme no agote el contexto del agente (`tests/client_truncation_test.js`).
|
|
188
194
|
- **Detección de reemplazo del directorio raíz** (`EROOTCHANGED`): se registra el inode del directorio de skills al arrancar; si `SKILLS_PATH` se sustituye sin reiniciar el servidor MCP, listados y lecturas en caliente fallan de forma segura con aviso de reinicio (edge-cases Test 15).
|
package/README.hi.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md) | [Português (BR)](README.pt-BR.md) | [हिन्दी](README.hi.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
यह दस्तावेज़ Superpowers skills लाइब्रेरी और स्वायत्त वर्कफ़्लो सिस्टम को एक स्वतंत्र, उच्च-प्रदर्शन और सुरक्षित **Model Context Protocol (MCP)** सर्वर के रूप में पैकेज करने की जानकारी और उपयोग निर्देशों का सारांश है।
|
|
@@ -182,7 +182,13 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
182
182
|
|
|
183
183
|
## 🆕 हाल के अपडेट
|
|
184
184
|
|
|
185
|
-
### v6.4.
|
|
185
|
+
### v6.4.9 (नवीनतम)
|
|
186
|
+
|
|
187
|
+
- **CodeQL उपाय (`list_skills` + YAML setup)**: `escapeListMarkdown` सभी ASCII विराम चिह्नों को escape करके लाइन ब्रेक समेटता है, ताकि अविश्वसनीय skill विवरण `list_skills` आउटपुट में Markdown या कच्चा HTML न घुसा सकें (`tests/client_truncation_test.js`)। YAML नेस्टेड-की पहचान रैखिक `isBareYamlMappingKey()` से, बैकट्रैकिंग वाले `/:\s*(?:#.*)?$/` regex की जगह (CodeQL alert #11; `tests/setup_test.js` में पिन)।
|
|
188
|
+
- **macOS setup allowed-root जाँच**: `safeWriteConfig` अब सबसे गहरे मौजूदा पैरेंट के ज़रिए कॉन्फ़िग पथ हल करता है, ताकि `/var/folders/...` और `/private/var/folders/...` allowed-root में समान माने जाएँ। macOS पर उपयोगकर्ता temp के नीचे वन-क्लिक सेटअप में गलत `Refusing to write configuration outside allowed roots` ठीक (`tests/setup_test.js` **97/97**).
|
|
189
|
+
- सत्यापन: `npm run build` पास; `npm test` हरा — **16/23** सुइट (`pwsh` के बिना PowerShell **7** स्किप).
|
|
190
|
+
|
|
191
|
+
### v6.4.8
|
|
186
192
|
|
|
187
193
|
- **MCP क्लाइंट प्रतिक्रिया सीमा**: `read_skill`, `list_skills`, स्किल resources और compositions guide के इनलाइन बॉडी **20 KB** पर सीमित, ताकि एक विशाल `SKILL.md` एजेंट संदर्भ न खत्म करे (`tests/client_truncation_test.js`).
|
|
188
194
|
- **स्किल रूट बदलाव पहचान** (`EROOTCHANGED`): स्टार्टअप पर स्किल डायरेक्टरी inode ट्रैक; MCP सर्वर रीस्टार्ट के बिना `SKILLS_PATH` बदलने पर हॉट-पाथ लिस्ट/रीड fail-closed और रीस्टार्ट संकेत (edge-cases Test 15).
|
package/README.ja.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md) | [Português (BR)](README.pt-BR.md) | [हिन्दी](README.hi.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
このドキュメントは、Superpowers スキルライブラリと自律型ワークフローを、独立した高パフォーマンスかつ安全な **Model Context Protocol (MCP)** サーバーにパッケージ化した使用説明書です。
|
|
@@ -183,7 +183,13 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
183
183
|
|
|
184
184
|
## 🆕 最近の更新
|
|
185
185
|
|
|
186
|
-
### v6.4.
|
|
186
|
+
### v6.4.9(最新)
|
|
187
|
+
|
|
188
|
+
- **CodeQL 対応(`list_skills` + YAML setup)**:`escapeListMarkdown` が ASCII 句読点をすべてエスケープし改行を折りたたむため、信頼できない skill 説明が `list_skills` 出力に Markdown や生 HTML を注入できない(`tests/client_truncation_test.js`)。YAML のネストキー判定は線形の `isBareYamlMappingKey()` に置き換え、バックトラックする `/:\s*(?:#.*)?$/` を廃止(CodeQL alert #11;`tests/setup_test.js` で固定)。
|
|
189
|
+
- **macOS セットアップの allowed-root チェック**:`safeWriteConfig` が最深の既存親ディレクトリ経由で設定パスを解決し、`/var/folders/...` と `/private/var/folders/...` を同一ツリーとして扱うようにした。macOS のユーザー temp 配下でのワンクリックセットアップ時に誤って `Refusing to write configuration outside allowed roots` となる問題を修正(`tests/setup_test.js` は **97/97**)。
|
|
190
|
+
- 検証:`npm run build` 成功;`npm test` グリーン——**16/23** スイート(`pwsh` なしで PowerShell **7** 件スキップ)。
|
|
191
|
+
|
|
192
|
+
### v6.4.8
|
|
187
193
|
|
|
188
194
|
- **MCP クライアント向けレスポンス上限**:`read_skill`、`list_skills`、スキル resource、compositions guide のインライン本文を **20 KB** に制限し、巨大な 1 つの `SKILL.md` がエージェントのコンテキストを枯渇させないようにした(`tests/client_truncation_test.js`)。
|
|
189
195
|
- **スキルルート差し替え検知**(`EROOTCHANGED`):起動時にスキルディレクトリの inode を記録。MCP サーバーを再起動せず `SKILLS_PATH` が置き換わった場合、ホットパスの一覧・読み取りは fail-closed で再起動を促す(edge-cases Test 15)。
|
package/README.ko.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md) | [Português (BR)](README.pt-BR.md) | [हिन्दी](README.hi.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
이 문서는 Superpowers 스킬 라이브러리와 자율 에이전트 워크플로우를 독립적이고 고성능이며 안전한 **Model Context Protocol (MCP)** 서버로 패키징한 사용 지침을 요약한 것입니다.
|
|
@@ -181,7 +181,13 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
181
181
|
|
|
182
182
|
## 🆕 최근 업데이트
|
|
183
183
|
|
|
184
|
-
### v6.4.
|
|
184
|
+
### v6.4.9 (최신)
|
|
185
|
+
|
|
186
|
+
- **CodeQL 수정 (`list_skills` + YAML setup)**: `escapeListMarkdown`이 ASCII 문장부호를 모두 이스케이프하고 줄바꿈을 접어 신뢰할 수 없는 skill 설명이 `list_skills` 출력에 Markdown·원시 HTML을 주입하지 못하게 함 (`tests/client_truncation_test.js`). YAML 중첩 키 판별은 선형 `isBareYamlMappingKey()`로 대체, 백트래킹 `/:\s*(?:#.*)?$/` 제거 (CodeQL alert #11; `tests/setup_test.js` 고정).
|
|
187
|
+
- **macOS setup allowed-root 검사**: `safeWriteConfig`가 가장 깊은 기존 부모를 통해 설정 경로를 해석해 `/var/folders/...`와 `/private/var/folders/...`를 동일 트리로 취급. macOS 사용자 temp 아래 원클릭 설정 시 잘못된 `Refusing to write configuration outside allowed roots` 거부를 수정 (`tests/setup_test.js` **97/97**).
|
|
188
|
+
- 검증: `npm run build` 통과; `npm test` 그린 — **16/23** 스위트 (`pwsh` 없음으로 PowerShell **7**개 스킵).
|
|
189
|
+
|
|
190
|
+
### v6.4.8
|
|
185
191
|
|
|
186
192
|
- **MCP 클라이언트 응답 한도**: `read_skill`, `list_skills`, 스킬 resource, compositions guide에 반환되는 인라인 스킬 본문을 **20 KB**로 제한해 하나의 큰 `SKILL.md`가 agent 컨텍스트를 고갈시키지 않도록 함 (`tests/client_truncation_test.js`).
|
|
187
193
|
- **스킬 루트 교체 감지** (`EROOTCHANGED`): 시작 시 스킬 디렉터리 inode를 추적. MCP 서버를 재시작하지 않고 `SKILLS_PATH`가 바뀌면 핫 경로 목록/읽기가 fail-closed로 재시작을 안내 (edge-cases Test 15).
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md) | [Português (BR)](README.pt-BR.md) | [हिन्दी](README.hi.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
This document summarizes the information and usage instructions for packaging the Superpowers skills and autonomous workflow system into an independent, high-performance, and secure **Model Context Protocol (MCP)** server.
|
|
@@ -182,7 +182,13 @@ To help you choose the right skill, we have structured all 15 skills across the
|
|
|
182
182
|
|
|
183
183
|
## 🆕 Recent Updates
|
|
184
184
|
|
|
185
|
-
### v6.4.
|
|
185
|
+
### v6.4.9 (Latest)
|
|
186
|
+
|
|
187
|
+
- **CodeQL remediation (`list_skills` + YAML setup)**: `escapeListMarkdown` escapes all ASCII punctuation and collapses line breaks so untrusted skill descriptions cannot inject Markdown or raw HTML in `list_skills` output (`tests/client_truncation_test.js`). YAML nested-key detection uses linear `isBareYamlMappingKey()` instead of a backtracking `/:\s*(?:#.*)?$/` regex (CodeQL alert #11; pinned in `tests/setup_test.js`).
|
|
188
|
+
- **macOS setup allowed-root checks**: `safeWriteConfig` resolves configuration paths through the deepest existing parent so `/var/folders/...` and `/private/var/folders/...` match under allowed-root containment. This fixes false `Refusing to write configuration outside allowed roots` errors during one-click setup when paths sit under the per-user temp tree on macOS (`tests/setup_test.js` now **97/97**).
|
|
189
|
+
- Verification: `npm run build` passed; `npm test` green — **16/23** suites (**7** PowerShell suites skipped without `pwsh`).
|
|
190
|
+
|
|
191
|
+
### v6.4.8
|
|
186
192
|
|
|
187
193
|
- **MCP client response budgets**: Inline skill bodies are capped at **20 KB** for `read_skill`, `list_skills`, skill resources, and the compositions guide so one huge `SKILL.md` cannot exhaust agent context (`tests/client_truncation_test.js`).
|
|
188
194
|
- **Skills root swap detection** (`EROOTCHANGED`): the skills directory inode is tracked at startup; if `SKILLS_PATH` is replaced without restarting the MCP server, hot-path listing and reads fail closed with a restart hint (edge-cases Test 15).
|
package/README.pt-BR.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md) | [Português (BR)](README.pt-BR.md) | [हिन्दी](README.hi.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
Este documento resume as informações e instruções de uso para empacotar as skills do Superpowers e o sistema de fluxos de trabalho autônomos em um servidor **Model Context Protocol (MCP)** independente, de alta performance e seguro.
|
|
@@ -182,7 +182,13 @@ Para ajudar você a escolher a skill certa, estruturamos as 15 skills ao longo d
|
|
|
182
182
|
|
|
183
183
|
## 🆕 Novidades recentes
|
|
184
184
|
|
|
185
|
-
### v6.4.
|
|
185
|
+
### v6.4.9 (atual)
|
|
186
|
+
|
|
187
|
+
- **Remediação CodeQL (`list_skills` + YAML setup)**: `escapeListMarkdown` escapa toda pontuação ASCII e colapsa quebras de linha para impedir injeção de Markdown ou HTML bruto em `list_skills` (`tests/client_truncation_test.js`). Detecção de chaves YAML aninhadas usa `isBareYamlMappingKey()` linear no lugar do regex com backtracking `/:\s*(?:#.*)?$/` (alerta CodeQL #11; fixado em `tests/setup_test.js`).
|
|
188
|
+
- **Checagens allowed-root no macOS**: `safeWriteConfig` resolve caminhos de configuração pelo ancestral pai existente mais profundo, para que `/var/folders/...` e `/private/var/folders/...` coincidam na contenção de raízes permitidas. Corrige recusas falsas `Refusing to write configuration outside allowed roots` na configuração com um clique sob o temp por usuário no macOS (`tests/setup_test.js` **97/97**).
|
|
189
|
+
- Verificação: `npm run build` ok; `npm test` verde — **16/23** suítes (**7** PowerShell ignoradas sem `pwsh`).
|
|
190
|
+
|
|
191
|
+
### v6.4.8
|
|
186
192
|
|
|
187
193
|
- **Limites de resposta ao cliente MCP**: corpos inline de skills limitados a **20 KB** em `read_skill`, `list_skills`, resources e o guia de compositions para que um `SKILL.md` enorme não esgote o contexto do agente (`tests/client_truncation_test.js`).
|
|
188
194
|
- **Detecção de troca da raiz de skills** (`EROOTCHANGED`): o inode do diretório de skills é registrado na inicialização; se `SKILLS_PATH` for substituído sem reiniciar o servidor MCP, listagens e leituras em caminho quente falham de forma segura com aviso de reinício (edge-cases Test 15).
|
package/README.zh-TW.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md) | [Português (BR)](README.pt-BR.md) | [हिन्दी](README.hi.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
本文檔總結了將 Superpowers 技能庫與自主 Agent 工作流架構打包成獨立、高效能且安全加固的 **Model Context Protocol (MCP)** 伺服器之相關資訊與使用說明。
|
|
@@ -181,7 +181,13 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
181
181
|
|
|
182
182
|
## 🆕 最近更新
|
|
183
183
|
|
|
184
|
-
### v6.4.
|
|
184
|
+
### v6.4.9(最新版)
|
|
185
|
+
|
|
186
|
+
- **CodeQL 修復(`list_skills` + YAML setup)**:`escapeListMarkdown` 會跳脫所有 ASCII 標點並折疊換行,避免不受信任的技能描述在 `list_skills` 輸出中注入 Markdown 或原始 HTML(`tests/client_truncation_test.js`)。YAML 巢狀鍵偵測改為線性 `isBareYamlMappingKey()`,取代會回溯的 `/:\s*(?:#.*)?$/` 正則(CodeQL alert #11;`tests/setup_test.js` 釘住)。
|
|
187
|
+
- **macOS 安裝 allowed-root 檢查**:`safeWriteConfig` 會沿最深一層已存在的父目錄解析設定檔路徑,使 `/var/folders/...` 與 `/private/var/folders/...` 在允許根目錄比對中視為同一路徑,修正 macOS 使用者暫存目錄下一鍵安裝誤報「超出 allowed roots」的問題(`tests/setup_test.js` 現為 **97/97**)。
|
|
188
|
+
- 驗證:`npm run build` 通過;`npm test` 全綠——**16/23** 套件(**7** 個 PowerShell 因無 `pwsh` 跳過)。
|
|
189
|
+
|
|
190
|
+
### v6.4.8
|
|
185
191
|
|
|
186
192
|
- **MCP 客戶端回應上限**:`read_skill`、`list_skills`、技能資源與 compositions guide 的內嵌技能正文上限為 **20 KB**,避免單一巨大 `SKILL.md` 撐爆 agent 上下文(`tests/client_truncation_test.js`)。
|
|
187
193
|
- **技能根目錄替換偵測**(`EROOTCHANGED`):啟動時記錄技能目錄 inode;若未重啟 MCP 即替換 `SKILLS_PATH`,熱路徑清單與讀取會 fail-closed 並提示重啟(edge-cases Test 15)。
|