MCPcopy Create free account

hub / github.com/SKaplanOfficial/Raycast-PromptLab / functions

Functions180 in github.com/SKaplanOfficial/Raycast-PromptLab

↓ 37 callersFunctionisTrueStr
(str: string | boolean | undefined)
src/lib/common/types.ts:45
↓ 29 callersFunctiongetActionShortcut
( actionName: string, advancedSettings: typeof defaultAdvancedSettings, )
src/lib/actions/index.ts:60
↓ 23 callersFunctionisActionEnabled
(actionName: string, advancedSettings: typeof defaultAdvancedSettings)
src/lib/actions/index.ts:11
↓ 21 callersFunctionfilterString
(str: string, cutoff?: number)
src/lib/context-utils.ts:12
↓ 20 callersFunctionisCommand
(obj: object)
src/lib/commands/types.ts:290
↓ 11 callersFunctionisStoreCommand
(obj: object)
src/lib/commands/types.ts:299
↓ 7 callersFunctionrunScript
( scriptName: string, returnType = ReturnType.STRING, language = "AppleScript", ...args: (string | num
src/lib/scripts/index.ts:228
↓ 6 callersFunctionisChat
(obj: object)
src/lib/chats/types.ts:184
↓ 6 callersFunctionisModel
(obj: object)
src/lib/models/types.ts:117
↓ 6 callersFunctionloadCommands
()
src/lib/commands/index.ts:10
↓ 6 callersFunctionloadCustomPlaceholders
(settings: typeof defaultAdvancedSettings)
src/lib/placeholders/utils.ts:14
↓ 6 callersFunctionuseAdvancedSettings
()
src/hooks/useAdvancedSettings.ts:12
↓ 5 callersFunctionanyActionsEnabled
(actionNames: string[], advancedSettings: typeof defaultAdvancedSettings)
src/lib/actions/index.ts:27
↓ 5 callersFunctiongetFrequencyHistogram
(arr: string[])
src/hooks/useChats.ts:217
↓ 5 callersFunctioninstallDefaults
()
src/lib/files/file-utils.ts:24
↓ 5 callersFunctionitemTypeForObject
(object: object)
src/lib/common/object-utils.ts:31
↓ 5 callersFunctionupdateModel
(model: Model, newData: Model)
src/lib/models/index.ts:10
↓ 5 callersFunctionuseModels
()
src/hooks/useModels.ts:7
↓ 5 callersFunctionvalueForKeyPath
( obj: JSONObject | string | string[] | JSONObject[], pathString: string, defaultValue?: string, )
src/lib/models/model-utils.ts:53
↓ 4 callersFunctionaddImageDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions, )
src/hooks/useFiles.ts:387
↓ 4 callersFunctionexecScript
( script: string, args: (string | boolean | number)[], language = "AppleScript", stderrCallback?: (dat
src/lib/scripts/index.ts:20
↓ 4 callersFunctiongetFileContent
( filePath: string, options?: CommandOptions, index?: number, maxCharacters?: number, settings?: typ
src/hooks/useFiles.ts:82
↓ 4 callersFunctionupdateCommand
( oldCommandData: Command | undefined, newCommandData: Command, setCommands?: (commands: Command[]) => v
src/lib/commands/index.ts:303
↓ 3 callersFunctiondeleteChat
(chat: Chat)
src/lib/chats/index.ts:30
↓ 3 callersFunctiongetMenubarOwningApplication
( includePaths?: boolean, )
src/lib/context-utils.ts:44
↓ 3 callersFunctionisTextFile
(filepath: string)
src/hooks/useFiles.ts:66
↓ 3 callersFunctionloadAdvancedSettingsSync
()
src/lib/storage-utils.ts:31
↓ 3 callersFunctionlogDebug
(data: unknown, style = DebugStyle.Info)
src/lib/dev-utils.ts:22
↓ 3 callersFunctionrunActionScript
( script: string, prompt: string, input: string, response: string, type?: string, )
src/lib/commands/command-utils.ts:25
↓ 3 callersFunctionrunModel
(basePrompt: string, prompt: string, input: string, temperature = "1.0")
src/lib/models/runModel.ts:20
↓ 3 callersFunctionsubmitQuery
(newQuery: string, sender = "USER_QUERY")
src/components/Chats/CommandChatView.tsx:85
↓ 3 callersFunctionuseSpeech
(options: CommandOptions, isLoading: boolean, response: string)
src/hooks/useSpeech.ts:7
↓ 2 callersFunctionaddTextFileDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:398
↓ 2 callersFunctionapplyReplacements
(query: string)
src/components/Chats/CommandChatView.tsx:143
↓ 2 callersFunctioncommandDataForEditing
(oldCommand: Command | StoreCommand, duplicate = false)
src/lib/commands/index.ts:228
↓ 2 callersFunctioncommandFromStoreCommand
(storeCommand: StoreCommand)
src/lib/commands/index.ts:162
↓ 2 callersFunctioncommandsMatchingCategory
(category: string | CommandCategory)
src/hooks/useCommands.ts:36
↓ 2 callersFunctiondeleteCommand
(command: Command)
src/lib/commands/index.ts:41
↓ 2 callersFunctiondeleteModel
(model: Model)
src/lib/models/index.ts:22
↓ 2 callersFunctiongetFinalSchema
( targetModel: Model, prompt: string, basePrompt: string, input: string, preferences: ExtensionPrefe
src/lib/models/model-utils.ts:91
↓ 2 callersFunctionisApp
(filepath: string)
src/hooks/useFiles.ts:46
↓ 2 callersFunctionisCommandRun
(obj: object)
src/lib/commands/types.ts:308
↓ 2 callersFunctionloadChats
()
src/hooks/useChats.ts:68
↓ 2 callersFunctionloadModels
()
src/hooks/useModels.ts:12
↓ 2 callersFunctionrevalidateAdvancedSettings
()
src/hooks/useAdvancedSettings.ts:48
↓ 2 callersFunctionrunReplacements
( prompt: string, context: { [key: string]: string }, disallowedCommands: string[], options?: CommandO
src/lib/commands/command-utils.ts:103
↓ 2 callersFunctionstartSpeaking
()
src/hooks/useSpeech.ts:15
↓ 2 callersFunctionstopModel
()
src/hooks/useModel.ts:205
↓ 2 callersFunctionunzipToTemp
(zipPath: string)
src/lib/files/file-utils.ts:205
↓ 2 callersFunctionupdateChat
(chat: Chat, newData: Chat)
src/lib/chats/index.ts:11
↓ 2 callersFunctionuseCommands
()
src/hooks/useCommands.ts:11
↓ 2 callersFunctionuseModel
( basePrompt: string, prompt: string, input: string, temperature: string, execute: boolean, modelO
src/hooks/useModel.ts:25
↓ 1 callersFunctionactivateChat
(chat: Chat | undefined)
src/components/Chats/CommandChatView.tsx:361
↓ 1 callersFunctionaddAppDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions, )
src/hooks/useFiles.ts:301
↓ 1 callersFunctionaddAudioDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions, )
src/hooks/useFiles.ts:370
↓ 1 callersFunctionaddDirectoryDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:296
↓ 1 callersFunctionaddKeynoteDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, settings: typeof defaultAd
src/hooks/useFiles.ts:248
↓ 1 callersFunctionaddMetadataDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:422
↓ 1 callersFunctionaddOfficeDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:286
↓ 1 callersFunctionaddPDFDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions, )
src/hooks/useFiles.ts:335
↓ 1 callersFunctionaddPagesDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:234
↓ 1 callersFunctionaddSpreadsheetDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:279
↓ 1 callersFunctionaddVideoDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions,
src/hooks/useFiles.ts:347
↓ 1 callersFunctionattemptAddRawText
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:410
↓ 1 callersFunctioncamelize
(str: string)
src/lib/commands/command-utils.ts:91
↓ 1 callersFunctioncreateAdvancedSettings
()
src/hooks/useAdvancedSettings.ts:21
↓ 1 callersFunctioncreateChat
(name: string, basePrompt: string, options: object, fileExistsAlready = false)
src/hooks/useChats.ts:26
↓ 1 callersFunctioncreateCommandRun
( command: Command, data: { prompt: string; response: string; error?: string; }, )
src/lib/commands/index.ts:278
↓ 1 callersFunctiondeleteCommandRun
(run: PLCommandRunProperties)
src/lib/commands/index.ts:327
↓ 1 callersFunctiongetActiveApp
()
src/components/Commands/actions/ResponseActions.tsx:22
↓ 1 callersFunctiongetAudioDetails
(filePath: string)
src/lib/files/file-utils.ts:106
↓ 1 callersFunctiongetDefaultValues
()
src/components/Commands/CommandForm.tsx:125
↓ 1 callersFunctiongetDefaultValues
()
src/components/Models/ModelForm.tsx:45
↓ 1 callersFunctiongetFileExifData
(filePath: string)
src/lib/files/file-utils.ts:63
↓ 1 callersFunctiongetImageDetails
(filePath: string, options: CommandOptions)
src/lib/files/file-utils.ts:77
↓ 1 callersFunctiongetObjectJSON
(object: object)
src/lib/common/object-utils.ts:12
↓ 1 callersFunctioninstallAllCommands
( availableCommands: StoreCommand[], setCommands: (commands: Command[]) => void, )
src/lib/commands/StoreCommand.ts:11
↓ 1 callersFunctionisAudioFile
(filepath: string)
src/hooks/useFiles.ts:58
↓ 1 callersFunctionisImageFile
(filepath: string)
src/hooks/useFiles.ts:62
↓ 1 callersFunctionisOfficeFile
(filepath: string)
src/hooks/useFiles.ts:73
↓ 1 callersFunctionisPDF
(filepath: string)
src/hooks/useFiles.ts:50
↓ 1 callersFunctionisSpreadsheet
(filepath: string)
src/hooks/useFiles.ts:78
↓ 1 callersFunctionisTrueDirectory
(filepath: string)
src/hooks/useFiles.ts:38
↓ 1 callersFunctionisVideoFile
(filepath: string)
src/hooks/useFiles.ts:54
↓ 1 callersFunctionloadAdvancedSettings
()
src/hooks/useAdvancedSettings.ts:32
↓ 1 callersFunctionloadConversation
(chatName: string)
src/hooks/useChats.ts:138
↓ 1 callersFunctionloadFileContents
(selection: { paths: string[]; csv: string })
src/hooks/useFiles.ts:183
↓ 1 callersFunctionloadSelection
()
src/hooks/useFiles.ts:152
↓ 1 callersFunctionrevalidate
()
src/hooks/useFiles.ts:211
↓ 1 callersFunctionrunScript
(script: string)
src/lib/commands/command-utils.ts:52
↓ 1 callersFunctionsendMessage
(msg: string)
src/lib/scripts/index.ts:27
↓ 1 callersFunctionshowDialog
(title: string, content: string)
src/lib/scripts/index.ts:193
↓ 1 callersFunctionstartSpeechInput
()
src/components/Commands/SpeechInputView.tsx:14
↓ 1 callersFunctionuseChats
()
src/hooks/useChats.ts:11
↓ 1 callersFunctionuseFiles
(options: CommandOptions)
src/hooks/useFiles.ts:144
↓ 1 callersFunctionwaitForFinish
()
src/lib/scripts/index.ts:71
FunctionAddNewModelAction
(props: { models: ModelManager; settings: typeof defaultAdvancedSettings })
src/components/Models/actions/AddNewModelAction.tsx:13
FunctionAdvancedActionSubmenu
(props: { settings: typeof defaultAdvancedSettings })
src/components/actions/AdvancedActionSubmenu.tsx:14
FunctionCategoryDropdown
(props: { onSelection: (newValue: string) => void })
src/components/CategoryDropdown.tsx:3
FunctionChatActionPanel
(props: { isLoading: boolean; chat: Chat | undefined; chats: ChatManager; useFileContext: boolean; u
src/components/Chats/actions/ChatActionPanel.tsx:17
next →1–100 of 180, ranked by callers