chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-24 16:56:33 +00:00
parent e8e83afbce
commit 2684293291
2 changed files with 30 additions and 32 deletions
+6 -1
View File
@@ -392,7 +392,12 @@ export const layer = Layer.effect(
if (!listed) {
return yield* Effect.fail(new Error("Failed to get tools"))
}
return { mcpClient, status, defs: listed, instructions: mcpClient.getInstructions()?.trim() } satisfies CreateResult
return {
mcpClient,
status,
defs: listed,
instructions: mcpClient.getInstructions()?.trim(),
} satisfies CreateResult
}).pipe(
Effect.catchCause((cause) =>
Effect.tryPromise(() => mcpClient.close()).pipe(Effect.ignore, Effect.andThen(Effect.failCause(cause))),