MCPcopy Create free account

hub / github.com/CookSleep/gpt_image_playground / functions

Functions1,073 in github.com/CookSleep/gpt_image_playground

↓ 6 callersFunctioncreateImagePixels
(width: number, height: number, rgba: [number, number, number, number])
src/lib/transparentImage.test.ts:105
↓ 6 callersFunctiondownloadImageEntriesAsZip
(entries: DownloadImageZipEntry[], zipFileNameBase = 'images')
src/lib/downloadImages.ts:53
↓ 6 callersFunctionensureStreamingAgentTask
( toolCallId: string, taskPrompt = '', inputImageIds = round.inputImageIds ?? [], opti
src/store.ts:3827
↓ 6 callersFunctiongetAllTasks
()
src/lib/db.ts:57
↓ 6 callersFunctiongetApiProfileDedupKey
(profile: ApiProfile)
src/lib/apiProfiles.ts:720
↓ 6 callersFunctiongetAtImageQuery
(prompt: string, cursor: number, imageSource: Pick<InputImage[], 'length'>)
src/lib/promptImageMentions.ts:49
↓ 6 callersFunctiongetContentEditableSelection
(el: HTMLElement)
src/components/InputBar.tsx:146
↓ 6 callersFunctiongetDataUrlEncodedByteSize
(dataUrl: string)
src/lib/imageApiShared.ts:56
↓ 6 callersFunctiongetImageMentionLabel
(index: number)
src/lib/promptImageMentions.ts:13
↓ 6 callersFunctiongetPagePoint
(clientX: number, clientY: number)
src/components/TaskGrid.tsx:54
↓ 6 callersFunctiongetPromptIndexFromVisibleIndex
(prompt: string, visibleIndex: number)
src/lib/promptImageMentions.ts:29
↓ 6 callersFunctionisAgentTask
(task: TaskRecord)
src/store.ts:344
↓ 6 callersFunctionloadCustomProviderSettingsFromUrl
( configUrl: string, fetcher: FetchLike = fetch, )
src/lib/customProviderConfigUrl.ts:41
↓ 6 callersFunctionnormalizeAgentConversations
(value: unknown)
src/store.ts:455
↓ 6 callersFunctionnormalizeStringArray
(value: unknown, fallback: string[])
src/lib/apiProfiles.ts:134
↓ 6 callersFunctionpickActualParams
(source: unknown)
src/lib/imageApiShared.ts:177
↓ 6 callersFunctionreadExportZipFileAsDataUrl
(files: Record<string, Uint8Array>, path: string)
src/lib/exportZip.ts:106
↓ 6 callersFunctionreplaceAgentPromptImageReferencesForApi
( prompt: string, currentRound: AgentRound, rounds: AgentRound[], tasks: TaskRecord[], )
src/lib/agentImageReferences.ts:54
↓ 6 callersFunctionrestoreAgentInputDraftState
(drafts: Record<string, AgentInputDraft>, conversationId: string | null)
src/store.ts:1106
↓ 6 callersFunctionsyncHistoryState
()
src/components/MaskEditorModal.tsx:263
↓ 6 callersFunctionupdateSwipeDirection
(nextDirection: -1 | 0 | 1)
src/components/TaskCard.tsx:93
↓ 6 callersFunctionvalidateApiProfile
(profile: ApiProfile)
src/lib/apiProfiles.ts:681
↓ 5 callersFunctionaddTaskReferencedImageIds
(target: Set<string>, task: TaskRecord)
src/store.ts:2838
↓ 5 callersFunctionassertImageInputPayloadSize
(bytes: number)
src/lib/imageApiShared.ts:79
↓ 5 callersFunctionclearImageHintTimer
()
src/components/InputBar.tsx:1031
↓ 5 callersFunctioncollectAgentRoundOutputImageSlots
(round: AgentRound, tasks: TaskRecord[])
src/lib/agentImageReferences.ts:23
↓ 5 callersFunctioncompleteAgentImageTask
(image: AgentApiResultImage, rawResponsePayload?: string)
src/store.ts:3876
↓ 5 callersFunctioncountSuccessfulOutputImages
(tasks: TaskRecord[])
src/store.ts:354
↓ 5 callersFunctiondeleteFavoriteCollection
(collectionId: string, deleteTasks = false)
src/store.ts:5014
↓ 5 callersFunctiondeleteImage
(id: string)
src/lib/db.ts:179
↓ 5 callersFunctiondeleteUnreferencedImageIds
(imageIds: Iterable<string>)
src/store.ts:2896
↓ 5 callersFunctionextractAgentReferenceIds
(text: string)
src/lib/agentImageReferences.ts:36
↓ 5 callersFunctionfailAgentImageTask
(toolCallId: string, error: string, rawResponsePayload?: string)
src/store.ts:3906
↓ 5 callersFunctionfinish
(params: Partial<TaskParams> | undefined)
src/store.ts:2018
↓ 5 callersFunctionfirstActualParams
(paramsList: Array<Partial<TaskParams> | undefined> | undefined)
src/store.ts:1980
↓ 5 callersFunctionformatDuration
()
src/components/DetailModal.tsx:279
↓ 5 callersFunctionformatExportFileTime
(date: Date)
src/lib/exportFileName.ts:1
↓ 5 callersFunctiongetAgentImageApiProfile
(settings: Partial<AppSettings> | unknown)
src/lib/apiProfiles.ts:578
↓ 5 callersFunctiongetAgentTextApiProfile
(settings: Partial<AppSettings> | unknown)
src/lib/apiProfiles.ts:572
↓ 5 callersFunctiongetBackgroundConfidence
(data: Uint8ClampedArray, index: number, keyRgb: Rgb)
src/lib/transparentImage.ts:324
↓ 5 callersFunctiongetCustomProviderDedupKey
(provider: CustomProviderDefinition)
src/lib/apiProfiles.ts:760
↓ 5 callersFunctiongetCustomProviderDefinition
(settings: Partial<AppSettings> | unknown, provider: ApiProvider)
src/lib/apiProfiles.ts:584
↓ 5 callersFunctiongetImageZipEntries
(imageIds: string[], fileNameBase = 'image')
src/lib/downloadImages.ts:98
↓ 5 callersFunctiongetMentionTagTextLength
(el: Element)
src/components/InputBar.tsx:22
↓ 5 callersFunctiongetMode
(url, body)
scripts/mock-image-api.mjs:98
↓ 5 callersFunctiongetParamDisplay
(task: TaskRecord, paramKey: ParamKey, actualParams = task.actualParams)
src/lib/paramDisplay.tsx:66
↓ 5 callersFunctiongetPromptMentionParts
(prompt: string, inputImages: InputImage[])
src/lib/promptImageMentions.ts:115
↓ 5 callersFunctionimportData
(file: File, options: ImportOptions = { importConfig: true, importTasks: true })
src/store.ts:5471
↓ 5 callersFunctionisDataUrl
(value: unknown)
src/lib/imageApiShared.ts:44
↓ 5 callersFunctionisImportableConfigUrl
(value: string)
src/lib/customProviderConfigUrl.ts:9
↓ 5 callersFunctionnormalizeFavoriteCollectionIds
(ids: unknown)
src/store.ts:4911
↓ 5 callersFunctionnormalizeFavoriteCollections
(value: unknown)
src/store.ts:590
↓ 5 callersFunctionnormalizeImageSize
(size: string)
src/lib/size.ts:61
↓ 5 callersFunctionorderInputImagesForMask
(inputImages: InputImage[], targetImageId: string)
src/lib/mask.ts:11
↓ 5 callersFunctionpad
(value: number)
src/lib/exportFileName.ts:2
↓ 5 callersFunctionpersistTaskStreamPartialImage
(taskId: string, dataUrl: string)
src/store.ts:2915
↓ 5 callersFunctionputImageThumbnail
(thumbnail: StoredImageThumbnail)
src/lib/db.ts:117
↓ 5 callersFunctionremoveTask
(task: TaskRecord)
src/store.ts:5270
↓ 5 callersFunctionrenderPreview
()
src/components/MaskEditorModal.tsx:289
↓ 5 callersFunctionsaveActiveAgentInputDrafts
(state: Pick<AppState, 'appMode' | 'activeAgentConversationId' | 'agentInputDrafts' | 'prompt' | 'inputImages'
src/store.ts:1081
↓ 5 callersFunctionscheduleFalRecovery
(taskId: string, delayMs = FAL_RECOVERY_POLL_MS)
src/store.ts:1952
↓ 5 callersFunctionsetContentEditableCursor
在 contentEditable 中设置光标到指定纯文本偏移量
src/components/InputBar.tsx:220
↓ 5 callersFunctionstoreImageWithSize
(dataUrl: string, source: NonNullable<StoredImage['source']> = 'upload')
src/lib/db.ts:248
↓ 5 callersFunctiontaskMatchesSearchQuery
(task: TaskRecord, query: string)
src/store.ts:1786
↓ 4 callersFunctionaddDistanceNeighbor
( distance: Uint8Array, mask: Uint8Array, nextFrontier: number[], neighborIndex: number, currentDist
src/lib/transparentImage.ts:312
↓ 4 callersFunctionaddImageFileNameBases
(bases: Map<string, string>, imageIds: string[], fileNameBase: string)
src/lib/exportZip.ts:146
↓ 4 callersFunctionappendStreamingFormatHint
(message: string)
src/lib/imageApiShared.ts:95
↓ 4 callersFunctionapplySwipeOffset
(offset: number)
src/components/TaskCard.tsx:105
↓ 4 callersFunctionapplySwipeOffset
(offset: number)
src/components/favorites/FavoriteCollectionOverviewCard.tsx:95
↓ 4 callersFunctionassertUsableMaskCoverage
(coverage: MaskCoverage)
src/lib/mask.ts:31
↓ 4 callersFunctioncacheThumbnail
(id: string, thumbnail: { dataUrl: string; width?: number; height?: number; thumbnailVersion?: number })
src/store.ts:176
↓ 4 callersFunctioncalculateMaskWorkingSize
( width: number, height: number, maxEdge = DEFAULT_MASK_WORKING_MAX_EDGE, multiple = MASK_WORKING_DIME
src/lib/maskPreprocess.ts:26
↓ 4 callersFunctioncancelSwipeFrame
()
src/components/favorites/FavoriteCollectionOverviewCard.tsx:100
↓ 4 callersFunctionclampViewTransform
(transform: ViewTransform, viewportSize: Size)
src/lib/viewportTransform.ts:31
↓ 4 callersFunctionclassifyMaskAlpha
(imageData: Pick<ImageData, 'data'>)
src/lib/mask.ts:16
↓ 4 callersFunctionclearAgentConversations
()
src/lib/db.ts:83
↓ 4 callersFunctionclearFailedTasks
(taskIds?: string[])
src/store.ts:5244
↓ 4 callersFunctioncommitActiveProfilePatch
(patch: Partial<ApiProfile>)
src/components/SettingsModal.tsx:671
↓ 4 callersFunctioncontinueRecoveredAgentRound
(taskId: string)
src/store.ts:3427
↓ 4 callersFunctioncopyAgentInputDraft
(draft: AgentInputDraft)
src/store.ts:1047
↓ 4 callersFunctioncreateMaskPreviewDataUrl
(imageDataUrl: string, maskDataUrl: string)
src/lib/canvasImage.ts:63
↓ 4 callersFunctioncreateRequestHeaders
(profile: ApiProfile)
src/lib/openaiCompatibleImageApi.ts:85
↓ 4 callersFunctiondetectKeyColorFromPixels
(data: Uint8ClampedArray, width: number, height: number)
src/lib/transparentImage.ts:61
↓ 4 callersFunctioneditOutputs
(task: TaskRecord)
src/store.ts:5177
↓ 4 callersFunctionenqueueNeighbor
(neighborIndex: number)
src/lib/transparentImage.ts:180
↓ 4 callersFunctionensureDefaultFavoriteCollection
(collections: FavoriteCollection[])
src/store.ts:613
↓ 4 callersFunctionexecuteAgentRound
( conversationId: string, roundId: string, params: TaskParams, requestSettings: AppSettings, activeP
src/store.ts:3773
↓ 4 callersFunctionextractImages
(payload: ResponsesApiResponse, fallbackMime: string)
src/lib/agentApi.ts:457
↓ 4 callersFunctionfloorToMultiple
(value: number, multiple: number)
src/lib/size.ts:16
↓ 4 callersFunctiongetAgentCurrentReferenceId
(round: AgentRound, index: number)
src/lib/agentImageReferences.ts:7
↓ 4 callersFunctiongetAgentProfileValidationError
(settings: AppSettings)
src/store.ts:1858
↓ 4 callersFunctiongetAgentRoundChildren
(conversation: AgentConversation, parentRoundId: string | null)
src/store.ts:2674
↓ 4 callersFunctiongetAllAgentConversations
()
src/lib/db.ts:75
↓ 4 callersFunctiongetApiProfileConnectionKey
(profile: ApiProfile)
src/lib/apiProfiles.ts:730
↓ 4 callersFunctiongetApiProviderLabel
(settings: Partial<AppSettings> | unknown, provider: ApiProvider)
src/lib/apiProfiles.ts:589
↓ 4 callersFunctiongetDataUrlDecodedByteSize
(dataUrl: string)
src/lib/imageApiShared.ts:60
↓ 4 callersFunctiongetDefaultModelForMode
(apiMode: AppSettings['apiMode'])
src/components/SettingsModal.tsx:404
↓ 4 callersFunctiongetNumberValue
(source: Record<string, unknown>, key: string)
src/lib/agentApi.ts:250
↓ 4 callersFunctiongetOutputImageLimitForSettings
(settings: AppSettings)
src/lib/paramCompatibility.ts:9
↓ 4 callersFunctiongetRawErrorPayload
(err: unknown)
src/store.ts:1935
← previousnext →101–200 of 1,073, ranked by callers