@morehao/trendradar-contract 0.6.0 → 0.7.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 +28 -0
- package/README.md +22 -19
- package/fixtures/digest-degraded.json +8 -6
- package/fixtures/digest-empty-lang.json +8 -6
- package/fixtures/digest-en.json +103 -0
- package/fixtures/digest-missing-optional.json +8 -6
- package/fixtures/digest-normal.json +20 -14
- package/fixtures/release-degraded.json +6 -5
- package/fixtures/release-empty.json +2 -2
- package/fixtures/release-normal.json +10 -8
- package/fixtures/release-weekly.json +5 -4
- package/gen/ts/index.d.ts +13 -10
- package/gen/ts/index.js +211 -84
- package/package.json +1 -1
- package/schema/api.v2.yaml +1 -1
- package/schema/{digest.v2.json → digest.v3.json} +4 -4
- package/schema/{ipc.v3.json → ipc.v4.json} +9 -9
- package/schema/{model.v2.json → model.v3.json} +5 -4
- package/schema/{releases.v2.json → releases.v3.json} +15 -11
- package/schema/version-info.v2.json +3 -3
- package/version-map.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
3
3
|
All notable changes to `@morehao/trendradar-contract` are documented here.
|
|
4
4
|
This project adheres to a `contract/vX.Y.Z` tag per release (npm + Go submodule).
|
|
5
5
|
|
|
6
|
+
## 0.7.0
|
|
7
|
+
|
|
8
|
+
Language-neutral summaries. **Breaking wire bump**: `ipcSchema` 3 → 4,
|
|
9
|
+
`digestSchema` 2 → 3, `contractVersion` 0.6.0 → 0.7.0. A core/plugin pair must
|
|
10
|
+
both move to this contract line; the plugin's handshake hard-rejects the
|
|
11
|
+
mismatch.
|
|
12
|
+
|
|
13
|
+
### Changed (breaking)
|
|
14
|
+
- `RepoDigest.summaryZh` → `summary` (string, **required**); added
|
|
15
|
+
`summaryLang` (BCP47 string, **required**) recording the language of `summary`.
|
|
16
|
+
`summarySource` (enum `model` / `original`) is unchanged and still required.
|
|
17
|
+
- `RepoReleases.summaryZh` → `summary` (string, optional) plus a new optional
|
|
18
|
+
`summaryLang`; present only when the repo-level summary is.
|
|
19
|
+
- `ReleaseItem.summaryZh` → `summary` (string, optional). Item-level summaries
|
|
20
|
+
carry no `summaryLang` (they inherit the repo-level / configured language).
|
|
21
|
+
- Summary text is no longer assumed to be Chinese: `summary` holds whichever
|
|
22
|
+
configured output language produced it, and `summaryLang` tags the language.
|
|
23
|
+
- Schema files renamed: `model.v2.json` → `model.v3.json`,
|
|
24
|
+
`digest.v2.json` → `digest.v3.json`, `releases.v2.json` → `releases.v3.json`,
|
|
25
|
+
`ipc.v3.json` → `ipc.v4.json`. `version-info.v2.json` / `errors.v2.json` keep
|
|
26
|
+
their filenames (wire constant / catalog unchanged).
|
|
27
|
+
- `State.stateSchema` stays 3 (state-document layout is unchanged).
|
|
28
|
+
|
|
29
|
+
### Fixtures
|
|
30
|
+
- All digest/release fixtures moved to `schema: 3` with `summary` +
|
|
31
|
+
`summaryLang`; `contentHash` recomputed (JCS).
|
|
32
|
+
- Added `digest-en.json`: a `summaryLang: "en"` digest sample.
|
|
33
|
+
|
|
6
34
|
## 0.6.0
|
|
7
35
|
|
|
8
36
|
Digest inlined in `RunResult`. **Breaking wire bump**: `ipcSchema` 2 → 3
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @morehao/trendradar-contract (0.
|
|
1
|
+
# @morehao/trendradar-contract (0.7.0)
|
|
2
2
|
|
|
3
3
|
The single source of truth for the data shapes shared by the **trendradar Go
|
|
4
4
|
core** (`github.com/morehao/trendradar`) and the **DSH plugin**
|
|
@@ -12,31 +12,31 @@ artifacts from one tag:
|
|
|
12
12
|
|
|
13
13
|
Both are released together by the tag `contract/v0.Y.Z` (see `CHANGELOG.md`).
|
|
14
14
|
|
|
15
|
-
> Version model: the **package** is `0.
|
|
16
|
-
> **wire format** it carries is the
|
|
17
|
-
> `digestSchema=
|
|
18
|
-
> in-repo v1
|
|
19
|
-
> from the package semver.
|
|
15
|
+
> Version model: the **package** is `0.7.0`, while the
|
|
16
|
+
> **wire format** it carries is the fourth generation — `ipcSchema=4`,
|
|
17
|
+
> `digestSchema=3`. The integers distinguish this contract from the legacy
|
|
18
|
+
> in-repo v1, the pre-inline `ipcSchema=2`, and the pre-language `ipcSchema=3`;
|
|
19
|
+
> they are intentionally decoupled from the package semver.
|
|
20
20
|
|
|
21
21
|
## Install
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
npm i @morehao/trendradar-contract@0.
|
|
25
|
-
go get github.com/morehao/trendradar/contract@v0.
|
|
24
|
+
npm i @morehao/trendradar-contract@0.7.0
|
|
25
|
+
go get github.com/morehao/trendradar/contract@v0.7.0 # resolves tag contract/v0.7.0
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## Layout
|
|
29
29
|
|
|
30
30
|
| Path | Purpose |
|
|
31
31
|
|---|---|
|
|
32
|
-
| `schema/model.
|
|
33
|
-
| `schema/ipc.
|
|
34
|
-
| `schema/digest.
|
|
35
|
-
| `schema/releases.
|
|
32
|
+
| `schema/model.v3.json` | `RepoSnapshot`; `RepoDigest` composes it via `allOf` |
|
|
33
|
+
| `schema/ipc.v4.json` | `RunRequest` (strict), `RunResult` (incl. inlined `DigestArtifact`), `ErrorInfo`, `State`, `FileArtifact` |
|
|
34
|
+
| `schema/digest.v3.json` | rendered digest document, incl. `contentHashAlgo` |
|
|
35
|
+
| `schema/releases.v3.json` | release-subscription document + `ReleasesReport` (run cost) |
|
|
36
36
|
| `schema/errors.v2.json` | 17 error codes with `retriable`/`description` (single source of truth) |
|
|
37
37
|
| `schema/version-info.v2.json` | `trendradar version --json` handshake |
|
|
38
38
|
| `schema/api.v2.yaml` | `trendradar serve` OpenAPI (`/api/v2`, incl. releases) |
|
|
39
|
-
| `fixtures/*.json` | golden
|
|
39
|
+
| `fixtures/*.json` | golden v3 digests + release documents |
|
|
40
40
|
| `version-map.json` | schema file → version carrier → propagation |
|
|
41
41
|
| `contract.gen.go` | generated Go structs + `ErrorCode` + `ErrorCatalog` + `SchemaFS` |
|
|
42
42
|
| `gen/ts/index.{js,d.ts}` | generated TS types + runtime (`validators`, `errorCatalog`, `fixtures`, `rawSchema`) |
|
|
@@ -62,8 +62,8 @@ contract.SchemaFS // embedded schema/* files
|
|
|
62
62
|
|
|
63
63
|
## Versioning & compatibility
|
|
64
64
|
|
|
65
|
-
- `ipcSchema` (const
|
|
66
|
-
`contractVersion` (`"0.
|
|
65
|
+
- `ipcSchema` (const 4) and `digestSchema` (const 3) are the wire integers;
|
|
66
|
+
`contractVersion` (`"0.7.0"`) is the package handshake.
|
|
67
67
|
- Adding an **optional** field is a minor change. Removing/renaming a field,
|
|
68
68
|
changing a type, or tightening validation is **breaking**: bump the affected
|
|
69
69
|
wire integer and/or the package version, declared in `version-map.json`.
|
|
@@ -73,10 +73,13 @@ contract.SchemaFS // embedded schema/* files
|
|
|
73
73
|
`list` takes no `repo`/`volume`, `add`/`remove` require a `repo` and no
|
|
74
74
|
`volume`, `releases` requires a `repo` and may name a `volume`; other commands
|
|
75
75
|
must not carry any of them. `stages` is run-only.
|
|
76
|
-
- `ReleaseDigest.schema` is `
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
- `ReleaseDigest.schema` is `3`: summaries are language-neutral — each entry
|
|
77
|
+
carries `summary` in the configured output language (plus `summaryLang` at the
|
|
78
|
+
repo level). Per-tag summaries live in `releases[].summary`; a repo-level
|
|
79
|
+
`summary`/`summaryLang` remains optional for older documents. Old v2 documents
|
|
80
|
+
still parse (both summary fields stay optional).
|
|
81
|
+
- `RepoDigest` (trending) now requires `summary` + `summaryLang` (the language of
|
|
82
|
+
`summary`); `summarySource` (`model`/`original`) is unchanged.
|
|
80
83
|
- `ReleasesReport.checked` / `changed` are **required** so `0` ("checked nothing")
|
|
81
84
|
is distinguishable from "not reported".
|
|
82
85
|
- Token cost for releases lives in `ReleasesReport.usage` (always present) and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema":
|
|
2
|
+
"schema": 3,
|
|
3
3
|
"date": "2026-10-30",
|
|
4
4
|
"period": "daily",
|
|
5
5
|
"languages": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
],
|
|
9
9
|
"count": 2,
|
|
10
10
|
"degraded": true,
|
|
11
|
-
"contentHash": "sha256:
|
|
11
|
+
"contentHash": "sha256:67501a6f9b03d663dfa379c005d146d912ba2aa32a40f5ba0800b2cf62588701",
|
|
12
12
|
"contentHashAlgo": "jcs-sha256-v1",
|
|
13
13
|
"coreVersion": "0.1.0",
|
|
14
14
|
"generatedAt": "2026-10-30T00:05:00Z",
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
"forks": 17800,
|
|
24
24
|
"rank": 1,
|
|
25
25
|
"source": "search-api",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"summarySource": "original",
|
|
27
|
+
"summary": "[原文] The Go programming language",
|
|
28
|
+
"summaryLang": "zh"
|
|
28
29
|
},
|
|
29
30
|
{
|
|
30
31
|
"fullName": "gin-gonic/gin",
|
|
@@ -36,8 +37,9 @@
|
|
|
36
37
|
"forks": 8100,
|
|
37
38
|
"rank": 2,
|
|
38
39
|
"source": "search-api",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
40
|
+
"summarySource": "original",
|
|
41
|
+
"summary": "[原文] HTTP web framework written in Go",
|
|
42
|
+
"summaryLang": "zh"
|
|
41
43
|
}
|
|
42
44
|
]
|
|
43
45
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema":
|
|
2
|
+
"schema": 3,
|
|
3
3
|
"date": "2026-10-30",
|
|
4
4
|
"period": "daily",
|
|
5
5
|
"languages": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
],
|
|
9
9
|
"count": 2,
|
|
10
10
|
"degraded": false,
|
|
11
|
-
"contentHash": "sha256:
|
|
11
|
+
"contentHash": "sha256:202e26aa26c1b1463e1d24274880a22a4d7c0531793cc4f6644e8e9d18a2383e",
|
|
12
12
|
"contentHashAlgo": "jcs-sha256-v1",
|
|
13
13
|
"coreVersion": "0.1.0",
|
|
14
14
|
"generatedAt": "2026-10-30T00:05:00Z",
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
"forks": 30,
|
|
24
24
|
"rank": 1,
|
|
25
25
|
"source": "trending-html",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"summarySource": "model",
|
|
27
|
+
"summary": "语言未知的仓库,热度进入榜单。",
|
|
28
|
+
"summaryLang": "zh"
|
|
28
29
|
},
|
|
29
30
|
{
|
|
30
31
|
"fullName": "someorg/aggregate-only",
|
|
@@ -36,8 +37,9 @@
|
|
|
36
37
|
"forks": 12,
|
|
37
38
|
"rank": 2,
|
|
38
39
|
"source": "trending-html",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
40
|
+
"summarySource": "model",
|
|
41
|
+
"summary": "仅在全局榜单出现的仓库。",
|
|
42
|
+
"summaryLang": "zh"
|
|
41
43
|
}
|
|
42
44
|
]
|
|
43
45
|
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 3,
|
|
3
|
+
"date": "2026-10-30",
|
|
4
|
+
"period": "daily",
|
|
5
|
+
"languages": [
|
|
6
|
+
"all",
|
|
7
|
+
"go",
|
|
8
|
+
"python",
|
|
9
|
+
"rust"
|
|
10
|
+
],
|
|
11
|
+
"count": 6,
|
|
12
|
+
"degraded": false,
|
|
13
|
+
"contentHash": "sha256:6ac1eb001cba7559551d5884e4164ad6eeb52a7865fd96048dcc1153e17d3bc3",
|
|
14
|
+
"contentHashAlgo": "jcs-sha256-v1",
|
|
15
|
+
"coreVersion": "0.1.0",
|
|
16
|
+
"generatedAt": "2026-10-30T00:05:00Z",
|
|
17
|
+
"repos": [
|
|
18
|
+
{
|
|
19
|
+
"fullName": "golang/go",
|
|
20
|
+
"url": "https://github.com/golang/go",
|
|
21
|
+
"description": "The Go programming language",
|
|
22
|
+
"language": "go",
|
|
23
|
+
"stars": 126000,
|
|
24
|
+
"starsInPeriod": 320,
|
|
25
|
+
"forks": 17800,
|
|
26
|
+
"rank": 1,
|
|
27
|
+
"source": "trending-html",
|
|
28
|
+
"summarySource": "model",
|
|
29
|
+
"summary": "The official Go repository, among the top gainers today.",
|
|
30
|
+
"summaryLang": "en"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"fullName": "gin-gonic/gin",
|
|
34
|
+
"url": "https://github.com/gin-gonic/gin",
|
|
35
|
+
"description": "HTTP web framework written in Go",
|
|
36
|
+
"language": "go",
|
|
37
|
+
"stars": 80200,
|
|
38
|
+
"starsInPeriod": 210,
|
|
39
|
+
"forks": 8100,
|
|
40
|
+
"rank": 2,
|
|
41
|
+
"source": "trending-html",
|
|
42
|
+
"summarySource": "model",
|
|
43
|
+
"summary": "A popular Go web framework that keeps trending.",
|
|
44
|
+
"summaryLang": "en"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"fullName": "python/cpython",
|
|
48
|
+
"url": "https://github.com/python/cpython",
|
|
49
|
+
"description": "The Python programming language",
|
|
50
|
+
"language": "python",
|
|
51
|
+
"stars": 64500,
|
|
52
|
+
"starsInPeriod": 180,
|
|
53
|
+
"forks": 30500,
|
|
54
|
+
"rank": 3,
|
|
55
|
+
"source": "trending-html",
|
|
56
|
+
"summarySource": "model",
|
|
57
|
+
"summary": "The official CPython implementation, drawing more attention today.",
|
|
58
|
+
"summaryLang": "en"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"fullName": "psf/requests",
|
|
62
|
+
"url": "https://github.com/psf/requests",
|
|
63
|
+
"description": "A simple, yet elegant HTTP library",
|
|
64
|
+
"language": "python",
|
|
65
|
+
"stars": 52500,
|
|
66
|
+
"starsInPeriod": 95,
|
|
67
|
+
"forks": 9400,
|
|
68
|
+
"rank": 4,
|
|
69
|
+
"source": "trending-html",
|
|
70
|
+
"summarySource": "model",
|
|
71
|
+
"summary": "The classic Python HTTP library, a steady fixture on the charts.",
|
|
72
|
+
"summaryLang": "en"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"fullName": "rust-lang/rust",
|
|
76
|
+
"url": "https://github.com/rust-lang/rust",
|
|
77
|
+
"description": "Empowering everyone to build reliable and efficient software",
|
|
78
|
+
"language": "rust",
|
|
79
|
+
"stars": 102000,
|
|
80
|
+
"starsInPeriod": 260,
|
|
81
|
+
"forks": 13200,
|
|
82
|
+
"rank": 5,
|
|
83
|
+
"source": "trending-html",
|
|
84
|
+
"summarySource": "model",
|
|
85
|
+
"summary": "The main Rust repository, with an active community.",
|
|
86
|
+
"summaryLang": "en"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"fullName": "tokio-rs/tokio",
|
|
90
|
+
"url": "https://github.com/tokio-rs/tokio",
|
|
91
|
+
"description": "A runtime for writing reliable asynchronous applications with Rust",
|
|
92
|
+
"language": "rust",
|
|
93
|
+
"stars": 28600,
|
|
94
|
+
"starsInPeriod": 120,
|
|
95
|
+
"forks": 2650,
|
|
96
|
+
"rank": 6,
|
|
97
|
+
"source": "trending-html",
|
|
98
|
+
"summarySource": "model",
|
|
99
|
+
"summary": "The Rust async runtime, drawing strong interest for performance.",
|
|
100
|
+
"summaryLang": "en"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema":
|
|
2
|
+
"schema": 3,
|
|
3
3
|
"date": "2026-10-30",
|
|
4
4
|
"period": "daily",
|
|
5
5
|
"languages": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"count": 2,
|
|
12
12
|
"degraded": false,
|
|
13
|
-
"contentHash": "sha256:
|
|
13
|
+
"contentHash": "sha256:e4fd1d2d84cfaf9e6d97e4fe68297a7eac6f5e749fae50583050d1949b4bd80b",
|
|
14
14
|
"contentHashAlgo": "jcs-sha256-v1",
|
|
15
15
|
"coreVersion": "0.1.0",
|
|
16
16
|
"generatedAt": "2026-10-30T00:05:00Z",
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
"starsInPeriod": 320,
|
|
24
24
|
"rank": 1,
|
|
25
25
|
"source": "trending-html",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"summarySource": "model",
|
|
27
|
+
"summary": "Go 官方仓库,今日新增 star 位居榜单前列。",
|
|
28
|
+
"summaryLang": "zh"
|
|
28
29
|
},
|
|
29
30
|
{
|
|
30
31
|
"fullName": "gin-gonic/gin",
|
|
@@ -34,8 +35,9 @@
|
|
|
34
35
|
"starsInPeriod": 210,
|
|
35
36
|
"rank": 2,
|
|
36
37
|
"source": "trending-html",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
38
|
+
"summarySource": "model",
|
|
39
|
+
"summary": "流行的 Go Web 框架,热度持续。",
|
|
40
|
+
"summaryLang": "zh"
|
|
39
41
|
}
|
|
40
42
|
]
|
|
41
43
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema":
|
|
2
|
+
"schema": 3,
|
|
3
3
|
"date": "2026-10-30",
|
|
4
4
|
"period": "daily",
|
|
5
5
|
"languages": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"count": 6,
|
|
12
12
|
"degraded": false,
|
|
13
|
-
"contentHash": "sha256:
|
|
13
|
+
"contentHash": "sha256:23a470aa53d1e26ec722d3bbef3d33e7fcd330ba71b331afd8f2d9e433cb22c2",
|
|
14
14
|
"contentHashAlgo": "jcs-sha256-v1",
|
|
15
15
|
"coreVersion": "0.1.0",
|
|
16
16
|
"generatedAt": "2026-10-30T00:05:00Z",
|
|
@@ -25,8 +25,9 @@
|
|
|
25
25
|
"forks": 17800,
|
|
26
26
|
"rank": 1,
|
|
27
27
|
"source": "trending-html",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"summarySource": "model",
|
|
29
|
+
"summary": "Go 官方仓库,今日新增 star 位居榜单前列。",
|
|
30
|
+
"summaryLang": "zh"
|
|
30
31
|
},
|
|
31
32
|
{
|
|
32
33
|
"fullName": "gin-gonic/gin",
|
|
@@ -38,8 +39,9 @@
|
|
|
38
39
|
"forks": 8100,
|
|
39
40
|
"rank": 2,
|
|
40
41
|
"source": "trending-html",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
42
|
+
"summarySource": "model",
|
|
43
|
+
"summary": "流行的 Go Web 框架,热度持续。",
|
|
44
|
+
"summaryLang": "zh"
|
|
43
45
|
},
|
|
44
46
|
{
|
|
45
47
|
"fullName": "python/cpython",
|
|
@@ -51,8 +53,9 @@
|
|
|
51
53
|
"forks": 30500,
|
|
52
54
|
"rank": 3,
|
|
53
55
|
"source": "trending-html",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
+
"summarySource": "model",
|
|
57
|
+
"summary": "CPython 官方实现,今日关注度上升。",
|
|
58
|
+
"summaryLang": "zh"
|
|
56
59
|
},
|
|
57
60
|
{
|
|
58
61
|
"fullName": "psf/requests",
|
|
@@ -64,8 +67,9 @@
|
|
|
64
67
|
"forks": 9400,
|
|
65
68
|
"rank": 4,
|
|
66
69
|
"source": "trending-html",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
70
|
+
"summarySource": "model",
|
|
71
|
+
"summary": "经典 Python HTTP 库,稳居热榜。",
|
|
72
|
+
"summaryLang": "zh"
|
|
69
73
|
},
|
|
70
74
|
{
|
|
71
75
|
"fullName": "rust-lang/rust",
|
|
@@ -77,8 +81,9 @@
|
|
|
77
81
|
"forks": 13200,
|
|
78
82
|
"rank": 5,
|
|
79
83
|
"source": "trending-html",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
84
|
+
"summarySource": "model",
|
|
85
|
+
"summary": "Rust 语言主仓库,社区活跃。",
|
|
86
|
+
"summaryLang": "zh"
|
|
82
87
|
},
|
|
83
88
|
{
|
|
84
89
|
"fullName": "tokio-rs/tokio",
|
|
@@ -90,8 +95,9 @@
|
|
|
90
95
|
"forks": 2650,
|
|
91
96
|
"rank": 6,
|
|
92
97
|
"source": "trending-html",
|
|
93
|
-
"
|
|
94
|
-
"
|
|
98
|
+
"summarySource": "model",
|
|
99
|
+
"summary": "Rust 异步运行时,性能方向关注度高。",
|
|
100
|
+
"summaryLang": "zh"
|
|
95
101
|
}
|
|
96
102
|
]
|
|
97
103
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema":
|
|
2
|
+
"schema": 3,
|
|
3
3
|
"date": "2026-10-31",
|
|
4
4
|
"period": "weekly",
|
|
5
|
-
"contentHash": "sha256:
|
|
5
|
+
"contentHash": "sha256:8a2789f6f865e03bf4a1423d12e88bf99e992d9672f796bcebd874282ca8740d",
|
|
6
6
|
"contentHashAlgo": "jcs-sha256-v1",
|
|
7
7
|
"count": 1,
|
|
8
8
|
"degraded": true,
|
|
@@ -21,13 +21,14 @@
|
|
|
21
21
|
"url": "https://github.com/acme/widget/releases/tag/v2.0.0",
|
|
22
22
|
"prerelease": false,
|
|
23
23
|
"draft": false,
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"summarySource": "original",
|
|
25
|
+
"summary": "版本 v2.0.0(未获取到变更说明)"
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"periodStart": "2026-10-26",
|
|
29
29
|
"periodEnd": "2026-11-01",
|
|
30
|
-
"
|
|
30
|
+
"summary": "本周 1 个版本:v2.0.0。",
|
|
31
|
+
"summaryLang": "zh"
|
|
31
32
|
}
|
|
32
33
|
]
|
|
33
34
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema":
|
|
2
|
+
"schema": 3,
|
|
3
3
|
"date": "2026-10-31",
|
|
4
4
|
"period": "weekly",
|
|
5
|
-
"contentHash": "sha256:
|
|
5
|
+
"contentHash": "sha256:73ca07a4b446a21356ebcbc1cb31281494b36c4bab1f9285106e37eddb71571b",
|
|
6
6
|
"contentHashAlgo": "jcs-sha256-v1",
|
|
7
7
|
"count": 0,
|
|
8
8
|
"degraded": false,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema":
|
|
2
|
+
"schema": 3,
|
|
3
3
|
"date": "2026-10-31",
|
|
4
4
|
"period": "weekly",
|
|
5
|
-
"contentHash": "sha256:
|
|
5
|
+
"contentHash": "sha256:bfbcf9cb9ff94b3452f79b2950ff6b84ae05b054247eeb4d116f6d0dbc8e5c7f",
|
|
6
6
|
"contentHashAlgo": "jcs-sha256-v1",
|
|
7
7
|
"coreVersion": "0.5.0",
|
|
8
8
|
"generatedAt": "2026-10-31T13:04:00Z",
|
|
@@ -25,13 +25,14 @@
|
|
|
25
25
|
"prerelease": false,
|
|
26
26
|
"draft": false,
|
|
27
27
|
"bodyExcerpt": "1.0.0-rc3 fixes several issues found in rc2.",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"summarySource": "model",
|
|
29
|
+
"summary": "新增证据充分性决策模型与 Categorize 组件,兼容 rc2 schema,可直接升级。"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"periodStart": "2026-10-26",
|
|
33
33
|
"periodEnd": "2026-11-01",
|
|
34
|
-
"
|
|
34
|
+
"summary": "本周 1 个版本:v1.0.0-rc3。",
|
|
35
|
+
"summaryLang": "zh"
|
|
35
36
|
},
|
|
36
37
|
{
|
|
37
38
|
"fullName": "deepseek-ai/deepseek-harness",
|
|
@@ -47,13 +48,14 @@
|
|
|
47
48
|
"url": "https://github.com/deepseek-ai/deepseek-harness/tree/dsh-v0.2.2-alpha.2",
|
|
48
49
|
"prerelease": false,
|
|
49
50
|
"draft": false,
|
|
50
|
-
"
|
|
51
|
-
"
|
|
51
|
+
"summarySource": "model",
|
|
52
|
+
"summary": "发布说明缺失,已回退到 commit 信息。"
|
|
52
53
|
}
|
|
53
54
|
],
|
|
54
55
|
"periodStart": "2026-10-26",
|
|
55
56
|
"periodEnd": "2026-11-01",
|
|
56
|
-
"
|
|
57
|
+
"summary": "本周 1 个版本:dsh-v0.2.2-alpha.2。",
|
|
58
|
+
"summaryLang": "zh"
|
|
57
59
|
}
|
|
58
60
|
]
|
|
59
61
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema":
|
|
2
|
+
"schema": 3,
|
|
3
3
|
"date": "2026-11-01",
|
|
4
4
|
"period": "weekly",
|
|
5
|
-
"contentHash": "sha256:
|
|
5
|
+
"contentHash": "sha256:f3cf704e70c6e869200778198226db50c9f7827d6f1371a3bf436b3e11ac0c2e",
|
|
6
6
|
"contentHashAlgo": "jcs-sha256-v1",
|
|
7
7
|
"coreVersion": "0.7.0",
|
|
8
8
|
"generatedAt": "2026-11-01T00:30:00Z",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"newCount": 2,
|
|
17
17
|
"periodStart": "2026-10-26",
|
|
18
18
|
"periodEnd": "2026-11-01",
|
|
19
|
-
"summaryZh": "本周发布 v15.2.0 与 v15.1.9:构建缓存命中率提升,修复 App Router 下动态段预渲染的回归。",
|
|
20
19
|
"releases": [
|
|
21
20
|
{
|
|
22
21
|
"id": 428974490,
|
|
@@ -41,7 +40,9 @@
|
|
|
41
40
|
"draft": false,
|
|
42
41
|
"summarySource": "model"
|
|
43
42
|
}
|
|
44
|
-
]
|
|
43
|
+
],
|
|
44
|
+
"summary": "本周发布 v15.2.0 与 v15.1.9:构建缓存命中率提升,修复 App Router 下动态段预渲染的回归。",
|
|
45
|
+
"summaryLang": "zh"
|
|
45
46
|
}
|
|
46
47
|
]
|
|
47
48
|
}
|
package/gen/ts/index.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ export interface RepoSnapshot {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export type RepoDigest = RepoSnapshot & {
|
|
17
|
-
"
|
|
17
|
+
"summary": string;
|
|
18
|
+
"summaryLang": string;
|
|
18
19
|
"summarySource": "model" | "original";
|
|
19
20
|
[k: string]: unknown;
|
|
20
21
|
};
|
|
@@ -45,7 +46,7 @@ export interface DigestArtifact {
|
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
export interface RunRequest {
|
|
48
|
-
"ipcSchema":
|
|
49
|
+
"ipcSchema": 4;
|
|
49
50
|
"command": "run" | "serve" | "config" | "version" | "subscribe";
|
|
50
51
|
"configPath"?: string;
|
|
51
52
|
"date"?: string;
|
|
@@ -58,7 +59,7 @@ export interface RunRequest {
|
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
export interface RunResult {
|
|
61
|
-
"ipcSchema":
|
|
62
|
+
"ipcSchema": 4;
|
|
62
63
|
"ok": boolean;
|
|
63
64
|
"command": "run" | "serve" | "config" | "version" | "subscribe";
|
|
64
65
|
"startedAt": string;
|
|
@@ -101,7 +102,7 @@ export interface StateRun {
|
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
export interface State {
|
|
104
|
-
"ipcSchema":
|
|
105
|
+
"ipcSchema": 4;
|
|
105
106
|
"stateSchema": 3;
|
|
106
107
|
"lastRun"?: StateRun;
|
|
107
108
|
[k: string]: unknown;
|
|
@@ -117,7 +118,7 @@ export interface ReleaseItem {
|
|
|
117
118
|
"prerelease": boolean;
|
|
118
119
|
"draft": boolean;
|
|
119
120
|
"bodyExcerpt"?: string;
|
|
120
|
-
"
|
|
121
|
+
"summary"?: string;
|
|
121
122
|
"summarySource": "model" | "original";
|
|
122
123
|
[k: string]: unknown;
|
|
123
124
|
}
|
|
@@ -129,7 +130,8 @@ export interface RepoReleases {
|
|
|
129
130
|
"newCount": number;
|
|
130
131
|
"periodStart"?: string;
|
|
131
132
|
"periodEnd"?: string;
|
|
132
|
-
"
|
|
133
|
+
"summary"?: string;
|
|
134
|
+
"summaryLang"?: string;
|
|
133
135
|
"releases": Array<ReleaseItem>;
|
|
134
136
|
[k: string]: unknown;
|
|
135
137
|
}
|
|
@@ -203,7 +205,7 @@ export interface ErrorMeta {
|
|
|
203
205
|
}
|
|
204
206
|
|
|
205
207
|
export interface Digest {
|
|
206
|
-
"schema":
|
|
208
|
+
"schema": 3;
|
|
207
209
|
"date": string;
|
|
208
210
|
"period": "daily" | "weekly" | "monthly";
|
|
209
211
|
"languages": Array<string>;
|
|
@@ -218,7 +220,7 @@ export interface Digest {
|
|
|
218
220
|
}
|
|
219
221
|
|
|
220
222
|
export interface ReleaseDigest {
|
|
221
|
-
"schema":
|
|
223
|
+
"schema": 3;
|
|
222
224
|
"date": string;
|
|
223
225
|
"period": "daily" | "weekly" | "monthly";
|
|
224
226
|
"contentHash": string;
|
|
@@ -234,8 +236,8 @@ export interface ReleaseDigest {
|
|
|
234
236
|
export interface VersionInfo {
|
|
235
237
|
"version": string;
|
|
236
238
|
"commit": string;
|
|
237
|
-
"ipcSchema":
|
|
238
|
-
"digestSchema":
|
|
239
|
+
"ipcSchema": 4;
|
|
240
|
+
"digestSchema": 3;
|
|
239
241
|
"contractVersion": string;
|
|
240
242
|
"supportedProviders": Array<string>;
|
|
241
243
|
[k: string]: unknown;
|
|
@@ -248,6 +250,7 @@ export declare const fixtures: {
|
|
|
248
250
|
degraded: Digest;
|
|
249
251
|
emptyLang: Digest;
|
|
250
252
|
missingOptional: Digest;
|
|
253
|
+
en: Digest;
|
|
251
254
|
releaseNormal: ReleaseDigest;
|
|
252
255
|
releaseDegraded: ReleaseDigest;
|
|
253
256
|
releaseEmpty: ReleaseDigest;
|