MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / addCandidate

Function addCandidate

crates/opencode-plugin/host/plugin-host.ts:267–269  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

265): Promise<unknown> {
266 const candidateUrls = new Set<string>();
267 const addCandidate = (url: string) => {
268 candidateUrls.add(url);
269 };
270
271 try {
272 const sdk = (await import("@opencode-ai/sdk")) as UnknownRecord;

Callers 2

addCandidatePathFunction · 0.85
addFromRequireFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected