GetDesignOptions
GetDesignOptions =
object
Defined in: packages/sdk/src/index.ts:23
Properties
Section titled “Properties”credentials?
Section titled “credentials?”
optionalcredentials?:GetDesignCredentials
Defined in: packages/sdk/src/index.ts:27
Request-scoped credentials for BYOK runs.
installI18nFonts?
Section titled “installI18nFonts?”
optionalinstallI18nFonts?:boolean
Defined in: packages/sdk/src/index.ts:31
Force or skip i18n font install. Auto-detected from URL TLD when omitted.
measurementMode?
Section titled “measurementMode?”
optionalmeasurementMode?:"cdp"|"visual"|"auto"
Defined in: packages/sdk/src/index.ts:33
Override measurement strategy. auto tries CDP first, then visual-stability.
runDesign?
Section titled “runDesign?”
optionalrunDesign?: (url,options?) =>Promise<RunDesignResult>
Defined in: packages/sdk/src/index.ts:38
Internal/testing seam. Defaults to the real local agent pipeline. Most callers should not pass this.
Parameters
Section titled “Parameters”string
options?
Section titled “options?”RunDesignOptions
Returns
Section titled “Returns”Promise<RunDesignResult>
siteName?
Section titled “siteName?”
optionalsiteName?:string
Defined in: packages/sdk/src/index.ts:25
Override the detected site name.
visualRequirement?
Section titled “visualRequirement?”
optionalvisualRequirement?:VisualRequirement
Defined in: packages/sdk/src/index.ts:29
Explicitly select text-only output; the default requires screenshots.