Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,391 in github.com/JuliusBrussee/caveman
⨍
Functions
12,391
◇
Types & classes
1,304
↳
Endpoints
5
↓ 1 callers
Function
mergeOpenclawFrontmatter
(src, opts = {})
installer/lib/openclaw.js:188
↓ 1 callers
Function
mergePricingQualifiers
(obj map[string]any, usage *UsageObservation)
proxy/providers/adapter.go:1948
↓ 1 callers
Function
mergeProbeSummary
(dst *ProbeSummary, src ProbeSummary)
engine/evals/probes.go:99
↓ 1 callers
Function
mergeProviderOutcomeQualifiers
(provider string, obj map[string]any, usage *UsageObservation)
proxy/providers/adapter.go:2011
↓ 1 callers
Function
mergeRawUsageJSON
mergeRawUsageJSON deep-merges next into the map decoded from existing and re-marshals it. A key in next whose value is JSON null is skipped rather tha
proxy/providers/adapter.go:1321
↓ 1 callers
Function
mergeRawUsageMap
mergeRawUsageMap applies the max rule for numeric counters. It used to be last-non-null-wins while its own doc claimed it matched the typed counters'
proxy/providers/adapter.go:1344
↓ 1 callers
Function
mergeSessionStartHook
(root, command)
installer/lib/cursor-native.js:75
↓ 1 callers
Function
mergeSnakeUsage
(provider string, u map[string]any, usage *UsageObservation)
proxy/providers/adapter.go:1504
↓ 1 callers
Method
mergeSubagentEvidence
(request Request)
proxy/internal/nativeruntime/runtime.go:528
↓ 1 callers
Function
mergeUsageQualifier
(current *string, next, reason string, unsupported *string)
proxy/internal/gateway/retrieve_tool.go:666
↓ 1 callers
Function
mergeUsageValue
(provider string, value any, usage *UsageObservation)
proxy/providers/adapter.go:1199
↓ 1 callers
Function
messageCacheControl
(m Message)
engine/pixel/history_anthropic.go:177
↓ 1 callers
Function
messageCount
()
extension/src/caveman.js:142
↓ 1 callers
Function
messageHasToolResult
(raw []byte)
proxy/providers/anthropic/frozen.go:48
↓ 1 callers
Function
messageRoleRaw
(raw []byte)
proxy/providers/anthropic/frozen.go:36
↓ 1 callers
Method
messages
(sessionID string, deadline *behaviorDeadline)
proxy/internal/store/source_opencode.go:153
↓ 1 callers
Function
messagesBody
messagesBody fits the caller's Messages body to a Messages host: the upstream's model id, the thinking this host may see, the effort, the route's para
proxy/internal/translate/translate.go:213
↓ 1 callers
Function
messagesChatBody
--- Messages -> chat ----------------------------------------------------------- messagesChatBody is a Messages body translated for a chat upstream.
proxy/internal/translate/messages_in.go:186
↓ 1 callers
Function
messagesHaveContentCacheControl
messagesHaveContentCacheControl reports whether any message carries a content-block cache_control marker. Marked conversations get uncacheable-tail li
proxy/providers/anthropic/frozen.go:75
↓ 1 callers
Function
messagesResponsesBody
--- Messages -> Responses ------------------------------------------------------ messagesResponsesBody is a Messages body translated for a Responses h
proxy/internal/translate/messages_in.go:601
↓ 1 callers
Function
messagesToChat
messagesToChat renders the system prompt and messages as chat messages, sending the thinking blocks signed for the route back as reasoning_content (Op
proxy/internal/translate/messages_in.go:383
↓ 1 callers
Function
messagesToHistoryText
(messages []Message, upToExclusive int, fromInclusive int)
engine/pixel/history_anthropic.go:190
↓ 1 callers
Function
messagesToResponses
messagesToResponses renders the messages as Responses input items: tool results become function_call_output items (first, as Anthropic orders them), t
proxy/internal/translate/messages_in.go:714
↓ 1 callers
Function
messagesToolsFromBridge
messagesToolsFromBridge renders bridged tools for Anthropic: byte-stable across turns whatever order the caller lists its tools in or serialises their
proxy/internal/translate/responses_in.go:251
↓ 1 callers
Function
messagesToolsFromChat
messagesToolsFromChat renders chat functions as Anthropic tools, the last a cache breakpoint when cache is set; any other tool type is refused.
proxy/internal/translate/chat_in.go:254
↓ 1 callers
Function
metadata
(response:Response, original:Response)
packages/middleware/typescript/src/provider-response.ts:66
↓ 1 callers
Function
metadataOnlySpans
(value: JSONValue)
packages/cli/src/agent-mcp.ts:397
↓ 1 callers
Function
metadataOnlyTrace
(trace: JSONValue)
packages/cli/src/agent-mcp.ts:393
↓ 1 callers
Method
metadataPassthrough
metadataPassthrough forwards a read-only provider metadata request upstream unchanged and relays the answer byte-for-byte. It is deliberately NOT the
proxy/internal/gateway/metadata_route.go:55
↓ 1 callers
Function
metadataWithTokenBasis
(raw, basis string)
proxy/internal/store/config_scan.go:432
↓ 1 callers
Function
methodAllowed
(publisher, method string)
proxy/providers/vertex/routing.go:75
↓ 1 callers
Function
metric
(name: string)
packages/cli/src/index.ts:17961
↓ 1 callers
Function
metric
(key, label, unit, series, current, prior, delta, direction, better = "lower")
packages/cli/tests/learn-trends.runtime.mjs:13
↓ 1 callers
Function
migrateMemorySchema
migrateMemorySchema upgrades pre-supersession stores in place. SQLite cannot add several columns in one statement, so each missing column is added ind
mem/store.go:679
↓ 1 callers
Function
migratedMark
(t *testing.T, s *Store)
proxy/internal/store/cache_components_test.go:246
↓ 1 callers
Function
min64
(a, b int64)
proxy/internal/store/learn_reconcile.go:246
↓ 1 callers
Function
minInt
(a, b int)
engine/compressors/html.go:336
↓ 1 callers
Function
mirrorToLegacy
(key: string, value: unknown)
packages/cli/src/modules/config-home.ts:56
↓ 1 callers
Function
missingOf
(m: ModuleDef)
packages/cli/src/modules/apply.ts:235
↓ 1 callers
Function
mk
()
packages/cli/tests/hooks.runtime.mjs:1318
↓ 1 callers
Function
mockFetch
(responseData)
packages/sdk/typescript/tests/tool-search.runtime.mjs:19
↓ 1 callers
Function
mockFetch
(responseData)
packages/sdk/typescript/tests/exporter.runtime.mjs:19
↓ 1 callers
Function
mockFetch
(responseData = { ok: true })
packages/sdk/typescript/tests/trace-continuity.runtime.mjs:14
↓ 1 callers
Function
mockFetch
(responseData)
packages/sdk/typescript/tests/shared-context.runtime.mjs:15
↓ 1 callers
Function
mockFetch
(responseData, { ok = true, status = 200 } = {})
packages/sdk/typescript/tests/cave-plan.runtime.mjs:17
↓ 1 callers
Function
mode
()
tests/hooks/manual-mode.test.mjs:27
↓ 1 callers
Function
mode
()
tests/hooks/headless-entrypoint.test.mjs:26
↓ 1 callers
Function
model
()
packages/pi-extension/tests/provider.runtime.mjs:28
↓ 1 callers
Function
model
(id, name)
packages/pi-extension/tests/fixtures/stub-provider-extension.mjs:5
↓ 1 callers
Function
modelAllowed
(model string)
proxy/providers/vertex/routing.go:176
↓ 1 callers
Function
modelFrom
(kind, url, body)
packages/subagent-tax/lib/sink.mjs:262
↓ 1 callers
Function
modelFromJSON
(root map[string]json.RawMessage)
engine/cmd/caveman-engine/main.go:607
↓ 1 callers
Function
modelFromPath
(path string)
proxy/providers/adapter.go:1775
↓ 1 callers
Function
modelID
modelID is a model name only when the request went to the provider's own API or matched the price catalog, or is Auto; a local server's id can be a fi
proxy/internal/cloudlink/events.go:311
↓ 1 callers
Function
moduleSwitchCommand
(on: boolean, argv: string[])
packages/cli/src/modules/apply.ts:632
↓ 1 callers
Function
modules
(fx)
packages/cli/tests/onboard-setup.runtime.mjs:19
↓ 1 callers
Function
modulesDoctor
()
packages/cli/src/modules/doctor.ts:9
↓ 1 callers
Function
money
(n: number | null)
packages/cli/src/stats-cli.ts:100
↓ 1 callers
Function
movedOwnedMcpEntryState
( agent: "kilo" | "qwen", serverName: string, marker: McpServerMarker, )
packages/cli/src/index.ts:15037
↓ 1 callers
Function
multiColWidthPx
(cols, numCols int)
engine/pixel/gate.go:28
↓ 1 callers
Function
mustJSON
(s string)
engine/compressors/toolschema_test.go:311
↓ 1 callers
Function
mustJSON
(s string)
engine/pixel/schemastrip_test.go:130
↓ 1 callers
Function
mustJSON
(t *testing.T, value string)
proxy/internal/nativehook/hook_unix_test.go:189
↓ 1 callers
Function
mustJSON
(t *testing.T, v any)
proxy/internal/store/learn_retro_test.go:755
↓ 1 callers
Function
mustRawMessage
(t *testing.T, v any)
engine/pixel/transform_gemini_test.go:374
↓ 1 callers
Function
mustRenderLearnHTML
(t *testing.T, s *Store, plan LearnPlan, home, name string)
proxy/internal/store/learn_savings_test.go:184
↓ 1 callers
Function
n
(v: unknown)
packages/cli/src/index.ts:5811
↓ 1 callers
Function
name
()
packages/middleware/typescript/tests/hardening.test.mjs:431
↓ 1 callers
Method
nameMap
nameMap walks an object whose keys are user-defined names: no key is ever dropped, and each value is a schema.
engine/compressors/toolschema_annotations.go:219
↓ 1 callers
Function
names
packages/middleware/typescript/tests/hardening.test.mjs:102
↓ 1 callers
Function
namespaceAnswer
namespaceAnswer is namespaceStream for a non-streamed Messages answer.
proxy/internal/translate/translate.go:1078
↓ 1 callers
Function
namespaceEvent
namespaceEvent rewrites one SSE event (its lines, blank line included).
proxy/internal/translate/translate.go:1004
↓ 1 callers
Function
namespaceStream
--- thinking signatures from Messages hosts other than Anthropic ----------- namespaceStream relays a Messages stream with every thinking signature (r
proxy/internal/translate/translate.go:971
↓ 1 callers
Method
namespaces
namespaces: the answer comes from a Messages host other than Anthropic's own API, so its thinking signatures are rewritten to "caveman:<n>:<route>:…".
proxy/internal/translate/translate.go:144
↓ 1 callers
Method
narrow
narrow runs the Engine's query ranking: through CCR for a grant protocol 1.0 issued, directly on a middleware-owned original otherwise, with RetrieveQ
proxy/internal/middleware/recovery.go:126
↓ 1 callers
Function
native
(params: LanguageModelV4CallOptions)
packages/middleware/typescript/src/mastra.ts:162
↓ 1 callers
Function
native
(t)
packages/middleware/typescript/tests/ai-sdk-native.test.mjs:6
↓ 1 callers
Function
nativeAgentId
(id: string)
packages/cli/src/index.ts:6411
↓ 1 callers
Function
nativeDoctor
(argv: string[])
packages/cli/src/index.ts:11867
↓ 1 callers
Function
nativeEventFrame
Smithy EventStream string headers have a one-byte name length, type 7, and a two-byte value length. Both CRCs cover the native wire bytes.
proxy/internal/standalone/provider_stream_test.go:239
↓ 1 callers
Function
nativeExactOutput
(event: Record<string, unknown>)
packages/cli/src/index.ts:17680
↓ 1 callers
Function
nativeGitDir
(cwd: string)
packages/cli/src/index.ts:17717
↓ 1 callers
Function
nativeHook
(argv: string[])
packages/cli/src/index.ts:18041
↓ 1 callers
Function
nativeHookEntriesHealthy
(root: Record<string, unknown>, agentId: "claude" | "codex" | "gemini")
packages/cli/src/index.ts:8304
↓ 1 callers
Function
nativeHookEntry
(command: string, agentId?: "claude" | "codex" | "gemini")
packages/cli/src/index.ts:7981
↓ 1 callers
Function
nativeInspect
(argv: string[])
packages/cli/src/index.ts:17945
↓ 1 callers
Function
nativeMcpRegistered
(agent: "claude" | "codex" | "hermes" | "gemini" | "pi")
packages/cli/src/index.ts:14091
↓ 1 callers
Function
nativeOpenAIHost
(host: string)
packages/cli/src/openclaw-provider-compat.ts:22
↓ 1 callers
Function
nativeOpencodeMcpInstalled
()
packages/cli/src/index.ts:13971
↓ 1 callers
Function
nativeOptedOut
(agent: string)
packages/cli/src/index.ts:4467
↓ 1 callers
Function
nativePayloadDigest
(value: unknown)
packages/cli/src/index.ts:17614
↓ 1 callers
Function
nativePolicy
(home string)
proxy/internal/nativehook/hook.go:268
↓ 1 callers
Function
nativeRepositoryState
(cwd: string | undefined)
packages/cli/src/index.ts:17738
↓ 1 callers
Function
nativeRoutePinnedFor
(agent: string)
packages/cli/src/index.ts:10703
↓ 1 callers
Function
nativeRuntimeRequest
(agent: NativeAgent, normalizedEvent: string, sessionId: string, event: Record<string, unknown>)
packages/cli/src/index.ts:17786
↓ 1 callers
Function
nativeSessionEnv
(port, telemetry, extra = {})
packages/cli/tests/telemetry.runtime.mjs:793
↓ 1 callers
Function
nativeSessionKey
()
packages/cli/src/index.ts:17894
↓ 1 callers
Function
nativeSessionMarker
(agent: NativeAgent, sessionId: string)
packages/cli/src/index.ts:17918
↓ 1 callers
Function
nativeShortcutEnv
()
packages/cli/tests/agent-shortcut.runtime.mjs:180
↓ 1 callers
Function
nativeTaskContinuation
(value: unknown, claimed: unknown)
packages/cli/src/index.ts:17663
← previous
next →
6,101–6,200 of 12,391, ranked by callers