MCPcopy Create free account

hub / github.com/CookSleep/gpt_image_playground / functions

Functions1,073 in github.com/CookSleep/gpt_image_playground

↓ 3 callersFunctionrestoreGalleryInputDraftState
(draft: AgentInputDraft | null)
src/store.ts:1096
↓ 3 callersFunctionrestoreMask
(imageData: ImageData)
src/components/MaskEditorModal.tsx:381
↓ 3 callersFunctionsafeCreateImageThumbnail
(dataUrl: string)
src/lib/db.ts:325
↓ 3 callersFunctionsanitizeFileNamePart
(value: string)
src/lib/exportFileName.ts:10
↓ 3 callersFunctionsaveGalleryInputDraft
(state: Pick<AppState, 'appMode' | 'galleryInputDraft' | 'prompt' | 'inputImages' | 'maskDraft' | 'maskEditorI
src/store.ts:1086
↓ 3 callersFunctionscheduleThumbnailBackfill
(ids: Iterable<string>, priority: 'visible' | 'background' = 'background')
src/store.ts:235
↓ 3 callersFunctionscheduleThumbnailBackfillTick
()
src/store.ts:244
↓ 3 callersFunctionsetZipDownloadRouteEnabled
(route: ZipDownloadRoute, enabled: boolean)
src/components/SettingsModal.tsx:574
↓ 3 callersFunctionshouldFailAlternating
(mode, pathname)
scripts/mock-image-api.mjs:122
↓ 3 callersFunctionshowCodexCliPrompt
(force = false, reason = '接口返回的提示词已被改写')
src/store.ts:1795
↓ 3 callersFunctionstopAgentResponse
(conversationId = useStore.getState().activeAgentConversationId)
src/store.ts:2653
↓ 3 callersFunctionstoreTaskOutputImages
(task: TaskRecord, images: string[])
src/store.ts:2848
↓ 3 callersFunctionsuppressGlobalClicks
(durationMs = 450)
src/lib/clickSuppression.ts:5
↓ 3 callersFunctionupdateCopyImportUrlOptions
(patch: Partial<CopyImportUrlOptions>)
src/components/SettingsModal.tsx:581
↓ 3 callersFunctionvalidateMaskTarget
(inputImages: InputImage[], targetImageId: string)
src/lib/mask.ts:5
↓ 3 callersFunctionzoomAtPoint
( transform: ViewTransform, point: Point, nextScale: number, viewportSize: Size, )
src/lib/viewportTransform.ts:45
↓ 2 callersFunctionactivateFirstImportedProfile
(settings: AppSettings, importedSettings: unknown)
src/lib/urlSettings.ts:61
↓ 2 callersFunctionappendQuery
(path: string, query?: Record<string, string>)
src/lib/openaiCompatibleImageApi.ts:29
↓ 2 callersFunctionapplyBoundary
(range: Range, boundary: Boundary, target: 'start' | 'end')
src/components/InputBar.tsx:306
↓ 2 callersFunctionapplyUrlSettings
(baseSettings: Partial<AppSettings>)
src/App.tsx:40
↓ 2 callersFunctionassertMaxBytes
(label: string, bytes: number, maxBytes: number)
src/lib/imageApiShared.ts:73
↓ 2 callersFunctionbeginPinchGesture
()
src/components/MaskEditorModal.tsx:225
↓ 2 callersFunctionbeginSelection
(target: HTMLElement, clientX: number, clientY: number, isCtrl: boolean)
src/components/TaskGrid.tsx:59
↓ 2 callersFunctionbuildAgentContinuationInput
(baseInput: unknown[], round: AgentRound, tasks: TaskRecord[], currentRoundOutput: ResponsesOutputItem[], tool
src/store.ts:3209
↓ 2 callersFunctionbuildExportZip
(params: BuildExportZipParams)
src/lib/exportZip.ts:31
↓ 2 callersFunctionbuildTransparentPrompt
(prompt: string)
src/lib/transparentImage.ts:25
↓ 2 callersFunctionbytesToBase64
(bytes: Uint8Array)
src/lib/dataUrl.ts:9
↓ 2 callersFunctionbytesToDataUrl
(bytes: Uint8Array, filePath: string)
src/lib/dataUrl.ts:26
↓ 2 callersFunctioncallAgentConversationTitleApi
(opts: { settings: AppSettings profile: ApiProfile prompt: string imageDataUrls?: string[] signal?:
src/lib/agentApi.ts:757
↓ 2 callersFunctioncallHybridImageApiSingle
(opts: { taskId: string prompt: string referenceImageDataUrls: string[] taskParams: Ta
src/store.ts:4047
↓ 2 callersFunctioncallImagesApiSingle
(opts: CallApiOptions, profile: ApiProfile)
src/lib/openaiCompatibleImageApi.ts:553
↓ 2 callersFunctioncallResponsesImageApiSingle
(opts: CallApiOptions, profile: ApiProfile)
src/lib/openaiCompatibleImageApi.ts:1038
↓ 2 callersFunctioncanCopyImageToClipboard
()
src/lib/clipboard.ts:30
↓ 2 callersFunctioncanScrollAxis
(element: HTMLElement, axis: 'x' | 'y', delta: number)
src/hooks/usePreventBackgroundScroll.ts:23
↓ 2 callersFunctioncanScrollWithin
(root: HTMLElement, target: EventTarget | null, delta: ScrollDelta)
src/hooks/usePreventBackgroundScroll.ts:51
↓ 2 callersFunctionceilToMultiple
(value: number, multiple: number)
src/lib/size.ts:20
↓ 2 callersFunctioncentroid
(a: Point, b: Point)
src/components/MaskEditorModal.tsx:59
↓ 2 callersFunctionclearInputDraftState
()
src/store.ts:1038
↓ 2 callersFunctionclearTouchDrag
()
src/components/Select.tsx:166
↓ 2 callersFunctionclearUrlSettingParams
(searchParams: URLSearchParams)
src/lib/urlSettings.ts:153
↓ 2 callersFunctionclientPointToCanvasPoint
(rect: ClientRectLike, point: Point, canvasSize: Size)
src/lib/viewportTransform.ts:86
↓ 2 callersFunctionconfigureFal
(profile: ApiProfile)
src/lib/falAiImageApi.ts:39
↓ 2 callersFunctionconfirmCopyProfileImportUrl
(profile: ApiProfile)
src/components/SettingsModal.tsx:653
↓ 2 callersFunctionconfirmRename
()
src/components/HistoryModal.tsx:147
↓ 2 callersFunctionconfirmRename
()
src/components/favorites/FavoriteCollectionPickerModal.tsx:256
↓ 2 callersFunctionconfirmRenameConversation
()
src/components/AgentWorkspace.tsx:596
↓ 2 callersFunctioncopyImageSourceToClipboard
(src: string | Promise<string | undefined>)
src/lib/clipboard.ts:18
↓ 2 callersFunctioncopyProfileImportUrl
(profile: ApiProfile, options: CopyImportUrlOptions)
src/components/SettingsModal.tsx:643
↓ 2 callersFunctioncountResponseToolCalls
(output: ResponsesOutputItem[])
src/store.ts:3182
↓ 2 callersFunctioncreateAgentAssistantFallbackItem
(text: string)
src/store.ts:3027
↓ 2 callersFunctioncreateAgentBatchImagesInputItem
(round: AgentRound, tasks: TaskRecord[], batchTaskIds: string[])
src/store.ts:2985
↓ 2 callersFunctioncreateAgentRecoveryPauseError
()
src/store.ts:2487
↓ 2 callersFunctioncreateDefaultCustomProviderForm
()
src/components/SettingsModal.tsx:152
↓ 2 callersFunctioncreateFavoriteCollection
(name: string)
src/store.ts:4960
↓ 2 callersFunctioncreateInputImageFromFile
(file: File)
src/store.ts:5581
↓ 2 callersFunctioncreateOpenAIResponse
(req, mode, n = 1)
scripts/mock-image-api.mjs:151
↓ 2 callersFunctioncreateResponsesPayload
(mode)
scripts/mock-image-api.mjs:233
↓ 2 callersFunctioncreateTransparentOutputMeta
(prompt: string)
src/lib/transparentImage.ts:38
↓ 2 callersFunctioncustomProviderToForm
(provider: CustomProviderDefinition)
src/components/SettingsModal.tsx:158
↓ 2 callersFunctiondeleteImageIfUnreferenced
(imageId: string)
src/store.ts:955
↓ 2 callersFunctiondistance
(a: Point, b: Point)
src/components/MaskEditorModal.tsx:55
↓ 2 callersFunctionendSelection
(clearEmptySurfaceClick = false, suppressClick = false)
src/components/TaskGrid.tsx:138
↓ 2 callersFunctionendSelection
(clearEmptySurfaceClick = false, suppressClick = false)
src/hooks/useDragSelect.ts:119
↓ 2 callersFunctionensureImageThumbnailCached
(id: string)
src/store.ts:198
↓ 2 callersFunctionescapeHtml
(text: string)
src/components/InputBar.tsx:182
↓ 2 callersFunctionescapeXmlAttribute
(value: string)
src/store.ts:3014
↓ 2 callersFunctionexecuteTask
(taskId: string)
src/store.ts:4657
↓ 2 callersFunctionextractCustomImages
(payload: unknown, result: CustomProviderResultMapping, mime: string, signal?: AbortSignal)
src/lib/openaiCompatibleImageApi.ts:810
↓ 2 callersFunctionextractImageFromOutputItem
(item: ResponsesOutputItem, fallbackMime: string)
src/lib/agentApi.ts:500
↓ 2 callersFunctionfindBoundary
(targetOffset: number, edge: 'start' | 'end')
src/components/InputBar.tsx:274
↓ 2 callersFunctionfirstTwoPointers
(points: Map<number, Point>)
src/components/MaskEditorModal.tsx:66
↓ 2 callersFunctionfloorToMultiple
(value: number, multiple: number)
src/lib/maskPreprocess.ts:22
↓ 2 callersFunctionflushAgentConversationsToIndexedDB
()
src/store.ts:1636
↓ 2 callersFunctionflushWebSearchGroup
()
src/components/AgentWorkspace.tsx:167
↓ 2 callersFunctionformatImageRatio
(width: number, height: number)
src/lib/size.ts:83
↓ 2 callersFunctionformatMiB
(bytes: number)
src/lib/imageApiShared.ts:52
↓ 2 callersFunctiongcd
(a: number, b: number)
src/lib/size.ts:95
↓ 2 callersFunctiongetActionButtonClass
(tone: 'primary' | 'secondary' | 'danger' | 'warning' = 'primary')
src/components/ConfirmDialog.tsx:38
↓ 2 callersFunctiongetAgentConversationTaskIds
(conversation: AgentConversation | null | undefined, tasks: TaskRecord[])
src/store.ts:2806
↓ 2 callersFunctiongetAgentReferenceTag
(referenceId: string)
src/lib/agentImageReferences.ts:15
↓ 2 callersFunctiongetAgentSiblingRounds
(conversation: AgentConversation, round: AgentRound)
src/store.ts:2784
↓ 2 callersFunctiongetAllByPath
(source: unknown, path: string | undefined)
src/lib/openaiCompatibleImageApi.ts:53
↓ 2 callersFunctiongetAllowedRoot
(target: EventTarget | null, allowRefs?: ScrollBoundaryRef | ScrollBoundaryRef[])
src/hooks/usePreventBackgroundScroll.ts:11
↓ 2 callersFunctiongetApiRequestNetworkErrorHint
( err: unknown, createdAt: number, usesApiProxy: boolean, profile?: Pick<ApiProfile, 'provider' | 'api
src/store.ts:1904
↓ 2 callersFunctiongetCanvasPoint
(canvas: HTMLCanvasElement, event: ReactPointerEvent<HTMLCanvasElement>)
src/components/MaskEditorModal.tsx:47
↓ 2 callersFunctiongetChangedParams
(current: TaskParams, next: TaskParams)
src/lib/paramCompatibility.ts:44
↓ 2 callersFunctiongetCodexCliPromptKey
(settings: AppSettings)
src/store.ts:1694
↓ 2 callersFunctiongetCollectionTasks
(collectionId: string, tasks: TaskRecord[])
src/components/favorites/favoriteUtils.ts:26
↓ 2 callersFunctiongetContentEditableCursor
获取 contentEditable 中光标的纯文本偏移量
src/components/InputBar.tsx:134
↓ 2 callersFunctiongetContentEditablePlainText
(el: HTMLElement)
src/components/InputBar.tsx:165
↓ 2 callersFunctiongetCurrentAgentInputDraft
(state: Pick<AppState, 'prompt' | 'inputImages' | 'maskDraft' | 'maskEditorImageId'>)
src/store.ts:1057
↓ 2 callersFunctiongetDefaultNamedFavoriteCollectionId
(collections: FavoriteCollection[])
src/store.ts:624
↓ 2 callersFunctiongetDraftWithActiveProfilePatch
(patch: Partial<ApiProfile>)
src/components/SettingsModal.tsx:660
↓ 2 callersFunctiongetErrorMessage
(err: unknown)
src/lib/openaiCompatibleImageApi.ts:104
↓ 2 callersFunctiongetErrorMessageFromValue
(value: unknown)
src/lib/agentApi.ts:306
↓ 2 callersFunctiongetFalCustomBaseUrlLabel
(profile: ApiProfile)
src/lib/falAiImageApi.ts:177
↓ 2 callersFunctiongetFalErrorMessage
(err: unknown)
src/lib/falAiImageApi.ts:152
↓ 2 callersFunctiongetFavoriteCollectionTasksForBatch
(collectionId: string, tasks: TaskRecord[])
src/components/InputBar.tsx:330
↓ 2 callersFunctiongetImageBlob
(imageIdOrUrl: string)
src/lib/downloadImages.ts:105
↓ 2 callersFunctiongetImageThumbnail
(id: string)
src/lib/db.ts:121
← previousnext →301–400 of 1,073, ranked by callers