@curio-data/mcp-intelli-search 0.17.0 → 0.18.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/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![npm downloads](https://img.shields.io/npm/dt/@curio-data/mcp-intelli-search?color=blue)](https://www.npmjs.com/package/@curio-data/mcp-intelli-search)
7
7
  [![node](https://img.shields.io/badge/node-%E2%89%A522-blue)](https://nodejs.org/)
8
8
  [![license](https://img.shields.io/badge/license-Apache--2.0-green)](https://github.com/Curio-Data/pi-intelli-search/blob/main/LICENSE)
9
- ![tests](https://img.shields.io/badge/test%3Aall-605%20passing-brightgreen)
9
+ ![tests](https://img.shields.io/badge/test%3Aall-608%20passing-brightgreen)
10
10
 
11
11
  Intelligent web research for coding agents: search, extract, collate, and cache grounded web context in one tool call.
12
12
 
@@ -474,7 +474,11 @@ const result = await runtime.execute("intelli_research", {
474
474
  console.log(result.text);
475
475
  ```
476
476
 
477
- This example incurs inference and search charges when run with a real credential. `execute()` also accepts `intelli_search`, `intelli_extract` and `intelli_collate`, with the canonical tool parameters. Its optional third argument supplies `signal` and `onProgress`. Results contain `text`, `details` and `outcome`; execution failures throw. Degraded research remains a result. Standalone validation rejects unknown argument keys, empty queries, nonpositive or fractional `maxUrls`, arrays exceeding 100 entries, strings exceeding 2,000,000 characters and unsupported extraction statuses. Native schemas are unchanged. For manual extraction followed by collation, construct each collation item from the original `url` and `title`, `result.details.extraction` and `result.details.sourceType`, plus an explicit `status` such as `success`. Do not forward the entire extraction `details` object: its `currentness` field is not a collation input.
477
+ This example incurs inference and search charges when run with a real credential. `execute()` also accepts `intelli_search`, `intelli_extract` and `intelli_collate`, with the canonical tool parameters. Its optional third argument supplies `signal` and `onProgress`. Results contain `text`, `details` and `outcome`; execution failures throw. Degraded research remains a result.
478
+
479
+ Standalone validation rejects unknown argument keys, empty queries, nonpositive or fractional `maxUrls`, arrays exceeding 100 entries, strings exceeding 2,000,000 characters and unsupported extraction statuses. Most of these standalone validation rules are separate from the native tool schemas; the exception is the rejection of `maxUrls` values below 1, which the shared core schema also declares as `minimum: 1`, so it fails schema validation before the runtime's specific message. Positive fractional values at or above 1 still fail the standalone integer check.
480
+
481
+ For manual extraction followed by collation, construct each collation item from the original `url` and `title`, `result.details.extraction` and `result.details.sourceType`, plus an explicit `status` such as `success`. Do not forward the entire extraction `details` object: its `currentness` field is not a collation input.
478
482
 
479
483
  `mcp-intelli-search --help` and `--version` need no configuration. `--check-config` validates explicit configuration and workspace syntax without credentials or inference, returning exit status 0 for valid configuration and 1 for invalid input. Neither starts a protocol connection. `loadConfig()` throws an exported `ConfigurationError` for file defects, with a `reason` of `missing`, `unreadable`, `invalid-json` or `invalid`; workspace failures remain separate. JSON syntax diagnostics include a location without echoing file contents. The runtime entrypoint is experimental and has no published TypeScript declaration contract. Execution failures expose a safe `StandaloneError.code`: `INVALID_ARGUMENTS`, `CONFIGURATION`, `WORKSPACE`, `PROVIDER`, `OPERATION` or `CANCELLED`. Cancellation uses the `AbortError` name. Raw provider causes are deliberately not retained. Some shared operations wrap provider exceptions, which become `OPERATION` errors; protocol mapping must not depend on exact diagnostic strings.
480
484
 
@@ -569,6 +573,8 @@ For the standalone MCP server and host plugins, including exact tested versions
569
573
 
570
574
  Weekly npm downloads for both packages, stacked by package and refreshed every Monday by a scheduled GitHub Action. The native extension is the lower segment of each bar and the MCP server is the upper segment. The chart is rendered with [rough.js](https://roughjs.com) from daily caches in `data/downloads.json` and `data/downloads-mcp.json` (see `scripts/plot-downloads.mts`); the caches are append-only with a short trailing re-fetch window so npm's revisions of recent days are picked up. Only complete Monday-to-Sunday weeks are drawn, so a package's segment appears from the first refresh after its first complete week.
571
575
 
576
+ Daily counts come from npm's downloads API and are summed into weeks without additional filtering. [npm's counting documentation](https://blog.npmjs.org/post/92574016600/numeric-precision-matters-how-npm-download-counts-work.html) describes these totals as naïve by design: every served package tarball counts, including automation and mirrors, so read the bars as relative uptake, not unique-user counts. Verification runs that fetch the published tarballs from the registry, such as the registry-pin plugin checks, also count toward release-week totals.
577
+
572
578
  <p align="center">
573
579
  <picture>
574
580
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Curio-Data/pi-intelli-search/main/docs/images/downloads-dark.svg">
@@ -2242,7 +2242,16 @@ var collateSchema = Type.Object({
2242
2242
  var researchSchema = Type.Object({
2243
2243
  query: Type.String({ description: "What to research" }),
2244
2244
  maxUrls: Type.Optional(
2245
- Type.Number({ description: "Max URLs to fetch (default: 8, capped by settings.maxUrls)" })
2245
+ Type.Number({
2246
+ // Rendered by codemode as an @minimum tag since Pi 1.2.0. The MCP
2247
+ // runtime already requires a positive integer independently
2248
+ // (packages/mcp/src/runtime.ts), so the keyword formalises existing
2249
+ // behaviour there rather than adding enforcement. No "default":
2250
+ // strict-mode schema samplers reject it and the runtime default
2251
+ // lives in settings, not the schema.
2252
+ minimum: 1,
2253
+ description: "Max URLs to fetch (default: 10, capped by settings.maxUrls)"
2254
+ })
2246
2255
  ),
2247
2256
  domains: Type.Optional(
2248
2257
  Type.Array(Type.String(), { description: "Restrict search to these domains" })
package/dist/runtime.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  StandaloneError,
3
3
  createRuntime
4
- } from "./chunk-D6KE4KHG.js";
4
+ } from "./chunk-ZDA2NLLR.js";
5
5
  import {
6
6
  ConfigurationError,
7
7
  identity,
package/dist/server.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  extractSchema,
9
9
  researchSchema,
10
10
  searchSchema
11
- } from "./chunk-D6KE4KHG.js";
11
+ } from "./chunk-ZDA2NLLR.js";
12
12
  import {
13
13
  ConfigurationError,
14
14
  identity
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curio-data/mcp-intelli-search",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Standalone intelligent web research engine and Model Context Protocol stdio server.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",