MCPcopy Create free account
hub / github.com/anomalyco/opencode / project

Function project

packages/core/src/integration.ts:303–309  ·  view source on GitHub ↗
(entry: Entry, connections: IntegrationConnection.Info[])

Source from the content-addressed store, hash-verified

301 }
302
303 const project = (entry: Entry, connections: IntegrationConnection.Info[]) =>
304 new Info({
305 id: entry.ref.id,
306 name: entry.ref.name,
307 methods: entry.methods,
308 connections,
309 })
310
311 const authorize = <A, E, R>(effect: Effect.Effect<A, E, R>) =>
312 effect.pipe(Effect.mapError((cause) => new AuthorizationError({ cause })))

Callers 1

integration.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected