MCPcopy Create free account
hub / github.com/pingdotgg/t3code / loadOpenCodeInventory

Function loadOpenCodeInventory

apps/server/src/provider/opencodeRuntime.ts:540–543  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

538 );
539
540 const loadOpenCodeInventory: OpenCodeRuntimeShape["loadOpenCodeInventory"] = (client) =>
541 Effect.all([loadProviders(client), loadAgents(client)], { concurrency: "unbounded" }).pipe(
542 Effect.map(([providerList, agents]) => ({ providerList, agents })),
543 );
544
545 return {
546 startOpenCodeServerProcess,

Callers

nothing calls this directly

Calls 2

loadAgentsFunction · 0.85
loadProvidersFunction · 0.70

Tested by

no test coverage detected