dsh-score 0.1.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/CHANGELOG.md +19 -0
- package/LICENSE +201 -0
- package/README.es.md +182 -0
- package/README.hi.md +182 -0
- package/README.md +216 -0
- package/README.pt.md +182 -0
- package/README.zh.md +190 -0
- package/SECURITY.md +57 -0
- package/THIRD_PARTY_NOTICES.md +15 -0
- package/cordis.patch.yml +40 -0
- package/lib/index.js +1924 -0
- package/lib/types/batch.d.ts +55 -0
- package/lib/types/batch.d.ts.map +1 -0
- package/lib/types/command.d.ts +22 -0
- package/lib/types/command.d.ts.map +1 -0
- package/lib/types/config.d.ts +84 -0
- package/lib/types/config.d.ts.map +1 -0
- package/lib/types/dimensions.d.ts +67 -0
- package/lib/types/dimensions.d.ts.map +1 -0
- package/lib/types/domain.d.ts +138 -0
- package/lib/types/domain.d.ts.map +1 -0
- package/lib/types/index.d.ts +50 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/probe.d.ts +137 -0
- package/lib/types/probe.d.ts.map +1 -0
- package/lib/types/report.d.ts +18 -0
- package/lib/types/report.d.ts.map +1 -0
- package/lib/types/result.d.ts +214 -0
- package/lib/types/result.d.ts.map +1 -0
- package/lib/types/sanitize.d.ts +64 -0
- package/lib/types/sanitize.d.ts.map +1 -0
- package/lib/types/score.d.ts +65 -0
- package/lib/types/score.d.ts.map +1 -0
- package/lib/types/tools.d.ts +29 -0
- package/lib/types/tools.d.ts.map +1 -0
- package/lib/types/version.d.ts +8 -0
- package/lib/types/version.d.ts.map +1 -0
- package/package.json +144 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
`dsh-score` is licensed under the [Apache License 2.0](LICENSE). The runtime
|
|
4
|
+
imports only `node:` builtins and `@deepseek-ai/*` peer packages; the
|
|
5
|
+
dependencies below are build/runtime tooling installed alongside the package.
|
|
6
|
+
|
|
7
|
+
| Package | Version range | License | Purpose |
|
|
8
|
+
|---|---|---|---|
|
|
9
|
+
| [typescript](https://github.com/microsoft/TypeScript) | `^5.9.0` | Apache-2.0 | Declarations and type checking in `scripts/prepare.mjs`. |
|
|
10
|
+
| [tsdown](https://github.com/rolldown/tsdown) | `^0.22.14` | MIT | ESM bundling of `src/` into `lib/` in `scripts/prepare.mjs`. |
|
|
11
|
+
| [zod](https://github.com/colinhacks/zod) | `^4.4.3` | MIT | Score/leaderboard record schemas validated at the storage-domain durable boundary. |
|
|
12
|
+
|
|
13
|
+
Peer dependencies (`@deepseek-ai/cordis`, `@deepseek-ai/schemastery`, and the
|
|
14
|
+
pinned `@deepseek-ai/dsh-*` packages) are provided by the DeepSeek Harness
|
|
15
|
+
installation and carry their own notices.
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
# dsh-score bundle patch: mount the multi-dimensional plugin quality scorer.
|
|
3
|
+
#
|
|
4
|
+
# Every configuration key is listed below with its default, commented out —
|
|
5
|
+
# uncomment only the keys you override (defaults come from the Schemastery
|
|
6
|
+
# Config schema; see README § Configuration for the full table).
|
|
7
|
+
- insert:
|
|
8
|
+
- id: score
|
|
9
|
+
name: dsh-score
|
|
10
|
+
config:
|
|
11
|
+
# Deadline for one git/gh/npm probe command in milliseconds.
|
|
12
|
+
# probeTimeoutMs: 60000
|
|
13
|
+
|
|
14
|
+
# Cap on the sanitized output tail recorded per probe, in bytes.
|
|
15
|
+
# outputTailBytes: 8000
|
|
16
|
+
|
|
17
|
+
# How long a cached score card is reused before re-scoring, in
|
|
18
|
+
# milliseconds (0 disables the cache).
|
|
19
|
+
# cacheMaxAgeMs: 86400000
|
|
20
|
+
|
|
21
|
+
# Commit-recency thresholds: maintenance drops to warn after
|
|
22
|
+
# staleCommitWarnDays and to fail after staleCommitFailDays.
|
|
23
|
+
# staleCommitWarnDays: 90
|
|
24
|
+
# staleCommitFailDays: 365
|
|
25
|
+
|
|
26
|
+
# Oldest-open-issue age thresholds (issue response proxy): warn/fail.
|
|
27
|
+
# staleIssueWarnDays: 30
|
|
28
|
+
# staleIssueFailDays: 180
|
|
29
|
+
|
|
30
|
+
# Batch limits for /score.
|
|
31
|
+
# maxBatchTargets: 20
|
|
32
|
+
# batchConcurrency: 1
|
|
33
|
+
|
|
34
|
+
# Per-dimension weights used to sum the total (defaults sum to 100).
|
|
35
|
+
# weights:
|
|
36
|
+
# install: 25
|
|
37
|
+
# maintenance: 20
|
|
38
|
+
# documentation: 20
|
|
39
|
+
# security: 20
|
|
40
|
+
# compliance: 15
|