dsh-source-cnki 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.
Files changed (63) hide show
  1. package/CHANGELOG.md +7 -3
  2. package/LICENSE +0 -0
  3. package/README-zh.md +1 -1
  4. package/README.md +1 -1
  5. package/SECURITY.md +19 -0
  6. package/THIRD_PARTY_NOTICES.md +10 -0
  7. package/cordis.patch.yml +0 -0
  8. package/lib/cite.d.ts +0 -0
  9. package/lib/cite.d.ts.map +0 -0
  10. package/lib/cite.js +0 -0
  11. package/lib/cite.js.map +0 -0
  12. package/lib/config.d.ts +0 -0
  13. package/lib/config.d.ts.map +0 -0
  14. package/lib/config.js +0 -0
  15. package/lib/config.js.map +0 -0
  16. package/lib/formats.d.ts +0 -0
  17. package/lib/formats.d.ts.map +0 -0
  18. package/lib/formats.js +0 -0
  19. package/lib/formats.js.map +0 -0
  20. package/lib/index.d.ts +0 -0
  21. package/lib/index.d.ts.map +0 -0
  22. package/lib/index.js +0 -0
  23. package/lib/index.js.map +0 -0
  24. package/lib/runtime.d.ts +0 -0
  25. package/lib/runtime.d.ts.map +0 -0
  26. package/lib/runtime.js +0 -0
  27. package/lib/runtime.js.map +0 -0
  28. package/lib/tools/cnki-check.d.ts +0 -0
  29. package/lib/tools/cnki-check.d.ts.map +0 -0
  30. package/lib/tools/cnki-check.js +0 -0
  31. package/lib/tools/cnki-check.js.map +0 -0
  32. package/lib/tools/cnki-cite.d.ts +0 -0
  33. package/lib/tools/cnki-cite.d.ts.map +0 -0
  34. package/lib/tools/cnki-cite.js +0 -0
  35. package/lib/tools/cnki-cite.js.map +0 -0
  36. package/lib/tools/cnki-import.d.ts +0 -0
  37. package/lib/tools/cnki-import.d.ts.map +0 -0
  38. package/lib/tools/cnki-import.js +0 -0
  39. package/lib/tools/cnki-import.js.map +0 -0
  40. package/lib/tools/shared.d.ts +0 -0
  41. package/lib/tools/shared.d.ts.map +0 -0
  42. package/lib/tools/shared.js +0 -0
  43. package/lib/tools/shared.js.map +0 -0
  44. package/lib/validate.d.ts +0 -0
  45. package/lib/validate.d.ts.map +0 -0
  46. package/lib/validate.js +0 -0
  47. package/lib/validate.js.map +0 -0
  48. package/lib/version.d.ts +1 -1
  49. package/lib/version.d.ts.map +0 -0
  50. package/lib/version.js +1 -1
  51. package/lib/version.js.map +0 -0
  52. package/package.json +6 -4
  53. package/src/cite.ts +0 -0
  54. package/src/config.ts +0 -0
  55. package/src/formats.ts +0 -0
  56. package/src/index.ts +0 -0
  57. package/src/runtime.ts +0 -0
  58. package/src/tools/cnki-check.ts +0 -0
  59. package/src/tools/cnki-cite.ts +0 -0
  60. package/src/tools/cnki-import.ts +0 -0
  61. package/src/tools/shared.ts +0 -0
  62. package/src/validate.ts +0 -0
  63. package/src/version.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -4,7 +4,13 @@ All notable changes to this project are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
5
5
  adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [Unreleased]
7
+ ## [0.1.1] - 2026-11-08
8
+
9
+ ### Changed
10
+
11
+ - Release-engineering refresh: CHANGELOG accuracy, package metadata and authors; no runtime changes.
12
+
13
+ ## [0.1.0] - 2026-11-08
8
14
 
9
15
  ### Fixed
10
16
 
@@ -24,8 +30,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
24
30
  escape, far-future years, CRLF/BOM exports, and the function-plugin mount
25
31
  contract (23 tests total).
26
32
 
27
- ## [0.1.0] - 2026-11-08
28
-
29
33
  First release: Chinese-literature export import and citation formatting.
30
34
 
31
35
  ### Added
package/LICENSE CHANGED
File without changes
package/README-zh.md CHANGED
@@ -60,7 +60,7 @@ CNKI 没有面向此用途的公开 API。因此本插件**不会**登录、抓
60
60
 
61
61
  | | |
62
62
  |---|---|
63
- | DeepSeek Harness | **`dsh-v0.2.1-rc.5`**(2026-11-08 实测);peer `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0` |
63
+ | DeepSeek Harness | **`dsh-v0.2.2-rc.4`**(2026-11-18 实测);peer `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0` |
64
64
  | Node | `^22.19.0 \|\| >=24.9.0`(实测 `24.22.1`),仅 ESM |
65
65
  | Peer 依赖 | `@perrylink/dsh-research-core ^0.1.0`、`@deepseek-ai/cordis ^4.0.5-alpha.1`、`@deepseek-ai/dsh-tools`、`@deepseek-ai/schemastery ^3.18.5-alpha.1` |
66
66
  | 运行时依赖 | **零** |
package/README.md CHANGED
@@ -60,7 +60,7 @@ Unknown tags are ignored, not guessed.
60
60
 
61
61
  | | |
62
62
  |---|---|
63
- | DeepSeek Harness | **`dsh-v0.2.1-rc.5`** (verified 2026-11-08); peer `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0` |
63
+ | DeepSeek Harness | **`dsh-v0.2.2-rc.4`** (verified 2026-11-18); peer `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0` |
64
64
  | Node | `^22.19.0 \|\| >=24.9.0` (tested `24.22.1`), ESM only |
65
65
  | Peers | `@perrylink/dsh-research-core ^0.1.0`, `@deepseek-ai/cordis ^4.0.5-alpha.1`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/schemastery ^3.18.5-alpha.1` |
66
66
  | Runtime dependencies | **zero** |
package/SECURITY.md ADDED
@@ -0,0 +1,19 @@
1
+ # Security policy
2
+
3
+ ## Supported versions
4
+
5
+ The latest published `0.1.x` release of this package receives security fixes.
6
+
7
+ ## Reporting a vulnerability
8
+
9
+ Please use GitHub's private vulnerability reporting (Security → Advisories) on
10
+ the repository, or open a minimal issue asking for a private channel if
11
+ advisories are unavailable. Do not include credentials, personal data or
12
+ working exploits in a public issue.
13
+
14
+ ## Scope notes
15
+
16
+ - This package performs local file analysis only unless its README documents a
17
+ network provider; when it does, only the documented hosts are contacted.
18
+ - Inputs are treated as untrusted data: document text is never executed.
19
+ - No secrets are read or written by the package.
@@ -0,0 +1,10 @@
1
+ # Third-party notices
2
+
3
+ This package contains **no third-party runtime code**: `dependencies` is empty.
4
+
5
+ Development-only tooling (TypeScript, Vitest, `@deepseek-ai/*` type packages and
6
+ the shared `@perrylink/dsh-research-core` peer, when present) is not bundled and
7
+ is not distributed in the published tarball.
8
+
9
+ If that ever changes, the affected license texts must be added here before a
10
+ release.
package/cordis.patch.yml CHANGED
File without changes
package/lib/cite.d.ts CHANGED
File without changes
package/lib/cite.d.ts.map CHANGED
File without changes
package/lib/cite.js CHANGED
File without changes
package/lib/cite.js.map CHANGED
File without changes
package/lib/config.d.ts CHANGED
File without changes
File without changes
package/lib/config.js CHANGED
File without changes
package/lib/config.js.map CHANGED
File without changes
package/lib/formats.d.ts CHANGED
File without changes
File without changes
package/lib/formats.js CHANGED
File without changes
File without changes
package/lib/index.d.ts CHANGED
File without changes
File without changes
package/lib/index.js CHANGED
File without changes
package/lib/index.js.map CHANGED
File without changes
package/lib/runtime.d.ts CHANGED
File without changes
File without changes
package/lib/runtime.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/validate.d.ts CHANGED
File without changes
File without changes
package/lib/validate.js CHANGED
File without changes
File without changes
package/lib/version.d.ts CHANGED
@@ -3,5 +3,5 @@
3
3
  * @module dsh-source-cnki/version
4
4
  */
5
5
  /** The package version. */
6
- export declare const VERSION = "0.1.0";
6
+ export declare const VERSION = "0.1.2";
7
7
  //# sourceMappingURL=version.d.ts.map
File without changes
package/lib/version.js CHANGED
@@ -3,5 +3,5 @@
3
3
  * @module dsh-source-cnki/version
4
4
  */
5
5
  /** The package version. */
6
- export const VERSION = '0.1.0';
6
+ export const VERSION = '0.1.2';
7
7
  //# sourceMappingURL=version.js.map
File without changes
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-source-cnki",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Chinese-literature tooling for DeepSeek Harness without scraping: import RIS/EndNote-style or labeled (题名:/作者:/来源:) exports into stable records, format GB/T 7714-2015 (顺序编码制) or APA 7 citations (no invented fields), and run structural metadata validation (missing fields, implausible year, malformed DOI, duplicates). No CNKI login, no scraping, no CNKI API; exports are stored as REP evidence.",
5
- "author": "dsh-source-cnki contributors",
5
+ "author": "PerryLink contributors",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/PerryLink/dsh-source-cnki.git"
@@ -29,7 +29,9 @@
29
29
  "CHANGELOG.md",
30
30
  "README.md",
31
31
  "README-zh.md",
32
- "LICENSE"
32
+ "LICENSE",
33
+ "SECURITY.md",
34
+ "THIRD_PARTY_NOTICES.md"
33
35
  ],
34
36
  "sideEffects": false,
35
37
  "dsh": {
@@ -62,7 +64,7 @@
62
64
  "dependencies": {},
63
65
  "devDependencies": {
64
66
  "@deepseek-ai/cordis": "^4.1.0",
65
- "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
67
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.4",
66
68
  "@deepseek-ai/schemastery": "~3.19.0",
67
69
  "@perrylink/dsh-research-core": "file:../dsh-research-core",
68
70
  "@types/node": "^22.20.5",
package/src/cite.ts CHANGED
File without changes
package/src/config.ts CHANGED
File without changes
package/src/formats.ts CHANGED
File without changes
package/src/index.ts CHANGED
File without changes
package/src/runtime.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/validate.ts CHANGED
File without changes
package/src/version.ts CHANGED
@@ -4,4 +4,4 @@
4
4
  */
5
5
 
6
6
  /** The package version. */
7
- export const VERSION = '0.1.0'
7
+ export const VERSION = '0.1.2'