cyclecad 3.9.20 → 3.10.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/app/index.html CHANGED
@@ -1010,6 +1010,7 @@
1010
1010
  <button class="menu-item-link" data-action="tools-addins">Add-ins...</button>
1011
1011
  <button class="menu-item-link" data-action="tools-marketplace">Marketplace...</button>
1012
1012
  <div class="menu-separator"></div>
1013
+ <button class="menu-item-link" data-action="tools-ai-copilot">✨ AI Copilot (multi-step)</button>
1013
1014
  <button class="menu-item-link" data-action="tools-text-to-cad">Text-to-CAD (AI)</button>
1014
1015
  <button class="menu-item-link" data-action="tools-photo-to-cad">Photo-to-CAD</button>
1015
1016
  <button class="menu-item-link" data-action="tools-dfm">Manufacturability Check</button>
@@ -1533,6 +1534,7 @@ window._dismissSplash = function(action) {
1533
1534
  <script type="module" src="/app/js/marketplace.js"></script>
1534
1535
 
1535
1536
  <!-- Killer Feature Modules -->
1537
+ <script src="/app/js/modules/ai-copilot.js"></script>
1536
1538
  <script src="/app/js/modules/text-to-cad.js"></script>
1537
1539
  <script src="/app/js/modules/photo-to-cad.js"></script>
1538
1540
  <script src="/app/js/modules/manufacturability.js"></script>
@@ -1954,6 +1956,13 @@ window._dismissSplash = function(action) {
1954
1956
  case 'help-about':
1955
1957
  showDialog('About cycleCAD', 'cycleCAD v0.9.0 - Fusion 360 Clone<br>Open-source parametric 3D CAD modeler<br><br>Built with Three.js, supporting STEP/IGES import, full parametric modeling, and AI-powered design assistance.');
1956
1958
  break;
1959
+ case 'tools-ai-copilot':
1960
+ if (window.CycleCAD && window.CycleCAD.AICopilot) {
1961
+ showDialog('✨ AI Copilot — multi-step CAD from natural language', '');
1962
+ const dbc = document.getElementById('dialog-body');
1963
+ if (dbc) { dbc.innerHTML = ''; dbc.appendChild(window.CycleCAD.AICopilot.getUI()); dbc.style.maxHeight = '620px'; dbc.style.overflow = 'auto'; }
1964
+ } else { showToast('AI Copilot module not loaded', 'error'); }
1965
+ break;
1957
1966
  case 'tools-text-to-cad':
1958
1967
  if (window.CycleCAD && window.CycleCAD.TextToCAD) {
1959
1968
  showDialog('Text-to-CAD (AI)', '');