model-eol 0.7.0 → 0.8.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/README.md +20 -1
- package/SPEC.md +1 -0
- package/bot/bot.mjs +60 -4
- package/bot/lib/common.mjs +10 -2
- package/bot/lib/eval.mjs +4 -1
- package/check.mjs +2 -1
- package/feeds/anthropic.json +90 -34
- package/feeds/cohere.json +23 -23
- package/feeds/mistral.json +52 -52
- package/feeds/openai.json +236 -84
- package/lib/feeds.mjs +23 -0
- package/lib/reports.mjs +10 -1
- package/package.json +1 -1
- package/schema/model-eol.bot-config.schema.json +1 -1
package/lib/reports.mjs
CHANGED
|
@@ -40,7 +40,16 @@ const waiverTail = finding => !finding.waiver
|
|
|
40
40
|
? ` [waived until ${finding.waiver.expires} by ${finding.waiver.owner}: ${finding.waiver.reason}]`
|
|
41
41
|
: ` [waiver expired on ${finding.waiver.expires}; owner ${finding.waiver.owner}: ${finding.waiver.reason}]`
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
const captureTail = finding => {
|
|
44
|
+
if (!['retiring', 'retired'].includes(finding.status) || !finding.capture?.alternatives?.length) return ''
|
|
45
|
+
const alternatives = finding.capture.alternatives.map(alternative => {
|
|
46
|
+
const until = ['tentative', 'earliest'].includes(alternative.date_precision) ? 'at least until' : 'until'
|
|
47
|
+
return `via ${alternative.via} ${until} ${alternative.until}`
|
|
48
|
+
})
|
|
49
|
+
return ` [still answers ${alternatives.join(', ')}]`
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export const findingTail = (finding, days) => `${lifecycleTail(finding, days)}${waiverTail(finding)}${captureTail(finding)}`
|
|
44
53
|
|
|
45
54
|
const statusStyle = finding =>
|
|
46
55
|
finding.waiver?.active === true ? 'yellow' :
|
package/package.json
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"type": ["string", "null"],
|
|
94
94
|
"minLength": 1,
|
|
95
95
|
"default": null,
|
|
96
|
-
"description": "Opt-in repository-owned command run independently for each patchable migration only in the read-only evaluate phase. Write-capable publication consumes its commit-bound result manifest and never executes this command."
|
|
96
|
+
"description": "Opt-in repository-owned command run independently for each patchable migration only in the read-only evaluate phase. Receives MODEL_EOL_OLD_ID, MODEL_EOL_NEW_ID, MODEL_EOL_PLAN, MODEL_EOL_REPORT, MODEL_EOL_VIA, and MODEL_EOL_EVAL_MODE. Write-capable publication consumes its commit-bound result manifest and never executes this command."
|
|
97
97
|
},
|
|
98
98
|
"timeout_ms": {
|
|
99
99
|
"type": "integer",
|