misakanet 3.12.2 → 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/.codex-plugin/plugin.json +1 -1
- package/lib/client.js +29 -18
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "misakanet",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"description": "Failure-memory network for AI coding agents: search evidence-rated failure lessons, submit new failures, and turn crashes into reusable knowledge.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ikalus1988",
|
package/lib/client.js
CHANGED
|
@@ -681,6 +681,14 @@ window.__ModuleLoader__.load({
|
|
|
681
681
|
|
|
682
682
|
var MUTED = "rgba(127,127,127,0.45)";
|
|
683
683
|
var DIM = { opacity: 0.72 };
|
|
684
|
+
// A dense panel still needs hierarchy: a hairline + a small uppercase label is what separates
|
|
685
|
+
// sections without adding a sentence to each one. 16px gap, 12px pad, one rule.
|
|
686
|
+
var SECTION_TITLE = {
|
|
687
|
+
marginTop: "16px", paddingTop: "12px", borderTop: "1px solid " + MUTED,
|
|
688
|
+
fontSize: "11px", fontWeight: 600, letterSpacing: "0.04em", textTransform: "uppercase",
|
|
689
|
+
opacity: 0.6,
|
|
690
|
+
};
|
|
691
|
+
|
|
684
692
|
var BOX = {
|
|
685
693
|
border: "1px solid " + MUTED,
|
|
686
694
|
borderRadius: "8px",
|
|
@@ -1412,10 +1420,11 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1412
1420
|
.catch(function () { if (alive) setLadder(null); });
|
|
1413
1421
|
return function () { alive = false; };
|
|
1414
1422
|
}, []);
|
|
1415
|
-
var rows = [h("div", { key: "t", style: {
|
|
1416
|
-
alignItems: "baseline", gap: "6px" } },
|
|
1423
|
+
var rows = [h("div", { key: "t", style: Object.assign({}, SECTION_TITLE, { display: "flex",
|
|
1424
|
+
alignItems: "baseline", gap: "6px" }) },
|
|
1417
1425
|
T("panel.ladder"),
|
|
1418
|
-
h("span", { style: Object.assign({}, DIM, { fontWeight: 400
|
|
1426
|
+
h("span", { style: Object.assign({}, DIM, { fontWeight: 400, textTransform: "none",
|
|
1427
|
+
letterSpacing: 0 }) }, T("panel.ladder.window")))];
|
|
1419
1428
|
if (ladder === undefined) {
|
|
1420
1429
|
rows.push(h("div", { key: "w", style: DIM }, T("panel.ladder.loading")));
|
|
1421
1430
|
} else if (!ladder || !ladder.top.length) {
|
|
@@ -1425,18 +1434,20 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1425
1434
|
var max = top[0].score || 1;
|
|
1426
1435
|
rows.push(h("div", { key: "r", style: Object.assign({}, BOX, { marginTop: "6px" }) }, top.map(function (entry) {
|
|
1427
1436
|
var share = Math.max(4, Math.round((entry.score / max) * 100));
|
|
1428
|
-
return h("div", { key: "l" + entry.rank, style: { padding: "
|
|
1429
|
-
h("div", { style: { display: "flex", alignItems: "
|
|
1430
|
-
h("span", { style:
|
|
1431
|
-
|
|
1437
|
+
return h("div", { key: "l" + entry.rank, style: { padding: "5px 0" } },
|
|
1438
|
+
h("div", { style: { display: "flex", alignItems: "center", gap: "8px" } },
|
|
1439
|
+
h("span", { style: { flex: "none", width: "18px", height: "18px", borderRadius: "50%",
|
|
1440
|
+
display: "inline-flex", alignItems: "center", justifyContent: "center",
|
|
1441
|
+
fontSize: "10px", fontVariantNumeric: "tabular-nums",
|
|
1442
|
+
background: "rgba(127,127,127,.16)", opacity: 0.85 } }, String(entry.rank)),
|
|
1432
1443
|
h("span", { style: { flex: "1 1 auto", minWidth: 0, overflow: "hidden",
|
|
1433
1444
|
textOverflow: "ellipsis", whiteSpace: "nowrap" } }, String(entry.name || entry.node || "")),
|
|
1434
|
-
h("span", { style: { flex: "none", fontWeight: 600,
|
|
1445
|
+
h("span", { style: { flex: "none", fontWeight: 600, fontSize: "13px",
|
|
1435
1446
|
fontVariantNumeric: "tabular-nums" } }, String(entry.score))),
|
|
1436
|
-
h("div", { style: { height: "
|
|
1437
|
-
background: "rgba(127,127,127,.
|
|
1447
|
+
h("div", { style: { height: "3px", margin: "4px 0 0 26px", borderRadius: "2px",
|
|
1448
|
+
background: "rgba(127,127,127,.16)" } },
|
|
1438
1449
|
h("i", { style: { display: "block", height: "100%", width: share + "%",
|
|
1439
|
-
borderRadius: "
|
|
1450
|
+
borderRadius: "2px", background: "currentColor", opacity: 0.5 } })));
|
|
1440
1451
|
})));
|
|
1441
1452
|
if (ladder.coverage && ladder.coverage.note) {
|
|
1442
1453
|
rows.push(h("div", { key: "c", style: Object.assign({}, DIM, { marginTop: "4px" }) }, T("panel.ladder.coverage")));
|
|
@@ -1725,7 +1736,7 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1725
1736
|
}, T("panel.hint.openLabel")) : null);
|
|
1726
1737
|
}
|
|
1727
1738
|
|
|
1728
|
-
rows.push(h("div", { key: "s1", style:
|
|
1739
|
+
rows.push(h("div", { key: "s1", style: SECTION_TITLE }, T("panel.asked")));
|
|
1729
1740
|
if (!searches.length) {
|
|
1730
1741
|
rows.push(entryPointHint("s1e", "panel.asked.none"));
|
|
1731
1742
|
} else {
|
|
@@ -1799,7 +1810,7 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1799
1810
|
}
|
|
1800
1811
|
|
|
1801
1812
|
// ② reports filed
|
|
1802
|
-
rows.push(h("div", { key: "s2", style:
|
|
1813
|
+
rows.push(h("div", { key: "s2", style: SECTION_TITLE }, T("panel.reports")));
|
|
1803
1814
|
var openReports = intakes.filter(function (entry) {
|
|
1804
1815
|
return entry.state !== "converted" && entry.state !== "answered" && entry.state !== "already_have";
|
|
1805
1816
|
});
|
|
@@ -1853,7 +1864,7 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1853
1864
|
// every count — no row here can claim the rung, which is also why the rule below is stated once.
|
|
1854
1865
|
// (`E4` itself is observed elsewhere: `misakanet_me_events` counts distinct clients from
|
|
1855
1866
|
// `search_signals`, which this browser half likewise cannot read.)
|
|
1856
|
-
rows.push(h("div", { key: "s3", style:
|
|
1867
|
+
rows.push(h("div", { key: "s3", style: SECTION_TITLE }, T("panel.trust")));
|
|
1857
1868
|
if (!lessons.length) {
|
|
1858
1869
|
rows.push(entryPointHint("s3e", "panel.trust.none"));
|
|
1859
1870
|
} else {
|
|
@@ -1879,7 +1890,7 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1879
1890
|
}
|
|
1880
1891
|
|
|
1881
1892
|
// ④ your activity, two scopes
|
|
1882
|
-
rows.push(h("div", { key: "s4", style:
|
|
1893
|
+
rows.push(h("div", { key: "s4", style: SECTION_TITLE }, T("panel.activity")));
|
|
1883
1894
|
rows.push(h("div", { key: "s4r", style: BOX },
|
|
1884
1895
|
h("div", {}, T("panel.activity.session") + count(searches.length, T("unit.search"), T("unit.searches")) + " · " +
|
|
1885
1896
|
T("panel.activity.reusedTpl", { count: count(lessons.length, T("unit.lesson"), T("unit.lessons")), n: lessons.length, unit: T("unit.lessons") }) +
|
|
@@ -1894,7 +1905,7 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1894
1905
|
));
|
|
1895
1906
|
|
|
1896
1907
|
// ⑤ voice
|
|
1897
|
-
rows.push(h("div", { key: "s5", style:
|
|
1908
|
+
rows.push(h("div", { key: "s5", style: SECTION_TITLE }, T("panel.voice")));
|
|
1898
1909
|
rows.push(h("div", { key: "s5r", style: BOX },
|
|
1899
1910
|
h("button", {
|
|
1900
1911
|
type: "button",
|
|
@@ -1921,7 +1932,7 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1921
1932
|
// surfaced by the agent first. There is no vote affordance in this section and none of its copy
|
|
1922
1933
|
// says the count is approval — the number is an observed retrieval, and the rule states what it
|
|
1923
1934
|
// does and does not mean before the first row.
|
|
1924
|
-
rows.push(h("div", { key: "s6", style:
|
|
1935
|
+
rows.push(h("div", { key: "s6", style: SECTION_TITLE }, T("panel.hot")));
|
|
1925
1936
|
if (hot === undefined) {
|
|
1926
1937
|
rows.push(h("div", { key: "s6w", style: DIM }, T("panel.hot.loading")));
|
|
1927
1938
|
} else if (hot === null) {
|
|
@@ -1954,7 +1965,7 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1954
1965
|
// searched first. There is no vote affordance in this section and none of its copy says the order
|
|
1955
1966
|
// is approval — `unsolved30d` counts unanswered searches, and the rule says what it counts before
|
|
1956
1967
|
// the first row and how it differs from the retrieval ranking above.
|
|
1957
|
-
rows.push(h("div", { key: "s7", style:
|
|
1968
|
+
rows.push(h("div", { key: "s7", style: SECTION_TITLE }, T("panel.coverage")));
|
|
1958
1969
|
if (coverage === undefined) {
|
|
1959
1970
|
rows.push(h("div", { key: "s7w", style: DIM }, T("panel.coverage.loading")));
|
|
1960
1971
|
} else if (coverage === null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "misakanet",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "MisakaNet failure-memory skill — evidence-rated failure lessons for AI agents. DSH bundle: registers the MCP tools as mcp__misakanet__* (misakanet_search/get_lesson/…), served by the public Streamable HTTP endpoint https://misakanet.org/mcp — live tools from an npm install, in any profile, with no local python. A profile that prefers the repo's own stdio server can override the bundle row.",
|
|
6
6
|
"icon": "icon.svg",
|