MCPcopy Create free account
hub / github.com/different-ai/opencode-browser / readExtensionManifest

Function readExtensionManifest

bin/cli.js:114–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114function readExtensionManifest() {
115 try {
116 if (!existsSync(EXTENSION_MANIFEST_PATH)) return null;
117 return JSON.parse(readFileSync(EXTENSION_MANIFEST_PATH, "utf-8"));
118 } catch {
119 return null;
120 }
121}
122
123function computeExtensionIdFromKey(key) {
124 try {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected