@dumbmice/pi-deepseek-websearch 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +22 -2
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1 — 2026-10-30
4
+
5
+ Documentation-only release: npm snapshots the README at publish time, so this
6
+ republishes the corrected text.
7
+
8
+ - Install command moved directly under the intro and no longer says "once the
9
+ package is published".
10
+ - The sample-output block no longer overflows horizontally; the per-result
11
+ fields it used to cram into a comment are described in the prose below it.
12
+ - README badges: npm version, license, Node engine, CI status, and a
13
+ "coexists with pi-web-access" badge (a downloads badge is deferred until the
14
+ package has statistics).
15
+
3
16
  ## 0.1.0 — 2026-10-30
4
17
 
5
18
  First release. Package name: `@dumbmice/pi-deepseek-websearch` (web search and page fetch over
package/README.md CHANGED
@@ -1,11 +1,17 @@
1
1
  # @dumbmice/pi-deepseek-websearch
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@dumbmice/pi-deepseek-websearch)](https://www.npmjs.com/package/@dumbmice/pi-deepseek-websearch)
4
+ [![license](https://img.shields.io/npm/l/@dumbmice/pi-deepseek-websearch)](LICENSE)
5
+ [![node](https://img.shields.io/node/v/@dumbmice/pi-deepseek-websearch)](package.json)
6
+ [![tests](https://github.com/DumbMice/pi-deepseek-websearch/actions/workflows/test.yml/badge.svg)](https://github.com/DumbMice/pi-deepseek-websearch/actions/workflows/test.yml)
7
+ [![coexists with pi-web-access](https://img.shields.io/badge/coexists%20with-pi--web--access-2ea44f)](#why)
8
+
3
9
  DeepSeek **Search** and **Fetch** API tools for the [pi coding agent](https://pi.dev) — direct access to the fields and parameters that generic web-search wrappers throw away.
4
10
 
5
11
  Two tools, no dependencies, and it **coexists with `pi-web-access`**: different tool names, no web-search.json keys of its own, no settings to migrate.
6
12
 
7
13
  ```text
8
- DeepSeek search · 2 results ← abridged; each result also carries site, date, authority and score
14
+ DeepSeek search · 2 results ← abridged
9
15
  query: DeepSeek V4 Pro release
10
16
 
11
17
  1. DeepSeek-V4-Pro GA Release | DeepSeek API Docs
@@ -15,6 +21,8 @@ query: DeepSeek V4 Pro release
15
21
  We're launching DeepSeek-V4-Pro today! …
16
22
  ```
17
23
 
24
+ Every result also carries site, publication date, authority tier and rerank score; `details` holds the full set.
25
+
18
26
  ## Why
19
27
 
20
28
  `pi-web-access` maps DeepSeek's Search API onto its generic provider interface (compared against `pi-web-access@0.44.0`, verified 2026-10-30). That is the right shape for a 40-provider router, but it loses what makes DeepSeek's API useful:
@@ -34,7 +42,7 @@ Use it when you need DeepSeek's ranking, publication dates, or a specific `count
34
42
  ## Install
35
43
 
36
44
  ```bash
37
- # from npm, once the package is published
45
+ # from npm
38
46
  pi install npm:@dumbmice/pi-deepseek-websearch
39
47
 
40
48
  # straight from GitHub
@@ -157,6 +165,18 @@ npm run pack:check # tarball contents (no tests, no devDependencies)
157
165
 
158
166
  The suite covers query trimming order and the 128 cap, caller-spacing preservation, documented validation rules, metadata rendering (`authority: -1`, score annotation, summary/snippet/content precedence, malformed fields), retry classification for every documented status, key redaction, URL safety including encoding bypasses, abort handling, and both tool call shapes.
159
167
 
168
+ ## Releasing
169
+
170
+ Versions are published from CI with npm [trusted publishing](https://docs.npmjs.com/trusted-publishers)
171
+ (OIDC, no long-lived token, provenance attached):
172
+
173
+ ```bash
174
+ npm version patch --no-git-tag-version # or minor/major
175
+ git commit -am "chore: release v$(node -p "require('./package.json').version")"
176
+ git tag "v$(node -p "require('./package.json').version")"
177
+ git push origin main --follow-tags # .github/workflows/publish.yml runs test + typecheck, then publishes
178
+ ```
179
+
160
180
  ## License
161
181
 
162
182
  MIT. Issues and source: <https://github.com/DumbMice/pi-deepseek-websearch>.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dumbmice/pi-deepseek-websearch",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Web search and page fetch for pi via DeepSeek's Search & Fetch APIs: publication dates, authority, rerank score, ori_question, count up to 50, and graceful 128-char handling. Coexists with pi-web-access.",
5
5
  "type": "module",
6
6
  "license": "MIT",