MCPcopy
hub / github.com/anomalyco/opencode / compose

Function compose

packages/app/src/utils/server-scope.ts:15–17  ·  view source on GitHub ↗
(scope: ServerScope, parts: string[])

Source from the content-addressed store, hash-verified

13}
14
15function compose(scope: ServerScope, parts: string[]) {
16 return [fragment("Server scope", scope), ...parts.map((part) => fragment("Scoped key part", part))].join(separator)
17}
18
19export const ServerScope = {
20 local: "local" as ServerScope,

Callers 1

fromFunction · 0.70

Calls 1

fragmentFunction · 0.85

Tested by

no test coverage detected