Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CookSleep/gpt_image_playground
/ functions
Functions
1,073 in github.com/CookSleep/gpt_image_playground
⨍
Functions
1,073
◇
Types & classes
79
↓ 4 callers
Function
getTimeoutStreamingHint
(profile?: TimeoutStreamingHintProfile | null)
src/store.ts:132
↓ 4 callers
Function
handleDragEnd
()
src/components/favorites/FavoriteCollectionPickerModal.tsx:134
↓ 4 callers
Function
handleDragEnd
()
src/components/favorites/ManageCollectionsModal.tsx:118
↓ 4 callers
Function
hasActualSizeParam
(params: Partial<TaskParams> | undefined)
src/store.ts:1998
↓ 4 callers
Function
importDefaultConfigOnlyUrlSettings
()
src/lib/urlSettings.test.ts:15
↓ 4 callers
Function
importFile
(data: ExportData)
src/store.test.ts:180
↓ 4 callers
Function
isNetworkRecoverableError
(err: unknown)
src/store.ts:1886
↓ 4 callers
Function
isRecordValue
(value: unknown)
src/lib/openaiCompatibleImageApi.ts:95
↓ 4 callers
Function
maybeAppendStreamingHint
(message: string, status: number, streamImages?: boolean)
src/lib/imageApiShared.ts:100
↓ 4 callers
Function
normalizeAgentInputDraft
(value: unknown, fallbackUpdatedAt = Date.now())
src/store.ts:993
↓ 4 callers
Function
normalizeAgentMaxToolRounds
(value: unknown, fallback: number | undefined = DEFAULT_AGENT_MAX_TOOL_ROUNDS)
src/lib/apiProfiles.ts:73
↓ 4 callers
Function
normalizeCustomProviderDefinition
(input: unknown, usedIds = new Set<string>())
src/lib/apiProfiles.ts:274
↓ 4 callers
Function
normalizeStringArray
(value: unknown)
src/store.ts:397
↓ 4 callers
Function
normalizeStringRecord
(value: unknown)
src/lib/apiProfiles.ts:122
↓ 4 callers
Function
openDB
()
src/lib/db.ts:15
↓ 4 callers
Function
publishWebSearchStatus
(event: Record<string, unknown>, status: string, actionType?: string)
src/lib/agentApi.ts:577
↓ 4 callers
Function
readBody
(req)
scripts/mock-image-api.mjs:78
↓ 4 callers
Function
remapAgentRoundMentionsForPathChange
(content: string, oldPath: AgentRound[], newPath: AgentRound[])
src/store.ts:2736
↓ 4 callers
Function
removeKeyedBackgroundFromPixels
( data: Uint8ClampedArray, width: number, height: number, keyColor: string, )
src/lib/transparentImage.ts:94
↓ 4 callers
Function
resolveDefaultFavoriteCollectionId
(collections: FavoriteCollection[], preferredId: unknown)
src/store.ts:630
↓ 4 callers
Function
resolveReferenceImages
(referenceIds: string[])
src/store.ts:4002
↓ 4 callers
Function
scheduleCustomRecovery
(taskId: string, delayMs = CUSTOM_RECOVERY_POLL_MS)
src/store.ts:1967
↓ 4 callers
Function
sendSse
(res, events, options = {})
scripts/mock-image-api.mjs:55
↓ 4 callers
Function
showTaskCompletionNotification
(title: string, body: string)
src/store.ts:348
↓ 4 callers
Function
stopDragScroll
()
src/components/TaskGrid.tsx:121
↓ 4 callers
Function
stopDragScroll
()
src/hooks/useDragSelect.ts:102
↓ 4 callers
Function
updateSelectionFromPoint
(pageX: number, pageY: number)
src/components/TaskGrid.tsx:80
↓ 3 callers
Function
addAgentReferencedImageIds
(target: Set<string>, conversations = useStore.getState().agentConversations, inputDrafts = useStore.getState(
src/store.ts:2818
↓ 3 callers
Function
addInputDraftReferencedImageIds
(target: Set<string>, draft: AgentInputDraft | null)
src/store.ts:2833
↓ 3 callers
Function
alphaImageData
(alphaValues: number[])
src/lib/mask.test.ts:14
↓ 3 callers
Function
appendAgentAssistantMessageContent
(conversationId: string, messageId: string, delta: string)
src/store.ts:2602
↓ 3 callers
Function
attachTaskToAgentRound
(taskId: string)
src/store.ts:3808
↓ 3 callers
Function
buttonClass
(active: boolean)
src/components/SizePickerModal.tsx:162
↓ 3 callers
Function
callFalAiImageApi
(opts: CallApiOptions, profile: ApiProfile)
src/lib/falAiImageApi.ts:195
↓ 3 callers
Function
canvasToBlob
(canvas: HTMLCanvasElement, type = 'image/png', quality?: number)
src/lib/canvasImage.ts:37
↓ 3 callers
Function
clamp
(v: number, min: number, max: number)
src/components/Lightbox.tsx:17
↓ 3 callers
Function
clampByte
(value: number)
src/lib/transparentImage.ts:399
↓ 3 callers
Function
cleanStaleAgentInputDrafts
(drafts: Record<string, AgentInputDraft>, activeConversationId: string | null, now = Date.now())
src/store.ts:1027
↓ 3 callers
Function
clearAppliedUrlSettings
()
src/App.tsx:45
↓ 3 callers
Function
clearCustomRecoveryTimer
(taskId: string)
src/store.ts:1961
↓ 3 callers
Function
clearFalRecoveryTimer
(taskId: string)
src/store.ts:1946
↓ 3 callers
Function
clearOpenAIWatchdogTimer
(taskId: string)
src/store.ts:1734
↓ 3 callers
Function
confirmRename
()
src/components/favorites/ManageCollectionsModal.tsx:240
↓ 3 callers
Function
createDefaultFavoriteCollection
(now = Date.now())
src/store.ts:581
↓ 3 callers
Function
createHeaders
(profile: ApiProfile)
src/lib/agentApi.ts:96
↓ 3 callers
Function
createRandomShape
(req, cors, index = 0)
scripts/mock-image-api.mjs:137
↓ 3 callers
Function
dataUrlToBlob
(dataUrl: string, fallbackType = 'image/png')
src/lib/canvasImage.ts:12
↓ 3 callers
Function
dataUrlToBytes
(dataUrl: string)
src/lib/dataUrl.ts:17
↓ 3 callers
Function
deleteAgentRoundFromConversation
(conversation: AgentConversation, roundId: string, now = Date.now())
src/store.ts:2748
↓ 3 callers
Function
extractText
(payload: ResponsesApiResponse)
src/lib/agentApi.ts:419
↓ 3 callers
Function
failRound
(error: string)
src/store.ts:3442
↓ 3 callers
Function
fetchImageUrlAsDataUrl
(url: string, fallbackMime: string, signal?: AbortSignal)
src/lib/imageApiShared.ts:126
↓ 3 callers
Function
fillWhiteMask
(canvas: HTMLCanvasElement)
src/components/MaskEditorModal.tsx:71
↓ 3 callers
Function
findEquivalentApiProfile
( settings: Partial<AppSettings> | unknown, importedProfile: ApiProfile, importedProviders: CustomProvid
src/lib/apiProfiles.ts:793
↓ 3 callers
Function
getAgentFunctionOutputCallIds
(output: ResponsesOutputItem[])
src/store.ts:3274
↓ 3 callers
Function
getAgentRoundControllerKey
(conversationId: string, roundId: string)
src/store.ts:2479
↓ 3 callers
Function
getAgentRoundTaskIds
(round: AgentRound, tasks: TaskRecord[])
src/store.ts:2796
↓ 3 callers
Function
getBlobExtension
(blob: Blob)
src/lib/downloadImages.ts:127
↓ 3 callers
Function
getCachedThumbnail
(id: string)
src/store.ts:163
↓ 3 callers
Function
getComfortableInitialTransform
( imageViewportSize: Size, editorViewportSize: Size, isCompactLayout: boolean, )
src/lib/viewportTransform.ts:93
↓ 3 callers
Function
getContentEditableBoundaryOffset
( root: HTMLElement, container: Node, offset: number, edge: 'start' | 'end', collapsed: boolean, )
src/components/InputBar.tsx:78
↓ 3 callers
Function
getCustomProviderConfigUrl
(defaultApiUrl = DEFAULT_API_URL)
src/lib/customProviderConfigUrl.ts:21
↓ 3 callers
Function
getDefaultStreamImages
(provider: ApiProvider, apiMode: ApiMode)
src/lib/apiProfiles.ts:67
↓ 3 callers
Function
getErrorToastMessage
(message: string)
src/store.ts:101
↓ 3 callers
Function
getImageSizeParam
(size: { width?: number; height?: number } | undefined)
src/store.ts:1993
↓ 3 callers
Function
getImageUrl
(req, cors, index = 0)
scripts/mock-image-api.mjs:133
↓ 3 callers
Function
getKeyChannelMix
(red: number, green: number, blue: number, keyRgb: Rgb)
src/lib/transparentImage.ts:348
↓ 3 callers
Function
getNumberValue
(source: Record<string, unknown>, key: string)
src/lib/openaiCompatibleImageApi.ts:108
↓ 3 callers
Function
getPersistableAgentConversations
(conversations: AgentConversation[])
src/store.ts:537
↓ 3 callers
Function
getSafeBoundingClientRect
(element: Element | null | undefined)
src/lib/domRect.ts:1
↓ 3 callers
Function
getStoredImageThumbnail
(id: string)
src/lib/db.ts:108
↓ 3 callers
Function
getStreamPartialImages
(profile: ApiProfile)
src/lib/openaiCompatibleImageApi.ts:25
↓ 3 callers
Function
getStreamResponsePayload
(event: Record<string, unknown>)
src/lib/agentApi.ts:528
↓ 3 callers
Function
getTransparentRequestParams
(params: TaskParams)
src/lib/transparentImage.ts:29
↓ 3 callers
Function
getViewportCenterCanvasPoint
()
src/components/MaskEditorModal.tsx:358
↓ 3 callers
Function
getVisibleOffsetBeforeNode
(root: HTMLElement, target: Node)
src/components/InputBar.tsx:34
↓ 3 callers
Function
handleCopyMessage
(content: string, successMessage = '提示词已复制', failureMessage = '复制提示词失败')
src/components/AgentWorkspace.tsx:767
↓ 3 callers
Function
hideImageHint
()
src/components/InputBar.tsx:1040
↓ 3 callers
Function
imageDataUrlToPngBlob
(dataUrl: string)
src/lib/canvasImage.ts:18
↓ 3 callers
Function
insertTextMentionAtVisibleRange
(prompt: string, start: number, cursor: number, text: string)
src/lib/promptImageMentions.ts:84
↓ 3 callers
Function
isAgentTextApiProfile
(profile: ApiProfile)
src/lib/apiProfiles.ts:110
↓ 3 callers
Function
isApiProxyAvailable
(proxyConfig: DevProxyConfig | null = readClientDevProxyConfig())
src/lib/devProxy.ts:89
↓ 3 callers
Function
isDefaultConfigOnlyEnabled
()
src/lib/apiProfiles.ts:80
↓ 3 callers
Function
isOpenAICompatibleProvider
(settings: Partial<AppSettings> | unknown, provider: ApiProvider)
src/lib/apiProfiles.ts:595
↓ 3 callers
Function
isProfileApiProxyEligible
(settings: AppSettings, profile: ApiProfile)
src/components/SettingsModal.tsx:205
↓ 3 callers
Function
isRunningOpenAITask
(task: TaskRecord)
src/store.ts:1703
↓ 3 callers
Function
isTagScrollTarget
(target: EventTarget | null)
src/components/TaskCard.tsx:129
↓ 3 callers
Function
mapActualParamsByImage
(outputIds: string[], paramsList: Array<Partial<TaskParams> | undefined> | undefined)
src/store.ts:1984
↓ 3 callers
Function
markAgentRoundStopped
(conversationId: string, roundId: string)
src/store.ts:2556
↓ 3 callers
Function
mergeResponseOutputItems
(previous: ResponsesOutputItem[], next: ResponsesOutputItem[])
src/store.ts:3172
↓ 3 callers
Function
newId
(prefix: string)
src/components/SettingsModal.tsx:41
↓ 3 callers
Function
normalizeFavoriteCollectionName
(value: string)
src/store.ts:577
↓ 3 callers
Function
parseResponsesImageResults
(payload: ResponsesApiResponse, fallbackMime: string)
src/lib/openaiCompatibleImageApi.ts:241
↓ 3 callers
Function
regenerateAgentAssistantMessage
(conversationId: string, roundId: string)
src/store.ts:3665
↓ 3 callers
Function
renameFavoriteCollection
(collectionId: string, name: string)
src/store.ts:4977
↓ 3 callers
Function
replaceMaskTargetImage
( inputImages: InputImage[], targetImageId: string, workingImage: InputImage, )
src/lib/maskPreprocess.ts:83
↓ 3 callers
Function
replaceStoredAgentConversations
(conversations: AgentConversation[])
src/store.ts:702
↓ 3 callers
Function
resetImageDrag
()
src/components/InputBar.tsx:1573
↓ 3 callers
Function
resolveImageSizeParamsList
( images: string[], preferred?: Array<Partial<TaskParams> | undefined>, sizes?: Array<{ width?: number;
src/store.ts:2044
↓ 3 callers
Function
resolveTemplateValue
(value: unknown, context: Record<string, unknown>)
src/lib/openaiCompatibleImageApi.ts:724
← previous
next →
201–300 of 1,073, ranked by callers