@dumbmice/pi-deepseek-websearch 0.1.0 → 0.1.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/CHANGELOG.md +19 -0
- package/README.md +31 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2 — 2026-10-30
|
|
4
|
+
|
|
5
|
+
- README: document the release path in full — trusted publishing via GitHub OIDC, no
|
|
6
|
+
`NPM_TOKEN`, automatic provenance, the tag/version guard, and the option to disallow
|
|
7
|
+
token publishing once trusted publishing is proven.
|
|
8
|
+
|
|
9
|
+
## 0.1.1 — 2026-10-30
|
|
10
|
+
|
|
11
|
+
Documentation-only release: npm snapshots the README at publish time, so this
|
|
12
|
+
republishes the corrected text.
|
|
13
|
+
|
|
14
|
+
- Install command moved directly under the intro and no longer says "once the
|
|
15
|
+
package is published".
|
|
16
|
+
- The sample-output block no longer overflows horizontally; the per-result
|
|
17
|
+
fields it used to cram into a comment are described in the prose below it.
|
|
18
|
+
- README badges: npm version, license, Node engine, CI status, and a
|
|
19
|
+
"coexists with pi-web-access" badge (a downloads badge is deferred until the
|
|
20
|
+
package has statistics).
|
|
21
|
+
|
|
3
22
|
## 0.1.0 — 2026-10-30
|
|
4
23
|
|
|
5
24
|
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
|
+
[](https://www.npmjs.com/package/@dumbmice/pi-deepseek-websearch)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
[](package.json)
|
|
6
|
+
[](https://github.com/DumbMice/pi-deepseek-websearch/actions/workflows/test.yml)
|
|
7
|
+
[](#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
|
|
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
|
|
45
|
+
# from npm
|
|
38
46
|
pi install npm:@dumbmice/pi-deepseek-websearch
|
|
39
47
|
|
|
40
48
|
# straight from GitHub
|
|
@@ -157,6 +165,27 @@ 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
|
+
the workflow exchanges a GitHub OIDC token for a short-lived publish credential, so the repository
|
|
172
|
+
holds **no `NPM_TOKEN` secret** and no long-lived write credential (including a 2FA-bypass token)
|
|
173
|
+
is needed or permitted. Because the repository is public, npm attaches a **provenance attestation**
|
|
174
|
+
automatically — no `--provenance` flag.
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
npm version patch --no-git-tag-version # or minor/major
|
|
178
|
+
git commit -am "chore: release v$(node -p "require('./package.json').version")"
|
|
179
|
+
git tag "v$(node -p "require('./package.json').version")"
|
|
180
|
+
git push origin main --follow-tags # .github/workflows/publish.yml runs test + typecheck, then publishes
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
`.github/workflows/publish.yml` runs the 68 tests and the typecheck, and refuses to publish when the
|
|
184
|
+
pushed tag and `package.json` version disagree, so a mis-versioned tag fails the build instead of
|
|
185
|
+
shipping the wrong number. For maximum safety the package's *Publishing access* can then be set to
|
|
186
|
+
"Require two-factor authentication and disallow tokens": trusted publishing keeps working, token
|
|
187
|
+
publishing stops.
|
|
188
|
+
|
|
160
189
|
## License
|
|
161
190
|
|
|
162
191
|
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.
|
|
3
|
+
"version": "0.1.2",
|
|
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",
|