MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/tools/stagehand/agent/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { Stagehand as StagehandType } from '@browserbasehq/stagehand'
2import { createLogger } from '@sim/logger'
3import { getErrorMessage } from '@sim/utils/errors'
4import { type NextRequest, NextResponse } from 'next/server'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
checkInternalAuthFunction · 0.90
parseRequestFunction · 0.90
normalizeUrlFunction · 0.90
validateUrlWithDNSFunction · 0.90
isSensitiveKeyFunction · 0.90
ensureZodObjectFunction · 0.90
getErrorMessageFunction · 0.90
processVariablesFunction · 0.85
substituteVariablesFunction · 0.85

Tested by

no test coverage detected