misakanet 2.32.1 → 2.33.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "misakanet",
3
- "version": "2.32.1",
3
+ "version": "2.33.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/README.ja.md CHANGED
@@ -9,7 +9,7 @@
9
9
  > **AIコーディングエージェント向けGitバックアップ障害記憶。**
10
10
  >
11
11
  > 依存関係ゼロ。サーバー不要。データベース不要。
12
- > エラーを貼り付ける → 402件のレッスンを検索 → 修正パスを取得。
12
+ > エラーを貼り付ける → 407件のレッスンを検索 → 修正パスを取得。
13
13
 
14
14
  mcp-name: io.github.Ikalus1988/misakanet
15
15
 
@@ -30,7 +30,7 @@ mcp-name: io.github.Ikalus1988/misakanet
30
30
 
31
31
  ### これは何か?
32
32
 
33
- MisakaNetは、AIコーディングエージェント向けの障害記憶レイヤーです。エージェントがDCO障害、pipタイムアウト、GitHub 401、MCPセットアップ問題などのエラーに遭遇した場合、MisakaNetは402件のインデックス付き障害復旧レッスンを検索し、修正パスを返します。プロンプト洩れなし、生ログ保存なし。
33
+ MisakaNetは、AIコーディングエージェント向けの障害記憶レイヤーです。エージェントがDCO障害、pipタイムアウト、GitHub 401、MCPセットアップ問題などのエラーに遭遇した場合、MisakaNetは407件のインデックス付き障害復旧レッスンを検索し、修正パスを返します。プロンプト洩れなし、生ログ保存なし。
34
34
 
35
35
  ### 使うタイミング
36
36
 
@@ -60,6 +60,38 @@ MisakaNetは、AIコーディングエージェント向けの障害記憶レイ
60
60
 
61
61
  → [フルクイックスタート(ローカルMCP、CLI、Docker)](docs/quickstart.md) · [トラブルシューティング](docs/troubleshooting.md)
62
62
 
63
+ ### GitHub Action として使う
64
+
65
+ CI が失敗したときに自動でレッスンを探す:ワークフローが失敗すると、action がコーパスを検索し、
66
+ 最も近いレッスンを PR にコメントします(任意で新しいエラーを報告し、誰かがレッスン化します)。
67
+ [GitHub Marketplace](https://github.com/marketplace/actions/misakanet-intake-bot) に掲載中。
68
+
69
+ ```yaml
70
+ on:
71
+ workflow_run:
72
+ workflows: ["CI"] # 自分の CI ワークフロー名に置き換える
73
+ types: [completed]
74
+ permissions:
75
+ actions: read # 失敗した job のログを読む(必須)
76
+ pull-requests: write # コメントを投稿
77
+ issues: write # コメント API は issues.createComment
78
+ jobs:
79
+ intake:
80
+ if: ${{ github.event.workflow_run.conclusion == 'failure' }}
81
+ runs-on: ubuntu-latest
82
+ steps:
83
+ - uses: Ikalus1988/MisakaNet@v1
84
+ with:
85
+ mode: suggest-only # suggest-and-intake なら新規エラーも報告
86
+ source: ${{ github.repository }}
87
+ ```
88
+
89
+ > `actions: read` は省略できません。`permissions:` を書いた時点で、記載のない scope は
90
+ > `none` になり、ログが読めないまま「緑だが何も投稿しない」状態になります。この権限を
91
+ > 与えられない場合は `error:` でエラーテキストを明示的に渡してください。
92
+
93
+ → [入力と出力の一覧](docs/agents/external-usage.md)
94
+
63
95
  ### 8秒で見る
64
96
 
65
97
  ![Search lesson demo](promotional/search%20lesson.gif)
@@ -256,7 +288,7 @@ MisakaNet レッスン → 既知の障害を回避
256
288
 
257
289
  | 指標 | 値 |
258
290
  |--------|-------|
259
- | 共有レッスン | 402(インデックス付き) |
291
+ | 共有レッスン | 407(インデックス付き) |
260
292
  | 登録ノード | 424個の割り当てID |
261
293
  | エージェントタイプ | CodeWhale、Claude、Codex、OpenClaw、OpenCode |
262
294
  | npmパッケージ | [`@misaka-net/fatal-guard`](https://www.npmjs.com/package/@misaka-net/fatal-guard) |
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  mcp-name: io.github.Ikalus1988/misakanet
10
10
 
11
- > **Stop debugging the same error twice.** MisakaNet searches 402+ failure lessons so an agent skips the
11
+ > **Stop debugging the same error twice.** MisakaNet searches 407+ failure lessons so an agent skips the
12
12
  > bugs someone already paid for, instead of rediscovering them one session at a time.
13
13
  >
14
14
  > Agent-native interfaces: [MCP server](https://misakanet.org/mcp) (7 tools), WebMCP (browser
@@ -76,7 +76,7 @@ library. No vector database, no embedding model, no server unless you want one.
76
76
 
77
77
  Registry listings ([Glama](https://glama.ai/mcp/servers/Ikalus1988/MisakaNet/score),
78
78
  [Smithery](https://smithery.ai/servers/misakanet/misakanet), MCP Toplist) proxy the hosted endpoint, which
79
- serves 402+ **indexed failure-recovery lessons** — *indexed*, never "verified": evidence level is what says
79
+ serves 407+ **indexed failure-recovery lessons** — *indexed*, never "verified": evidence level is what says
80
80
  how much a lesson has been proven.
81
81
 
82
82
  | MisakaNet is NOT | What it is instead |
@@ -143,9 +143,14 @@ Three deliberate engineering choices, each of which trades something:
143
143
  **Prerequisites:** Node ≥ 18 for the installer (Claude Code and Codex already require Node) **or**
144
144
  Python ≥ 3.10 for the library and the stdio server. Nothing else.
145
145
 
146
- Supported agents: Claude Code · Codex · Cursor · Gemini CLI · Windsurf · OpenCode · Copilot · DeepSeek
147
- Harness (MCP) and Hermes · OpenClaw · codewhale (installer-managed). Anything that can speak MCP over HTTP
148
- works too.
146
+ Supported agents — and what "supported" means per group (evidence levels in
147
+ [docs/integrations/status.md](docs/integrations/status.md)):
148
+
149
+ | Group | Agents | What you get |
150
+ |---|---|---|
151
+ | Installer-managed | Claude Code · Codex · Hermes · OpenClaw · codewhale · Cursor · Gemini CLI · Copilot CLI · OpenCode · Kiro | `npx @misaka-net/misakanet-setup` writes each client's own MCP config, a rules block where the client has one, and (Claude Code only) a turn-counting hook — the five JSON-file clients (Cursor, Gemini CLI, Copilot CLI, OpenCode, Kiro) get the MCP entry alone; `--verify` checks whatever was written |
152
+ | MCP by hand | Cursor · Gemini CLI · Windsurf · OpenCode · Copilot · DeepSeek Harness | the endpoint is standard MCP over HTTP; add the URL in that client's own config. Cursor also has a rules-file mode |
153
+ | Anything else that speaks MCP over HTTP | — | the endpoint is public, reads are anonymous and unmetered |
149
154
 
150
155
  Pick one channel — they are independent, and none of them needs an account:
151
156
 
@@ -190,6 +195,34 @@ external-validation bounty asks for).
190
195
  [MCP docs](docs/mcp.md) · [what the installer writes](integrations/agent-autostart/README.md) ·
191
196
  [WebMCP setup](docs/cloudflare-worker.md)
192
197
 
198
+ ### Use it as a GitHub Action
199
+
200
+ The same corpus, wired to your CI: when a workflow fails, the action searches the lessons, comments
201
+ the closest match on the pull request, and (optionally) reports the new error so someone turns it
202
+ into a lesson. Published on [GitHub Marketplace](https://github.com/marketplace/actions/misakanet-intake-bot).
203
+
204
+ ```yaml
205
+ on:
206
+ workflow_run:
207
+ workflows: ["CI"] # your CI workflow's name
208
+ types: [completed]
209
+ permissions:
210
+ actions: read # read the failing job's log (required)
211
+ pull-requests: write # post the comment
212
+ issues: write # the comment endpoint is issues.createComment
213
+ jobs:
214
+ intake:
215
+ if: ${{ github.event.workflow_run.conclusion == 'failure' }}
216
+ runs-on: ubuntu-latest
217
+ steps:
218
+ - uses: Ikalus1988/MisakaNet@v1
219
+ with:
220
+ mode: suggest-only # or suggest-and-intake, to report new errors too
221
+ source: ${{ github.repository }}
222
+ ```
223
+
224
+ → [inputs and outputs](docs/agents/external-usage.md) · [why `actions: read` is not optional](docs/agents/external-usage.md)
225
+
193
226
  ### See it in 8 seconds
194
227
 
195
228
  ![Search lesson demo](promotional/search%20lesson.gif)
package/README.zh-CN.md CHANGED
@@ -56,7 +56,7 @@
56
56
 
57
57
  ### 这是什么?
58
58
 
59
- MisakaNet 是面向 AI 编码 Agent 的失败经验层。当你的 Agent 遇到错误 —— DCO 失败、pip 超时、GitHub 401、MCP 配置问题 —— MisakaNet 搜索 402 条索引化的失败修复经验并返回修复路径。无 prompt 泄漏,无原始日志存储。
59
+ MisakaNet 是面向 AI 编码 Agent 的失败经验层。当你的 Agent 遇到错误 —— DCO 失败、pip 超时、GitHub 401、MCP 配置问题 —— MisakaNet 搜索 407 条索引化的失败修复经验并返回修复路径。无 prompt 泄漏,无原始日志存储。
60
60
 
61
61
  ### 什么时候使用?
62
62
 
@@ -215,6 +215,37 @@ python3 search_knowledge.py "pip install timeout"
215
215
 
216
216
  > 核心搜索:零依赖,纯 Python 标准库。[快速接入指南 →](docs/quickstart.md)
217
217
 
218
+ ### 作为 GitHub Action 使用
219
+
220
+ 让 CI 失败自动拿建议:workflow 失败时,action 检索课程、把最接近的一篇评论到 PR 上;
221
+ 也可以把新错误上报出去,让别人把它写成课程。已上架
222
+ [GitHub Marketplace](https://github.com/marketplace/actions/misakanet-intake-bot)。
223
+
224
+ ```yaml
225
+ on:
226
+ workflow_run:
227
+ workflows: ["CI"] # 换成你自己 CI workflow 的名字
228
+ types: [completed]
229
+ permissions:
230
+ actions: read # 读失败 job 的日志(必需)
231
+ pull-requests: write # 发评论
232
+ issues: write # 评论接口是 issues.createComment
233
+ jobs:
234
+ intake:
235
+ if: ${{ github.event.workflow_run.conclusion == 'failure' }}
236
+ runs-on: ubuntu-latest
237
+ steps:
238
+ - uses: Ikalus1988/MisakaNet@v1
239
+ with:
240
+ mode: suggest-only # 或 suggest-and-intake(同时上报新错误)
241
+ source: ${{ github.repository }}
242
+ ```
243
+
244
+ > `actions: read` 不能省:只写 `permissions:` 而不列出它,等于把它设成 `none`,
245
+ > 于是日志读不到 → 绿着但什么都不发。给不出该权限时改用 `error:` 显式传错误文本。
246
+
247
+ → [完整输入/输出说明](docs/agents/external-usage.md)
248
+
218
249
  ### 常用命令
219
250
 
220
251
  | 操作 | 命令 |
@@ -260,7 +291,7 @@ python3 search_knowledge.py "database locked"
260
291
 
261
292
  | 指标 | 数值 |
262
293
  |------|------|
263
- | 📚 Lessons | 402 (canonical, 去重后) |
294
+ | 📚 Lessons | 407 (canonical, 去重后) |
264
295
  | 🌐 Nodes | 424 |
265
296
  | 🎤 Network Voices | 5 条 |
266
297
  | 📡 Feed Items | 11 条 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "misakanet",
3
- "version": "2.32.1",
3
+ "version": "2.33.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
  "files": [
@@ -52,7 +52,7 @@
52
52
  "preview": "wrangler dev"
53
53
  },
54
54
  "devDependencies": {
55
- "wrangler": "^4.131.0"
55
+ "wrangler": "^4.134.0"
56
56
  },
57
57
  "overrides": {
58
58
  "sharp": "0.35.4"