@cat-factory/app 0.107.2 → 0.107.4
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/app/components/environments/EnvironmentSetupWizard.vue +24 -3
- package/i18n/locales/de.json +2 -1
- package/i18n/locales/en.json +2 -1
- package/i18n/locales/es.json +2 -1
- package/i18n/locales/fr.json +2 -1
- package/i18n/locales/he.json +2 -1
- package/i18n/locales/it.json +2 -1
- package/i18n/locales/ja.json +2 -1
- package/i18n/locales/pl.json +2 -1
- package/i18n/locales/tr.json +2 -1
- package/i18n/locales/uk.json +2 -1
- package/package.json +2 -2
|
@@ -88,6 +88,10 @@ const composeServiceOptions = computed(() =>
|
|
|
88
88
|
value: c.service,
|
|
89
89
|
})),
|
|
90
90
|
)
|
|
91
|
+
// The repo ships its own imperative bring-up (a `bin/*console*` / Makefile / justfile the
|
|
92
|
+
// deterministic scan can't read) — the strongest signal to run the analyst, so when present we
|
|
93
|
+
// elevate the deep-analysis affordance from a quiet opt-in to a prominent nudge naming the CLI.
|
|
94
|
+
const repoCliHint = computed(() => store.recommendation?.repoCliHint)
|
|
91
95
|
|
|
92
96
|
function fileEnabled(path: string): boolean {
|
|
93
97
|
return store.recipe.composeFiles?.includes(path) ?? false
|
|
@@ -242,8 +246,25 @@ function next() {
|
|
|
242
246
|
</p>
|
|
243
247
|
|
|
244
248
|
<template v-if="store.recommendation && !store.detecting">
|
|
245
|
-
<!-- deep analysis (opt-in) -->
|
|
246
|
-
<div
|
|
249
|
+
<!-- deep analysis (opt-in; elevated to a prominent nudge when the repo ships its own CLI) -->
|
|
250
|
+
<div
|
|
251
|
+
class="rounded-md border p-3"
|
|
252
|
+
:class="
|
|
253
|
+
repoCliHint
|
|
254
|
+
? 'border-primary-700/60 bg-primary-950/30'
|
|
255
|
+
: 'border-slate-800 bg-slate-900/40'
|
|
256
|
+
"
|
|
257
|
+
>
|
|
258
|
+
<p
|
|
259
|
+
v-if="repoCliHint"
|
|
260
|
+
class="mb-2 flex items-start gap-1.5 text-[11px] text-primary-300"
|
|
261
|
+
data-testid="env-setup-cli-nudge"
|
|
262
|
+
>
|
|
263
|
+
<UIcon name="i-lucide-lightbulb" class="mt-0.5 h-3.5 w-3.5 shrink-0" />
|
|
264
|
+
<span>{{
|
|
265
|
+
t('environmentWizard.analysis.cliNudge', { path: repoCliHint.path })
|
|
266
|
+
}}</span>
|
|
267
|
+
</p>
|
|
247
268
|
<div class="flex items-center justify-between gap-2">
|
|
248
269
|
<div class="min-w-0">
|
|
249
270
|
<p class="text-[12px] font-medium text-slate-300">
|
|
@@ -256,7 +277,7 @@ function next() {
|
|
|
256
277
|
<UButton
|
|
257
278
|
size="xs"
|
|
258
279
|
variant="soft"
|
|
259
|
-
color="neutral"
|
|
280
|
+
:color="repoCliHint ? 'primary' : 'neutral'"
|
|
260
281
|
icon="i-lucide-sparkles"
|
|
261
282
|
:loading="store.analysisStatus === 'running'"
|
|
262
283
|
:disabled="!store.canAnalyze || store.analysisStatus === 'running'"
|
package/i18n/locales/de.json
CHANGED
|
@@ -4411,7 +4411,8 @@
|
|
|
4411
4411
|
"run": "Analyse ausführen",
|
|
4412
4412
|
"unavailable": "Die Tiefenanalyse benötigt ein verknüpftes Repository und die Analyse-Pipeline.",
|
|
4413
4413
|
"failed": "Der Analyselauf ist fehlgeschlagen.",
|
|
4414
|
-
"apply": "Analysten-Entwurf anwenden"
|
|
4414
|
+
"apply": "Analysten-Entwurf anwenden",
|
|
4415
|
+
"cliNudge": "Dieses Repository bringt eine eigene Setup-CLI oder ein Makefile ({path}) mit, das der deterministische Scan nicht lesen kann. Führe die Tiefenanalyse aus, um es in Rezeptschritte zu übersetzen."
|
|
4415
4416
|
},
|
|
4416
4417
|
"field": {
|
|
4417
4418
|
"composeFiles": "Compose-Dateien",
|
package/i18n/locales/en.json
CHANGED
|
@@ -4532,7 +4532,8 @@
|
|
|
4532
4532
|
"run": "Run analysis",
|
|
4533
4533
|
"unavailable": "Deep analysis needs a linked repository and the analysis pipeline.",
|
|
4534
4534
|
"failed": "The analysis run failed.",
|
|
4535
|
-
"apply": "Apply analyst draft"
|
|
4535
|
+
"apply": "Apply analyst draft",
|
|
4536
|
+
"cliNudge": "This repo ships its own setup CLI or Makefile ({path}) the deterministic scan can't read. Run deep analysis to translate it into recipe steps."
|
|
4536
4537
|
},
|
|
4537
4538
|
"field": {
|
|
4538
4539
|
"composeFiles": "Compose files",
|
package/i18n/locales/es.json
CHANGED
|
@@ -4403,7 +4403,8 @@
|
|
|
4403
4403
|
"run": "Ejecutar análisis",
|
|
4404
4404
|
"unavailable": "El análisis profundo necesita un repositorio vinculado y la canalización de análisis.",
|
|
4405
4405
|
"failed": "La ejecución del análisis falló.",
|
|
4406
|
-
"apply": "Aplicar borrador del analista"
|
|
4406
|
+
"apply": "Aplicar borrador del analista",
|
|
4407
|
+
"cliNudge": "Este repositorio incluye su propia CLI de configuración o un Makefile ({path}) que el escaneo determinista no puede leer. Ejecuta el análisis profundo para traducirlo en pasos de receta."
|
|
4407
4408
|
},
|
|
4408
4409
|
"field": {
|
|
4409
4410
|
"composeFiles": "Archivos Compose",
|
package/i18n/locales/fr.json
CHANGED
|
@@ -4403,7 +4403,8 @@
|
|
|
4403
4403
|
"run": "Lancer l'analyse",
|
|
4404
4404
|
"unavailable": "L'analyse approfondie nécessite un dépôt lié et le pipeline d'analyse.",
|
|
4405
4405
|
"failed": "L'exécution de l'analyse a échoué.",
|
|
4406
|
-
"apply": "Appliquer l'ébauche de l'analyste"
|
|
4406
|
+
"apply": "Appliquer l'ébauche de l'analyste",
|
|
4407
|
+
"cliNudge": "Ce dépôt fournit sa propre CLI d'installation ou un Makefile ({path}) que l'analyse déterministe ne peut pas lire. Lancez l'analyse approfondie pour le traduire en étapes de recette."
|
|
4407
4408
|
},
|
|
4408
4409
|
"field": {
|
|
4409
4410
|
"composeFiles": "Fichiers Compose",
|
package/i18n/locales/he.json
CHANGED
|
@@ -4414,7 +4414,8 @@
|
|
|
4414
4414
|
"run": "הרצת ניתוח",
|
|
4415
4415
|
"unavailable": "ניתוח מעמיק דורש מאגר מקושר ואת צינור הניתוח.",
|
|
4416
4416
|
"failed": "הרצת הניתוח נכשלה.",
|
|
4417
|
-
"apply": "החלת טיוטת המנתח"
|
|
4417
|
+
"apply": "החלת טיוטת המנתח",
|
|
4418
|
+
"cliNudge": "מאגר זה כולל כלי CLI או Makefile משלו להתקנה ({path}) שהסריקה הדטרמיניסטית אינה מסוגלת לקרוא. הריצו ניתוח מעמיק כדי לתרגם אותו לשלבי מתכון."
|
|
4418
4419
|
},
|
|
4419
4420
|
"field": {
|
|
4420
4421
|
"composeFiles": "קובצי Compose",
|
package/i18n/locales/it.json
CHANGED
|
@@ -4411,7 +4411,8 @@
|
|
|
4411
4411
|
"run": "Esegui analisi",
|
|
4412
4412
|
"unavailable": "L'analisi approfondita richiede un repository collegato e la pipeline di analisi.",
|
|
4413
4413
|
"failed": "L'esecuzione dell'analisi non è riuscita.",
|
|
4414
|
-
"apply": "Applica la bozza dell'analista"
|
|
4414
|
+
"apply": "Applica la bozza dell'analista",
|
|
4415
|
+
"cliNudge": "Questo repository include una propria CLI di configurazione o un Makefile ({path}) che la scansione deterministica non riesce a leggere. Esegui l'analisi approfondita per tradurlo in passaggi della ricetta."
|
|
4415
4416
|
},
|
|
4416
4417
|
"field": {
|
|
4417
4418
|
"composeFiles": "File compose",
|
package/i18n/locales/ja.json
CHANGED
|
@@ -4415,7 +4415,8 @@
|
|
|
4415
4415
|
"run": "分析を実行",
|
|
4416
4416
|
"unavailable": "詳細分析にはリンクされたリポジトリと分析パイプラインが必要です。",
|
|
4417
4417
|
"failed": "分析の実行に失敗しました。",
|
|
4418
|
-
"apply": "アナリストの下書きを適用"
|
|
4418
|
+
"apply": "アナリストの下書きを適用",
|
|
4419
|
+
"cliNudge": "このリポジトリには、決定論的スキャンでは読み取れない独自のセットアップ CLI または Makefile({path})が含まれています。詳細分析を実行して、レシピの手順に変換してください。"
|
|
4419
4420
|
},
|
|
4420
4421
|
"field": {
|
|
4421
4422
|
"composeFiles": "Compose ファイル",
|
package/i18n/locales/pl.json
CHANGED
|
@@ -4403,7 +4403,8 @@
|
|
|
4403
4403
|
"run": "Uruchom analizę",
|
|
4404
4404
|
"unavailable": "Analiza pogłębiona wymaga powiązanego repozytorium i potoku analizy.",
|
|
4405
4405
|
"failed": "Uruchomienie analizy nie powiodło się.",
|
|
4406
|
-
"apply": "Zastosuj szkic analityka"
|
|
4406
|
+
"apply": "Zastosuj szkic analityka",
|
|
4407
|
+
"cliNudge": "To repozytorium ma własne CLI konfiguracyjne lub plik Makefile ({path}), którego deterministyczne skanowanie nie potrafi odczytać. Uruchom analizę pogłębioną, aby przełożyć je na kroki przepisu."
|
|
4407
4408
|
},
|
|
4408
4409
|
"field": {
|
|
4409
4410
|
"composeFiles": "Pliki Compose",
|
package/i18n/locales/tr.json
CHANGED
|
@@ -4415,7 +4415,8 @@
|
|
|
4415
4415
|
"run": "Analizi çalıştır",
|
|
4416
4416
|
"unavailable": "Derin analiz için bağlı bir depo ve analiz hattı gerekir.",
|
|
4417
4417
|
"failed": "Analiz çalışması başarısız oldu.",
|
|
4418
|
-
"apply": "Analist taslağını uygula"
|
|
4418
|
+
"apply": "Analist taslağını uygula",
|
|
4419
|
+
"cliNudge": "Bu depo, belirlenimci taramanın okuyamadığı kendi kurulum CLI'sini veya Makefile'ını ({path}) içeriyor. Reçete adımlarına dönüştürmek için derin analizi çalıştır."
|
|
4419
4420
|
},
|
|
4420
4421
|
"field": {
|
|
4421
4422
|
"composeFiles": "Compose dosyaları",
|
package/i18n/locales/uk.json
CHANGED
|
@@ -4403,7 +4403,8 @@
|
|
|
4403
4403
|
"run": "Запустити аналіз",
|
|
4404
4404
|
"unavailable": "Глибокий аналіз потребує підключеного репозиторію та конвеєра аналізу.",
|
|
4405
4405
|
"failed": "Запуск аналізу не вдався.",
|
|
4406
|
-
"apply": "Застосувати чернетку аналітика"
|
|
4406
|
+
"apply": "Застосувати чернетку аналітика",
|
|
4407
|
+
"cliNudge": "Цей репозиторій має власний інструмент CLI для встановлення або Makefile ({path}), який детермінований сканер не може прочитати. Запустіть глибокий аналіз, щоб перетворити його на кроки рецепта."
|
|
4407
4408
|
},
|
|
4408
4409
|
"field": {
|
|
4409
4410
|
"composeFiles": "Файли Compose",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/app",
|
|
3
|
-
"version": "0.107.
|
|
3
|
+
"version": "0.107.4",
|
|
4
4
|
"description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"valibot": "^1.4.2",
|
|
35
35
|
"vue": "3.5.39",
|
|
36
36
|
"wretch": "^3.0.9",
|
|
37
|
-
"@cat-factory/contracts": "0.
|
|
37
|
+
"@cat-factory/contracts": "0.118.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@toad-contracts/testing": "0.3.2",
|