@autocode-cli/autocode 0.1.24 → 0.1.25
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/dist/server/dashboard/pages/autocreate.d.ts.map +1 -1
- package/dist/server/dashboard/pages/autocreate.js +7 -0
- package/dist/server/dashboard/pages/autocreate.js.map +1 -1
- package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +1 -1
- package/dist/server/dashboard/pages/pipeline-configurator.js +25 -8
- package/dist/server/dashboard/pages/pipeline-configurator.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocreate.d.ts","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/autocreate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"autocreate.d.ts","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/autocreate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA60B3D"}
|
|
@@ -430,6 +430,7 @@ export function generateAutocreatePage(lang) {
|
|
|
430
430
|
<button class="btn btn-primary btn-large" id="analyzeBtn" onclick="startAnalysis()">
|
|
431
431
|
<span id="analyzeBtnText">Start Analysis</span>
|
|
432
432
|
</button>
|
|
433
|
+
<p style="margin-top: 16px; font-size: 13px; color: var(--muted);" id="cliTip">Tip: Run <code style="background: var(--bg-card); padding: 2px 6px; border-radius: 4px;">autocode pipeline catalog list</code> to see all available columns in the catalog.</p>
|
|
433
434
|
</div>
|
|
434
435
|
|
|
435
436
|
<!-- Loading state -->
|
|
@@ -513,6 +514,7 @@ export function generateAutocreatePage(lang) {
|
|
|
513
514
|
pageTitle: 'Autocreate Columns',
|
|
514
515
|
analyzeTitle: 'Analyze Your Project',
|
|
515
516
|
analyzeDesc: "Claude will analyze your project's codebase and suggest relevant pipeline columns based on your technology stack, dependencies, and project structure.",
|
|
517
|
+
cliTip: 'Tip: Run <code style="background: var(--bg-card); padding: 2px 6px; border-radius: 4px;">autocode pipeline catalog list</code> to see all available columns in the catalog.',
|
|
516
518
|
startAnalysis: 'Start Analysis',
|
|
517
519
|
loading: 'Analyzing your project...',
|
|
518
520
|
loadingHint: 'This may take several minutes for exhaustive analysis',
|
|
@@ -542,6 +544,7 @@ export function generateAutocreatePage(lang) {
|
|
|
542
544
|
pageTitle: 'Autocreate Colonnes',
|
|
543
545
|
analyzeTitle: 'Analysez votre projet',
|
|
544
546
|
analyzeDesc: 'Claude analysera votre codebase et suggérera des colonnes de pipeline pertinentes en fonction de votre stack technologique, dépendances et structure du projet.',
|
|
547
|
+
cliTip: 'Astuce : Exécutez <code style="background: var(--bg-card); padding: 2px 6px; border-radius: 4px;">autocode pipeline catalog list</code> pour voir toutes les colonnes disponibles dans le catalogue.',
|
|
545
548
|
startAnalysis: 'Lancer l\\'analyse',
|
|
546
549
|
loading: 'Analyse de votre projet...',
|
|
547
550
|
loadingHint: 'Cela peut prendre plusieurs minutes pour une analyse exhaustive',
|
|
@@ -596,6 +599,7 @@ export function generateAutocreatePage(lang) {
|
|
|
596
599
|
document.getElementById('backBtn').textContent = t('backBtn');
|
|
597
600
|
document.getElementById('analyzeTitle').textContent = t('analyzeTitle');
|
|
598
601
|
document.getElementById('analyzeDesc').textContent = t('analyzeDesc');
|
|
602
|
+
document.getElementById('cliTip').innerHTML = t('cliTip');
|
|
599
603
|
document.getElementById('analyzeBtnText').textContent = t('startAnalysis');
|
|
600
604
|
document.getElementById('loadingText').textContent = t('loading');
|
|
601
605
|
document.getElementById('loadingHint').textContent = t('loadingHint');
|
|
@@ -652,6 +656,9 @@ export function generateAutocreatePage(lang) {
|
|
|
652
656
|
|
|
653
657
|
showSection('resultsSection');
|
|
654
658
|
renderResults();
|
|
659
|
+
// Update translated titles after showing results
|
|
660
|
+
document.getElementById('assumptionsTitle').textContent = t('assumptionsTitle');
|
|
661
|
+
document.getElementById('risksTitle').textContent = t('risksTitle');
|
|
655
662
|
} catch (error) {
|
|
656
663
|
document.getElementById('errorMessage').textContent = error.message;
|
|
657
664
|
showSection('errorSection');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocreate.js","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/autocreate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,IAAY;IACjD,OAAO;cACK,IAAI
|
|
1
|
+
{"version":3,"file":"autocreate.js","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/autocreate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,IAAY;IACjD,OAAO;cACK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA00BV,CAAC;AACT,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-configurator.d.ts","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"pipeline-configurator.d.ts","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA+3DrE"}
|
|
@@ -580,7 +580,6 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
580
580
|
<button class="lang-btn" data-lang="en">EN</button>
|
|
581
581
|
<button class="lang-btn" data-lang="fr">FR</button>
|
|
582
582
|
</div>
|
|
583
|
-
<button class="btn btn-secondary" id="analyzeBtn" disabled>Analyze</button>
|
|
584
583
|
<button class="btn btn-success" id="savePipelineBtn" disabled>Save Pipeline</button>
|
|
585
584
|
<button class="btn btn-primary" id="activateBtn" disabled>Activate & Sync</button>
|
|
586
585
|
</header>
|
|
@@ -657,8 +656,19 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
657
656
|
</div>
|
|
658
657
|
</div>
|
|
659
658
|
|
|
659
|
+
<!-- Analyze Section -->
|
|
660
|
+
<div class="analyze-section" id="analyzeSection" style="margin-top: 24px; margin-bottom: 12px; padding: 20px; background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); border-radius: 8px; color: white;">
|
|
661
|
+
<div style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;">
|
|
662
|
+
<div>
|
|
663
|
+
<h3 id="analyzeSectionTitle" style="margin: 0 0 4px 0; font-size: 16px; font-weight: 600;">Analyze Pipeline</h3>
|
|
664
|
+
<p id="analyzeSectionDesc" style="margin: 0; font-size: 13px; opacity: 0.9;">Review your current pipeline configuration with Claude</p>
|
|
665
|
+
</div>
|
|
666
|
+
<button class="btn" id="analyzeSectionBtn" onclick="runAnalysis()" style="background: white; color: #3b82f6; font-weight: 600; padding: 8px 16px; border-radius: 4px; font-size: 13px; border: none; cursor: pointer;">Analyze</button>
|
|
667
|
+
</div>
|
|
668
|
+
</div>
|
|
669
|
+
|
|
660
670
|
<!-- Autocreate Section -->
|
|
661
|
-
<div class="autocreate-section" id="autocreateSection" style="margin-
|
|
671
|
+
<div class="autocreate-section" id="autocreateSection" style="margin-bottom: 24px; padding: 20px; background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%); border-radius: 8px; color: white;">
|
|
662
672
|
<div style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;">
|
|
663
673
|
<div>
|
|
664
674
|
<h3 id="autocreateTitle" style="margin: 0 0 4px 0; font-size: 16px; font-weight: 600;">Autocreate</h3>
|
|
@@ -853,6 +863,9 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
853
863
|
autocreateTitle: 'Autocreate',
|
|
854
864
|
autocreateDesc: 'Analyze your project and generate relevant columns automatically',
|
|
855
865
|
autocreateBtn: 'Analyze Project',
|
|
866
|
+
analyzeSectionTitle: 'Analyze Pipeline',
|
|
867
|
+
analyzeSectionDesc: 'Review your current pipeline configuration with Claude',
|
|
868
|
+
analyzeSectionBtn: 'Analyze',
|
|
856
869
|
},
|
|
857
870
|
fr: {
|
|
858
871
|
backBtn: '← Tableau de bord',
|
|
@@ -927,6 +940,9 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
927
940
|
autocreateTitle: 'Autocreate',
|
|
928
941
|
autocreateDesc: 'Analysez votre projet et générez automatiquement des colonnes pertinentes',
|
|
929
942
|
autocreateBtn: 'Analyser le projet',
|
|
943
|
+
analyzeSectionTitle: 'Analyser le Pipeline',
|
|
944
|
+
analyzeSectionDesc: 'Passez en revue votre configuration de pipeline actuelle avec Claude',
|
|
945
|
+
analyzeSectionBtn: 'Analyser',
|
|
930
946
|
}
|
|
931
947
|
};
|
|
932
948
|
|
|
@@ -945,7 +961,6 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
945
961
|
setText($q('.title span'), t('titleSpan'));
|
|
946
962
|
const titleEl = $q('.title');
|
|
947
963
|
if (titleEl && titleEl.childNodes[2]) titleEl.childNodes[2].textContent = ' ' + t('title');
|
|
948
|
-
setText($('analyzeBtn'), t('analyze'));
|
|
949
964
|
setText($('savePipelineBtn'), t('savePipeline'));
|
|
950
965
|
setText($('activateBtn'), t('activateSync'));
|
|
951
966
|
|
|
@@ -982,6 +997,11 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
982
997
|
setText($('autocreateDesc'), t('autocreateDesc'));
|
|
983
998
|
setText($('autocreateBtn'), t('autocreateBtn'));
|
|
984
999
|
|
|
1000
|
+
// Analyze section
|
|
1001
|
+
setText($('analyzeSectionTitle'), t('analyzeSectionTitle'));
|
|
1002
|
+
setText($('analyzeSectionDesc'), t('analyzeSectionDesc'));
|
|
1003
|
+
setText($('analyzeSectionBtn'), t('analyzeSectionBtn'));
|
|
1004
|
+
|
|
985
1005
|
// Catalog
|
|
986
1006
|
const catalogH2 = $q('.catalog h2');
|
|
987
1007
|
if (catalogH2 && catalogH2.childNodes[0]) {
|
|
@@ -1036,7 +1056,7 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
1036
1056
|
const pipelineEditor = document.getElementById('pipelineEditor');
|
|
1037
1057
|
const savePipelineBtn = document.getElementById('savePipelineBtn');
|
|
1038
1058
|
const activateBtn = document.getElementById('activateBtn');
|
|
1039
|
-
const
|
|
1059
|
+
const analyzeSectionBtn = document.getElementById('analyzeSectionBtn');
|
|
1040
1060
|
const notification = document.getElementById('notification');
|
|
1041
1061
|
|
|
1042
1062
|
// Load initial data
|
|
@@ -1367,7 +1387,7 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
1367
1387
|
function updateButtons() {
|
|
1368
1388
|
savePipelineBtn.disabled = !hasChanges || !currentPipeline;
|
|
1369
1389
|
activateBtn.disabled = !currentPipeline || hasChanges;
|
|
1370
|
-
|
|
1390
|
+
analyzeSectionBtn.disabled = !currentPipeline;
|
|
1371
1391
|
|
|
1372
1392
|
// Validate pipeline
|
|
1373
1393
|
if (currentPipeline) {
|
|
@@ -1893,9 +1913,6 @@ export function generatePipelineConfiguratorPage(lang) {
|
|
|
1893
1913
|
document.getElementById('analysisModal').classList.remove('show');
|
|
1894
1914
|
}
|
|
1895
1915
|
|
|
1896
|
-
// Analyze button click handler
|
|
1897
|
-
analyzeBtn.addEventListener('click', runAnalysis);
|
|
1898
|
-
|
|
1899
1916
|
// Initialize
|
|
1900
1917
|
init().then(() => {
|
|
1901
1918
|
updateUILanguage();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-configurator.js","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,MAAM,UAAU,gCAAgC,CAAC,IAAY;IAC3D,OAAO;cACK,IAAI
|
|
1
|
+
{"version":3,"file":"pipeline-configurator.js","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,MAAM,UAAU,gCAAgC,CAAC,IAAY;IAC3D,OAAO;cACK,IAAI;;;;;;;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