Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SKaplanOfficial/Raycast-PromptLab
/ functions
Functions
180 in github.com/SKaplanOfficial/Raycast-PromptLab
⨍
Functions
180
◇
Types & classes
12
↓ 37 callers
Function
isTrueStr
(str: string | boolean | undefined)
src/lib/common/types.ts:45
↓ 29 callers
Function
getActionShortcut
( actionName: string, advancedSettings: typeof defaultAdvancedSettings, )
src/lib/actions/index.ts:60
↓ 23 callers
Function
isActionEnabled
(actionName: string, advancedSettings: typeof defaultAdvancedSettings)
src/lib/actions/index.ts:11
↓ 21 callers
Function
filterString
(str: string, cutoff?: number)
src/lib/context-utils.ts:12
↓ 20 callers
Function
isCommand
(obj: object)
src/lib/commands/types.ts:290
↓ 11 callers
Function
isStoreCommand
(obj: object)
src/lib/commands/types.ts:299
↓ 7 callers
Function
runScript
( scriptName: string, returnType = ReturnType.STRING, language = "AppleScript", ...args: (string | num
src/lib/scripts/index.ts:228
↓ 6 callers
Function
isChat
(obj: object)
src/lib/chats/types.ts:184
↓ 6 callers
Function
isModel
(obj: object)
src/lib/models/types.ts:117
↓ 6 callers
Function
loadCommands
()
src/lib/commands/index.ts:10
↓ 6 callers
Function
loadCustomPlaceholders
(settings: typeof defaultAdvancedSettings)
src/lib/placeholders/utils.ts:14
↓ 6 callers
Function
useAdvancedSettings
()
src/hooks/useAdvancedSettings.ts:12
↓ 5 callers
Function
anyActionsEnabled
(actionNames: string[], advancedSettings: typeof defaultAdvancedSettings)
src/lib/actions/index.ts:27
↓ 5 callers
Function
getFrequencyHistogram
(arr: string[])
src/hooks/useChats.ts:217
↓ 5 callers
Function
installDefaults
()
src/lib/files/file-utils.ts:24
↓ 5 callers
Function
itemTypeForObject
(object: object)
src/lib/common/object-utils.ts:31
↓ 5 callers
Function
updateModel
(model: Model, newData: Model)
src/lib/models/index.ts:10
↓ 5 callers
Function
useModels
()
src/hooks/useModels.ts:7
↓ 5 callers
Function
valueForKeyPath
( obj: JSONObject | string | string[] | JSONObject[], pathString: string, defaultValue?: string, )
src/lib/models/model-utils.ts:53
↓ 4 callers
Function
addImageDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions, )
src/hooks/useFiles.ts:387
↓ 4 callers
Function
execScript
( script: string, args: (string | boolean | number)[], language = "AppleScript", stderrCallback?: (dat
src/lib/scripts/index.ts:20
↓ 4 callers
Function
getFileContent
( filePath: string, options?: CommandOptions, index?: number, maxCharacters?: number, settings?: typ
src/hooks/useFiles.ts:82
↓ 4 callers
Function
updateCommand
( oldCommandData: Command | undefined, newCommandData: Command, setCommands?: (commands: Command[]) => v
src/lib/commands/index.ts:303
↓ 3 callers
Function
deleteChat
(chat: Chat)
src/lib/chats/index.ts:30
↓ 3 callers
Function
getMenubarOwningApplication
( includePaths?: boolean, )
src/lib/context-utils.ts:44
↓ 3 callers
Function
isTextFile
(filepath: string)
src/hooks/useFiles.ts:66
↓ 3 callers
Function
loadAdvancedSettingsSync
()
src/lib/storage-utils.ts:31
↓ 3 callers
Function
logDebug
(data: unknown, style = DebugStyle.Info)
src/lib/dev-utils.ts:22
↓ 3 callers
Function
runActionScript
( script: string, prompt: string, input: string, response: string, type?: string, )
src/lib/commands/command-utils.ts:25
↓ 3 callers
Function
runModel
(basePrompt: string, prompt: string, input: string, temperature = "1.0")
src/lib/models/runModel.ts:20
↓ 3 callers
Function
submitQuery
(newQuery: string, sender = "USER_QUERY")
src/components/Chats/CommandChatView.tsx:85
↓ 3 callers
Function
useSpeech
(options: CommandOptions, isLoading: boolean, response: string)
src/hooks/useSpeech.ts:7
↓ 2 callers
Function
addTextFileDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:398
↓ 2 callers
Function
applyReplacements
(query: string)
src/components/Chats/CommandChatView.tsx:143
↓ 2 callers
Function
commandDataForEditing
(oldCommand: Command | StoreCommand, duplicate = false)
src/lib/commands/index.ts:228
↓ 2 callers
Function
commandFromStoreCommand
(storeCommand: StoreCommand)
src/lib/commands/index.ts:162
↓ 2 callers
Function
commandsMatchingCategory
(category: string | CommandCategory)
src/hooks/useCommands.ts:36
↓ 2 callers
Function
deleteCommand
(command: Command)
src/lib/commands/index.ts:41
↓ 2 callers
Function
deleteModel
(model: Model)
src/lib/models/index.ts:22
↓ 2 callers
Function
getFinalSchema
( targetModel: Model, prompt: string, basePrompt: string, input: string, preferences: ExtensionPrefe
src/lib/models/model-utils.ts:91
↓ 2 callers
Function
isApp
(filepath: string)
src/hooks/useFiles.ts:46
↓ 2 callers
Function
isCommandRun
(obj: object)
src/lib/commands/types.ts:308
↓ 2 callers
Function
loadChats
()
src/hooks/useChats.ts:68
↓ 2 callers
Function
loadModels
()
src/hooks/useModels.ts:12
↓ 2 callers
Function
revalidateAdvancedSettings
()
src/hooks/useAdvancedSettings.ts:48
↓ 2 callers
Function
runReplacements
( prompt: string, context: { [key: string]: string }, disallowedCommands: string[], options?: CommandO
src/lib/commands/command-utils.ts:103
↓ 2 callers
Function
startSpeaking
()
src/hooks/useSpeech.ts:15
↓ 2 callers
Function
stopModel
()
src/hooks/useModel.ts:205
↓ 2 callers
Function
unzipToTemp
(zipPath: string)
src/lib/files/file-utils.ts:205
↓ 2 callers
Function
updateChat
(chat: Chat, newData: Chat)
src/lib/chats/index.ts:11
↓ 2 callers
Function
useCommands
()
src/hooks/useCommands.ts:11
↓ 2 callers
Function
useModel
( basePrompt: string, prompt: string, input: string, temperature: string, execute: boolean, modelO
src/hooks/useModel.ts:25
↓ 1 callers
Function
activateChat
(chat: Chat | undefined)
src/components/Chats/CommandChatView.tsx:361
↓ 1 callers
Function
addAppDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions, )
src/hooks/useFiles.ts:301
↓ 1 callers
Function
addAudioDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions, )
src/hooks/useFiles.ts:370
↓ 1 callers
Function
addDirectoryDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:296
↓ 1 callers
Function
addKeynoteDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, settings: typeof defaultAd
src/hooks/useFiles.ts:248
↓ 1 callers
Function
addMetadataDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:422
↓ 1 callers
Function
addOfficeDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:286
↓ 1 callers
Function
addPDFDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions, )
src/hooks/useFiles.ts:335
↓ 1 callers
Function
addPagesDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:234
↓ 1 callers
Function
addSpreadsheetDetails
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:279
↓ 1 callers
Function
addVideoDetails
( filepath: string, currentData: { [key: string]: string; contents: string }, options: CommandOptions,
src/hooks/useFiles.ts:347
↓ 1 callers
Function
attemptAddRawText
(filepath: string, currentData: { [key: string]: string; contents: string })
src/hooks/useFiles.ts:410
↓ 1 callers
Function
camelize
(str: string)
src/lib/commands/command-utils.ts:91
↓ 1 callers
Function
createAdvancedSettings
()
src/hooks/useAdvancedSettings.ts:21
↓ 1 callers
Function
createChat
(name: string, basePrompt: string, options: object, fileExistsAlready = false)
src/hooks/useChats.ts:26
↓ 1 callers
Function
createCommandRun
( command: Command, data: { prompt: string; response: string; error?: string; }, )
src/lib/commands/index.ts:278
↓ 1 callers
Function
deleteCommandRun
(run: PLCommandRunProperties)
src/lib/commands/index.ts:327
↓ 1 callers
Function
getActiveApp
()
src/components/Commands/actions/ResponseActions.tsx:22
↓ 1 callers
Function
getAudioDetails
(filePath: string)
src/lib/files/file-utils.ts:106
↓ 1 callers
Function
getDefaultValues
()
src/components/Commands/CommandForm.tsx:125
↓ 1 callers
Function
getDefaultValues
()
src/components/Models/ModelForm.tsx:45
↓ 1 callers
Function
getFileExifData
(filePath: string)
src/lib/files/file-utils.ts:63
↓ 1 callers
Function
getImageDetails
(filePath: string, options: CommandOptions)
src/lib/files/file-utils.ts:77
↓ 1 callers
Function
getObjectJSON
(object: object)
src/lib/common/object-utils.ts:12
↓ 1 callers
Function
installAllCommands
( availableCommands: StoreCommand[], setCommands: (commands: Command[]) => void, )
src/lib/commands/StoreCommand.ts:11
↓ 1 callers
Function
isAudioFile
(filepath: string)
src/hooks/useFiles.ts:58
↓ 1 callers
Function
isImageFile
(filepath: string)
src/hooks/useFiles.ts:62
↓ 1 callers
Function
isOfficeFile
(filepath: string)
src/hooks/useFiles.ts:73
↓ 1 callers
Function
isPDF
(filepath: string)
src/hooks/useFiles.ts:50
↓ 1 callers
Function
isSpreadsheet
(filepath: string)
src/hooks/useFiles.ts:78
↓ 1 callers
Function
isTrueDirectory
(filepath: string)
src/hooks/useFiles.ts:38
↓ 1 callers
Function
isVideoFile
(filepath: string)
src/hooks/useFiles.ts:54
↓ 1 callers
Function
loadAdvancedSettings
()
src/hooks/useAdvancedSettings.ts:32
↓ 1 callers
Function
loadConversation
(chatName: string)
src/hooks/useChats.ts:138
↓ 1 callers
Function
loadFileContents
(selection: { paths: string[]; csv: string })
src/hooks/useFiles.ts:183
↓ 1 callers
Function
loadSelection
()
src/hooks/useFiles.ts:152
↓ 1 callers
Function
revalidate
()
src/hooks/useFiles.ts:211
↓ 1 callers
Function
runScript
(script: string)
src/lib/commands/command-utils.ts:52
↓ 1 callers
Function
sendMessage
(msg: string)
src/lib/scripts/index.ts:27
↓ 1 callers
Function
showDialog
(title: string, content: string)
src/lib/scripts/index.ts:193
↓ 1 callers
Function
startSpeechInput
()
src/components/Commands/SpeechInputView.tsx:14
↓ 1 callers
Function
useChats
()
src/hooks/useChats.ts:11
↓ 1 callers
Function
useFiles
(options: CommandOptions)
src/hooks/useFiles.ts:144
↓ 1 callers
Function
waitForFinish
()
src/lib/scripts/index.ts:71
Function
AddNewModelAction
(props: { models: ModelManager; settings: typeof defaultAdvancedSettings })
src/components/Models/actions/AddNewModelAction.tsx:13
Function
AdvancedActionSubmenu
(props: { settings: typeof defaultAdvancedSettings })
src/components/actions/AdvancedActionSubmenu.tsx:14
Function
CategoryDropdown
(props: { onSelection: (newValue: string) => void })
src/components/CategoryDropdown.tsx:3
Function
ChatActionPanel
(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