MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 1 callersFunctionanthropicStopReason
(obj map[string]any)
proxy/providers/adapter.go:2038
↓ 1 callersFunctionanthropicStreamUsage
anthropicStreamUsage reads the usage out of one Messages SSE data payload: message_start's, then message_delta's cumulative counts (a field it leaves
proxy/internal/translate/messages_stream.go:459
↓ 1 callersFunctionanthropicToolIDs
anthropicToolIDs rewrites the tool_use and tool_result ids of a Messages body that Anthropic refuses (a Messages host such as OpenRouter's /messages h
proxy/internal/translate/messages.go:453
↓ 1 callersFunctionanthropicVersion
(model string)
engine/image/tokens.go:144
↓ 1 callersFunctionanySet
(fields: Raw)
supabase/functions/blocks-telemetry/ingest.ts:94
↓ 1 callersFunctionapiKeyConfig
()
packages/cli/tests/openclaw-wrap.runtime.mjs:122
↓ 1 callersFunctionapiVersionAllowed
(version string)
proxy/providers/azureopenai/azure_routing.go:99
↓ 1 callersFunctionappUrl
(base: string)
packages/cli/src/modules/cloud.ts:161
↓ 1 callersFunctionappendBootstrapToSoul
(soulPath, snippet)
installer/lib/openclaw.js:290
↓ 1 callersFunctionappendCCRMarker
(out []byte, handle string)
proxy/internal/gateway/proxy.go:1872
↓ 1 callersFunctionappendCandidate
(body []byte, span jsonsplice.Span, kind string, candidates *[]typedCandidate)
proxy/providers/gemini/content_compress.go:188
↓ 1 callersFunctionappendCanonical
(dst []byte, nodes []node, at int)
proxy/internal/translate/responses.go:405
↓ 1 callersFunctionappendChatMessage
appendChatMessage renders one Anthropic message: one `tool` message per tool result, then the message itself (text, images and files as parts, tool ca
proxy/internal/translate/messages_in.go:412
↓ 1 callersMethodappendEvent
(p []byte)
proxy/internal/gateway/chatgpt.go:757
↓ 1 callersFunctionappendInt
(dst []byte, n int64)
proxy/internal/translate/chat_stream.go:84
↓ 1 callersFunctionappendModelCandidate
(out []string, candidate string)
engine/pixel/applicability.go:72
↓ 1 callersFunctionappendResponsesToolOutput
appendResponsesToolOutput is a tool_result's output: its text, or parts when it carries images or documents.
proxy/internal/translate/messages_in.go:828
↓ 1 callersFunctionappendSections
(into []string, text string)
engine/retrieve_query.go:250
↓ 1 callersMethodappendTail
(p []byte)
proxy/providers/adapter.go:893
↓ 1 callersFunctionappendToolInput
appendToolInput appends a call's arguments (a JSON string token) as the input object; arguments that are no JSON object are kept under `_raw`.
proxy/internal/translate/msgbuild.go:193
↓ 1 callersFunctionappendToolMessage
appendToolMessage renders a tool_result as a `tool` message; its images and documents come back as parts for the message that follows.
proxy/internal/translate/messages_in.go:542
↓ 1 callersFunctionappendUserAgent
(existing string)
proxy/providers/adapter.go:1768
↓ 1 callersMethodappliedFixes
()
proxy/internal/store/learn_outcomes.go:224
↓ 1 callersFunctionapply
(key: CapabilityKey, raw: unknown, source: CapabilitySource)
packages/cli/src/index.ts:4673
↓ 1 callersMethodapply
apply copies everything outside the recorded ranges. A range that is out of order or out of bounds returns nil so the caller passes the original throu
engine/compressors/toolschema_annotations.go:306
↓ 1 callersFunctionapplyChatEffort
applyChatEffort replaces whatever effort a chat body carries with `effort` in `dialect`. "none" turns thinking off where the dialect can say so.
proxy/internal/translate/effort.go:34
↓ 1 callersFunctionapplyClaudeBedrockWrap
(env: NodeJS.ProcessEnv, agent: AgentProfile, renderedGw: string, modeGw: string)
packages/cli/src/index.ts:12494
↓ 1 callersFunctionapplyConfigFileInjection
(env: NodeJS.ProcessEnv, agent: AgentProfile, inj: ConfigFileInjection, gw: string, modeGw = gw, mcpMode: McpS
packages/cli/src/index.ts:12252
↓ 1 callersFunctionapplyHermesAuthEnv
(env: NodeJS.ProcessEnv, gw: string, modeGw = gw)
packages/cli/src/index.ts:7132
↓ 1 callersFunctionapplyLearnSink
applyLearnSink materializes a candidate edit for a reducible sink under ~/.caveman/candidates/ and returns it. It never edits user config files itself
proxy/cmd/caveman-proxy/main.go:1041
↓ 1 callersFunctionapplyModeChange
(change)
src/plugins/opencode/plugin.js:227
↓ 1 callersFunctionapplyNativeEffort
applyNativeEffort sets the effort on a Messages body: output_config.effort (where the model takes one) and a `thinking` the model accepts.
proxy/internal/translate/effort.go:83
↓ 1 callersFunctionapplyOutputBrevity
applyOutputBrevity adds a provider-native output cap when the caller hasn't set one. Responses API uses max_output_tokens; Chat Completions uses max_c
proxy/providers/openai/output_brevity.go:21
↓ 1 callersFunctionapplyPixelReplacements
(body []byte, reps []pixelReplacement)
proxy/internal/gateway/pixel.go:645
↓ 1 callersFunctionapplyPromptCacheKey
applyPromptCacheKey injects a stable prompt_cache_key on the request's cacheable prefix. Returns true if it changed root. Idempotent: skips a request
proxy/providers/openai/cache_key.go:212
↓ 1 callersFunctionapplyReasoningEffort
applyReasoningEffort adds a provider-native reasoning effort hint when the caller has not set one AND the request targets a known endpoint/model/body
proxy/providers/openai/reasoning_effort.go:52
↓ 1 callersFunctionapplyReplacements
(src []byte, repls []replacement)
engine/compressors/code_cgo.go:304
↓ 1 callersFunctionapplySpliceEdits
applySpliceEdits rewrites data in one ascending pass. Edits must not overlap; an overlap is a planning bug and returns false so the caller forwards th
proxy/providers/anthropic/breakpoint_plan.go:356
↓ 1 callersFunctionapplyStreamIncludeUsage
applyStreamIncludeUsage asks the provider for a final usage chunk on a streamed OpenAI-shaped call by setting stream_options.include_usage = true. Ret
proxy/providers/openai/stream_usage.go:43
↓ 1 callersMethodapplyStrip
applyStrip strips the thinking blocks a served binding heal stripped, while the history still starts the same way; changed reports a body it changed.
proxy/internal/gateway/route.go:919
↓ 1 callersMethodarchiveSession
(sessionID string)
proxy/internal/nativeruntime/runtime.go:776
↓ 1 callersFunctionargvCannotCarry
(text)
mem/js/index.mjs:63
↓ 1 callersFunctionarrayItems
arrayItems reads the elements of the array b (one trimmed value) into dst.
proxy/internal/translate/jsonfast.go:129
↓ 1 callersFunctionartifactGet
(cave: Cave, artifactId: string, workflow: string, trace: TraceContext)
packages/sdk/typescript/src/index.ts:2148
↓ 1 callersFunctionasBodyInit
`BodyInit` in the bundled DOM types predates byte-array request bodies.
packages/cli/src/proxy-fetch.ts:275
↓ 1 callersMethodas_sync
Identity; lets adapters call as_sync() on whichever runtime they were given.
packages/sdk/python/caveman_cloud/middleware/runtime.py:290
↓ 1 callersMethodask
(cfg settings, bearer string, ask gateway.RouteAsk, declared routeRequest, text *askText, models []string, ent
proxy/internal/cloudlink/link.go:1133
↓ 1 callersFunctionassemble
(cave: Cave, options: AssembleOptions)
packages/sdk/typescript/src/index.ts:1818
↓ 1 callersMethodassembleResponses
assembleResponses answers a non-streaming Responses caller from a streamed upstream (the ChatGPT preview streams only): the response.completed object,
proxy/internal/translate/translate.go:807
↓ 1 callersMethodassembled
assembled is the whole Anthropic message for a non-streaming caller, built from the output items.
proxy/internal/translate/messages_responses.go:270
↓ 1 callersFunctionassemblyText
(value: unknown)
packages/sdk/typescript/src/index.ts:1965
↓ 1 callersFunctionassertAllDead
(spawnLog)
packages/pi-extension/tests/recovery.runtime.mjs:22
↓ 1 callersFunctionassertCachePositionsEqual
(t *testing.T, expected any, got any)
engine/pixel/transform_anthropic_test.go:309
↓ 1 callersFunctionassertCallerCwd
(record, home)
tests/installer/gemini-install.test.mjs:219
↓ 1 callersFunctionassertConsentCall
(record, home)
tests/installer/gemini-install.test.mjs:213
↓ 1 callersFunctionassertContainsInOrder
(t *testing.T, body string, parts []string)
proxy/internal/gateway/live_zone_test.go:342
↓ 1 callersFunctionassertContentStructureEqual
(t *testing.T, path string, expected any, got any)
engine/pixel/transform_anthropic_test.go:278
↓ 1 callersFunctionassertDecodedImagesEqual
(t *testing.T, expected any, got any)
engine/pixel/transform_anthropic_test.go:318
↓ 1 callersFunctionassertEvent
(request, expected)
packages/sdk/typescript/tests/tool-events.runtime.mjs:30
↓ 1 callersFunctionassertHeader
(src, expected)
engine/pixel/internal/atlasgen/extract-atlas.mjs:41
↓ 1 callersFunctionassertImagePixelsEqual
(t *testing.T, got, want image.Image)
engine/pixel/transform_openai_test.go:426
↓ 1 callersFunctionassertMessagesStructureEqual
(t *testing.T, expected any, got any)
engine/pixel/transform_anthropic_test.go:259
↓ 1 callersFunctionassertOneImagePixelsEqual
(t *testing.T, idx int, gotB64 string, wantB64 string)
engine/pixel/transform_anthropic_test.go:330
↓ 1 callersFunctionassertRecoveryEnvironment
(config, expected = ["CAVEMAN_HOME", "CAVEMAN_CCR_DB"])
packages/cli/tests/codex-mcp-environment.runtime.mjs:54
↓ 1 callersFunctionassertRecoveryProcessStats
(t *testing.T, response []byte, requests, before, after int)
mcp/cmd/caveman-mcp/recovery_process_test.go:158
↓ 1 callersFunctionassertRefused
({ home, result })
tests/installer/wedge-release-entry.test.mjs:70
↓ 1 callersFunctionassertSavingsUnknown
(out)
tests/test_caveman_stats.js:42
↓ 1 callersFunctionassertScratchCwd
(record, home)
tests/installer/gemini-install.test.mjs:179
↓ 1 callersFunctionassertUntouched
(configDir)
tests/installer/hook-integrity.test.mjs:62
↓ 1 callersMethodassistantText
(tokens [][]byte)
proxy/internal/translate/responses_in.go:650
↓ 1 callersMethodasync_pre_call_hook
(self, user_api_key_dict, cache, data, call_type)
packages/middleware/python/caveman_middleware/litellm.py:175
↓ 1 callersFunctionatoi
(t *testing.T, s string)
proxy/internal/gateway/cache_warm_table_test.go:59
↓ 1 callersFunctionatomicJSON
(target, value)
installer/lib/owned-install.js:88
↓ 1 callersFunctionatomicReceipt
(path string, data []byte)
proxy/internal/nativeruntime/receipt.go:265
↓ 1 callersFunctionattempt
(text: string)
packages/cli/src/index.ts:1325
↓ 1 callersFunctionattested
Each public callback attests one concrete provider-call array. Recheck the registry and schema at dispatch in case * a later native callback mutated
packages/middleware/typescript/src/ai-sdk.ts:48
↓ 1 callersFunctionattrMap
(otlpAttrs)
packages/sdk/typescript/tests/exporter.runtime.mjs:33
↓ 1 callersFunctionattributeByMode
({ messages, modeLog, mode, flagMtimeMs, outputTokens })
src/hooks/caveman-stats.js:289
↓ 1 callersFunctionattributed
(gw, id)
packages/cli/tests/config-file-injection.runtime.mjs:14
↓ 1 callersFunctionattributed
(gw)
packages/cli/tests/codex-subscription-wrap.runtime.mjs:28
↓ 1 callersFunctionattributedGatewayUrl
(gw: string, agent: AgentProfile)
packages/cli/src/index.ts:12429
↓ 1 callersFunctionattributionConfidence
(method, provenance string)
proxy/internal/store/learn_attribution.go:76
↓ 1 callersFunctionattributionConfounders
attributionConfounders names what each rung cannot rule out. These are STANDING confounders — they are attached whether or not the number looks good,
proxy/internal/store/learn_attribution.go:95
↓ 1 callersFunctionattributionRung
attributionRung orders the methods. Higher is stronger. Used to pick the best available method for a row and to sort the savings ledger.
proxy/internal/store/learn_attribution.go:61
↓ 1 callersFunctionattributionWireHeaders
(model, enabled, resolved)
packages/pi-extension/tests/provider.runtime.mjs:440
↓ 1 callersFunctionauditEvalImport
(argv: string[])
packages/cli/src/index.ts:21938
↓ 1 callersFunctionauditImport
(argv: string[])
packages/cli/src/index.ts:21914
↓ 1 callersMethodauthFallbackEnv
authFallbackEnv resolves the credential policy for this exact route. Named compat upstreams carry their own configured env name (or an empty name for
proxy/internal/standalone/standalone.go:262
↓ 1 callersFunctionauto
()
packages/cli/tests/modules-apply.runtime.mjs:470
↓ 1 callersMethodautoOffered
()
proxy/internal/gateway/chatgpt_auto.go:37
↓ 1 callersFunctionautomaticPromptCacheMessagesEndpoint
(meta providers.RequestMetadata)
proxy/providers/anthropic/automatic_cache.go:14
↓ 1 callersFunctionautopilotStatusText
(now = Date.now())
packages/cli/src/learn-autopilot.ts:406
↓ 1 callersMethodawaitKeychain
awaitKeychain waits, until deadline at most, for a keychain read that runs with no secret cached; true when it landed. It waits on the read, never run
proxy/internal/cloudlink/link.go:325
↓ 1 callersFunctionawaitProxyRuntimeState
(port: number, versionInfo: ReturnType<typeof probeProxyVersion>, timeoutMs = 3000)
packages/cli/src/index.ts:21651
↓ 1 callersFunctionaxQueryTerms
(query string)
engine/compressors/axtree.go:481
↓ 1 callersFunctionaxState
(n axNode)
engine/compressors/axtree.go:237
↓ 1 callersFunctionaxStateBool
(key string, v any)
engine/compressors/axtree.go:604
↓ 1 callersFunctionaxUIDBase
(n axNode)
engine/compressors/axtree.go:300
↓ 1 callersFunctionbackgroundPostJSON
(urlString: string, token: string, body: string)
packages/cli/src/index.ts:5425
↓ 1 callersFunctionbackupCurrent
(root, backupRoot, relative, entry)
installer/lib/owned-install.js:161
← previousnext →4,501–4,600 of 12,391, ranked by callers