@dumbmice/pi-deepseek-websearch 0.1.2 → 0.1.3
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 +5 -0
- package/README.md +2 -31
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.3 — 2026-10-30
|
|
4
|
+
|
|
5
|
+
- README is user-facing only: the development and release instructions moved to
|
|
6
|
+
CONTRIBUTING.md, with a single pointer left behind.
|
|
7
|
+
|
|
3
8
|
## 0.1.2 — 2026-10-30
|
|
4
9
|
|
|
5
10
|
- README: document the release path in full — trusted publishing via GitHub OIDC, no
|
package/README.md
CHANGED
|
@@ -153,38 +153,9 @@ Transport details, for completeness: requests send `Accept: application/json` al
|
|
|
153
153
|
|
|
154
154
|
If DeepSeek changes the API, bump `DOCS_SNAPSHOT` and update the affected tests.
|
|
155
155
|
|
|
156
|
-
##
|
|
156
|
+
## Contributing
|
|
157
157
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
```bash
|
|
161
|
-
npm test # node:test, 68 tests, mocked HTTP — no API key or network needed
|
|
162
|
-
npm run typecheck # tsc --noEmit, strict
|
|
163
|
-
npm run pack:check # tarball contents (no tests, no devDependencies)
|
|
164
|
-
```
|
|
165
|
-
|
|
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.
|
|
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.
|
|
158
|
+
Development setup, tests and the release process live in [CONTRIBUTING.md](https://github.com/DumbMice/pi-deepseek-websearch/blob/main/CONTRIBUTING.md).
|
|
188
159
|
|
|
189
160
|
## License
|
|
190
161
|
|
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.3",
|
|
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",
|