Skip to content

Commit 353523d

Browse files
hkaltaiclaude
andcommitted
style: indent the passthrough condition as Prettier does
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent e80cf4c commit 353523d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • packages/opencode/src/altimate/mcp-server

‎packages/opencode/src/altimate/mcp-server/server.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ export async function createServer(options: ServeOptions = {}) {
228228
// Tools outside the declared set may still hand over a structured result of their own, held to
229229
// the same cap: past it only the text goes.
230230
...(structured &&
231-
typeof structured === "object" &&
232-
!isError &&
233-
!STRUCTURED_TOOLS.has(request.params.name) &&
234-
Buffer.byteLength(JSON.stringify(structured)) <= STRUCTURED_MAX_BYTES
231+
typeof structured === "object" &&
232+
!isError &&
233+
!STRUCTURED_TOOLS.has(request.params.name) &&
234+
Buffer.byteLength(JSON.stringify(structured)) <= STRUCTURED_MAX_BYTES
235235
? { structuredContent: structured as Record<string, unknown> }
236236
: {}),
237237
isError,

0 commit comments

Comments
 (0)