model-eol 0.2.4 → 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/README.md +117 -22
- package/action.yml +124 -9
- package/bot/bot.mjs +1371 -0
- package/bot/lib/common.mjs +122 -0
- package/bot/lib/config.mjs +1 -0
- package/bot/lib/eval.mjs +103 -0
- package/bot/lib/feeds.mjs +48 -0
- package/bot/lib/git.mjs +131 -0
- package/bot/lib/github.mjs +187 -0
- package/bot.yml.example +145 -0
- package/check.mjs +151 -17
- package/feeds/amazon.json +1 -1
- package/feeds/anthropic.json +1 -1
- package/feeds/google.json +88 -5
- package/feeds/openai.json +11 -26
- package/lib/config.mjs +258 -0
- package/lib/feeds.mjs +38 -4
- package/lib/glob.mjs +35 -0
- package/lib/plan.mjs +27 -8
- package/lib/reports.mjs +24 -7
- package/lib/scanner.mjs +247 -70
- package/package.json +8 -4
- package/schema/model-eol.bot-config.schema.json +73 -8
- package/schema/model-eol.inventory.schema.json +21 -0
- package/schema/model-eol.plan.schema.json +22 -0
|
@@ -31,6 +31,11 @@
|
|
|
31
31
|
"shutdown": { "type": "string" },
|
|
32
32
|
"days": { "type": "integer" },
|
|
33
33
|
"status": { "enum": ["retired", "retiring"] },
|
|
34
|
+
"requested_via": { "type": ["string", "null"] },
|
|
35
|
+
"threshold_days": { "type": "integer", "minimum": 0 },
|
|
36
|
+
"effective_scope": { "enum": ["all", "direct"] },
|
|
37
|
+
"policy_provenance": { "$ref": "#/definitions/policyProvenance" },
|
|
38
|
+
"mapped_from": { "type": "string", "minLength": 1 },
|
|
34
39
|
"sources": { "type": "array", "items": { "type": "string" } },
|
|
35
40
|
"notes": { "type": ["string", "null"] }
|
|
36
41
|
},
|
|
@@ -50,7 +55,12 @@
|
|
|
50
55
|
"status": { "enum": ["retired", "retiring", "scheduled", "watch", "ok"] },
|
|
51
56
|
"shutdown": { "type": ["string", "null"] },
|
|
52
57
|
"via": { "type": ["string", "null"] },
|
|
58
|
+
"requested_via": { "type": ["string", "null"] },
|
|
53
59
|
"days": { "type": ["integer", "null"] },
|
|
60
|
+
"threshold_days": { "type": "integer", "minimum": 0 },
|
|
61
|
+
"effective_scope": { "enum": ["all", "direct"] },
|
|
62
|
+
"policy_provenance": { "$ref": "#/definitions/policyProvenance" },
|
|
63
|
+
"mapped_from": { "type": "string", "minLength": 1 },
|
|
54
64
|
"replacement": { "type": ["string", "null"] },
|
|
55
65
|
"replacement_options": {
|
|
56
66
|
"type": "array",
|
|
@@ -77,6 +87,18 @@
|
|
|
77
87
|
"limit_files": { "type": "integer", "minimum": 0 }
|
|
78
88
|
},
|
|
79
89
|
"additionalProperties": false
|
|
90
|
+
},
|
|
91
|
+
"policyProvenance": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"required": ["override_indexes", "route_index"],
|
|
94
|
+
"properties": {
|
|
95
|
+
"override_indexes": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": { "type": "integer", "minimum": 0 }
|
|
98
|
+
},
|
|
99
|
+
"route_index": { "type": ["integer", "null"], "minimum": 0 }
|
|
100
|
+
},
|
|
101
|
+
"additionalProperties": false
|
|
80
102
|
}
|
|
81
103
|
}
|
|
82
104
|
}
|