create-mercato-app 0.6.6-develop.6227.1.2695efff30 → 0.6.6-develop.6229.1.ebe6706732
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/package.json
CHANGED
|
@@ -906,6 +906,7 @@
|
|
|
906
906
|
modeDev: 'Standard dev flow',
|
|
907
907
|
modeGreenfield: 'Greenfield dev flow',
|
|
908
908
|
modeSetup: 'Project setup flow',
|
|
909
|
+
modeEphemeral: 'Ephemeral dev flow',
|
|
909
910
|
codingButtonLabel: '🤖 Start coding with AI',
|
|
910
911
|
codingNoTools: 'No supported coding tools were detected on this machine.',
|
|
911
912
|
gitRepoHeading: 'GitHub repository',
|
|
@@ -943,6 +944,7 @@
|
|
|
943
944
|
modeDev: 'Standardowy tryb dev',
|
|
944
945
|
modeGreenfield: 'Tryb greenfield',
|
|
945
946
|
modeSetup: 'Tryb konfiguracji projektu',
|
|
947
|
+
modeEphemeral: 'Tymczasowy tryb dev',
|
|
946
948
|
codingButtonLabel: '🤖 Zacznij kodować z AI',
|
|
947
949
|
codingNoTools: 'Na tej maszynie nie wykryto obsługiwanych narzędzi do kodowania.',
|
|
948
950
|
gitRepoHeading: 'Repozytorium GitHub',
|
|
@@ -980,6 +982,7 @@
|
|
|
980
982
|
modeDev: 'Flujo dev estándar',
|
|
981
983
|
modeGreenfield: 'Flujo dev greenfield',
|
|
982
984
|
modeSetup: 'Flujo de configuración del proyecto',
|
|
985
|
+
modeEphemeral: 'Flujo dev efímero',
|
|
983
986
|
codingButtonLabel: '🤖 Empezar a programar con IA',
|
|
984
987
|
codingNoTools: 'No se detectaron herramientas de programacion compatibles en esta maquina.',
|
|
985
988
|
gitRepoHeading: 'Repositorio de GitHub',
|
|
@@ -1017,6 +1020,7 @@
|
|
|
1017
1020
|
modeDev: 'Standard-Dev-Ablauf',
|
|
1018
1021
|
modeGreenfield: 'Greenfield-Dev-Ablauf',
|
|
1019
1022
|
modeSetup: 'Projekt-Setup-Ablauf',
|
|
1023
|
+
modeEphemeral: 'Ephemerer Dev-Ablauf',
|
|
1020
1024
|
codingButtonLabel: '🤖 Mit KI programmieren',
|
|
1021
1025
|
codingNoTools: 'Auf diesem Rechner wurden keine unterstuetzten Coding-Tools erkannt.',
|
|
1022
1026
|
gitRepoHeading: 'GitHub-Repository',
|
|
@@ -1630,15 +1634,18 @@
|
|
|
1630
1634
|
}[char]))
|
|
1631
1635
|
}
|
|
1632
1636
|
|
|
1637
|
+
function getModeLabel(mode) {
|
|
1638
|
+
if (mode === 'greenfield') return t('modeGreenfield')
|
|
1639
|
+
if (mode === 'setup') return t('modeSetup')
|
|
1640
|
+
if (mode === 'ephemeral') return t('modeEphemeral')
|
|
1641
|
+
return t('modeDev')
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1633
1644
|
async function refresh() {
|
|
1634
1645
|
try {
|
|
1635
1646
|
const response = await fetch('/status', { cache: 'no-store' })
|
|
1636
1647
|
const state = await response.json()
|
|
1637
|
-
modeLine.textContent = state.mode
|
|
1638
|
-
? t('modeGreenfield')
|
|
1639
|
-
: state.mode === 'setup'
|
|
1640
|
-
? t('modeSetup')
|
|
1641
|
-
: t('modeDev')
|
|
1648
|
+
modeLine.textContent = getModeLabel(state.mode)
|
|
1642
1649
|
const rawPhase = state.phase || 'Preparing app runtime'
|
|
1643
1650
|
const rawDetail = state.detail || 'Preparing app runtime'
|
|
1644
1651
|
const rawProgressLabel = state.progressLabel || 'Preparing startup pipeline'
|