We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0747699 commit b994978Copy full SHA for b994978
packages/cli-v3/src/mcp/formatters.ts
@@ -230,7 +230,7 @@ function formatSpan(
230
}
231
232
// Show output if it exists
233
- if (span.data.output && Object.keys(span.data.output).length > 0) {
+ if (span.data.output) {
234
lines.push(
235
`${indent} Output: ${JSON.stringify(span.data.output, null, 2).replace(
236
/\n/g,
packages/core/src/v3/schemas/api.ts
@@ -1245,7 +1245,7 @@ export const RetrieveRunTraceSpanSchema = z.object({
1245
queueName: z.string().optional(),
1246
machinePreset: z.string().optional(),
1247
properties: z.record(z.any()).optional(),
1248
- output: z.record(z.any()).optional(),
+ output: z.unknown().optional(),
1249
}),
1250
});
1251
0 commit comments