SYMBOL INDEX (247 symbols across 32 files) FILE: example-workflows/flux/img2img.ts type InputType (line 90) | type InputType = z.infer; function generateWorkflow (line 92) | function generateWorkflow(input: InputType): ComfyPrompt { FILE: example-workflows/flux/txt2img.ts type InputType (line 68) | type InputType = z.infer; function generateWorkflow (line 70) | function generateWorkflow(input: InputType): ComfyPrompt { FILE: example-workflows/sd1.5/img2img.js function generateWorkflow (line 94) | function generateWorkflow(input) { FILE: example-workflows/sd1.5/img2img.ts type InputType (line 96) | type InputType = z.infer; function generateWorkflow (line 98) | function generateWorkflow(input: InputType): ComfyPrompt { FILE: example-workflows/sd1.5/txt2img.js function generateWorkflow (line 71) | function generateWorkflow(input) { FILE: example-workflows/sd1.5/txt2img.ts type InputType (line 73) | type InputType = z.infer; function generateWorkflow (line 75) | function generateWorkflow(input: InputType): ComfyPrompt { FILE: example-workflows/sdxl/img2img.ts type InputType (line 96) | type InputType = z.infer; function generateWorkflow (line 98) | function generateWorkflow(input: InputType): ComfyPrompt { FILE: example-workflows/sdxl/txt2img-with-refiner.ts type InputType (line 95) | type InputType = z.infer; function generateWorkflow (line 97) | function generateWorkflow(input: InputType): ComfyPrompt { FILE: example-workflows/sdxl/txt2img.ts type InputType (line 73) | type InputType = z.infer; function generateWorkflow (line 75) | function generateWorkflow(input: InputType): ComfyPrompt { FILE: scripts/smoke-proxy.mjs function main (line 5) | async function main() { FILE: src/comfy-node-preprocessors.ts function updateModelsInConfig (line 22) | function updateModelsInConfig(modelType: string, modelName: string) { function processCheckpointLoaderNode (line 35) | async function processCheckpointLoaderNode( function processCheckpointLoaderSimpleNode (line 69) | async function processCheckpointLoaderSimpleNode( function processDiffusersLoaderNode (line 91) | async function processDiffusersLoaderNode( function processLoraLoaderNode (line 112) | async function processLoraLoaderNode( function processVAELoaderNode (line 134) | async function processVAELoaderNode( function processControlNetLoaderNode (line 156) | async function processControlNetLoaderNode( function processUNETLoaderNode (line 178) | async function processUNETLoaderNode( function processCLIPLoaderNode (line 200) | async function processCLIPLoaderNode( function processDualCLIPLoaderNode (line 222) | async function processDualCLIPLoaderNode( function processStyleModelLoaderNode (line 254) | async function processStyleModelLoaderNode( function processGLIGENLoaderNode (line 276) | async function processGLIGENLoaderNode( function processUpscaleModelLoaderNode (line 298) | async function processUpscaleModelLoaderNode( function processModelLoadingNode (line 320) | async function processModelLoadingNode( function processLoadImageNode (line 359) | async function processLoadImageNode( function processLoadDirectoryOfImagesNode (line 367) | async function processLoadDirectoryOfImagesNode( function processLoadVideoNode (line 381) | async function processLoadVideoNode( function processLoadAudioNode (line 395) | async function processLoadAudioNode( type NodeProcessError (line 439) | type NodeProcessError = Error & { function preprocessNodes (line 445) | async function preprocessNodes( FILE: src/comfy.ts function launchComfyUI (line 33) | function launchComfyUI() { function shutdownComfyUI (line 45) | function shutdownComfyUI() { function pingComfyUI (line 49) | async function pingComfyUI(): Promise { function waitForComfyUIToStart (line 58) | async function waitForComfyUIToStart( function warmupComfyUI (line 81) | async function warmupComfyUI(): Promise { function queuePrompt (line 97) | async function queuePrompt(prompt: ComfyPrompt): Promise { function getPromptOutputs (line 113) | async function getPromptOutputs( function collectExecutionStats (line 178) | async function collectExecutionStats( class HistoryEndpointPoller (line 234) | class HistoryEndpointPoller { method constructor (line 242) | constructor(options: { method poll (line 253) | async poll(): Promise | null> { method getInterval (line 278) | getInterval(): number { method getMaxTries (line 282) | getMaxTries(): number { method setInterval (line 286) | setInterval(interval: number, skipCurrentTimeout: boolean = true): void { method setMaxTries (line 298) | setMaxTries(maxTries: number, reset: boolean = true): void { method stop (line 305) | stop(): void { type PromptOutputsWithStats (line 311) | type PromptOutputsWithStats = { function runPromptAndGetOutputs (line 316) | async function runPromptAndGetOutputs( function connectToComfyUIWebsocketStream (line 401) | function connectToComfyUIWebsocketStream( function getModels (line 480) | async function getModels(): Promise< function interruptPrompt (line 528) | async function interruptPrompt(id: string): Promise { FILE: src/commands.ts class CommandExecutor (line 3) | class CommandExecutor { method execute (line 13) | async execute( method interrupt (line 52) | interrupt(): void { FILE: src/config.ts type ComfyDescription (line 156) | interface ComfyDescription { function getPythonCommand (line 162) | function getPythonCommand(): string { function getComfyUIDescription (line 181) | function getComfyUIDescription(): ComfyDescription { function parseManifest (line 251) | function parseManifest(manifestPath: string): any { function setWarmupPrompt (line 684) | function setWarmupPrompt(content: string): void { FILE: src/credential-resolver.ts function resolveCredentials (line 7) | function resolveCredentials( function matchesPattern (line 36) | function matchesPattern(url: string, pattern: string): boolean { type CredentialProvider (line 53) | type CredentialProvider = (url: string) => DownloadOptions | undefined; function createCredentialProvider (line 59) | function createCredentialProvider( FILE: src/event-emitters.ts function signWebhookPayload (line 12) | function signWebhookPayload(payload: string): string { function sendWebhook (line 19) | async function sendWebhook( function sendSystemWebhook (line 57) | async function sendSystemWebhook( function getConfiguredWebhookHandlers (line 92) | function getConfiguredWebhookHandlers( FILE: src/git-url-parser.ts function parseGitUrl (line 26) | function parseGitUrl(repoUrl: string): { FILE: src/image-tools.ts function processInputMedia (line 11) | async function processInputMedia( function guessFileExtensionFromBase64 (line 60) | function guessFileExtensionFromBase64(base64Data: string): string | null { function convertImageBuffer (line 200) | async function convertImageBuffer( FILE: src/llm-providers.ts type LLMProviderConfig (line 9) | interface LLMProviderConfig { method authHeaders (line 28) | authHeaders(apiKey) { method buildRequestBody (line 34) | buildRequestBody(systemPrompt, userPrompt) { method parseResponse (line 43) | parseResponse(response) { method authHeaders (line 55) | authHeaders(apiKey) { method buildRequestBody (line 58) | buildRequestBody(systemPrompt, userPrompt) { method parseResponse (line 69) | parseResponse(response) { function selectProvider (line 86) | function selectProvider( function stripCodeFences (line 102) | function stripCodeFences(text: string): string { FILE: src/proxy-dispatcher.ts function getProxyDispatcher (line 9) | function getProxyDispatcher(): Dispatcher { FILE: src/remote-storage-manager.ts type CacheMetadata (line 22) | interface CacheMetadata { function linkIfDoesNotExist (line 30) | async function linkIfDoesNotExist( function getFileByPrefix (line 55) | async function getFileByPrefix( function getMetaFilePath (line 68) | function getMetaFilePath(cachedFilePath: string): string { function readCacheMetadata (line 75) | async function readCacheMetadata(cachedFilePath: string): Promise { method getCacheSizeInfo (line 164) | async getCacheSizeInfo(): Promise<{ method makeSpace (line 200) | private async makeSpace( method downloadFile (line 247) | async downloadFile( method validateCacheAccess (line 380) | private async validateCacheAccess( method downloadRepo (line 418) | async downloadRepo(repoUrl: string, targetDir: string): Promise { method uploadFile (line 456) | async uploadFile( method _cloneWithinDirectory (line 501) | private async _cloneWithinDirectory( function getStorageManager (line 571) | function getStorageManager(log?: FastifyBaseLogger) { FILE: src/server.ts type PromptRequest (line 81) | type PromptRequest = z.infer; type WorkflowRequest (line 89) | type WorkflowRequest = z.infer; type ModelResponse (line 108) | type ModelResponse = z.infer; type ProcessedOutput (line 289) | type ProcessedOutput = { type Handler (line 372) | type Handler = (data: ProcessedOutput) => Promise<{ type BodyType (line 688) | type BodyType = z.infer; function launchComfyUIAndAPIServerAndWaitForWarmup (line 806) | async function launchComfyUIAndAPIServerAndWaitForWarmup() { function downloadAllModels (line 856) | async function downloadAllModels( function downloadWarmupPrompt (line 866) | async function downloadWarmupPrompt() { function processManifest (line 896) | async function processManifest() { function start (line 935) | async function start() { FILE: src/storage-providers/azure-blob.ts class AzureBlobStorageProvider (line 14) | class AzureBlobStorageProvider implements StorageProvider { method constructor (line 30) | constructor(log: FastifyBaseLogger) { method createUrl (line 82) | createUrl(inputs: z.infer): string { method testUrl (line 109) | testUrl(url: string): boolean { method uploadFile (line 118) | uploadFile( method downloadFile (line 135) | async downloadFile( class AzureBlobUpload (line 179) | class AzureBlobUpload implements Upload { method constructor (line 188) | constructor( method createInputStream (line 202) | private createInputStream(fileOrPath: string | Buffer): ReadStream | B... method upload (line 210) | async upload(): Promise { method abort (line 257) | async abort(): Promise { FILE: src/storage-providers/hf.ts class HFStorageProvider (line 13) | class HFStorageProvider implements StorageProvider { method constructor (line 39) | constructor(log: FastifyBaseLogger) { method createUrl (line 43) | createUrl(inputs: z.infer): string { method testUrl (line 59) | testUrl(url: string): boolean { method uploadFile (line 63) | uploadFile( method downloadFile (line 71) | async downloadFile( class HFUpload (line 123) | class HFUpload implements Upload { method constructor (line 132) | constructor( method upload (line 156) | async upload(): Promise { method abort (line 190) | async abort(): Promise { function parseHfUrl (line 203) | function parseHfUrl(url: string): { FILE: src/storage-providers/http.ts class HTTPStorageProvider (line 12) | class HTTPStorageProvider implements StorageProvider { method constructor (line 22) | constructor(log: FastifyBaseLogger) { method createUrl (line 26) | createUrl(inputs: z.infer): string { method testUrl (line 34) | testUrl(url: string): boolean { method uploadFile (line 38) | uploadFile( method validateAuth (line 51) | async validateAuth(url: string, options: DownloadOptions): Promise { method abort (line 223) | async abort(): Promise { function mimeToExtension (line 240) | function mimeToExtension(mimeType: string): string | null { function getIntendedFileExtensionFromResponse (line 306) | function getIntendedFileExtensionFromResponse( function applyQueryAuth (line 348) | function applyQueryAuth(url: string, auth?: DownloadAuth): string { function getAuthHeaders (line 365) | function getAuthHeaders(url: string, auth?: DownloadAuth): Record): string { method testUrl (line 52) | testUrl(url: string): boolean { method uploadFile (line 56) | uploadFile( method validateAuth (line 68) | async validateAuth(url: string, options: DownloadOptions): Promise { method abort (line 227) | async abort(): Promise { method createInputStream (line 237) | private createInputStream(fileOrPath: string | Buffer): ReadStream | B... method _uploadFileToS3 (line 245) | private async _uploadFileToS3( method _uploadFileToS3Url (line 275) | private async _uploadFileToS3Url( FILE: src/types.ts type ComfyNode (line 11) | type ComfyNode = z.infer; type ComfyPrompt (line 13) | type ComfyPrompt = Record; type JPEGOptions (line 63) | type JPEGOptions = z.infer; type WebpOptions (line 110) | type WebpOptions = z.infer; type OutputConversionOptions (line 117) | type OutputConversionOptions = z.infer< type ExecutionStats (line 139) | type ExecutionStats = z.infer; function isExecutionStats (line 140) | function isExecutionStats(obj: any): obj is ExecutionStats { type PromptErrorResponse (line 149) | type PromptErrorResponse = z.infer; type Workflow (line 156) | interface Workflow { function isWorkflow (line 163) | function isWorkflow(obj: any): obj is Workflow { type WorkflowTree (line 172) | interface WorkflowTree { type ComfyWSMessage (line 176) | interface ComfyWSMessage { type ComfyWSStatusMessage (line 192) | interface ComfyWSStatusMessage extends ComfyWSMessage { type ComfyWSProgressMessage (line 203) | interface ComfyWSProgressMessage extends ComfyWSMessage { type ComfyWSProgressStateMessage (line 213) | interface ComfyWSProgressStateMessage extends ComfyWSMessage { type ComfyWSExecutingMessage (line 233) | interface ComfyWSExecutingMessage extends ComfyWSMessage { type ComfyWSExecutionStartMessage (line 242) | interface ComfyWSExecutionStartMessage extends ComfyWSMessage { type ComfyWSExecutionCachedMessage (line 250) | interface ComfyWSExecutionCachedMessage extends ComfyWSMessage { type ComfyWSExecutedMessage (line 259) | interface ComfyWSExecutedMessage extends ComfyWSMessage { type ComfyWSExecutionSuccessMessage (line 269) | interface ComfyWSExecutionSuccessMessage extends ComfyWSMessage { type ComfyWSExecutionInterruptedMessage (line 277) | interface ComfyWSExecutionInterruptedMessage extends ComfyWSMessage { type ComfyWSExecutionErrorMessage (line 287) | interface ComfyWSExecutionErrorMessage extends ComfyWSMessage { function isStatusMessage (line 302) | function isStatusMessage( function isProgressMessage (line 308) | function isProgressMessage( function isProgressStateMessage (line 314) | function isProgressStateMessage( function isExecutingMessage (line 320) | function isExecutingMessage( function isExecutionStartMessage (line 326) | function isExecutionStartMessage( function isExecutionCachedMessage (line 332) | function isExecutionCachedMessage( function isExecutedMessage (line 338) | function isExecutedMessage( function isExecutionSuccessMessage (line 344) | function isExecutionSuccessMessage( function isExecutionInterruptedMessage (line 350) | function isExecutionInterruptedMessage( function isExecutionErrorMessage (line 356) | function isExecutionErrorMessage( type WebhookHandlers (line 362) | type WebhookHandlers = { type ComfyPromptResponse (line 418) | type ComfyPromptResponse = { type ComfyHistoryResponse (line 424) | type ComfyHistoryResponse = Record< type Upload (line 445) | interface Upload { type DownloadAuth (line 486) | type DownloadAuth = z.infer; type DownloadOptions (line 495) | type DownloadOptions = z.infer; type WorkflowCredential (line 506) | type WorkflowCredential = z.infer; type StorageProvider (line 523) | interface StorageProvider { type DownloadRequest (line 598) | type DownloadRequest = z.infer; type DownloadResponse (line 609) | type DownloadResponse = z.infer; FILE: src/utils.ts function sleep (line 15) | async function sleep(ms: number): Promise { function isValidUrl (line 19) | function isValidUrl(str: string): boolean { function zodToMarkdownTable (line 32) | function zodToMarkdownTable(schema: ZodObject): string { function getZodTypeName (line 50) | function getZodTypeName(zodType: ZodTypeAny): { function getZodDescription (line 103) | function getZodDescription(zodType: ZodTypeAny): string { function getZodDefault (line 114) | function getZodDefault(zodType: ZodTypeAny): string { function snakeCaseToUpperCamelCase (line 125) | function snakeCaseToUpperCamelCase(str: string): string { function camelCaseToSnakeCase (line 131) | function camelCaseToSnakeCase(str: string): string { function fetchWithRetries (line 138) | async function fetchWithRetries( function setDeletionCost (line 166) | async function setDeletionCost(cost: number): Promise { function isPythonVenvActive (line 186) | function isPythonVenvActive(): boolean { function installCustomNode (line 205) | async function installCustomNode( function aptInstallPackages (line 252) | async function aptInstallPackages( function pipInstallPackages (line 264) | async function pipInstallPackages( function makeHumanReadableSize (line 289) | function makeHumanReadableSize(sizeInBytes: number): string { function hashUrlBase64 (line 302) | function hashUrlBase64(url: string, length = 32): string { function getContentTypeFromUrl (line 310) | function getContentTypeFromUrl(url: string): string { function getDirectorySizeInBytes (line 363) | async function getDirectorySizeInBytes( FILE: test/core.spec.ts function streamToBuffer (line 33) | async function streamToBuffer( function submitWorkflow (line 1112) | async function submitWorkflow( function submitDownload (line 1823) | async function submitDownload(body: { FILE: test/file-server.ts constant PORT (line 6) | const PORT = process.env.PORT ? parseInt(process.env.PORT) : 8080; constant STORAGE_DIR (line 7) | const STORAGE_DIR = process.env.STORAGE_DIR || path.join(__dirname, "tes... function getContentType (line 157) | function getContentType(filename: string): string { FILE: test/submit-many-jobs.js function loadJobJson (line 21) | async function loadJobJson() { function getRandomSeed (line 31) | function getRandomSeed() { function doAJob (line 35) | async function doAJob(jobJson) { function main (line 84) | async function main() { FILE: test/test-utils.ts function getAzureContainer (line 27) | async function getAzureContainer( function sleep (line 37) | async function sleep(ms: number): Promise { function createWebhookListener (line 41) | async function createWebhookListener( function submitPrompt (line 67) | async function submitPrompt( function checkImage (line 120) | async function checkImage( function waitForServerToBeReady (line 142) | async function waitForServerToBeReady(): Promise { function verifyWebhookV2 (line 156) | function verifyWebhookV2(