MCPcopy Create free account
hub / github.com/Noumena-Network/code / buildSession

Function buildSession

src/utils/commandAvailability.test.ts:12–22  ·  view source on GitHub ↗
(overrides: Partial<any> = {})

Source from the content-addressed store, hash-verified

10let firstPartyBaseUrl = true
11
12function buildSession(overrides: Partial<any> = {}) {
13 return {
14 headersKind: 'none',
15 principalSource: 'none',
16 providerPlan: {
17 mode: 'none',
18 },
19 scopes: [],
20 ...overrides,
21 }
22}
23
24function meetsAvailabilityRequirement(availability: string[]) {
25 return meetsAvailabilityRequirementForContext(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected