the-frame-ai 0.8.0 → 0.9.1
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.de.md +1 -0
- package/README.es.md +1 -0
- package/README.hi.md +1 -0
- package/README.ja.md +1 -0
- package/README.md +1 -0
- package/README.ru.md +1 -0
- package/README.zh.md +1 -0
- package/package.json +1 -1
- package/src/init.js +1 -1
- package/src/languages.js +2 -2
package/README.de.md
CHANGED
|
@@ -223,6 +223,7 @@ Diese 7 Befehle decken 90% der Solo-Dev-Arbeit ab:
|
|
|
223
223
|
| `/frame:research <Thema>` | Vor der Planung eines neuen Features |
|
|
224
224
|
| `/frame:explain <Datei>` | Warum sieht dieser Code so aus? |
|
|
225
225
|
| `/frame:why <Thema>` | Entscheidungshistorie durchsuchen |
|
|
226
|
+
| `/frame:arch <Modul>` | Modularchitektur in `docs/arch/{Modul}.md` dokumentieren |
|
|
226
227
|
</details>
|
|
227
228
|
|
|
228
229
|
<details>
|
package/README.es.md
CHANGED
|
@@ -223,6 +223,7 @@ Estos 7 comandos cubren el 90% del trabajo de desarrollo en solitario:
|
|
|
223
223
|
| `/frame:research <tema>` | Antes de planificar una nueva funcionalidad |
|
|
224
224
|
| `/frame:explain <archivo>` | ¿Por qué este código tiene este aspecto? |
|
|
225
225
|
| `/frame:why <tema>` | Buscar historial de decisiones |
|
|
226
|
+
| `/frame:arch <módulo>` | Documentar la arquitectura de un módulo en `docs/arch/{módulo}.md` |
|
|
226
227
|
</details>
|
|
227
228
|
|
|
228
229
|
<details>
|
package/README.hi.md
CHANGED
|
@@ -223,6 +223,7 @@ npx the-frame-ai init
|
|
|
223
223
|
| `/frame:research <विषय>` | नई सुविधा की योजना बनाने से पहले |
|
|
224
224
|
| `/frame:explain <फ़ाइल>` | यह कोड ऐसा क्यों दिखता है? |
|
|
225
225
|
| `/frame:why <विषय>` | निर्णय इतिहास खोजें |
|
|
226
|
+
| `/frame:arch <मॉड्यूल>` | मॉड्यूल की आर्किटेक्चर `docs/arch/{मॉड्यूल}.md` में दस्तावेज़ करें |
|
|
226
227
|
</details>
|
|
227
228
|
|
|
228
229
|
<details>
|
package/README.ja.md
CHANGED
|
@@ -223,6 +223,7 @@ npx the-frame-ai init
|
|
|
223
223
|
| `/frame:research <トピック>` | 新機能の計画前 |
|
|
224
224
|
| `/frame:explain <ファイル>` | このコードがこうなっている理由は? |
|
|
225
225
|
| `/frame:why <トピック>` | 意思決定の履歴を検索 |
|
|
226
|
+
| `/frame:arch <モジュール>` | モジュールのアーキテクチャを `docs/arch/{モジュール}.md` に記録 |
|
|
226
227
|
</details>
|
|
227
228
|
|
|
228
229
|
<details>
|
package/README.md
CHANGED
|
@@ -225,6 +225,7 @@ These 7 commands cover 90% of solo dev work:
|
|
|
225
225
|
| `/frame:research <topic>` | Before planning a new feature |
|
|
226
226
|
| `/frame:explain <file>` | Why does this code look like this? |
|
|
227
227
|
| `/frame:why <topic>` | Search decision history |
|
|
228
|
+
| `/frame:arch <module>` | Document a module's architecture to `docs/arch/{module}.md` |
|
|
228
229
|
</details>
|
|
229
230
|
|
|
230
231
|
<details>
|
package/README.ru.md
CHANGED
|
@@ -221,6 +221,7 @@ npx the-frame init
|
|
|
221
221
|
| `/frame:research <тема>` | Перед планированием новой фичи |
|
|
222
222
|
| `/frame:explain <файл>` | Почему этот код выглядит именно так? |
|
|
223
223
|
| `/frame:why <тема>` | Поиск по истории решений |
|
|
224
|
+
| `/frame:arch <модуль>` | Задокументировать архитектуру модуля в `docs/arch/{модуль}.md` |
|
|
224
225
|
</details>
|
|
225
226
|
|
|
226
227
|
<details>
|
package/README.zh.md
CHANGED
package/package.json
CHANGED
package/src/init.js
CHANGED
|
@@ -147,7 +147,7 @@ export async function init(target, flags = {}) {
|
|
|
147
147
|
|
|
148
148
|
ensureDir(join(destPath, '..'));
|
|
149
149
|
const content = readFileSync(srcPath, 'utf-8');
|
|
150
|
-
const replaced = applyVars(content, vars, qualityVars);
|
|
150
|
+
const replaced = relPath.startsWith('specs/_template/') ? content : applyVars(content, vars, qualityVars);
|
|
151
151
|
writeFile(destPath, replaced);
|
|
152
152
|
fileCount++;
|
|
153
153
|
}
|
package/src/languages.js
CHANGED
|
@@ -53,8 +53,6 @@ export async function promptLanguage(langOverride, yes = false) {
|
|
|
53
53
|
const footer = `\n Enter number [1-${LANGUAGES.length}] (or press Enter for auto): `;
|
|
54
54
|
|
|
55
55
|
return new Promise((resolve) => {
|
|
56
|
-
rl.on('close', () => resolve('auto'));
|
|
57
|
-
|
|
58
56
|
rl.question(prompt + options + footer, (answer) => {
|
|
59
57
|
const choice = answer.trim();
|
|
60
58
|
if (choice === '' || choice === '1') {
|
|
@@ -73,6 +71,8 @@ export async function promptLanguage(langOverride, yes = false) {
|
|
|
73
71
|
resolve(code.trim().toLowerCase() || 'auto');
|
|
74
72
|
});
|
|
75
73
|
});
|
|
74
|
+
|
|
75
|
+
rl.on('close', () => resolve('auto'));
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
|