@enigmax/dashboard 0.1.27 → 0.1.28

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 CHANGED
@@ -2347,6 +2347,9 @@ export {
2347
2347
 
2348
2348
  function skillRow(s) {
2349
2349
  const ver = s.version ? '<span class="tag">v' + esc(s.version) + "</span>" : "";
2350
+ // Last-edited date (from skill.json), shown relative via the vendored <relative-time>.
2351
+ const edited = s.updated ? '<span class="tag" title="Last edited ' + esc(new Date(s.updated).toLocaleString()) + '">edited '
2352
+ + rtime(new Date(s.updated).getTime(), 'format="relative"', new Date(s.updated).toLocaleDateString()) + "</span>" : "";
2350
2353
  // Show one app icon per agent that holds the skill (name in the tooltip), not the names.
2351
2354
  const where = s.agents && s.agents.length
2352
2355
  ? '<span class="aicons">' + s.agents.map((l) => {
@@ -2376,7 +2379,7 @@ export {
2376
2379
  + (a.deployed ? esc(a.label) + " - on, click to disable" : esc(a.label) + " - off, click to enable")
2377
2380
  + '">' + (agentSvg(a.name) || esc(a.label)) + "</button>").join("") + "</div>"
2378
2381
  : "";
2379
- return '<div class="set-row"><div class="set-meta"><div class="set-name">' + esc(s.name) + ext + ver + upd + where + "</div>"
2382
+ return '<div class="set-row"><div class="set-meta"><div class="set-name">' + esc(s.name) + ext + ver + edited + upd + where + "</div>"
2380
2383
  + '<div class="set-hint">' + esc(s.description || "") + "</div>" + agentChips + '</div><div class="set-ctl" style="display:flex;gap:8px">' + edit + main + "</div></div>";
2381
2384
  }
2382
2385
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enigmax/dashboard",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
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": [