mind-cli 0.9.0

A manager for agent tooling (skills, agents, rules, tools) that melds arbitrary git repos and links items into your agent directories.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Inject a "back to the mind landing page" link at the top of the sidebar.
// The landing page lives one level up from the book (site root vs /guide/).
(function () {
  function addHomeLink() {
    var scroll = document.querySelector(".sidebar .sidebar-scrollbox");
    if (!scroll || scroll.querySelector(".mind-home")) return;
    var a = document.createElement("a");
    a.className = "mind-home";
    a.href = "../";
    a.textContent = "← mind home";
    scroll.insertBefore(a, scroll.firstChild);
  }
  if (document.readyState === "loading") {
    document.addEventListener("DOMContentLoaded", addHomeLink);
  } else {
    addHomeLink();
  }
})();