misakanet 3.12.1 → 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 +36 -27
- 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
|
@@ -146,7 +146,7 @@ window.__ModuleLoader__.load({
|
|
|
146
146
|
"panel.sources": "Where these numbers come from",
|
|
147
147
|
"panel.ladder.loading": "reading this week\u2019s ladder\u2026",
|
|
148
148
|
"panel.ladder.none": "No contribution recorded this week yet.",
|
|
149
|
-
"panel.ladder.coverage": "
|
|
149
|
+
"panel.ladder.coverage": "Submissions only; retrieval attribution pending.",
|
|
150
150
|
"panel.voice": "Voice",
|
|
151
151
|
"panel.voice.on": "Voice cues: on",
|
|
152
152
|
"panel.voice.off": "Voice cues: off",
|
|
@@ -231,11 +231,11 @@ window.__ModuleLoader__.load({
|
|
|
231
231
|
"panel.coverage": "The topics the corpus cannot answer yet",
|
|
232
232
|
"panel.coverage.loading": "reading the network's coverage board…",
|
|
233
233
|
"panel.coverage.none": "The coverage board ranked no topic, so this section shows nothing rather than a guess.",
|
|
234
|
-
"panel.coverage.rule": "The ranking above counts what searches brought back; this one counts what they did not find
|
|
234
|
+
"panel.coverage.rule": "The ranking above counts what searches brought back; this one counts what they did not find — unanswered searches, not retrievals.",
|
|
235
235
|
"panel.coverage.lessonsTpl": "{count} in the corpus · ",
|
|
236
236
|
"panel.coverage.unsolvedTpl": "{count} found nothing in 30 days",
|
|
237
237
|
"panel.coverage.totals": "{count} published in all · the topics below are the ones with the most unanswered searches",
|
|
238
|
-
"panel.counters": "this
|
|
238
|
+
"panel.counters": "this browser · no account, nothing uploaded",
|
|
239
239
|
"panel.report.title": "MisakaNet report",
|
|
240
240
|
"panel.report.coveredBy": "covered by ",
|
|
241
241
|
"panel.report.similarity": " (similarity ",
|
|
@@ -325,7 +325,7 @@ window.__ModuleLoader__.load({
|
|
|
325
325
|
"panel.sources": "这些数字从哪来",
|
|
326
326
|
"panel.ladder.loading": "正在读本周天梯…",
|
|
327
327
|
"panel.ladder.none": "本周还没有可上榜的贡献。",
|
|
328
|
-
"panel.ladder.coverage": "
|
|
328
|
+
"panel.ladder.coverage": "仅计提交;取用归属未接入。",
|
|
329
329
|
"panel.voice": "语音",
|
|
330
330
|
"panel.voice.on": "语音提示:开",
|
|
331
331
|
"panel.voice.off": "语音提示:关",
|
|
@@ -398,11 +398,11 @@ window.__ModuleLoader__.load({
|
|
|
398
398
|
"panel.coverage": "语料还答不上来的主题",
|
|
399
399
|
"panel.coverage.loading": "正在读网络的覆盖看板……",
|
|
400
400
|
"panel.coverage.none": "覆盖看板没有排出任何主题 —— 这一节宁可什么都不显示,也不猜。",
|
|
401
|
-
"panel.coverage.rule": "
|
|
401
|
+
"panel.coverage.rule": "上面那一节数的是检索带回来了什么;这一节数的是没找到什么——没有拿到答案的检索,不是取用。",
|
|
402
402
|
"panel.coverage.lessonsTpl": "{n} {unit}在库 · ",
|
|
403
403
|
"panel.coverage.unsolvedTpl": "30 天内 {n} {unit}没有答案",
|
|
404
404
|
"panel.coverage.totals": "{n} {unit}已发布 · 下面是没有答案的检索最多的主题",
|
|
405
|
-
"panel.counters": "
|
|
405
|
+
"panel.counters": "本浏览器 · 无需账号,不上传内容",
|
|
406
406
|
"panel.report.title": "MisakaNet 报料",
|
|
407
407
|
"panel.report.coveredBy": "已被 ",
|
|
408
408
|
"panel.report.similarity": "(相似度 ",
|
|
@@ -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") }) +
|
|
@@ -1891,10 +1902,10 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
1891
1902
|
count(stats.votes || 0, T("unit.vote"), T("unit.votes")) + " · " +
|
|
1892
1903
|
T("panel.activity.reportsTpl", { count: count(stats.reportsFiled || 0, T("unit.reportFiled"), T("unit.reportsFiled")), n: stats.reportsFiled || 0, unit: T("unit.reportsFiled") }) +
|
|
1893
1904
|
T("panel.activity.filedTpl", { count: count(stats.reportsConverted || 0, T("unit.conversion"), T("unit.conversions")), n: stats.reportsConverted || 0, unit: T("unit.conversions") })),
|
|
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) {
|
|
@@ -2559,8 +2570,6 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
|
|
|
2559
2570
|
function MisakanetMainView(props) {
|
|
2560
2571
|
return h("div", { style: { height: "100%", overflowY: "auto", padding: "28px 32px 48px" } },
|
|
2561
2572
|
h("div", { style: { maxWidth: "860px", margin: "0 auto" } },
|
|
2562
|
-
h("p", { style: { margin: "0 0 14px", color: "inherit", opacity: 0.7, fontSize: "13px", lineHeight: "1.5" } },
|
|
2563
|
-
T("main.footnote")),
|
|
2564
2573
|
h(MisakanetPanel, { sessionId: props && props.sessionId })));
|
|
2565
2574
|
}
|
|
2566
2575
|
|
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",
|