@enigmax/dashboard 0.1.48 → 0.1.49
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/assets/index.html +6 -1
- package/package.json +1 -1
package/assets/index.html
CHANGED
|
@@ -2846,7 +2846,11 @@ export {
|
|
|
2846
2846
|
+ '<div class="set-cat-b">' + blurb + "</div>"
|
|
2847
2847
|
+ (list.length ? list.map(skillRow).join("") : '<div class="empty" style="padding:16px 0">' + emptyText + "</div>") + "</div>";
|
|
2848
2848
|
if (skillScope === "project") {
|
|
2849
|
-
$("skillsBody").innerHTML =
|
|
2849
|
+
$("skillsBody").innerHTML =
|
|
2850
|
+
'<div class="panel"><div class="set-cat-h">Auto-detect skills by stack</div>'
|
|
2851
|
+
+ '<div class="set-cat-b">Scan this project (packages, config files, gems) and install the matching community skills for its stack - hash-verified and kept separate from the policy skills below.</div>'
|
|
2852
|
+
+ '<div class="ladd"><button type="button" class="toggle on with-icon" data-proj-autoskills><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>Detect & install</button></div></div>'
|
|
2853
|
+
+ section("Policy skills", "Deploy enigma's policy skills into this project, per app. A green chip means the skill is in that app's project folder.", skills, "No skills.");
|
|
2850
2854
|
return;
|
|
2851
2855
|
}
|
|
2852
2856
|
const enigma = skills.filter((s) => s.source === "enigma");
|
|
@@ -3399,6 +3403,7 @@ export {
|
|
|
3399
3403
|
}
|
|
3400
3404
|
function onProjectControlClick(e) {
|
|
3401
3405
|
if (!isProjectScope()) return;
|
|
3406
|
+
if (e.target.closest("[data-proj-autoskills]")) { projAction({ op: "autoskills" }, "Scan this project and install the matching community skills for its stack?"); return; }
|
|
3402
3407
|
const chip = e.target.closest("[data-pskill]"); // per-app deploy chip in the Skills view
|
|
3403
3408
|
if (chip) { projAction({ op: "skill", name: chip.dataset.pskill, agent: chip.dataset.pagent, on: chip.dataset.poff !== "1" }); return; }
|
|
3404
3409
|
const sk = e.target.closest("[data-proj-skill]");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmax/dashboard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
4
4
|
"description": "Local browser dashboard UI for enigma: the static page and chart assets enigma serves on its loopback dashboard (savings, real tool usage, in-browser settings). Installed on demand by enigma-cli; not a runtime dependency.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|