refactor(media): move sharp image ops into media runtime (#71519)

* refactor(media): move sharp image ops into plugin

* fix(media): pass image pixel budget to sharp plugin

* refactor(media): reuse media understanding sharp runtime

* test(build): allow staged runtime core graphs
This commit is contained in:
Vincent Koc
2026-04-25 04:31:10 -07:00
committed by GitHub
parent b2b898c2a8
commit e174d96cc0
9 changed files with 255 additions and 75 deletions

View File

@@ -164,8 +164,9 @@
"risk": ["version-parser"]
},
"sharp": {
"owner": "capability:image-ops",
"class": "default-runtime-initially",
"owner": "plugin:media-understanding-core",
"class": "plugin-runtime",
"activation": ["media-understanding-core.image-ops"],
"risk": ["native", "parser", "untrusted-files"]
},
"sqlite-vec": {
@@ -193,6 +194,11 @@
"class": "core-runtime",
"risk": ["network"]
},
"web-push": {
"owner": "core:web-push",
"class": "core-runtime",
"risk": ["network", "push-notifications", "crypto"]
},
"ws": {
"owner": "core:gateway-websocket",
"class": "core-runtime",