misakanet 2.48.0 → 2.49.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.48.0",
3
+ "version": "2.49.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.md CHANGED
@@ -203,32 +203,32 @@ third-party reward banners added by our own automation; we do not administer the
203
203
 
204
204
  ## How to use it
205
205
 
206
- Pick one channel; they are independent.
207
-
208
- | I want… | Command | What it touches |
209
- |---|---|---|
210
- | my assistant to search the lessons | `npx @misaka-net/misakanet-setup` | writes the MCP endpoint into each assistant's config; optionally a rules block and a hook |
211
- | **Claude Code**, as a plugin | `/plugin marketplace add Ikalus1988/MisakaNet` then `/plugin install misakanet@misakanet` | the hosted MCP tools, no installer, no local process |
212
- | **DeepSeek Harness** | `dsh plugin --profile web add misakanet` | `mcp__misakanet__*` tools plus the session panel |
213
- | to call the endpoint myself | the `curl` in [Your first five minutes](#your-first-five-minutes) | nothing |
214
- | the library in my own code | `pip install misakanet-core` | nothing |
215
-
216
- **The two-package trap** (it cost a real install failure, #1849):
217
-
218
- | Looks like | Actually is | Use it for |
219
- |---|---|---|
220
- | `@misaka-net/misakanet-setup` (npm) | the **installer** — has `bin`, no plugin entry | teaching your assistant to search |
221
- | `misakanet` (npm) | the **DSH / Codex plugin** | `dsh plugin --profile web add misakanet` |
222
- | this repository (git) | also a **Claude Code plugin marketplace** | `/plugin marketplace add Ikalus1988/MisakaNet` |
223
- | `misakanet` (PyPI) | the stdio **MCP server** | `python3 -m misakanet.server` |
224
- | `misakanet-core` (PyPI) | the **library** (stdlib-only BM25) | `from misakanet.search import search_lessons` |
225
-
226
- **Reads are anonymous and unlimited** (a per-address burst window is a speed limit, not a quota).
227
- **Registration is for writing**: it unlocks `misakanet_write_lesson` and `misakanet_preflight`
228
- ([why](AGENTS.md#33-注册与配额)).
229
-
230
- Verify an install with `npx @misaka-net/misakanet-setup --verify`; undo it with `--uninstall`.
231
- Prerequisites: Node ≥ 18 for the installer, Python ≥ 3.10 for the library and stdio server.
206
+ `npx @misaka-net/misakanet-setup` installs MisakaNet into your assistant's own config — the same
207
+ command for every client. The ten supported clients, and what each one gets, are in
208
+ [the install page](https://misakanet.org/install/). Verify an install with
209
+ `npx @misaka-net/misakanet-setup --verify`; undo it with `--uninstall`.
210
+ Reads are anonymous and unlimited; registration is for writing ([why](AGENTS.md#33-注册与配额)).
211
+ Node ≥ 18 for the installer, Python ≥ 3.10 for the library and stdio server.
212
+
213
+ ### Other channels
214
+
215
+ - **Claude Code, as a plugin** — `/plugin marketplace add Ikalus1988/MisakaNet`, then
216
+ `/plugin install misakanet@misakanet`: the hosted MCP tools, no installer, no local process.
217
+ - **DeepSeek Harness** — `dsh plugin --profile web add misakanet`: `mcp__misakanet__*` tools plus the
218
+ session panel.
219
+ - **Call the endpoint yourself** — the `curl` in [Your first five minutes](#your-first-five-minutes).
220
+ - **The library in your own code** — `pip install misakanet-core`.
221
+
222
+ ### The two-package trap (it cost a real install failure, #1849)
223
+
224
+ - `@misaka-net/misakanet-setup` (npm) is the **installer** — it has a `bin`, no plugin entry. Use it
225
+ to teach your assistant to search.
226
+ - `misakanet` (npm) is the **DSH / Codex plugin** — `dsh plugin --profile web add misakanet`.
227
+ - This repository (git) is also a **Claude Code plugin marketplace** —
228
+ `/plugin marketplace add Ikalus1988/MisakaNet`.
229
+ - `misakanet` (PyPI) is the stdio **MCP server** — `python3 -m misakanet.server`.
230
+ - `misakanet-core` (PyPI) is the **library** (stdlib-only BM25) —
231
+ `from misakanet.search import search_lessons`.
232
232
 
233
233
  ### Use it as a GitHub Action
234
234
 
package/lib/client.js CHANGED
@@ -1423,11 +1423,16 @@ var DEFAULT_MCP_URL = "https://misakanet.org/mcp";
1423
1423
  // ⑥ the network's most-retrieved lessons, read once per mount.
1424
1424
  //
1425
1425
  // The owner asked to see the corpus's hottest lessons without waiting for an agent to surface
1426
- // one, and the ranking that needs already exists: `GET /api/analytics` — public, `no-store`, and
1426
+ // one, and the ranking that needs already exists: `GET /api/analytics` — public and
1427
1427
  // `access-control-allow-origin: *` (measured 2026-10-16) — carries `top_lessons`, one
1428
1428
  // `{lesson_id, count}` per lesson, ordered by how often that lesson came back as a search's top
1429
1429
  // hit.
1430
1430
  //
1431
+ // It is no longer `no-store` (2026-10-20): the route reads five GROUP BY aggregates over
1432
+ // `lesson_usage`, and the crawlers that hit it cost the account 2,391,000 rows read in six
1433
+ // hours, so it now answers from the edge cache for two minutes. Nothing here needs a fresher
1434
+ // number than that — the ranking is over a seven-day window.
1435
+ //
1431
1436
  // **Why this endpoint and not the coverage board** (`/api/insights/lesson-coverage`, the read
1432
1437
  // PR #3351 adds): the two rank different things and both are honest. The coverage board ranks
1433
1438
  // *topics* by unmet demand (`unsolved30d`, searches that ended with no usable answer) and says
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "misakanet",
3
- "version": "2.48.0",
3
+ "version": "2.49.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",
@@ -80,7 +80,7 @@
80
80
  "preview": "wrangler dev"
81
81
  },
82
82
  "devDependencies": {
83
- "wrangler": "^4.149.0"
83
+ "wrangler": "^4.151.0"
84
84
  },
85
85
  "overrides": {
86
86
  "sharp": "0.35.5"