cyclecad 3.12.0 → 3.13.0

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
@@ -1412,7 +1412,7 @@
1412
1412
  </div>
1413
1413
  <div class="status-item">
1414
1414
  <span class="status-label">Version:</span>
1415
- <span class="status-value" id="status-version">v3.12.0</span>
1415
+ <span class="status-value" id="status-version">v3.13.0</span>
1416
1416
  </div>
1417
1417
  </div>
1418
1418
 
@@ -1543,7 +1543,8 @@ window._dismissSplash = function(action) {
1543
1543
  <!-- Killer Feature Modules -->
1544
1544
  <script src="/app/js/agent-api.js?v=a41b98a5"></script>
1545
1545
  <script src="/app/js/modules/ai-copilot.js?v=14e5d5d7"></script>
1546
- <script src="/app/js/modules/ai-engineer.js?v=20260424v1"></script>
1546
+ <script src="/app/js/modules/ai-engineer.js?v=20260424v2"></script>
1547
+ <script src="/app/js/modules/ai-engineer-rag.js?v=20260424v1"></script>
1547
1548
  <script src="/app/js/modules/text-to-cad.js"></script>
1548
1549
  <script src="/app/js/modules/photo-to-cad.js"></script>
1549
1550
  <script src="/app/js/modules/manufacturability.js"></script>
@@ -1963,7 +1964,7 @@ window._dismissSplash = function(action) {
1963
1964
  }
1964
1965
  break;
1965
1966
  case 'help-about': {
1966
- const v = (window.CycleCAD && window.CycleCAD.version) ? window.CycleCAD.version : '3.12.0';
1967
+ const v = (window.CycleCAD && window.CycleCAD.version) ? window.CycleCAD.version : '3.13.0';
1967
1968
  showDialog('About cycleCAD', 'cycleCAD v' + v + '<br>Part of the cycleCAD Suite — parametric CAD, ExplodeView, Pentacad.<br><br>Open-source (MIT) parametric 3D CAD modeller. Built with Three.js, OpenCascade.js for real B-rep, supporting STEP / IGES / GLB import, full parametric modelling, and AI-powered design assistance via the AI Copilot + AI Engineering Analyst.');
1968
1969
  break; }
1969
1970
  case 'tools-ai-copilot':
@@ -2960,7 +2961,7 @@ window._dismissSplash = function(action) {
2960
2961
 
2961
2962
  // ─── Dynamic version badge — fetch from /package.json on load, fall back to embedded ───
2962
2963
  (function(){
2963
- const FALLBACK_VERSION = '3.12.0';
2964
+ const FALLBACK_VERSION = '3.13.0';
2964
2965
  async function updateVersion() {
2965
2966
  const badge = document.getElementById('status-version');
2966
2967
  if (!badge) return;
@@ -914,7 +914,10 @@
914
914
  },
915
915
  go: () => { if (!uiEl) uiEl = buildUI(); return run(); },
916
916
  abort: () => abort(),
917
- getState: () => ({ running:S.running, stepIndex:S.stepIndex, results:S.results.length, errors:S.errors.length, model:S.els.model?.value })
917
+ getState: () => ({ running:S.running, stepIndex:S.stepIndex, results:S.results.length, errors:S.errors.length, model:S.els.model?.value }),
918
+ // Exposed for Text-to-CAD live preview: given a natural language prompt, returns a plan array
919
+ // of step objects ({method, params, note}) for known templates, or null for novel prompts.
920
+ matchTemplate: (prompt) => { try { return matchTemplate(prompt); } catch(e) { return null; } }
918
921
  };
919
922
  console.log('AI Copilot v1.2 module loaded');
920
923
  })();