MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,885 in github.com/danielmiessler/Fabric

↓ 6 callersMethodGetVendorMessages
()
internal/plugins/db/fsdb/sessions.go:136
↓ 6 callersFunctionLoadWorkflow
LoadWorkflow parses a workflow definition from a YAML or JSON file (JSON is valid YAML). It does not validate the contents – call Validate before runn
internal/cli/workflow.go:47
↓ 6 callersFunctionLooksLikePatternFilePath
LooksLikePatternFilePath reports whether loadPattern uses source as a filesystem path. HTTP handlers must reject these names to keep the CLI file-path
internal/plugins/db/fsdb/patterns.go:70
↓ 6 callersFunctionNewChatHandler
(r *gin.Engine, registry *core.PluginRegistry, db *fsdb.Db)
internal/server/chat.go:50
↓ 6 callersFunctionNewClient
()
internal/tools/sofya/sofya.go:28
↓ 6 callersFunctionNewClient
()
internal/tools/parallel/parallel.go:26
↓ 6 callersFunctionNewClient
NewClient creates a new LM Studio client with default configuration.
internal/plugins/ai/lmstudio/lmstudio.go:22
↓ 6 callersFunctionParseBool
(val string)
internal/plugins/plugin.go:217
↓ 6 callersFunctionRequireSecureBaseURL
RequireSecureBaseURL checks the base URL of a vendor that gets an API key or token. It accepts https, and http only for a loopback host, so that crede
internal/plugins/endpoint.go:18
↓ 6 callersFunctionSanitizeTerminalOutput
SanitizeTerminalOutput removes escape sequences and control characters from text before Fabric writes it to the terminal. Model output can contain seq
internal/domain/terminal.go:35
↓ 6 callersMethodSaveEnvFile
()
internal/core/plugin_registry.go:176
↓ 6 callersMethodUpdateEnvVars
UpdateEnvVars merges non-empty values into .env under a file lock. Comments and key order are not preserved.
internal/plugins/db/fsdb/db.go:145
↓ 6 callersMethodensureAccessToken
(ctx context.Context, forceRefresh bool)
internal/plugins/ai/codex/auth_transport.go:26
↓ 6 callersMethodmapRequestError
(err error)
internal/plugins/ai/codex/errors.go:60
↓ 6 callersFunctionmarshalJSON
(t *testing.T, value any)
internal/plugins/ai/codex/codex_test.go:840
↓ 6 callersFunctionnewOllamaEngine
newOllamaEngine makes the engine but does not start it, which lets tests operate the routes. The address parameter is the /api/chat forward target, no
internal/server/ollama.go:225
↓ 6 callersFunctionparseThinking
parseThinking changes a thinking level into the thinking shape for model. It returns a non-empty effort only for adaptive models. The caller must then
internal/plugins/ai/anthropic/anthropic.go:269
↓ 6 callersMethodresolvedPath
resolvedPath keeps name in the entity directory. It validates the name, checks containment again after absolute resolution, and rejects a symlinked en
internal/plugins/db/fsdb/storage.go:295
↓ 6 callersFunctionwriteSSE
(w http.ResponseWriter, frame string)
internal/plugins/ai/codex/codex_test.go:850
↓ 5 callersMethodAppend
(messages ...*chat.ChatCompletionMessage)
internal/plugins/db/fsdb/sessions.go:125
↓ 5 callersFunctionApplyFileChanges
ApplyFileChanges applies the parsed file changes to the file system. The change list comes from model output. Thus all writes go through os.Root, whi
internal/domain/file_manager.go:164
↓ 5 callersMethodBuildSession
BuildSession prints a notice for a new named session when announceNewSession is true.
internal/core/chatter.go:266
↓ 5 callersMethodConfigure
()
internal/plugins/db/fsdb/db.go:50
↓ 5 callersFunctionConvertMessages
ConvertMessages converts fabric chat messages to genai Content format. Gemini's API only accepts "user" and "model" roles, so other roles are mapped t
internal/plugins/ai/geminicommon/geminicommon.go:21
↓ 5 callersFunctionFormatMessages
FormatMessages writes each message as a role header line and its content. --dry-run and --print-prompt use this format.
internal/chatfmt/messages.go:12
↓ 5 callersMethodGetApplyVariables
GetApplyVariables main entry point for getting patterns from any source
internal/plugins/db/fsdb/patterns.go:39
↓ 5 callersMethodGetModels
()
internal/plugins/ai/vendors.go:59
↓ 5 callersMethodLoad
(name string)
internal/plugins/db/fsdb/storage.go:162
↓ 5 callersFunctionNewClient
()
internal/tools/searchapi/searchapi.go:27
↓ 5 callersFunctionNewClient
()
internal/tools/serply/serply.go:27
↓ 5 callersFunctionNewClientCompatibleNoSetupQuestions
(vendorName string, configureCustom func() error)
internal/plugins/ai/openai/openai.go:53
↓ 5 callersFunctionNewCustomPatterns
()
internal/tools/custom_patterns/custom_patterns.go:13
↓ 5 callersFunctionNewNotificationManager
NewNotificationManager creates a new notification manager with the best available provider
internal/tools/notifications/notifications.go:24
↓ 5 callersFunctionNewPatternsHandler
NewPatternsHandler creates a new PatternsHandler
internal/server/patterns.go:37
↓ 5 callersFunctionNewPublicHTTPClient
NewPublicHTTPClient returns an HTTP client for a URL that a template or a request supplies. control is the Control function of the dialer. If control
internal/util/httpclient.go:85
↓ 5 callersMethodPrepareRequest
PrepareRequest converts messages to Bedrock API format (Anthropic Messages API). System messages are extracted into the top-level "system" field per t
internal/plugins/ai/azureaigateway/backend_bedrock.go:62
↓ 5 callersMethodRegister
(configPath string)
internal/plugins/template/extension_registry.go:98
↓ 5 callersMethodSaveSession
SaveSession writes the session to its file. The caller must hold Lock for the session from Get until SaveSession. Lock uses the session name as its ke
internal/plugins/db/fsdb/sessions.go:110
↓ 5 callersMethodSearch
Search returns the top web results for query as markdown, one section per result, with the page text of each result when Sofya could read the page.
internal/tools/sofya/sofya.go:61
↓ 5 callersMethodSearch
Search returns the top web results for query as markdown, one section per result, with the page content of each result when Firecrawl could scrape it.
internal/tools/firecrawl/firecrawl.go:66
↓ 5 callersMethodSetWebSearchToolName
SetWebSearchToolName replaces the "web_search_preview" tool type that the Responses API request has when Search is true. A name that is not empty also
internal/plugins/ai/openai/openai.go:94
↓ 5 callersMethodWorktree
Worktree returns the git worktree for performing git operations
cmd/generate_changelog/internal/git/walker.go:397
↓ 5 callersMethodaddAuthorizationHeader
(req *http.Request)
internal/plugins/ai/lmstudio/lmstudio.go:375
↓ 5 callersFunctioncaptureInput
(input string)
internal/plugins/plugin_test.go:288
↓ 5 callersFunctioncaptureStdout
captureStdout runs fn and returns what it writes to stdout.
internal/cli/prompt_export_test.go:174
↓ 5 callersMethodfetch
fetch downloads urlStr and applies the size, content-type, and UTF-8 checks.
internal/plugins/template/fetch.go:98
↓ 5 callersFunctionnewConfigTestEngine
(t *testing.T)
internal/server/configuration_test.go:17
↓ 5 callersFunctionnewSecuredEngine
newSecuredEngine makes an engine with the security middleware that each server uses. noKeyWarning is the log message when apiKey is empty.
internal/server/serve.go:43
↓ 5 callersFunctionnewTestServer
(t *testing.T, handler http.HandlerFunc)
internal/tools/firecrawl/firecrawl_test.go:12
↓ 5 callersFunctionreadModelsCache
readModelsCache returns the cached list for the provider and URL. A maxAge of 0 or less accepts an entry of any age. An empty cached list is a miss.
internal/plugins/ai/openai/models_cache.go:48
↓ 5 callersMethodtoMessages
(msgs []*chat.ChatCompletionMessage)
internal/plugins/ai/vertexai/vertexai.go:374
↓ 5 callersMethodupdate
()
web/src/lib/components/ui/connections/ParticleSystem.ts:63
↓ 4 callersFunctionBlockedError
BlockedError returns an error when Gemini refused to answer: the prompt was blocked (no candidates, and the reason is in the prompt feedback), or the
internal/plugins/ai/geminicommon/geminicommon.go:90
↓ 4 callersMethodBuildEndpoint
BuildEndpoint constructs the Azure OpenAI API endpoint URL API version reference: https://learn.microsoft.com/azure/ai-services/openai/reference
internal/plugins/ai/azureaigateway/backend_azure_openai.go:52
↓ 4 callersFunctionComputeHash
ComputeHash computes SHA-256 hash of a file at given path. Returns the hex-encoded hash string or an error if the operation fails.
internal/plugins/template/hash.go:15
↓ 4 callersFunctionComputeStringHash
ComputeStringHash returns hex-encoded SHA-256 hash of the given string
internal/plugins/template/hash.go:31
↓ 4 callersMethodConfigureVendors
()
internal/core/plugin_registry.go:468
↓ 4 callersFunctionCopyToClipboard
(message string)
internal/cli/output.go:15
↓ 4 callersFunctionCreateClient
CreateClient creates a new client for a provider by name
internal/plugins/ai/openai_compatible/providers_config.go:551
↓ 4 callersMethodDelete
(name string)
internal/plugins/db/api.go:10
↓ 4 callersFunctionDenyNonPublicAddress
DenyNonPublicAddress is a Control function for net.Dialer. The dialer calls it after DNS resolution, with the IP address and the port of the connectio
internal/util/httpclient.go:52
↓ 4 callersMethodExecute
Execute runs an extension with the given operation and value string name: the registered name of the extension operation: the operation to perform val
internal/plugins/template/extension_executor.go:36
↓ 4 callersFunctionFetchFilesFromRepo
FetchFilesFromRepo clones a git repo and extracts files from a specific folder. It tries go-git first, and falls back to the git CLI if available.
internal/tools/githelper/githelper.go:35
↓ 4 callersMethodFillEnvFileContent
(buffer *bytes.Buffer)
internal/plugins/plugin.go:198
↓ 4 callersMethodFindModelNameCaseInsensitive
FindModelNameCaseInsensitive returns the actual model name from available models, matching case-insensitively. Returns empty string if not found. For
internal/plugins/ai/models.go:38
↓ 4 callersFunctionGetAbsolutePath
GetAbsolutePath resolves a given path to its absolute form, handling ~, ./, ../, UNC paths, and symlinks.
internal/util/utils.go:15
↓ 4 callersMethodGetFileConfig
()
internal/plugins/template/extension_registry.go:60
↓ 4 callersFunctionGetGeminiVoices
GetGeminiVoices returns the current list of supported Gemini TTS voices This list is maintained based on official Google Gemini documentation https://
internal/plugins/ai/gemini/voices.go:21
↓ 4 callersMethodGetLatestTag
GetLatestTag returns the name of the most recent tag by committer date
cmd/generate_changelog/internal/git/walker.go:46
↓ 4 callersMethodGetNames
()
internal/plugins/db/api.go:9
↓ 4 callersMethodGetRaw
(name string)
internal/cli/workflow.go:36
↓ 4 callersMethodGrabMetadataForURL
GrabMetadataForURL retrieves metadata for a Spotify URL (show or episode).
internal/tools/spotify/spotify.go:448
↓ 4 callersMethodGrabVisual
GrabVisual retrieves visual data from the video by extracting frames via FFmpeg and OCR parsing them via Tesseract.
internal/tools/youtube/youtube.go:861
↓ 4 callersFunctionInit
Init Initialize flags. returns a Flags struct and an error
internal/cli/flags.go:134
↓ 4 callersMethodListModels
(context.Context)
internal/plugins/ai/azure/azure.go:67
↓ 4 callersFunctionLoadAllFiles
()
internal/plugins/strategy/strategy.go:64
↓ 4 callersMethodLoadEnvFile
()
internal/plugins/db/fsdb/db.go:93
↓ 4 callersMethodNeedsRawMode
(modelName string)
internal/plugins/ai/vendor.go:17
↓ 4 callersFunctionNewClientCompatibleWithResponses
(vendorName string, defaultBaseUrl string, implementsResponses bool, configureCustom func() error)
internal/plugins/ai/openai/openai.go:42
↓ 4 callersFunctionNewContextsHandler
NewContextsHandler creates a new ContextsHandler
internal/server/contexts.go:15
↓ 4 callersFunctionNewExtensionRegistry
(configDir string)
internal/plugins/template/extension_registry.go:78
↓ 4 callersMethodParseResponse
ParseResponse parses Bedrock API response (Anthropic content blocks)
internal/plugins/ai/azureaigateway/backend_bedrock.go:114
↓ 4 callersFunctionScanFiles
ScanFiles scans specific files and returns a JSON representation
cmd/code2context/code.go:128
↓ 4 callersMethodaddImageGenerationTool
(opts *domain.ChatOptions, tools []responses.ToolUnionParam)
internal/plugins/ai/openai/openai_image.go:54
↓ 4 callersMethodbuildCodexResponseParams
( msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, )
internal/plugins/ai/codex/codex.go:375
↓ 4 callersMethodbuildModelNameFull
buildModelNameFull adds the "models/" prefix when the name lacks it.
internal/plugins/ai/gemini/gemini.go:240
↓ 4 callersFunctioncommand
command builds the claude invocation. System messages go to --system-prompt. All other messages go to stdin. If every message is a system message, tha
internal/plugins/ai/claudecode/claudecode.go:108
↓ 4 callersMethoddoRequest
doRequest performs an authenticated request to the Spotify API.
internal/tools/spotify/spotify.go:135
↓ 4 callersMethodextractAccountID
(idToken string, accessToken string)
internal/plugins/ai/codex/auth_transport.go:160
↓ 4 callersMethodextractAndValidateVideoId
extractAndValidateVideoId returns the video ID in url. It returns an error when url is invalid or names only a playlist.
internal/tools/youtube/youtube.go:127
↓ 4 callersFunctionfilterConversationalModels
(models []string)
internal/plugins/ai/vertexai/models.go:212
↓ 4 callersMethodformatCommitMessage
(message string)
cmd/generate_changelog/internal/changelog/generator.go:563
↓ 4 callersMethodgetFromDB
(name string)
internal/plugins/db/fsdb/patterns.go:125
↓ 4 callersFunctiongetMaxTokens
(opts *domain.ChatOptions)
internal/plugins/ai/vertexai/vertexai.go:138
↓ 4 callersFunctionguardEngine
(corsOrigins []string)
internal/server/loopback_guard_test.go:14
↓ 4 callersMethodinitService
()
internal/tools/youtube/youtube.go:95
↓ 4 callersFunctionnewStepRegistry
newStepRegistry makes a registry with vendor as the default vendor and a pattern for each step of wf.
internal/cli/workflow_test.go:290
↓ 4 callersFunctionnewTestServer
(t *testing.T, handler http.HandlerFunc)
internal/tools/sofya/sofya_test.go:12
↓ 4 callersFunctionsave_outputs
Save pattern outputs and starred outputs to files. Error handling: - Creates output directory if it doesn't exist - Handles file write pe
scripts/python_ui/streamlit.py:1038
↓ 4 callersFunctionsendNotification
sendNotification runs the custom notification command, or the built-in notifier when none is set.
internal/cli/chat.go:155
← previousnext →101–200 of 1,885, ranked by callers