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
↓ 2 callers
Function
getLatestAgentLeafId
(conversation: AgentConversation, startRoundId: string | null = null)
src/store.ts:2678
↓ 2 callers
Function
getMentionTagHtml
(text: string)
src/components/InputBar.tsx:190
↓ 2 callers
Function
getNodeVisibleTextLength
(node: Node)
src/components/InputBar.tsx:26
↓ 2 callers
Function
getNotificationConstructor
()
src/lib/browserNotification.ts:9
↓ 2 callers
Function
getNumberedFileNameBase
(fileNameBase: string, index: number, total: number)
src/lib/exportFileName.ts:6
↓ 2 callers
Function
getOriginalImageSrc
()
src/components/ImageContextMenu.tsx:84
↓ 2 callers
Function
getPersistableResponseOutputItem
(item: ResponsesOutputItem)
src/store.ts:519
↓ 2 callers
Function
getPinchTransform
(input: { startTransform: ViewTransform startCentroid: Point nextCentroid: Point startDistance: number
src/lib/viewportTransform.ts:64
↓ 2 callers
Function
getProfileDedupKey
(profile: Pick<AppSettings['profiles'][number], 'provider' | 'baseUrl' | 'apiKey' | 'model' | 'apiMode' | 'cod
src/lib/urlSettings.ts:16
↓ 2 callers
Function
getRequestedN
(url, body)
scripts/mock-image-api.mjs:116
↓ 2 callers
Function
getResponsesImageResultBase64
(result: ResponsesOutputItem['result'])
src/lib/openaiCompatibleImageApi.ts:277
↓ 2 callers
Function
getRoundTasks
(round: AgentRound | null, tasks: TaskRecord[])
src/components/AgentWorkspace.tsx:252
↓ 2 callers
Function
getTaskOutputImageZipEntries
(tasks: TaskOutputZipTask[])
src/lib/downloadImages.ts:92
↓ 2 callers
Function
getUrlSettingsPayload
(searchParams: URLSearchParams)
src/lib/urlSettings.ts:46
↓ 2 callers
Function
goNext
()
src/components/Lightbox.tsx:684
↓ 2 callers
Function
goPrev
()
src/components/Lightbox.tsx:683
↓ 2 callers
Function
handleDelete
(e: React.MouseEvent, collection: { id: string, name: string })
src/components/favorites/ManageCollectionsModal.tsx:257
↓ 2 callers
Function
handleDeleteMessage
(message: AgentMessage, round: AgentRound)
src/components/AgentWorkspace.tsx:656
↓ 2 callers
Function
handleProfileDragEnd
()
src/components/SettingsModal.tsx:868
↓ 2 callers
Function
handleSetDefault
(e: React.MouseEvent, collection: { id: string, name: string })
src/components/favorites/ManageCollectionsModal.tsx:278
↓ 2 callers
Function
handleSwitchBranch
(round: AgentRound, direction: -1 | 1)
src/components/AgentWorkspace.tsx:541
↓ 2 callers
Function
hasActualParams
(params: Partial<TaskParams> | undefined)
src/store.ts:1976
↓ 2 callers
Function
hasUrlSettingParams
(searchParams: URLSearchParams)
src/lib/urlSettings.ts:149
↓ 2 callers
Function
hideLockedImageHint
()
src/components/InputBar.tsx:1046
↓ 2 callers
Function
importCustomProviderDefinitionFromJson
(jsonText: string, existingProviders: CustomProviderDefinition[] = [])
src/lib/apiProfiles.ts:654
↓ 2 callers
Function
insertImageMention
(prompt: string, start: number, cursor: number, imageIndex: number)
src/lib/promptImageMentions.ts:70
↓ 2 callers
Function
insertImageMentionAtVisibleRange
(prompt: string, start: number, cursor: number, imageIndex: number)
src/lib/promptImageMentions.ts:80
↓ 2 callers
Function
isAgentRecoveryPauseError
(err: unknown)
src/store.ts:2493
↓ 2 callers
Function
isAgentTaskPromptPending
(task: TaskRecord)
src/lib/taskPromptDisplay.ts:3
↓ 2 callers
Function
isApiProxyLocked
(proxyConfig: DevProxyConfig | null = readClientDevProxyConfig())
src/lib/devProxy.ts:93
↓ 2 callers
Function
isAsyncCustomProvider
(provider: CustomProviderDefinition | null | undefined)
src/components/SettingsModal.tsx:201
↓ 2 callers
Function
isClipboardTypeSupported
(type: string)
src/lib/clipboard.ts:92
↓ 2 callers
Function
isEmptyAgentConversation
(conversation: AgentConversation)
src/store.ts:657
↓ 2 callers
Function
isEventStreamResponse
(response: Response)
src/lib/openaiCompatibleImageApi.ts:91
↓ 2 callers
Function
isEventStreamResponse
(response: Response)
src/lib/agentApi.ts:237
↓ 2 callers
Function
isInsideLightbox
(target: EventTarget | null)
src/lib/viewport.ts:3
↓ 2 callers
Function
isRecoverablePollingError
(err: unknown)
src/lib/openaiCompatibleImageApi.ts:708
↓ 2 callers
Function
isSecureNotificationContext
()
src/lib/browserNotification.ts:14
↓ 2 callers
Function
loadLegacyMarkdown
()
src/components/MarkdownRenderer.tsx:106
↓ 2 callers
Function
markAgentRoundTasksFailed
( conversationId: string, roundId: string, error: string, rawResponsePayload?: string, shouldFailTas
src/store.ts:2526
↓ 2 callers
Function
markInterruptedOpenAIRunningTasks
(tasks: TaskRecord[], now = Date.now())
src/store.ts:1714
↓ 2 callers
Function
markToolStatusStopped
(status: AgentWebSearchStatus)
src/components/AgentWorkspace.tsx:119
↓ 2 callers
Function
maskDataUrlToPngBlob
(maskDataUrl: string)
src/lib/canvasImage.ts:29
↓ 2 callers
Function
maybeSendStreamFailure
(res, mode, prefix = 'image_generation')
scripts/mock-image-api.mjs:289
↓ 2 callers
Function
mergeAgentConversationsForStorage
(stored: AgentConversation[], legacy: AgentConversation[])
src/store.ts:507
↓ 2 callers
Function
migratePersistedState
(persistedState: unknown)
src/store.ts:569
↓ 2 callers
Function
moveProfileToDropTarget
(sourceId: string, targetId: string, position: 'before' | 'after' | null)
src/components/SettingsModal.tsx:876
↓ 2 callers
Function
normalizeAgentInputDrafts
(value: unknown, conversations: AgentConversation[])
src/store.ts:1005
↓ 2 callers
Function
normalizeApiProfile
(input: unknown, fallback?: Partial<ApiProfile>, customProviderIds = new Set<string>())
src/lib/apiProfiles.ts:461
↓ 2 callers
Function
normalizeCustomProviderDefinitions
(input: unknown)
src/lib/apiProfiles.ts:310
↓ 2 callers
Function
normalizeDevProxyConfig
(input: unknown)
src/lib/devProxy.ts:37
↓ 2 callers
Function
normalizeLoadedFavoriteState
(tasks: TaskRecord[], collections: FavoriteCollection[], preferredDefaultFavoriteCollectionId: string | null)
src/store.ts:4942
↓ 2 callers
Function
normalizeProviderPath
(value: unknown, fallback: string)
src/lib/apiProfiles.ts:118
↓ 2 callers
Function
normalizeRequestMethod
(value: unknown, fallback: CustomProviderRequestMethod = 'POST')
src/lib/apiProfiles.ts:144
↓ 2 callers
Function
normalizeResultMapping
(value: unknown, fallback: CustomProviderResultMapping = DEFAULT_OPENAI_RESULT)
src/lib/apiProfiles.ts:172
↓ 2 callers
Function
normalizeSubmitMapping
(value: unknown, fallback: CustomProviderSubmitMapping)
src/lib/apiProfiles.ts:182
↓ 2 callers
Function
onDismissTooltips
(callback: () => void)
src/lib/tooltipDismiss.ts:20
↓ 2 callers
Function
orderImagesWithMaskFirst
(images: InputImage[], maskTargetImageId: string | null | undefined)
src/store.ts:334
↓ 2 callers
Function
parseBatchImageCallArguments
(args: string)
src/lib/agentApi.ts:986
↓ 2 callers
Function
parseFalResult
(payload: FalApiResponse, params: TaskParams, customBaseUrlLabel: string | null, signal?: AbortSignal)
src/lib/falAiImageApi.ts:138
↓ 2 callers
Function
parseImagesApiResponse
(payload: ImageApiResponse, mime: string, signal?: AbortSignal)
src/lib/openaiCompatibleImageApi.ts:295
↓ 2 callers
Function
parseRatio
(ratio: string)
src/lib/size.ts:70
↓ 2 callers
Function
pauseAgentImageTaskForRecovery
(toolCallId: string, err: unknown)
src/store.ts:3924
↓ 2 callers
Function
pickUrlSettingsPayload
(value: unknown)
src/lib/urlSettings.ts:37
↓ 2 callers
Function
pollCustomTaskResult
( profile: ApiProfile, poll: CustomProviderPollMapping, taskId: string, mime: string, signal?: Abort
src/lib/openaiCompatibleImageApi.ts:882
↓ 2 callers
Function
processBlock
(block: string)
src/lib/openaiCompatibleImageApi.ts:149
↓ 2 callers
Function
processBlock
(block: string)
src/lib/agentApi.ts:370
↓ 2 callers
Function
pushUndoSnapshot
()
src/components/MaskEditorModal.tsx:370
↓ 2 callers
Function
readAgentImageDataUrls
(ids: string[])
src/store.ts:2934
↓ 2 callers
Function
readExportZip
(bytes: Uint8Array)
src/lib/exportZip.ts:95
↓ 2 callers
Function
readJsonServerSentEvents
(response: Response, onEvent: (event: Record<string, unknown>) => void | Promise<void>)
src/lib/openaiCompatibleImageApi.ts:141
↓ 2 callers
Function
readJsonServerSentEvents
(response: Response, onEvent: (event: Record<string, unknown>) => void | Promise<void>, signals: Array<AbortSi
src/lib/agentApi.ts:357
↓ 2 callers
Function
renderImageThumbs
()
src/components/InputBar.tsx:1866
↓ 2 callers
Function
renderParams
(cols: string)
src/components/InputBar.tsx:1886
↓ 2 callers
Function
resolveAgentPromptImageReferences
(prompt: string, rounds: AgentRound[], tasks: TaskRecord[])
src/lib/agentImageReferences.ts:40
↓ 2 callers
Function
retryTask
(task: TaskRecord)
src/store.ts:5070
↓ 2 callers
Function
roundToMultiple
(value: number, multiple: number)
src/lib/size.ts:12
↓ 2 callers
Function
sanitizeResponseOutputForInput
(output: ResponsesOutputItem[], options: { allowPendingFunctionCalls?: boolean } = {})
src/store.ts:3147
↓ 2 callers
Function
scaleToFit
(scale: number)
src/lib/size.ts:28
↓ 2 callers
Function
scrubAgentOutputPayloadsForDeletedTasks
(deletedTasks: TaskRecord[], remainingTasks: TaskRecord[])
src/store.ts:3132
↓ 2 callers
Function
scrubResponseOutputForDeletedAgentTasks
(round: AgentRound, output: ResponsesOutputItem[], deletedTasks: TaskRecord[])
src/store.ts:3071
↓ 2 callers
Function
sendRawSse
(res, body, options = {})
scripts/mock-image-api.mjs:70
↓ 2 callers
Function
setAgentInputDraft
(drafts: Record<string, AgentInputDraft>, conversationId: string, draft: AgentInputDraft)
src/store.ts:1071
↓ 2 callers
Function
setImageDragTarget
(idx: number | null, clientX?: number)
src/components/InputBar.tsx:1603
↓ 2 callers
Function
setOutputImage
(imageId: string, dataUrl: string)
src/components/DetailModal.tsx:190
↓ 2 callers
Function
showImageHintUntilRelease
(id: string)
src/components/InputBar.tsx:1054
↓ 2 callers
Function
startDragScroll
(direction: -1 | 1)
src/components/TaskGrid.tsx:129
↓ 2 callers
Function
startDragScroll
(direction: -1 | 1)
src/hooks/useDragSelect.ts:110
↓ 2 callers
Function
startRename
(e: React.MouseEvent, collection: { id: string, name: string })
src/components/favorites/ManageCollectionsModal.tsx:233
↓ 2 callers
Function
subscribeImageThumbnail
(id: string, callback: (thumbnail: { dataUrl: string; width?: number; height?: number }) => void)
src/store.ts:218
↓ 2 callers
Function
taskHasOutputErrors
(task: Pick<TaskRecord, 'outputErrors'>)
src/store.ts:1776
↓ 2 callers
Function
toggleChecked
(id: string, checked: boolean)
src/components/favorites/FavoriteCollectionPickerModal.tsx:87
↓ 2 callers
Function
triggerDownload
(blob: Blob, fileName: string)
src/lib/downloadImages.ts:116
↓ 2 callers
Function
truncateAgentReferencePrompt
(prompt: string)
src/store.ts:3022
↓ 2 callers
Function
validateMaskMatchesImage
(maskDataUrl: string, imageDataUrl: string)
src/lib/canvasImage.ts:46
↓ 1 callers
Function
addImageFromFile
(file: File)
src/store.ts:5575
↓ 1 callers
Function
addImageFromUrl
(src: string)
src/store.ts:5590
↓ 1 callers
Function
addImageSizeParam
( params: Partial<TaskParams> | undefined, size: { width?: number; height?: number } | undefined, )
src/store.ts:2002
↓ 1 callers
Function
addInteriorKeyColorIslands
( data: Uint8ClampedArray, width: number, height: number, keyRgb: Rgb, mask: Uint8Array, )
src/lib/transparentImage.ts:153
↓ 1 callers
Function
agentImageMentionMatches
(query: string, label: string)
src/components/InputBar.tsx:354
← previous
next →
401–500 of 1,073, ranked by callers