MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resolve

Function resolve

packages/plugins/openapi/src/sdk/spec-blob.test.ts:145–167  ·  view source on GitHub ↗
(config: IntegrationConfig)

Source from the content-addressed store, hash-verified

143 };
144
145 const resolve = (config: IntegrationConfig) =>
146 plugin.resolveTools!({
147 integration: {
148 slug: IntegrationSlug.make("pointer_api"),
149 name: "pointer",
150 description: "pointer",
151 kind: "openapi",
152 canRemove: true,
153 canRefresh: false,
154 authMethods: [],
155 },
156 config,
157 connection: {
158 owner: "org",
159 integration: IntegrationSlug.make("pointer_api"),
160 name: ConnectionName.make("main"),
161 },
162 template: null,
163 storage,
164 httpClientLayer: FetchHttpClient.layer,
165 getValue: () => Effect.succeed(null),
166 getValues: () => Effect.succeed({}),
167 });
168
169 const fromPointer = yield* resolve({ specHash: hash } as IntegrationConfig);
170 expect(fromPointer.tools.map((tool) => String(tool.name))).toContain("items.echoHeaders");

Callers 15

createSqliteTestFumaDbFunction · 0.85
vitest.config.tsFile · 0.85
spec-blob.test.tsFile · 0.85
real-specs.test.tsFile · 0.85
resolveExecutorDataDirFunction · 0.85
resolveSidecarCommandFunction · 0.85
resolveClientDirFunction · 0.85
smoke-sidecar.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected