MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,885 in github.com/danielmiessler/Fabric

↓ 2 callersMethodpostMessage
(data: { id: number; buffer: ArrayBuffer }, transfer: Transferable[])
web/src/lib/services/PdfConversionService.test.ts:108
↓ 2 callersFunctionprepareBedrockBody
(t *testing.T, model string, topP float64)
internal/plugins/ai/azureaigateway/backend_bedrock_sampling_test.go:12
↓ 2 callersFunctionrandomBase64URL
(size int)
internal/plugins/ai/codex/oauth.go:277
↓ 2 callersFunctionreadLine
readLine reads a single line from stdin and accepts either \n or \r as the line ending. Terminals such as kitty on macOS send a bare \r when Enter is
internal/plugins/plugin.go:394
↓ 2 callersFunctionrejectInvalidStorageName
rejectInvalidStorageName answers a 400 when name does not obey storage-name validation. An empty name passes, because the fields that this guards are
internal/server/storage.go:44
↓ 2 callersFunctionremoveVTTTags
(s string)
internal/tools/youtube/youtube.go:405
↓ 2 callersFunctionrenderPromptExport
( currentFlags *Flags, registry *core.PluginRegistry, meta string, messageTools string)
internal/cli/prompt_export.go:53
↓ 2 callersMethodrequest
(requestURL string)
internal/tools/jina/jina.go:45
↓ 2 callersMethodrequireSecureOrigins
requireSecureOrigins refuses plaintext http to a remote auth or API origin. The refresh token goes to the auth origin, the access token to the API ori
internal/plugins/ai/codex/codex.go:184
↓ 2 callersFunctionresolveStepInputWithOverride
resolveStepInputWithOverride returns the input for one step. A step.Input that is not blank after TrimSpace replaces carriedInput. Otherwise carriedIn
internal/cli/workflow.go:262
↓ 2 callersFunctionresponseTextFromContent
(content []types.ContentBlock)
internal/plugins/ai/bedrock/bedrock.go:583
↓ 2 callersFunctionresponsesSSE
responsesSSE answers a Responses API request with the given server-sent events.
internal/plugins/ai/openai/responses_stream_test.go:18
↓ 2 callersFunctionrunWorkflow
runWorkflow runs the steps in order. Each output becomes the next input. It returns the last output. The caller prints it.
internal/cli/workflow.go:104
↓ 2 callersFunctionsamplingOptions
samplingOptions returns the anthropic plugin's sampling options for Vertex AI. Vertex AI reads the API version from the anthropic_version body field.
internal/plugins/ai/vertexai/vertexai.go:38
↓ 2 callersFunctionsanitizeHtml
(html: string)
web/src/lib/utils/sanitize-html.ts:9
↓ 2 callersFunctionsanitizeNotificationText
sanitizeNotificationText removes double quotes, single quotes and backslashes. Thus the text cannot close a quoted string in a custom notification com
internal/cli/chat.go:203
↓ 2 callersFunctionsanitize_input_content
Sanitize input content by removing or replacing problematic characters. Args: input_text: The input text to sanitize Returns:
scripts/python_ui/streamlit.py:772
↓ 2 callersMethodsaveRegistry
()
internal/plugins/template/extension_registry.go:217
↓ 2 callersFunctionsave_output_log
Save pattern execution log.
scripts/python_ui/streamlit.py:666
↓ 2 callersFunctionscanStreamJSON
scanStreamJSON reads one stream-json event per line and forwards text deltas to channel. It returns scanner.Err() so a truncated line or a broken pipe
internal/plugins/ai/claudecode/claudecode.go:93
↓ 2 callersFunctionsearchResultSources
searchResultSources lists the results of the Perplexity "search_results" output items. The result IDs agree with the [n] markers in the answer text.
internal/plugins/ai/openai/openai.go:486
↓ 2 callersMethodsendClaude
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/vertexai/vertexai.go:145
↓ 2 callersFunctionsendOnce
(t *testing.T, stream bool, model string)
internal/plugins/ai/bedrock/bedrock_sampling_test.go:52
↓ 2 callersMethodsendResponses
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/openai/openai.go:256
↓ 2 callersFunctionsendStream
(t *testing.T, client *BedrockClient)
internal/plugins/ai/bedrock/bedrock_stream_test.go:59
↓ 2 callersFunctionsentRequest
sentRequest sends one message through Send and returns the API version header and the JSON body of each request that reached the server.
internal/plugins/ai/anthropic/anthropic_sampling_test.go:23
↓ 2 callersMethodsetupVendorTo
(vendor Vendor, configuredVendors map[string]Vendor)
internal/plugins/ai/vendors.go:166
↓ 2 callersFunctionshellEscape
shellEscape wraps s in single quotes and escapes embedded single quotes. The result is one literal argument to "sh -c".
internal/plugins/template/extension_executor.go:91
↓ 2 callersFunctionshouldIncludeRepeat
shouldIncludeRepeat reports whether at least TimeGapForRepeats seconds separate the two timestamps.
internal/tools/youtube/youtube.go:411
↓ 2 callersMethodshouldUseImageGeneration
(opts *domain.ChatOptions)
internal/plugins/ai/openai/openai_image.go:88
↓ 2 callersFunctionsortModels
sortModels puts Gemini models first, then Claude, then the rest. Within a group, names sort alphabetically, ignoring case.
internal/plugins/ai/vertexai/models.go:132
↓ 2 callersFunctionsseEvent
(name, data string)
internal/plugins/ai/openai/responses_stream_test.go:27
↓ 2 callersFunctionstepLabel
stepLabel returns the "[step N/TOTAL pattern]" prefix. Every workflow log line and error starts with it, so one grep pattern finds them all.
internal/cli/workflow.go:41
↓ 2 callersFunctionstreamClient
streamClient serves body as the ConverseStream response.
internal/plugins/ai/bedrock/bedrock_stream_test.go:42
↓ 2 callersFunctionstreamResponses
(t *testing.T, handler http.HandlerFunc)
internal/plugins/ai/openai/responses_stream_test.go:31
↓ 2 callersMethodsupportsResponsesAPI
()
internal/plugins/ai/openai/openai.go:280
↓ 2 callersFunctionsymlinkContained
symlinkContained rejects an entry at path if the entry resolves, through symlinks, to a target outside absDir. A missing entry passes, because the lex
internal/plugins/db/fsdb/storage.go:266
↓ 2 callersFunctiontextDelta
textDelta extracts the text from one stream-json line, if it carries any.
internal/plugins/ai/claudecode/claudecode.go:234
↓ 2 callersMethodtoMessages
toMessages converts chat messages to Bedrock Converse messages. System messages get the user role, because they hold the pattern text and the user inp
internal/plugins/ai/bedrock/bedrock.go:606
↓ 2 callersFunctiontokenNeedsRefresh
(jwt string, now time.Time)
internal/plugins/ai/codex/token.go:31
↓ 2 callersMethodtryMethodYtDlpInternal
tryMethodYtDlpInternal downloads the subtitles for videoId with yt-dlp, then applies processVTTFileFunc to the VTT file.
internal/tools/youtube/youtube.go:231
↓ 2 callersFunctionusePrefix
(t *testing.T, prefix string)
internal/tools/keenable/keenable_test.go:36
↓ 2 callersFunctionvalidateImageFile
validateImageFile rejects a path that exists or has an extension other than png, jpeg, jpg, or webp.
internal/cli/flags.go:332
↓ 2 callersFunctionvalidateImageParameters
(imagePath, size, quality, background string, compression int)
internal/cli/flags.go:351
↓ 2 callersFunctionvalidatePromptExportFlags
(currentFlags *Flags)
internal/cli/prompt_export.go:37
↓ 2 callersFunctionvalidate_input_content
Validate input content for potentially problematic characters or patterns. Args: input_text: The input text to validate Returns:
scripts/python_ui/streamlit.py:725
↓ 2 callersFunctionvalidate_pattern
Validate a pattern's structure and content.
scripts/python_ui/streamlit.py:916
↓ 2 callersFunctionvisualCueRange
(frameTimes []float64, index int)
internal/tools/youtube/youtube.go:496
↓ 2 callersFunctionwithBetas
withBetas returns reqOpts with an anthropic-beta header for betas. It does not change reqOpts.
internal/plugins/ai/anthropic/anthropic.go:363
↓ 2 callersFunctionwrapPublicError
(message string, statusCode int, providerMessage string)
internal/plugins/ai/codex/errors.go:95
↓ 2 callersFunctionwriteExecutable
(t *testing.T, dir, name, contents string)
internal/tools/youtube/timestamp_test.go:128
↓ 2 callersFunctionwriteOllamaResponse
writeOllamaResponse constructs an Ollama-formatted response chunk and writes it to the streaming output associated with the provided Gin context. The
internal/server/ollama.go:537
↓ 2 callersFunctionwriteOllamaResponseStruct
writeOllamaResponseStruct marshals the provided OllamaResponse and writes it as newline-delimited JSON to the HTTP response stream.
internal/server/ollama.go:559
↓ 2 callersFunctionytDlpLangArgs
ytDlpLangArgs returns the built-in --sub-langs flag for language. yt-dlp does not replace a repeated --sub-langs flag. It adds the values together. So
internal/tools/youtube/youtube.go:211
↓ 1 callersMethodAddSetupQuestionCustomBool
(name string, required bool, question string)
internal/plugins/plugin.go:95
↓ 1 callersMethodApply
Apply executes the requested text operation on the provided value
internal/plugins/template/text.go:33
↓ 1 callersMethodApply
Apply executes fetch operations: - get:URL: Fetches content from URL, returns text content
internal/plugins/template/fetch.go:47
↓ 1 callersMethodApply
Apply executes datetime operations with the following formats: Time: now (RFC3339), time (HH:MM:SS), unix (timestamp) Hour: startofhour, endofhour Dat
internal/plugins/template/datetime.go:22
↓ 1 callersFunctionApplyTemplateNoSystemPlugins
ApplyTemplateNoSystemPlugins is ApplyTemplate for a template from an untrusted client, for example a pattern that the REST API saved. It runs only the
internal/plugins/template/template.go:79
↓ 1 callersMethodAuthHeader
AuthHeader returns the Bedrock auth header (Bearer token)
internal/plugins/ai/azureaigateway/backend_bedrock.go:56
↓ 1 callersMethodAuthHeader
AuthHeader returns the header name and value for authentication. Each APIM backend uses a different auth header: Bedrock: "Authorization", "Beare
internal/plugins/ai/azureaigateway/azureaigateway.go:47
↓ 1 callersMethodAuthHeader
AuthHeader returns the Vertex AI auth header (Google API key via APIM)
internal/plugins/ai/azureaigateway/backend_vertex_ai.go:49
↓ 1 callersMethodAuthHeader
AuthHeader returns the Azure OpenAI auth header
internal/plugins/ai/azureaigateway/backend_azure_openai.go:58
↓ 1 callersMethodBase64Content
()
internal/domain/attachment.go:108
↓ 1 callersMethodBuildEndpoint
BuildEndpoint constructs the full API endpoint URL for the given model
internal/plugins/ai/azureaigateway/azureaigateway.go:40
↓ 1 callersMethodBuildEndpoint
BuildEndpoint constructs the Vertex AI API endpoint URL Uses /publishers/google/models/{model}:generateContent path per Azure APIM Gateway routing Thi
internal/plugins/ai/azureaigateway/backend_vertex_ai.go:43
↓ 1 callersMethodBuildFilePath
(fileName string)
internal/plugins/db/fsdb/storage.go:192
↓ 1 callersMethodBuildResponseParams
BuildResponseParams exposes the shared Responses API request builder so auth-specialized vendors can reuse Fabric's OpenAI-compatible request shape.
internal/plugins/ai/openai/openai.go:413
↓ 1 callersMethodClear
()
internal/plugins/ai/vendors.go:45
↓ 1 callersMethodClear
()
cmd/generate_changelog/internal/cache/cache.go:269
↓ 1 callersMethodClose
()
cmd/generate_changelog/internal/release.go:68
↓ 1 callersMethodCloseNotify
()
internal/server/chat_test.go:161
↓ 1 callersMethodCommitChanges
CommitChanges creates a commit with the given message Uses native git CLI instead of go-git to properly handle worktree scenarios
cmd/generate_changelog/internal/git/walker.go:471
↓ 1 callersMethodCommitExists
CommitExists checks if a commit already exists in the cache
cmd/generate_changelog/internal/cache/cache.go:290
↓ 1 callersMethodComplete
(ctx context.Context, prompt string, opts *domain.ChatOptions)
internal/plugins/ai/lmstudio/lmstudio.go:264
↓ 1 callersMethodConfigure
()
internal/plugins/plugin.go:106
↓ 1 callersMethodConfigure
()
internal/plugins/plugin.go:304
↓ 1 callersMethodConfigure
()
internal/plugins/plugin.go:328
↓ 1 callersMethodConfigure
()
internal/plugins/db/fsdb/storage.go:25
↓ 1 callersMethodContentBytes
()
internal/domain/attachment.go:82
↓ 1 callersFunctionCreateAudioOutputFile
CreateAudioOutputFile creates a binary file for audio data
internal/cli/output.go:45
↓ 1 callersMethodCreateNewChangelogEntry
CreateNewChangelogEntry aggregates all incoming PR files for release and includes direct commits
cmd/generate_changelog/internal/changelog/processing.go:119
↓ 1 callersFunctionCustomHelpHandler
CustomHelpHandler handles help output with translations
internal/cli/help.go:171
↓ 1 callersMethodDelete
(name string)
internal/plugins/db/fsdb/storage.go:105
↓ 1 callersMethodDelete
(name string)
internal/plugins/db/fsdb/sessions.go:48
↓ 1 callersMethodDirectlyGetModels
DirectlyGetModels is used to fetch models directly from the API when the standard OpenAI SDK method fails due to a nonstandard format.
internal/plugins/ai/openai_compatible/direct_models_call.go:11
↓ 1 callersFunctionExtractCitations
ExtractCitations extracts web citations from grounding metadata.
internal/plugins/ai/geminicommon/geminicommon.go:134
↓ 1 callersMethodExtractText
ExtractText exposes the shared Responses API text extraction logic so other vendors can reuse Fabric's response formatting and citation handling.
internal/plugins/ai/openai/openai.go:511
↓ 1 callersMethodFetchAllMergedPRs
FetchAllMergedPRs fetches all merged PRs using GitHub's search API This is much more efficient than fetching PRs individually
cmd/generate_changelog/internal/github/client.go:244
↓ 1 callersMethodFetchAllMergedPRsGraphQL
FetchAllMergedPRsGraphQL fetches all merged PRs with their commits using GraphQL This is the ultimate optimization - gets everything in ~5-10 API call
cmd/generate_changelog/internal/github/client.go:318
↓ 1 callersMethodFetchAndSavePlaylist
FetchAndSavePlaylist fetches all videos in a playlist and saves them to a CSV file.
internal/tools/youtube/youtube.go:681
↓ 1 callersMethodFilePath
(fileName string)
internal/plugins/db/fsdb/db.go:202
↓ 1 callersMethodFillEnvFileContent
(buffer *bytes.Buffer)
internal/plugins/plugin.go:337
↓ 1 callersMethodGenerate
()
cmd/generate_changelog/internal/changelog/generator.go:63
↓ 1 callersFunctionGetDefaultConfigPath
GetDefaultConfigPath returns the default path for the configuration file if it exists, otherwise returns an empty string.
internal/util/utils.go:76
↓ 1 callersMethodGetEmbeddings
(ctx context.Context, input string, opts *domain.ChatOptions)
internal/plugins/ai/lmstudio/lmstudio.go:320
↓ 1 callersMethodGetLastPRSync
GetLastPRSync returns the timestamp of the last PR sync
cmd/generate_changelog/internal/cache/cache.go:300
↓ 1 callersMethodGetLastProcessedTag
()
cmd/generate_changelog/internal/cache/cache.go:97
↓ 1 callersMethodGetOutputMethod
Helper methods for Config access
internal/plugins/template/extension_registry.go:51
↓ 1 callersMethodGetPR
(number int)
cmd/generate_changelog/internal/cache/cache.go:157
← previousnext →501–600 of 1,885, ranked by callers