misakanet 2.30.0 → 2.30.2
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/README.md +16 -11
- package/README.zh-CN.md +3 -3
- package/cordis.patch.yml +25 -22
- package/index.js +20 -14
- package/package.json +18 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "misakanet",
|
|
3
|
-
"version": "2.30.
|
|
3
|
+
"version": "2.30.2",
|
|
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/README.md
CHANGED
|
@@ -23,7 +23,7 @@ mcp-name: io.github.Ikalus1988/misakanet
|
|
|
23
23
|
npx @misaka-net/misakanet-setup
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
装完**把助手窗口关掉再打开一次**,然后随便问一句带报错的(例如「
|
|
26
|
+
装完**把助手窗口关掉再打开一次**,然后随便问一句带报错的(例如「pip install timeout 是什么原因」),
|
|
27
27
|
它应该先去查经验库再回答。状态自检 `npx @misaka-net/misakanet-setup --verify`,卸载 `--uninstall`。
|
|
28
28
|
|
|
29
29
|
**不想用命令行、不知道配置文件在哪?** 把下面这句话**复制粘贴给助手**,它会自己装好、自己验证、用大白话回报:
|
|
@@ -147,11 +147,12 @@ for r in results:
|
|
|
147
147
|
|
|
148
148
|
**Option 5 — DeepSeek Harness (DSH plugin):**
|
|
149
149
|
```bash
|
|
150
|
-
# Install from npm (recommended — published as misakanet@2.30.
|
|
151
|
-
dsh plugin
|
|
150
|
+
# Install from npm (recommended — published as misakanet@2.30.2)
|
|
151
|
+
# `dsh plugin` forwards to pnpm in the profile directory and requires --profile.
|
|
152
|
+
dsh plugin --profile web add misakanet@2.30.2
|
|
152
153
|
|
|
153
|
-
# Or install directly from git (same bundle)
|
|
154
|
-
# dsh plugin add git+https://github.com/Ikalus1988/MisakaNet.git
|
|
154
|
+
# Or install directly from git (same bundle, plus the repo's own python MCP server)
|
|
155
|
+
# dsh plugin --profile web add git+https://github.com/Ikalus1988/MisakaNet.git
|
|
155
156
|
|
|
156
157
|
# Make the failure-memory SKILL discoverable by agents
|
|
157
158
|
# (DSH scans ~/.dsh/skills and project .dsh/skills)
|
|
@@ -162,11 +163,15 @@ cp -r skills/misakanet ~/.dsh/skills/
|
|
|
162
163
|
python3 scripts/mcp_deepseek_adapter.py
|
|
163
164
|
```
|
|
164
165
|
|
|
165
|
-
> **DSH bundle tools (`mcp__misakanet__*`)** are served by the
|
|
166
|
-
>
|
|
167
|
-
>
|
|
168
|
-
>
|
|
169
|
-
> `
|
|
166
|
+
> **DSH bundle tools (`mcp__misakanet__*`)** are served by the public endpoint
|
|
167
|
+
> `https://misakanet.org/mcp` (Streamable HTTP), which the bundle row declares — so an
|
|
168
|
+
> **npm install is enough** and no local python is required. A profile that prefers the
|
|
169
|
+
> repo's own stdio server can override the row (`transport: stdio`, `command: python3`,
|
|
170
|
+
> `args: [scripts/mcp_server.py]`).
|
|
171
|
+
>
|
|
172
|
+
> Two install gotchas (#1734): `dsh plugin` needs `--profile <name>`, and a profile whose
|
|
173
|
+
> lockfile predates the release will silently keep an older copy — pin the version
|
|
174
|
+
> (`@2.30.1`) if no `mcp__misakanet__*` tools appear.
|
|
170
175
|
|
|
171
176
|
### Try it now
|
|
172
177
|
|
|
@@ -424,7 +429,7 @@ flowchart LR
|
|
|
424
429
|
subgraph Local["💻 Local Node (git clone)"]
|
|
425
430
|
User["Local Agent / Dev"]
|
|
426
431
|
CLI["CLI — search_knowledge.py"]
|
|
427
|
-
MCP["MCP stdio — scripts/mcp_server.py<br/>(misakanet == 2.30.
|
|
432
|
+
MCP["MCP stdio — scripts/mcp_server.py<br/>(misakanet == 2.30.2)"]
|
|
428
433
|
Engine["BM25 Engine — engine.py"]
|
|
429
434
|
Lessons[("lessons/ — git source of truth")]
|
|
430
435
|
Profile[("profile.json — node profile")]
|
package/README.zh-CN.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://github.com/Ikalus1988/MisakaNet/stargazers"><img src="https://img.shields.io/github/stars/Ikalus1988/MisakaNet?style=social" alt="Stars"/></a>
|
|
11
|
-
<a href="https://
|
|
12
|
-
<a href="https://
|
|
11
|
+
<a href="https://github.com/Ikalus1988/MisakaNet/tree/main/lessons"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Ikalus1988/MisakaNet/data/badges/nodes.json" alt="节点"/></a>
|
|
12
|
+
<a href="https://github.com/Ikalus1988/MisakaNet/tree/main/lessons"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Ikalus1988/MisakaNet/data/badges/lessons.json" alt="知识"/></a>
|
|
13
13
|
<a href="https://github.com/Ikalus1988/MisakaNet/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Ikalus1988/MisakaNet?style=flat&color=blueviolet" alt="License"/></a>
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -91,7 +91,7 @@ python3 search_knowledge.py "GitHub token 401"
|
|
|
91
91
|
**方式 D:DeepSeek Harness(dsh 插件)与 Python 库**
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
# npm 安装(推荐 — 发布为 misakanet@2.30.
|
|
94
|
+
# npm 安装(推荐 — 发布为 misakanet@2.30.2)
|
|
95
95
|
dsh plugin add misakanet
|
|
96
96
|
# 或直接从 git 安装(同一 bundle)
|
|
97
97
|
# dsh plugin add git+https://github.com/Ikalus1988/MisakaNet.git
|
package/cordis.patch.yml
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
# MisakaNet dsh bundle patch (2026-09-12, DSH STORE compliance)
|
|
1
|
+
# MisakaNet dsh bundle patch (2026-09-12, DSH STORE compliance; transport 2026-09-15)
|
|
2
2
|
#
|
|
3
3
|
# Inserts *this* package (an insert row pointing at our own `misakanet` package,
|
|
4
|
-
# i.e. index.js) as a profile layer. The row's `config` is the
|
|
5
|
-
#
|
|
6
|
-
# client at runtime.
|
|
4
|
+
# i.e. index.js) as a profile layer. The row's `config` is the MCP declaration
|
|
5
|
+
# index.js reads when it mounts the official client at runtime.
|
|
7
6
|
#
|
|
8
7
|
# Why the wiring is no longer in the patch
|
|
9
8
|
# ----------------------------------------
|
|
@@ -29,18 +28,24 @@
|
|
|
29
28
|
# only our own package, and index.js mounts the official client itself
|
|
30
29
|
# (peer-resolved at runtime, degrading when it is absent).
|
|
31
30
|
#
|
|
32
|
-
# Behaviour notes
|
|
33
|
-
# * Registers MisakaNet's
|
|
34
|
-
# `misakanet` in `dsh.profile.bundles`. Tools
|
|
35
|
-
# `mcp__misakanet__<tool>` (misakanet_search / misakanet_get_lesson / …)
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
#
|
|
41
|
-
#
|
|
42
|
-
# *
|
|
43
|
-
#
|
|
31
|
+
# Behaviour notes:
|
|
32
|
+
# * Registers MisakaNet's MCP server into any dsh profile that lists
|
|
33
|
+
# `misakanet` in `dsh.profile.bundles`. Tools appear as
|
|
34
|
+
# `mcp__misakanet__<tool>` (misakanet_search / misakanet_get_lesson / …).
|
|
35
|
+
# * The row points at the PUBLIC Streamable HTTP endpoint, so an **npm install is
|
|
36
|
+
# enough**: tools no longer depend on the repo's python server
|
|
37
|
+
# (scripts/mcp_server.py), which exists only in repo/git+ installs. That was the
|
|
38
|
+
# previous arrangement, and it left every npm install with a disconnected row
|
|
39
|
+
# (issue #1734 — the git+ channel is fragile here: codeload timeouts, and pnpm
|
|
40
|
+
# now blocks git-dependency build scripts until the key is allowed).
|
|
41
|
+
# * `headers.Origin` is what the endpoint's DNS-rebinding guard expects: the
|
|
42
|
+
# worker answers 200 when the header is absent, and 403 for a foreign Origin.
|
|
43
|
+
# * A profile that prefers the local python server can override this row's config
|
|
44
|
+
# (transport stdio, command python3, args [scripts/mcp_server.py], cwd the repo
|
|
45
|
+
# root); index.js merges the row's config over its own defaults.
|
|
46
|
+
# * `failOnStartupError: false` + 60s tool timeout: an unreachable endpoint
|
|
47
|
+
# degrades to a disconnected row instead of failing profile boot, so the skill
|
|
48
|
+
# keeps working offline.
|
|
44
49
|
# * One row, one id — no double-insert: later patches override by id, and this
|
|
45
50
|
# id (misakanet-mcp) is unique to this bundle.
|
|
46
51
|
|
|
@@ -48,12 +53,10 @@
|
|
|
48
53
|
- id: misakanet-mcp
|
|
49
54
|
name: 'misakanet'
|
|
50
55
|
config:
|
|
51
|
-
transport:
|
|
56
|
+
transport: streamable-http
|
|
52
57
|
serverName: misakanet
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
env: {}
|
|
57
|
-
cwd: ''
|
|
58
|
+
url: https://misakanet.org/mcp
|
|
59
|
+
headers:
|
|
60
|
+
Origin: https://misakanet.org
|
|
58
61
|
toolCallTimeoutMs: 60000
|
|
59
62
|
failOnStartupError: false
|
package/index.js
CHANGED
|
@@ -29,28 +29,33 @@
|
|
|
29
29
|
* @deepseek-ai namespace` and rates the listing `route: blocked`
|
|
30
30
|
* (AI-Scarlett/DSH-Store#747; the rule is in that repo's
|
|
31
31
|
* scripts/check-plugin-submission.mjs). The patch now inserts *this* package
|
|
32
|
-
* (`name: misakanet`) and `apply()` below mounts the official
|
|
33
|
-
*
|
|
32
|
+
* (`name: misakanet`) and `apply()` below mounts the official MCP client with
|
|
33
|
+
* the row's config — the same runtime behaviour, without naming a
|
|
34
34
|
* protected component in the patch.
|
|
35
35
|
*
|
|
36
|
-
* Absence is not failure: when the official client is not resolvable (
|
|
37
|
-
*
|
|
38
|
-
* asks to fail loudly, so the skill keeps working
|
|
36
|
+
* Absence is not failure: when the official client is not resolvable (older
|
|
37
|
+
* hosts, a profile that never installed DSH's own copy) `apply()` returns
|
|
38
|
+
* quietly unless the config asks to fail loudly, so the skill keeps working
|
|
39
|
+
* and boot never breaks.
|
|
39
40
|
*/
|
|
40
41
|
export const name = 'misakanet';
|
|
41
42
|
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
44
|
+
* Default MCP declaration: the PUBLIC Streamable HTTP endpoint.
|
|
45
|
+
*
|
|
46
|
+
* This is the transport that works from every install channel. The repo's own
|
|
47
|
+
* python server (`scripts/mcp_server.py`, stdio) only exists in repo/git+
|
|
48
|
+
* checkouts, so defaulting to it left every npm install with a disconnected row
|
|
49
|
+
* (issue #1734). The bundle patch states the same declaration explicitly; the
|
|
50
|
+
* patch's row config is merged over this object, so a profile that wants the
|
|
51
|
+
* local server can point the row at it (transport stdio, command python3,
|
|
52
|
+
* args [scripts/mcp_server.py], cwd the repo root) without patching this file.
|
|
46
53
|
*/
|
|
47
54
|
export const DEFAULT_MCP_CONFIG = Object.freeze({
|
|
48
|
-
transport: '
|
|
55
|
+
transport: 'streamable-http',
|
|
49
56
|
serverName: 'misakanet',
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
env: {},
|
|
53
|
-
cwd: '',
|
|
57
|
+
url: 'https://misakanet.org/mcp',
|
|
58
|
+
headers: { Origin: 'https://misakanet.org' },
|
|
54
59
|
toolCallTimeoutMs: 60000,
|
|
55
60
|
failOnStartupError: false,
|
|
56
61
|
});
|
|
@@ -64,7 +69,8 @@ export const DEFAULT_MCP_CONFIG = Object.freeze({
|
|
|
64
69
|
* that one).
|
|
65
70
|
*
|
|
66
71
|
* @param ctx - cordis host context.
|
|
67
|
-
* @param config -
|
|
72
|
+
* @param config - MCP config from the bundle patch row (streamable-http by
|
|
73
|
+
* default; stdio is still accepted, e.g. for the repo's python server).
|
|
68
74
|
*/
|
|
69
75
|
export async function apply(ctx, config = {}) {
|
|
70
76
|
const options = { ...DEFAULT_MCP_CONFIG, ...config };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "misakanet",
|
|
3
|
-
"version": "2.30.
|
|
3
|
+
"version": "2.30.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"description": "MisakaNet failure-memory skill — evidence-rated failure lessons for AI agents. DSH bundle: registers the
|
|
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
|
"files": [
|
|
7
7
|
"SKILL.md",
|
|
8
8
|
"skills/",
|
|
@@ -16,6 +16,22 @@
|
|
|
16
16
|
"patch": "./cordis.patch.yml"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/Ikalus1988/MisakaNet.git"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://misakanet.org",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/Ikalus1988/MisakaNet/issues"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"misakanet",
|
|
29
|
+
"dsh-plugin",
|
|
30
|
+
"failure-memory",
|
|
31
|
+
"mcp",
|
|
32
|
+
"skill",
|
|
33
|
+
"lessons"
|
|
34
|
+
],
|
|
19
35
|
"peerDependencies": {
|
|
20
36
|
"@deepseek-ai/dsh-mcp-client": ">=0.1.0-rc.8 <0.2.0"
|
|
21
37
|
},
|