MCPcopy Create free account
hub / github.com/alibaba/open-code-review / pluginEntries

Function pluginEntries

scripts/github-actions/check-plugin-contract.js:125–128  ·  view source on GitHub ↗
(json)

Source from the content-addressed store, hash-verified

123// or are dropped, which the callers report as "lists no installable plugin
124// source" instead of crashing.
125function pluginEntries(json) {
126 if (!json || !Array.isArray(json.plugins)) return [];
127 return json.plugins.filter((p) => p && typeof p === "object");
128}
129
130// Path-declaring fields inside the plugin manifests themselves.
131//

Calls

no outgoing calls