MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,885 in github.com/danielmiessler/Fabric

↓ 1 callersFunctionproviderStatus
providerStatus finds the HTTP status and the error code of a provider error. It returns zero values when it does not know the error type.
internal/server/provider_error.go:38
↓ 1 callersMethodprune
prune drops each client that is not locked, so that a flood of addresses cannot grow the table. Locked clients stay locked.
internal/server/auth.go:93
↓ 1 callersMethodpublishOAuthResult
(results chan<- oauthResult, result oauthResult)
internal/plugins/ai/codex/oauth.go:189
↓ 1 callersFunctionquoteForLog
quoteForLog quotes body and cuts it at maxLoggedBodyBytes, so a body with line breaks cannot add log lines of its own.
internal/server/ollama.go:581
↓ 1 callersFunctionreadAPIErrorBody
(apiErr *openaiapi.Error)
internal/plugins/ai/codex/errors.go:106
↓ 1 callersFunctionreadDiagnostic
readDiagnostic returns a bounded, printable excerpt of an error response.
internal/tools/keenable/keenable.go:173
↓ 1 callersFunctionreadFileContent
( file: File, pdf: { convertToMarkdown(file: File): Promise<PdfConversion> }, warn: (message: string) =>
web/src/lib/components/chat/read-file-content.ts:6
↓ 1 callersFunctionreadLimited
readLimited reads at most limit bytes and reports errResponseTooLarge when the body is longer, even if the first limit bytes are valid JSON.
internal/tools/keenable/keenable.go:161
↓ 1 callersMethodreadModels
readModels returns an error if no vendors are configured or if all vendors fail. If all vendors fail, it also returns the empty catalog.
internal/plugins/ai/vendors.go:93
↓ 1 callersFunctionreadStdin
()
internal/cli/flags.go:312
↓ 1 callersFunctionreasonError
(prefix, reason, message string)
internal/plugins/ai/geminicommon/geminicommon.go:111
↓ 1 callersFunctionrecordingClient
recordingClient answers every request with response and stores the last request body.
internal/plugins/ai/bedrock/bedrock_sampling_test.go:25
↓ 1 callersFunctionredactRequestDump
redactRequestDump masks the value of each secret header line in text.
internal/server/recovery.go:19
↓ 1 callersMethodrefreshAccessToken
refreshAccessToken obtains a new access token using Client Credentials flow.
internal/tools/spotify/spotify.go:87
↓ 1 callersMethodrefreshAccessToken
(ctx context.Context)
internal/plugins/ai/codex/auth_transport.go:112
↓ 1 callersMethodrefreshErrorFromResponse
(statusCode int, body []byte)
internal/plugins/ai/codex/errors.go:44
↓ 1 callersFunctionrenderMarkdown
(content: string)
web/src/lib/utils/sanitize-html.ts:28
↓ 1 callersFunctionreplyOllamaError
replyOllamaError sends msg as a final prefixed NDJSON chunk in stream mode, or as a JSON error body with status in other modes.
internal/server/ollama.go:549
↓ 1 callersFunctionrepo_root
Get the repository root directory.
scripts/readme_updates/update_readme_features.py:53
↓ 1 callersFunctionresolveInputFile
resolveInputFile opens filename and returns the file and the name it opened. If tryAppendTex is true and the first open fails, it retries with ".tex"
cmd/to_pdf/main.go:28
↓ 1 callersFunctionresolveToken
resolveToken gives the text for one token body. The body has no outer braces, and its nested tokens are already resolved. src is the body as it is in
internal/plugins/template/template.go:174
↓ 1 callersMethodretryAfter
retryAfter returns how long a locked client must wait, or 0 when it may try.
internal/server/auth.go:55
↓ 1 callersFunctionroleHeader
roleHeader changes the first letter of the role to uppercase, for example "user" to "User".
internal/chatfmt/messages.go:40
↓ 1 callersMethodroundTrip
(req *http.Request, retried bool)
internal/plugins/ai/codex/auth_transport.go:182
↓ 1 callersMethodroundTripper
()
internal/plugins/ai/codex/auth_transport.go:215
↓ 1 callersMethodrunFirstTimeSetup
runFirstTimeSetup downloads patterns and strategies without a prompt, then asks for a vendor and the defaults.
internal/core/plugin_registry.go:230
↓ 1 callersMethodrunInteractiveSetup
()
internal/core/plugin_registry.go:334
↓ 1 callersMethodrunVendorSetup
runVendorSetup asks the user to select and configure one AI vendor.
internal/core/plugin_registry.go:289
↓ 1 callersMethodsafePath
safePath rejects a path that contains "..", starts with "~" or is absolute. It gives the cleaned path, which is relative to fileReadRoot.
internal/plugins/template/file.go:35
↓ 1 callersFunctionsafe_run_command
Safely run a command with retries.
scripts/python_ui/streamlit.py:141
↓ 1 callersFunctionsanitize
(s string)
internal/tools/keenable/keenable.go:189
↓ 1 callersFunctionsaveToFile
(data: any, filename: string)
web/src/lib/utils/file-utils.ts:34
↓ 1 callersFunctionsaveToFile
(content: string)
web/src/lib/store/note-store.ts:47
↓ 1 callersFunctionsave_pattern_files
Save pattern extracts and descriptions JSON files
scripts/pattern_descriptions/extract_patterns.py:105
↓ 1 callersMethodsendChatCompletions
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/openai/chat_completions.go:16
↓ 1 callersMethodsendChatMessage
sendChatMessage sends a message to an existing conversation (synchronous).
internal/plugins/ai/copilot/copilot.go:244
↓ 1 callersMethodsendChatMessageStream
sendChatMessageStream sends a message and streams the response via SSE.
internal/plugins/ai/copilot/copilot.go:289
↓ 1 callersMethodsendGemini
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/vertexai/vertexai.go:252
↓ 1 callersMethodsendStreamChatCompletions
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/openai/chat_completions.go:31
↓ 1 callersMethodsendStreamClaude
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stream
internal/plugins/ai/vertexai/vertexai.go:187
↓ 1 callersMethodsendStreamGemini
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stream
internal/plugins/ai/vertexai/vertexai.go:317
↓ 1 callersMethodsendStreamResponses
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/openai/openai.go:188
↓ 1 callersFunctionsendStreamUpdate
(ctx context.Context, channel chan domain.StreamUpdate, update domain.StreamUpdate)
internal/plugins/ai/codex/codex.go:366
↓ 1 callersFunctionsetSystemPrompt
(prompt: string)
web/src/lib/store/pattern-store.ts:30
↓ 1 callersFunctionset_clipboard_content
Set content to clipboard with proper error handling. Args: content: The content to copy to clipboard Returns: Tuple[bool, st
scripts/python_ui/streamlit.py:1319
↓ 1 callersFunctionsetup
()
web/src/lib/services/PdfConversionService.test.ts:123
↓ 1 callersFunctionsplitAudioFile
splitAudioFile halves the ffmpeg segment time until no chunk is larger than maxSize.
internal/plugins/ai/openai/openai_audio.go:140
↓ 1 callersFunctionsplit_summary
Split AI summary into individual lines/bullets.
scripts/readme_updates/update_readme_features.py:118
↓ 1 callersMethodstageChangesForRelease
stageChangesForRelease adds CHANGELOG.md and the cache database to the git index.
cmd/generate_changelog/internal/changelog/processing.go:473
↓ 1 callersFunctionstar_output
Star/favorite an output log. Args: log_index: Index of the output log to star custom_name: Optional custom name for the starred o
scripts/python_ui/streamlit.py:683
↓ 1 callersMethodstatInRoot
statInRoot gives the file information for path through inRoot.
internal/plugins/template/file.go:70
↓ 1 callersFunctionstdinLineReader
()
internal/plugins/plugin.go:383
↓ 1 callersMethodstreamChat
( userInput: string, systemPromptText?: string, )
web/src/lib/services/ChatService.ts:269
↓ 1 callersMethodsyncGitHistory
syncGitHistory walks the full git history and caches the versions and commits that are missing.
cmd/generate_changelog/internal/changelog/generator.go:682
↓ 1 callersMethodterminate
()
web/src/lib/services/PdfConversionService.test.ts:112
↓ 1 callersFunctiontext
text joins the message content and its text parts. command handles image parts.
internal/plugins/ai/claudecode/claudecode.go:189
↓ 1 callersFunctiontightenMode
(path string)
internal/plugins/db/fsdb/storage.go:58
↓ 1 callersFunctiontoTitle
toTitle lowercases s, then uppercases each rune that starts the string or follows a non-letter. Such a rune stays lowercase when a space follows it.
internal/plugins/template/text.go:17
↓ 1 callersFunctiontruncate
(s string, max int)
internal/tools/keenable/keenable.go:198
↓ 1 callersFunctiontryGetMessage
tryGetMessage returns messageID from the embedded file for locale, or "" when absent.
internal/i18n/i18n.go:158
↓ 1 callersMethodtryMethodYtDlp
(videoId string, language string, additionalArgs string)
internal/tools/youtube/youtube.go:287
↓ 1 callersMethodtryMethodYtDlpWithTimestamps
(videoId string, language string, additionalArgs string)
internal/tools/youtube/youtube.go:291
↓ 1 callersMethodtryPathMigration
tryPathMigration changes DefaultFolder from the old "patterns" path to "data/patterns" when that path has patterns.
internal/tools/patterns_loader.go:239
↓ 1 callersFunctionunlockExclusive
(f *os.File)
internal/plugins/db/fsdb/env_lock_unix.go:18
↓ 1 callersFunctionunsafePath
unsafePath reports whether a component of the clean, relative path is .git (any case) or a symlink that is in the root. A name comparison is not suff
internal/domain/file_manager.go:203
↓ 1 callersFunctionunstar_output
Remove an output from starred/favorites.
scripts/python_ui/streamlit.py:717
↓ 1 callersMethodupdateReleaseForRepo
(ctx context.Context, client *github.Client, owner, repo, version, releaseBody string)
cmd/generate_changelog/internal/release.go:131
↓ 1 callersFunctionupdate_provider_selection
Update provider and reset related states.
scripts/python_ui/streamlit.py:200
↓ 1 callersFunctionuserLocaleDir
()
internal/i18n/i18n.go:101
↓ 1 callersMethodvalidateExtensionDefinition
(ext *ExtensionDefinition)
internal/plugins/template/extension_registry.go:145
↓ 1 callersMethodvalidateGitStatus
()
cmd/generate_changelog/internal/changelog/processing.go:360
↓ 1 callersMethodvalidatePRState
validatePRState rejects a PR that is not open unless --closed-ok is set, and an open PR that is not mergeable.
cmd/generate_changelog/internal/changelog/processing.go:342
↓ 1 callersMethodvalidateSetup
validateSetup prints the status of each required component and a warning when one is missing.
internal/core/plugin_registry.go:394
↓ 1 callersMethodvalidateTextContent
validateTextContent returns an error if content is not valid UTF-8 or contains a null byte.
internal/plugins/template/fetch.go:82
↓ 1 callersMethodverifyCommitPRMappings
verifyCommitPRMappings rewrites the commit-to-PR mapping table from all cached PRs.
cmd/generate_changelog/internal/changelog/generator.go:730
↓ 1 callersMethodwriteAllFlags
()
internal/cli/help.go:227
↓ 1 callersFunctionwriteEnvFileAtomic
(path string, env map[string]string)
internal/plugins/db/fsdb/db.go:169
↓ 1 callersFunctionwriteSSE
(w http.ResponseWriter, frame string)
internal/plugins/ai/openai/openai_test.go:281
↓ 1 callersFunctionwriteSSEResponse
(w gin.ResponseWriter, response StreamResponse)
internal/server/chat.go:263
MethodAddSetupQuestionBool
(name string, required bool)
internal/plugins/plugin.go:91
MethodApplyPattern
ApplyPattern handles the POST /patterns/:name/apply route @Summary Apply pattern with variables @Description Apply a pattern with variable substitutio
internal/server/patterns.go:98
MethodAsk
(label string)
internal/plugins/plugin.go:345
MethodConfigure
Configure buildClient VendorsController based on the environment variables
internal/core/plugin_registry.go:521
MethodConfigure
()
internal/core/chatter_test.go:42
MethodConfigure
()
internal/core/plugin_registry_test.go:48
MethodConfigure
()
internal/server/chat_test.go:143
MethodConfigure
()
internal/plugins/ai/vendors.go:74
MethodConfigure
()
internal/plugins/ai/vendors_test.go:22
MethodConfigure
()
internal/plugins/ai/vendors_race_test.go:20
FunctionDebug
Debug writes a debug message if the global level permits.
internal/log/log.go:58
MethodDelete
Delete handles the DELETE /storage/:name route
internal/server/storage.go:90
MethodExists
Exists handles the GET /storage/exists/:name route. The storage Exists contract cannot report an invalid name, and the handler must validate the name
internal/server/storage.go:103
FunctionExpandPath
ExpandPath expands the ~ to user's home directory and returns absolute path It also checks if the path exists Returns expanded absolute path or error
internal/plugins/template/utils.go:19
MethodFetchAndPrintPlaylist
(playlistID string)
internal/tools/youtube/youtube.go:697
MethodFetchPRs
(prNumbers []int)
cmd/generate_changelog/internal/github/client.go:52
MethodGet
Get handles the GET /storage/:name route
internal/server/storage.go:69
MethodGet
Get handles the GET /patterns/:name route - returns raw pattern without variable processing @Summary Get a pattern @Description Retrieve a pattern by
internal/server/patterns.go:65
MethodGet
Get required for Storage interface
internal/plugins/db/fsdb/patterns.go:280
MethodGetCommitSHAsForPR
GetCommitSHAsForPR returns all commit SHAs for a given PR number
cmd/generate_changelog/internal/cache/cache.go:448
MethodGetConfig
(c *gin.Context)
internal/server/configuration.go:54
← previousnext →901–1,000 of 1,885, ranked by callers