History

fix tests and typecheck

Rhys Sullivan committed 8 months ago

Commit c19b06c1 parent c82db0d1 file · +19 −15Browse files

Unified · Split

apps/executor/src/server/server.test.ts+19−15
@@ -22,7 +22,7 @@ import { · 21 unmodified lines
22 controlPlaneOpenApiSpec,22 controlPlaneOpenApiSpec,
23 type ControlPlaneClient,23 type ControlPlaneClient,
24 buildLocalSourceArtifact,24 buildLocalSourceArtifact,
25 catalogSyncResultFromMcpManifestEntries,25 catalogSyncResultFromMcpManifest,
26 deriveLocalInstallation,26 deriveLocalInstallation,
27 type ResolveExecutionEnvironment,27 type ResolveExecutionEnvironment,
28 resolveLocalWorkspaceContext,28 resolveLocalWorkspaceContext,
@@ -142,24 +142,28 @@ const writeConfiguredLocalMcpSource = (input: { · 113 unmodified lines
142 updatedAt: Date.now(),142 updatedAt: Date.now(),
143 };143 };
144 144
145 const syncResult = catalogSyncResultFromMcpManifestEntries({145 const syncResult = catalogSyncResultFromMcpManifest({
146 source,146 source,
147 endpoint: input.endpoint,147 endpoint: input.endpoint,
148 manifestEntries: [{148 manifest: {
149 toolId: "gated_echo",149 version: 2,
150 toolName: "gated_echo",150 server: null,
151 description: "Asks for approval before echoing a value",151 tools: [{
152 inputSchema: {152 toolId: "gated_echo",
153 type: "object",153 toolName: "gated_echo",
154 properties: {154 description: "Asks for approval before echoing a value",
155 value: {155 inputSchema: {
156 type: "string",156 type: "object",
157 properties: {
158 value: {
159 type: "string",
160 },
157 },161 },
162 required: ["value"],
163 additionalProperties: false,
158 },164 },
159 required: ["value"],165 }],
160 additionalProperties: false,166 },
161 },
162 }],
163 });167 });
164 168
165 yield* writeLocalSourceArtifact({169 yield* writeLocalSourceArtifact({