@morehao/trendradar-contract 0.2.0 → 0.4.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 +69 -0
- package/README.md +39 -9
- package/fixtures/release-degraded.json +33 -0
- package/fixtures/release-empty.json +10 -0
- package/fixtures/release-normal.json +59 -0
- package/fixtures/release-weekly.json +47 -0
- package/fixtures/subscription-doc-normal.json +22 -0
- package/fixtures/subscriptions-40.json +366 -0
- package/fixtures/subscriptions-normal.json +49 -0
- package/gen/ts/index.d.ts +139 -3
- package/gen/ts/index.js +1273 -6
- package/package.json +2 -3
- package/schema/api.v2.yaml +118 -4
- package/schema/ipc.v2.json +425 -42
- package/schema/releases.v2.json +416 -0
- package/version-map.json +55 -6
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repos": [
|
|
3
|
+
"vercel/repo-01",
|
|
4
|
+
"infiniflow/repo-02",
|
|
5
|
+
"deepseek-ai/repo-03",
|
|
6
|
+
"charmbracelet/repo-04",
|
|
7
|
+
"golang/repo-05",
|
|
8
|
+
"rust-lang/repo-06",
|
|
9
|
+
"microsoft/repo-07",
|
|
10
|
+
"google/repo-08",
|
|
11
|
+
"facebook/repo-09",
|
|
12
|
+
"kubernetes/repo-10",
|
|
13
|
+
"docker/repo-11",
|
|
14
|
+
"hashicorp/repo-12",
|
|
15
|
+
"grafana/repo-13",
|
|
16
|
+
"prometheus/repo-14",
|
|
17
|
+
"istio/repo-15",
|
|
18
|
+
"envoyproxy/repo-16",
|
|
19
|
+
"containerd/repo-17",
|
|
20
|
+
"etcd-io/repo-18",
|
|
21
|
+
"cilium/repo-19",
|
|
22
|
+
"helm/repo-20",
|
|
23
|
+
"argoproj/repo-21",
|
|
24
|
+
"fluxcd/repo-22",
|
|
25
|
+
"open-telemetry/repo-23",
|
|
26
|
+
"grpc/repo-24",
|
|
27
|
+
"protocolbuffers/repo-25",
|
|
28
|
+
"nats-io/repo-26",
|
|
29
|
+
"redis/repo-27",
|
|
30
|
+
"valkey-io/repo-28",
|
|
31
|
+
"apache/repo-29",
|
|
32
|
+
"elastic/repo-30",
|
|
33
|
+
"mozilla/repo-31",
|
|
34
|
+
"nodejs/repo-32",
|
|
35
|
+
"denoland/repo-33",
|
|
36
|
+
"oven-sh/repo-34",
|
|
37
|
+
"pytorch/repo-35",
|
|
38
|
+
"huggingface/repo-36",
|
|
39
|
+
"langchain-ai/repo-37",
|
|
40
|
+
"ollama/repo-38",
|
|
41
|
+
"ggerganov/repo-39",
|
|
42
|
+
"mudler/repo-40"
|
|
43
|
+
],
|
|
44
|
+
"items": [
|
|
45
|
+
{
|
|
46
|
+
"fullName": "vercel/repo-01",
|
|
47
|
+
"url": "https://github.com/vercel/repo-01",
|
|
48
|
+
"latestTag": "v0.0.0",
|
|
49
|
+
"latestSummaryAt": "2026-11-01",
|
|
50
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
51
|
+
"status": "ok"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"fullName": "infiniflow/repo-02",
|
|
55
|
+
"url": "https://github.com/infiniflow/repo-02",
|
|
56
|
+
"latestTag": "v1.1.1",
|
|
57
|
+
"latestSummaryAt": "2026-11-01",
|
|
58
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
59
|
+
"status": "no_change"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"fullName": "deepseek-ai/repo-03",
|
|
63
|
+
"url": "https://github.com/deepseek-ai/repo-03",
|
|
64
|
+
"latestTag": "v2.2.2",
|
|
65
|
+
"latestSummaryAt": "2026-11-01",
|
|
66
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
67
|
+
"status": "baseline"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"fullName": "charmbracelet/repo-04",
|
|
71
|
+
"url": "https://github.com/charmbracelet/repo-04",
|
|
72
|
+
"latestTag": "v3.3.0",
|
|
73
|
+
"latestSummaryAt": "2026-11-01",
|
|
74
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
75
|
+
"status": "rate_limited"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"fullName": "golang/repo-05",
|
|
79
|
+
"url": "https://github.com/golang/repo-05",
|
|
80
|
+
"latestTag": "v4.4.1",
|
|
81
|
+
"latestSummaryAt": "2026-11-01",
|
|
82
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
83
|
+
"status": "failed"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"fullName": "rust-lang/repo-06",
|
|
87
|
+
"url": "https://github.com/rust-lang/repo-06",
|
|
88
|
+
"latestTag": "v5.0.2",
|
|
89
|
+
"latestSummaryAt": "2026-11-01",
|
|
90
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
91
|
+
"status": "ok"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"fullName": "microsoft/repo-07",
|
|
95
|
+
"url": "https://github.com/microsoft/repo-07",
|
|
96
|
+
"latestTag": "v6.1.0",
|
|
97
|
+
"latestSummaryAt": "2026-11-01",
|
|
98
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
99
|
+
"status": "no_change"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"fullName": "google/repo-08",
|
|
103
|
+
"url": "https://github.com/google/repo-08",
|
|
104
|
+
"latestTag": "v7.2.1",
|
|
105
|
+
"latestSummaryAt": "2026-11-01",
|
|
106
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
107
|
+
"status": "baseline"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"fullName": "facebook/repo-09",
|
|
111
|
+
"url": "https://github.com/facebook/repo-09",
|
|
112
|
+
"latestTag": "v8.3.2",
|
|
113
|
+
"latestSummaryAt": "2026-11-01",
|
|
114
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
115
|
+
"status": "rate_limited"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"fullName": "kubernetes/repo-10",
|
|
119
|
+
"url": "https://github.com/kubernetes/repo-10",
|
|
120
|
+
"latestTag": "v0.4.0",
|
|
121
|
+
"latestSummaryAt": "2026-11-01",
|
|
122
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
123
|
+
"status": "failed"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"fullName": "docker/repo-11",
|
|
127
|
+
"url": "https://github.com/docker/repo-11",
|
|
128
|
+
"latestTag": "v1.0.1",
|
|
129
|
+
"latestSummaryAt": "2026-11-01",
|
|
130
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
131
|
+
"status": "ok"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"fullName": "hashicorp/repo-12",
|
|
135
|
+
"url": "https://github.com/hashicorp/repo-12",
|
|
136
|
+
"latestTag": "v2.1.2",
|
|
137
|
+
"latestSummaryAt": "2026-11-01",
|
|
138
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
139
|
+
"status": "no_change"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"fullName": "grafana/repo-13",
|
|
143
|
+
"url": "https://github.com/grafana/repo-13",
|
|
144
|
+
"latestTag": "v3.2.0",
|
|
145
|
+
"latestSummaryAt": "2026-11-01",
|
|
146
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
147
|
+
"status": "baseline"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"fullName": "prometheus/repo-14",
|
|
151
|
+
"url": "https://github.com/prometheus/repo-14",
|
|
152
|
+
"latestTag": "v4.3.1",
|
|
153
|
+
"latestSummaryAt": "2026-11-01",
|
|
154
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
155
|
+
"status": "rate_limited"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"fullName": "istio/repo-15",
|
|
159
|
+
"url": "https://github.com/istio/repo-15",
|
|
160
|
+
"latestTag": "v5.4.2",
|
|
161
|
+
"latestSummaryAt": "2026-11-01",
|
|
162
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
163
|
+
"status": "failed"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"fullName": "envoyproxy/repo-16",
|
|
167
|
+
"url": "https://github.com/envoyproxy/repo-16",
|
|
168
|
+
"latestTag": "v6.0.0",
|
|
169
|
+
"latestSummaryAt": "2026-11-01",
|
|
170
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
171
|
+
"status": "ok"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"fullName": "containerd/repo-17",
|
|
175
|
+
"url": "https://github.com/containerd/repo-17",
|
|
176
|
+
"latestTag": "v7.1.1",
|
|
177
|
+
"latestSummaryAt": "2026-11-01",
|
|
178
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
179
|
+
"status": "no_change"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"fullName": "etcd-io/repo-18",
|
|
183
|
+
"url": "https://github.com/etcd-io/repo-18",
|
|
184
|
+
"latestTag": "v8.2.2",
|
|
185
|
+
"latestSummaryAt": "2026-11-01",
|
|
186
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
187
|
+
"status": "baseline"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"fullName": "cilium/repo-19",
|
|
191
|
+
"url": "https://github.com/cilium/repo-19",
|
|
192
|
+
"latestTag": "v0.3.0",
|
|
193
|
+
"latestSummaryAt": "2026-11-01",
|
|
194
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
195
|
+
"status": "rate_limited"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"fullName": "helm/repo-20",
|
|
199
|
+
"url": "https://github.com/helm/repo-20",
|
|
200
|
+
"latestTag": "v1.4.1",
|
|
201
|
+
"latestSummaryAt": "2026-11-01",
|
|
202
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
203
|
+
"status": "failed"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"fullName": "argoproj/repo-21",
|
|
207
|
+
"url": "https://github.com/argoproj/repo-21",
|
|
208
|
+
"latestTag": "v2.0.2",
|
|
209
|
+
"latestSummaryAt": "2026-11-01",
|
|
210
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
211
|
+
"status": "ok"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"fullName": "fluxcd/repo-22",
|
|
215
|
+
"url": "https://github.com/fluxcd/repo-22",
|
|
216
|
+
"latestTag": "v3.1.0",
|
|
217
|
+
"latestSummaryAt": "2026-11-01",
|
|
218
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
219
|
+
"status": "no_change"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"fullName": "open-telemetry/repo-23",
|
|
223
|
+
"url": "https://github.com/open-telemetry/repo-23",
|
|
224
|
+
"latestTag": "v4.2.1",
|
|
225
|
+
"latestSummaryAt": "2026-11-01",
|
|
226
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
227
|
+
"status": "baseline"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"fullName": "grpc/repo-24",
|
|
231
|
+
"url": "https://github.com/grpc/repo-24",
|
|
232
|
+
"latestTag": "v5.3.2",
|
|
233
|
+
"latestSummaryAt": "2026-11-01",
|
|
234
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
235
|
+
"status": "rate_limited"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"fullName": "protocolbuffers/repo-25",
|
|
239
|
+
"url": "https://github.com/protocolbuffers/repo-25",
|
|
240
|
+
"latestTag": "v6.4.0",
|
|
241
|
+
"latestSummaryAt": "2026-11-01",
|
|
242
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
243
|
+
"status": "failed"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"fullName": "nats-io/repo-26",
|
|
247
|
+
"url": "https://github.com/nats-io/repo-26",
|
|
248
|
+
"latestTag": "v7.0.1",
|
|
249
|
+
"latestSummaryAt": "2026-11-01",
|
|
250
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
251
|
+
"status": "ok"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"fullName": "redis/repo-27",
|
|
255
|
+
"url": "https://github.com/redis/repo-27",
|
|
256
|
+
"latestTag": "v8.1.2",
|
|
257
|
+
"latestSummaryAt": "2026-11-01",
|
|
258
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
259
|
+
"status": "no_change"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"fullName": "valkey-io/repo-28",
|
|
263
|
+
"url": "https://github.com/valkey-io/repo-28",
|
|
264
|
+
"latestTag": "v0.2.0",
|
|
265
|
+
"latestSummaryAt": "2026-11-01",
|
|
266
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
267
|
+
"status": "baseline"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"fullName": "apache/repo-29",
|
|
271
|
+
"url": "https://github.com/apache/repo-29",
|
|
272
|
+
"latestTag": "v1.3.1",
|
|
273
|
+
"latestSummaryAt": "2026-11-01",
|
|
274
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
275
|
+
"status": "rate_limited"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"fullName": "elastic/repo-30",
|
|
279
|
+
"url": "https://github.com/elastic/repo-30",
|
|
280
|
+
"latestTag": "v2.4.2",
|
|
281
|
+
"latestSummaryAt": "2026-11-01",
|
|
282
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
283
|
+
"status": "failed"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"fullName": "mozilla/repo-31",
|
|
287
|
+
"url": "https://github.com/mozilla/repo-31",
|
|
288
|
+
"latestTag": "v3.0.0",
|
|
289
|
+
"latestSummaryAt": "2026-11-01",
|
|
290
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
291
|
+
"status": "ok"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"fullName": "nodejs/repo-32",
|
|
295
|
+
"url": "https://github.com/nodejs/repo-32",
|
|
296
|
+
"latestTag": "v4.1.1",
|
|
297
|
+
"latestSummaryAt": "2026-11-01",
|
|
298
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
299
|
+
"status": "no_change"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"fullName": "denoland/repo-33",
|
|
303
|
+
"url": "https://github.com/denoland/repo-33",
|
|
304
|
+
"latestTag": "v5.2.2",
|
|
305
|
+
"latestSummaryAt": "2026-11-01",
|
|
306
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
307
|
+
"status": "baseline"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"fullName": "oven-sh/repo-34",
|
|
311
|
+
"url": "https://github.com/oven-sh/repo-34",
|
|
312
|
+
"latestTag": "v6.3.0",
|
|
313
|
+
"latestSummaryAt": "2026-11-01",
|
|
314
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
315
|
+
"status": "rate_limited"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"fullName": "pytorch/repo-35",
|
|
319
|
+
"url": "https://github.com/pytorch/repo-35",
|
|
320
|
+
"latestTag": "v7.4.1",
|
|
321
|
+
"latestSummaryAt": "2026-11-01",
|
|
322
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
323
|
+
"status": "failed"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"fullName": "huggingface/repo-36",
|
|
327
|
+
"url": "https://github.com/huggingface/repo-36",
|
|
328
|
+
"latestTag": "v8.0.2",
|
|
329
|
+
"latestSummaryAt": "2026-11-01",
|
|
330
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
331
|
+
"status": "ok"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"fullName": "langchain-ai/repo-37",
|
|
335
|
+
"url": "https://github.com/langchain-ai/repo-37",
|
|
336
|
+
"latestTag": "v0.1.0",
|
|
337
|
+
"latestSummaryAt": "2026-11-01",
|
|
338
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
339
|
+
"status": "no_change"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"fullName": "ollama/repo-38",
|
|
343
|
+
"url": "https://github.com/ollama/repo-38",
|
|
344
|
+
"latestTag": "v1.2.1",
|
|
345
|
+
"latestSummaryAt": "2026-11-01",
|
|
346
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
347
|
+
"status": "baseline"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"fullName": "ggerganov/repo-39",
|
|
351
|
+
"url": "https://github.com/ggerganov/repo-39",
|
|
352
|
+
"latestTag": "v2.3.2",
|
|
353
|
+
"latestSummaryAt": "2026-11-01",
|
|
354
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
355
|
+
"status": "rate_limited"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"fullName": "mudler/repo-40",
|
|
359
|
+
"url": "https://github.com/mudler/repo-40",
|
|
360
|
+
"latestTag": "v3.4.0",
|
|
361
|
+
"latestSummaryAt": "2026-11-01",
|
|
362
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z",
|
|
363
|
+
"status": "failed"
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repos": [
|
|
3
|
+
"vercel/next.js",
|
|
4
|
+
"infiniflow/ragflow",
|
|
5
|
+
"deepseek-ai/deepseek-harness",
|
|
6
|
+
"charmbracelet/bubbletea",
|
|
7
|
+
"golang/go"
|
|
8
|
+
],
|
|
9
|
+
"items": [
|
|
10
|
+
{
|
|
11
|
+
"fullName": "vercel/next.js",
|
|
12
|
+
"url": "https://github.com/vercel/next.js",
|
|
13
|
+
"status": "ok",
|
|
14
|
+
"latestTag": "v15.2.0",
|
|
15
|
+
"latestSummaryAt": "2026-11-01",
|
|
16
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"fullName": "infiniflow/ragflow",
|
|
20
|
+
"url": "https://github.com/infiniflow/ragflow",
|
|
21
|
+
"status": "no_change",
|
|
22
|
+
"latestTag": "v1.0.0-rc3",
|
|
23
|
+
"latestSummaryAt": "2026-10-25",
|
|
24
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"fullName": "deepseek-ai/deepseek-harness",
|
|
28
|
+
"url": "https://github.com/deepseek-ai/deepseek-harness",
|
|
29
|
+
"status": "baseline",
|
|
30
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"fullName": "charmbracelet/bubbletea",
|
|
34
|
+
"url": "https://github.com/charmbracelet/bubbletea",
|
|
35
|
+
"status": "rate_limited",
|
|
36
|
+
"latestTag": "v0.2.2",
|
|
37
|
+
"latestSummaryAt": "2026-10-25",
|
|
38
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"fullName": "golang/go",
|
|
42
|
+
"url": "https://github.com/golang/go",
|
|
43
|
+
"status": "failed",
|
|
44
|
+
"latestTag": "v0.2.2",
|
|
45
|
+
"latestSummaryAt": "2026-10-25",
|
|
46
|
+
"lastCheckedAt": "2026-11-01T00:30:00Z"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
package/gen/ts/index.d.ts
CHANGED
|
@@ -38,17 +38,21 @@ export interface FileArtifact {
|
|
|
38
38
|
|
|
39
39
|
export interface RunRequest {
|
|
40
40
|
"ipcSchema": 2;
|
|
41
|
-
"command": "run" | "serve" | "config" | "version";
|
|
41
|
+
"command": "run" | "serve" | "config" | "version" | "subscribe";
|
|
42
42
|
"configPath"?: string;
|
|
43
43
|
"date"?: string;
|
|
44
44
|
"dryRun"?: boolean;
|
|
45
45
|
"outputDir"?: string;
|
|
46
|
+
"action"?: "list" | "add" | "remove" | "releases";
|
|
47
|
+
"repo"?: string;
|
|
48
|
+
"volume"?: number;
|
|
49
|
+
"stages"?: Array<"trending" | "digest" | "releases">;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
export interface RunResult {
|
|
49
53
|
"ipcSchema": 2;
|
|
50
54
|
"ok": boolean;
|
|
51
|
-
"command": "run" | "serve" | "config" | "version";
|
|
55
|
+
"command": "run" | "serve" | "config" | "version" | "subscribe";
|
|
52
56
|
"startedAt": string;
|
|
53
57
|
"finishedAt": string;
|
|
54
58
|
"skipped": boolean;
|
|
@@ -59,6 +63,23 @@ export interface RunResult {
|
|
|
59
63
|
"contentHash"?: string;
|
|
60
64
|
"error"?: ErrorInfo;
|
|
61
65
|
"warnings"?: Array<string>;
|
|
66
|
+
"usage"?: Usage;
|
|
67
|
+
"releases"?: ReleasesReport;
|
|
68
|
+
"subscriptions"?: SubscriptionList;
|
|
69
|
+
"subscriptionDoc"?: SubscriptionDoc;
|
|
70
|
+
[k: string]: unknown;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface Usage {
|
|
74
|
+
"promptTokens": number;
|
|
75
|
+
"completionTokens": number;
|
|
76
|
+
"totalTokens": number;
|
|
77
|
+
"cachedTokens": number;
|
|
78
|
+
"usageKnown": boolean;
|
|
79
|
+
"calls": number;
|
|
80
|
+
"retries": number;
|
|
81
|
+
"batches": number;
|
|
82
|
+
"cacheHits": number;
|
|
62
83
|
[k: string]: unknown;
|
|
63
84
|
}
|
|
64
85
|
|
|
@@ -77,6 +98,96 @@ export interface State {
|
|
|
77
98
|
[k: string]: unknown;
|
|
78
99
|
}
|
|
79
100
|
|
|
101
|
+
export interface ReleaseItem {
|
|
102
|
+
"id": number;
|
|
103
|
+
"tag": string;
|
|
104
|
+
"name": string;
|
|
105
|
+
"kind": "release" | "tag";
|
|
106
|
+
"publishedAt"?: string;
|
|
107
|
+
"url": string;
|
|
108
|
+
"prerelease": boolean;
|
|
109
|
+
"draft": boolean;
|
|
110
|
+
"bodyExcerpt"?: string;
|
|
111
|
+
"summaryZh"?: string;
|
|
112
|
+
"summarySource": "model" | "original";
|
|
113
|
+
[k: string]: unknown;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface RepoReleases {
|
|
117
|
+
"fullName": string;
|
|
118
|
+
"url": string;
|
|
119
|
+
"latestTag": string;
|
|
120
|
+
"newCount": number;
|
|
121
|
+
"periodStart"?: string;
|
|
122
|
+
"periodEnd"?: string;
|
|
123
|
+
"summaryZh"?: string;
|
|
124
|
+
"releases": Array<ReleaseItem>;
|
|
125
|
+
[k: string]: unknown;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface ReleasesReport {
|
|
129
|
+
"enabled": boolean;
|
|
130
|
+
"repos": number;
|
|
131
|
+
"checked": number;
|
|
132
|
+
"changed": number;
|
|
133
|
+
"newReleases": number;
|
|
134
|
+
"summarized"?: number;
|
|
135
|
+
"degraded"?: number;
|
|
136
|
+
"failed"?: number;
|
|
137
|
+
"rateLimited"?: number;
|
|
138
|
+
"skipped"?: number;
|
|
139
|
+
"truncated"?: number;
|
|
140
|
+
"historyTruncated"?: number;
|
|
141
|
+
"durationMs": number;
|
|
142
|
+
"usage": Usage;
|
|
143
|
+
[k: string]: unknown;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface ReleaseManifestEntry {
|
|
147
|
+
"date": string;
|
|
148
|
+
"period": "daily" | "weekly" | "monthly";
|
|
149
|
+
"count": number;
|
|
150
|
+
"degraded"?: boolean;
|
|
151
|
+
"contentHash": string;
|
|
152
|
+
[k: string]: unknown;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export type SubscriptionStatus = "baseline" | "ok" | "no_change" | "rate_limited" | "failed";
|
|
156
|
+
|
|
157
|
+
export interface SubscriptionItem {
|
|
158
|
+
"fullName": string;
|
|
159
|
+
"url"?: string;
|
|
160
|
+
"latestTag"?: string;
|
|
161
|
+
"latestSummaryAt"?: string;
|
|
162
|
+
"lastCheckedAt"?: string;
|
|
163
|
+
"status": SubscriptionStatus;
|
|
164
|
+
[k: string]: unknown;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export interface SubscriptionList {
|
|
168
|
+
"repos": Array<string>;
|
|
169
|
+
"items"?: Array<SubscriptionItem>;
|
|
170
|
+
[k: string]: unknown;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export interface SubscriptionVolume {
|
|
174
|
+
"index": number;
|
|
175
|
+
"file": string;
|
|
176
|
+
"from"?: string;
|
|
177
|
+
"to"?: string;
|
|
178
|
+
"lines"?: number;
|
|
179
|
+
[k: string]: unknown;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface SubscriptionDoc {
|
|
183
|
+
"fullName": string;
|
|
184
|
+
"volume": number;
|
|
185
|
+
"volumes"?: Array<SubscriptionVolume>;
|
|
186
|
+
"updatedAt"?: string;
|
|
187
|
+
"markdown": string;
|
|
188
|
+
[k: string]: unknown;
|
|
189
|
+
}
|
|
190
|
+
|
|
80
191
|
export interface ErrorMeta {
|
|
81
192
|
"retriable": boolean;
|
|
82
193
|
"description": string;
|
|
@@ -97,6 +208,20 @@ export interface Digest {
|
|
|
97
208
|
[k: string]: unknown;
|
|
98
209
|
}
|
|
99
210
|
|
|
211
|
+
export interface ReleaseDigest {
|
|
212
|
+
"schema": 2;
|
|
213
|
+
"date": string;
|
|
214
|
+
"period": "daily" | "weekly" | "monthly";
|
|
215
|
+
"contentHash": string;
|
|
216
|
+
"contentHashAlgo": "jcs-sha256-v1";
|
|
217
|
+
"coreVersion"?: string;
|
|
218
|
+
"generatedAt"?: string;
|
|
219
|
+
"count": number;
|
|
220
|
+
"degraded": boolean;
|
|
221
|
+
"repos": Array<RepoReleases>;
|
|
222
|
+
[k: string]: unknown;
|
|
223
|
+
}
|
|
224
|
+
|
|
100
225
|
export interface VersionInfo {
|
|
101
226
|
"version": string;
|
|
102
227
|
"commit": string;
|
|
@@ -114,13 +239,24 @@ export declare const fixtures: {
|
|
|
114
239
|
degraded: Digest;
|
|
115
240
|
emptyLang: Digest;
|
|
116
241
|
missingOptional: Digest;
|
|
242
|
+
releaseNormal: ReleaseDigest;
|
|
243
|
+
releaseDegraded: ReleaseDigest;
|
|
244
|
+
releaseEmpty: ReleaseDigest;
|
|
245
|
+
releaseWeekly: ReleaseDigest;
|
|
246
|
+
subscriptionsNormal: SubscriptionList;
|
|
247
|
+
subscriptions40: SubscriptionList;
|
|
248
|
+
subscriptionDocNormal: SubscriptionDoc;
|
|
117
249
|
};
|
|
118
250
|
export declare const validators: {
|
|
119
251
|
runRequest: (value: unknown) => boolean;
|
|
120
252
|
runResult: (value: unknown) => boolean;
|
|
121
253
|
digest: (value: unknown) => boolean;
|
|
254
|
+
releases: (value: unknown) => boolean;
|
|
255
|
+
releasesReport: (value: unknown) => boolean;
|
|
256
|
+
subscriptionList: (value: unknown) => boolean;
|
|
257
|
+
subscriptionDoc: (value: unknown) => boolean;
|
|
122
258
|
versionInfo: (value: unknown) => boolean;
|
|
123
259
|
};
|
|
124
260
|
export declare const rawSchema: {
|
|
125
|
-
model: object; ipc: object; digest: object; errors: object; versionInfo: object; api: string;
|
|
261
|
+
model: object; ipc: object; digest: object; releases: object; errors: object; versionInfo: object; api: string;
|
|
126
262
|
};
|