Merge branch 'pr-1441' into integration/validation-batch

This commit is contained in:
Alex Newman
2026-04-06 14:18:28 -07:00
9 changed files with 247 additions and 305 deletions
@@ -186,7 +186,7 @@ export class SearchRoutes extends BaseRouteHandler {
session_id: 'preview-' + Date.now(),
cwd: cwd
},
true // useColors=true for ANSI terminal output
true // forHuman=true for ANSI terminal output
);
// Return as plain text
@@ -208,7 +208,7 @@ export class SearchRoutes extends BaseRouteHandler {
private handleContextInject = this.wrapHandler(async (req: Request, res: Response): Promise<void> => {
// Support both legacy `project` and new `projects` parameter
const projectsParam = (req.query.projects as string) || (req.query.project as string);
const useColors = req.query.colors === 'true';
const forHuman = req.query.colors === 'true';
const full = req.query.full === 'true';
if (!projectsParam) {
@@ -239,7 +239,7 @@ export class SearchRoutes extends BaseRouteHandler {
projects: projects,
full
},
useColors
forHuman
);
// Return as plain text