@orangepro/orangepro-mcp 0.2.20 → 0.2.21
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.
|
@@ -442,6 +442,11 @@ const D=window.DATA,$=(s)=>document.querySelector(s);
|
|
|
442
442
|
var a=e.target.closest('[data-action]');
|
|
443
443
|
if(a){
|
|
444
444
|
var act=a.getAttribute('data-action');
|
|
445
|
+
if(act==='signal'){
|
|
446
|
+
var btab=document.querySelector('[data-tab="behaviors"]');
|
|
447
|
+
if(btab)btab.click();
|
|
448
|
+
return;
|
|
449
|
+
}
|
|
445
450
|
var t=D.risks.find(function(r){return r.tags&&r.tags.some(function(tg){return act==='proven'?(tg[0]==='Proven'||tg[0]==='Dynamically Proven'):(tg[0]==='Has tests'||tg[0]==='Test signal');});});
|
|
446
451
|
if(t)scrollToRisk(t.path);
|
|
447
452
|
}
|
|
@@ -449,9 +454,12 @@ const D=window.DATA,$=(s)=>document.querySelector(s);
|
|
|
449
454
|
})();
|
|
450
455
|
// ── Delta Hero: prominent simple-mode section (clickable) ──
|
|
451
456
|
function scrollToRisk(path){
|
|
457
|
+
if(!path)return;
|
|
452
458
|
var id='risk-'+path.replace(/[^a-zA-Z0-9]/g,'-');
|
|
453
459
|
var tab=document.querySelector('[data-tab="risks"]');
|
|
454
460
|
if(tab)tab.click();
|
|
461
|
+
// Reset filter to "all" so the target card is visible
|
|
462
|
+
if(typeof activeRiskFilter!=='undefined'){activeRiskFilter='all';renderRiskFilters();renderRisks();}
|
|
455
463
|
setTimeout(function(){
|
|
456
464
|
var el=document.getElementById(id);
|
|
457
465
|
if(el){el.scrollIntoView({behavior:'smooth',block:'center'});el.classList.add('highlight-pulse');setTimeout(function(){el.classList.remove('highlight-pulse')},2400);}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangepro/orangepro-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.21",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OrangePro (`opro`) — a local-first, BYOK CLI + MCP server that builds an evidence graph from a local checkout, ingests runtime coverage, and generates grounded tests. Metadata-only exports; no source upload; generated tests stay local.",
|
|
6
6
|
"license": "MIT",
|