MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionload_snapshot
Read and validate one snapshot before a consumer reports from it.
evals/snapshot_contract.py:115
↓ 2 callersFunctionloadedClient
(response, options = {})
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:93
↓ 2 callersFunctionloaderControlKey
(key)
agents/compile.mjs:103
↓ 2 callersFunctionloads
Strict JSON, read as JSON.parse reads it: NaN/Infinity are rejected and integral numbers are ints.
packages/sdk/python/caveman_cloud/middleware/protocol.py:83
↓ 2 callersFunctionlocalScanUploadFromRetro
(retro: LearnRetro, scannedAt: Date)
packages/cli/src/index.ts:13725
↓ 2 callersFunctionlocalTurnEffortSessionKey
localTurnEffortSessionKey ensures every conversation using cache-safe local per-message marks has a stable session key for byte-identical mark replay
proxy/internal/gateway/local_turn_effort.go:124
↓ 2 callersFunctionlockPath
()
packages/cli/src/modules/index-file.ts:99
↓ 2 callersFunctionlogfmtFields
logfmtFields extracts the `key=value` tokens of one log line, in order.
engine/compressors/invariants.go:707
↓ 2 callersFunctionloginBrowserOpener
( url: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:13368
↓ 2 callersFunctionlooksLikeLog
(input []byte)
engine/detect.go:216
↓ 2 callersFunctionlooksLikeSSE
looksLikeSSE reports whether a response body prefix opens as an SSE stream: a field line (`event:`, `data:`, `id:`, `retry:`) or a comment (`:`). A JS
proxy/internal/gateway/chatgpt.go:732
↓ 2 callersFunctionlooksLikeSingleOpenCodeServer
(raw: unknown)
packages/cli/src/codemode.ts:225
↓ 2 callersFunctionlookup
(whole, name)
installer/install.js:1194
↓ 2 callersFunctionlookupField
(obj: unknown, path: string)
packages/middleware/typescript/src/codemode.ts:226
↓ 2 callersMethodlookupPrice
(provider, model string)
proxy/internal/standalone/e2e_cost_bench_test.go:144
↓ 2 callersFunctionmain
()
shrink/cmd/caveman-shrink/main.go:44
↓ 2 callersFunctionmakeAnnotatedToolCatalogGemini
()
proxy/internal/standalone/e2e_cost_bench_test.go:922
↓ 2 callersFunctionmakeAnnotatedToolCatalogOpenAI
()
proxy/internal/standalone/e2e_cost_bench_test.go:892
↓ 2 callersFunctionmakeChalk
(noColor)
installer/install.js:205
↓ 2 callersFunctionmakeResponsesDeferPayload
(mcpCount int, withSearch bool)
proxy/providers/openai/defer_mcp_test.go:13
↓ 2 callersFunctionmakeSession
(dir, lines)
tests/test_caveman_stats.js:34
↓ 2 callersFunctionmakeStubAXTree
(extraNoise int)
mcp/codemode/stdio_js_builtin_test.go:802
↓ 2 callersFunctionmakeVerboseSystemPrompt
()
proxy/internal/standalone/e2e_cost_bench_test.go:829
↓ 2 callersFunctionmanifest_window
§11: the largest head length k with k <= max_items and sum(sizes[:k]) <= max_bytes.
packages/sdk/python/caveman_cloud/middleware/protocol.py:235
↓ 2 callersFunctionmantleActionAllowed
(path string)
proxy/providers/bedrock/routing.go:227
↓ 2 callersFunctionmanualThinking
manualThinking: only extended (manual, `enabled`) thinking requires the final assistant tool turn to start with a thinking block; adaptive relaxes tha
proxy/internal/translate/messages.go:425
↓ 2 callersMethodmapped
mapped builds the JWT or certificate principal prefix+value. globs from the credential win; otherwise the token map entry of that name supplies them.
proxy/internal/identity/identity.go:314
↓ 2 callersFunctionmarkEstimate
markEstimate tells the agent message_start's input_tokens is an estimate.
proxy/internal/translate/messages_stream.go:554
↓ 2 callersFunctionmarkdownRowCells
(cells []string, trimTrailing bool)
engine/compressors/html_table.go:225
↓ 2 callersFunctionmarkerMAC
(key []byte, encodedSessionID string)
proxy/internal/nativeruntime/marker.go:139
↓ 2 callersFunctionmaskedWebSocketFrame
(opcode byte, payload string)
proxy/internal/gateway/websocket_route_test.go:75
↓ 2 callersMethodmatchAdapter
(r *http.Request)
proxy/internal/gateway/proxy.go:2368
↓ 2 callersFunctionmatches_framework
Pure version check for adapters retaining a passive per-call delegate. Each pin is `(distribution, minimum, exclusive_maximum)`.
packages/middleware/python/caveman_middleware/_versions.py:66
↓ 2 callersFunctionmaxRetrieveResponseBytes
()
proxy/internal/gateway/retrieve_tool.go:938
↓ 2 callersFunctionmaybeReflowOpenAI
(text string, enabled bool)
engine/pixel/transform_openai.go:784
↓ 2 callersFunctionmaybeReflowText
(text string, enabled bool)
engine/pixel/transform_anthropic.go:947
↓ 2 callersFunctionmaybeSpawnAutopilot
(cliPath = join(dirname(fileURLToPath(import.meta.url)), "index.js"))
packages/cli/src/learn-autopilot.ts:177
↓ 2 callersFunctionmaybeWarnHermesMissingKey
(agent: AgentProfile | undefined, gw = gatewayURL())
packages/cli/src/index.ts:7443
↓ 2 callersFunctionmcpMarkerBytes
(mcp: { command: string; args: string[] }, tool: string, configPath?: string)
packages/cli/src/index.ts:17100
↓ 2 callersFunctionmcpPendingJournalPath
(agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:17091
↓ 2 callersFunctionmcpSurfaceMode
(value: CapabilityValue)
packages/cli/src/index.ts:4602
↓ 2 callersFunctionmcpSurfaceSink
(cfg configScan, existing []Sink)
proxy/internal/store/detect_mcp_tax.go:10
↓ 2 callersFunctionmeaningfulTokenReduction
(before, after int)
engine/image/image.go:146
↓ 2 callersMethodmeasuredPrefix
()
proxy/internal/store/learn.go:134
↓ 2 callersFunctionmedianAndScale
medianAndScale returns the median and a robust scale (MAD) of xs, falling back to the standard deviation when the MAD is zero (≥ half the values ident
engine/compressors/json.go:421
↓ 2 callersMethodmedianContext
()
proxy/internal/store/learn.go:115
↓ 2 callersFunctionmemTools
memTools maps the store onto cavemem MCP tools, reusing the mcp framing. Every result is labeled inferred.
mem/cmd/cavemem/main.go:138
↓ 2 callersMethodmemoryByID
(id string)
mem/store.go:665
↓ 2 callersFunctionmemoryProjectRoot
memoryProjectRoot is the directory Claude Code keys auto memory on: the git repository, with every worktree folded into its main checkout (per the doc
proxy/internal/store/detect_memory_health.go:131
↓ 2 callersFunctionmerge
(src: Record<string, CodemodeServerConfig>)
packages/cli/src/codemode.ts:1258
↓ 2 callersFunctionmergeAliasValue
(current int, found bool, next int, usage *UsageObservation)
proxy/providers/adapter.go:1689
↓ 2 callersFunctionmergeAnthropicCustomHeader
(raw: string | undefined, name: string, value: string | undefined)
packages/cli/src/index.ts:13024
↓ 2 callersFunctionmergeBedrockUsage
mergeBedrockUsage reads usage from the Bedrock shapes (camelCase converse, snake_case anthropic-invoke, nested metadata/message.usage) and merges the
proxy/providers/bedrock/usage.go:298
↓ 2 callersFunctionmergeBehaviorScan
(dst, src *behaviorScan)
proxy/internal/store/learn.go:1142
↓ 2 callersFunctionmergeHermesConfigEdits
(editedYaml: string, originalYaml: string)
packages/cli/src/codemode.ts:1907
↓ 2 callersFunctionmergeUsage
mergeUsage reads every usage-bearing sub-object reachable from obj and merges cumulative stream counters with a max rule. Each object is normalized to
proxy/providers/adapter.go:1280
↓ 2 callersFunctionmessageText
messageText joins a message's text blocks with "\n"; a string content is one block. ok is false when no block has any non-space text; tool reports a t
proxy/internal/cloudlink/link.go:1051
↓ 2 callersFunctionmessageZones
messageZones parses a request into its message spans plus the set of message indexes that form the live zone. It is the single definition of "live" sh
proxy/providers/anthropic/content_compress.go:246
↓ 2 callersFunctionmessages
(input)
packages/middleware/python/caveman_middleware/langchain.py:313
↓ 2 callersFunctionmessagesFinish
messagesFinish completes a Messages body built for a Messages host: model, max_tokens, the effort as fitted thinking plus output_config, the structure
proxy/internal/translate/msgbuild.go:307
↓ 2 callersFunctionmessagesSchemaFormat
messagesSchemaFormat is output_config.format for a JSON schema.
proxy/internal/translate/msgbuild.go:364
↓ 2 callersFunctionmessagesToHistorySegments
(messages []Message, upToExclusive int, fromInclusive int)
engine/pixel/history_anthropic.go:195
↓ 2 callersFunctionmiddlewareUsageRows
middlewareUsageRows is every row's principal, counted and size, for recomputing the counters from scratch.
proxy/internal/store/middleware.go:102
↓ 2 callersMethodmiddlewareWrite
(ctx context.Context, fn func(*sql.Tx) error)
proxy/internal/store/middleware.go:502
↓ 2 callersMethodmigrateCacheComponentBatch
migrateCacheComponentBatch handles the next cacheComponentBatchRows ids above the mark in one transaction: a non-empty legacy list of a row inside the
proxy/internal/store/cache_components.go:83
↓ 2 callersMethodmigrateCacheComponents
migrateCacheComponents moves every legacy list above the mark, batch by batch, until none is left or ctx ends. It is idempotent and safe to stop at an
proxy/internal/store/cache_components.go:61
↓ 2 callersFunctionmk
tests/test_mcp_shrink.js:482
↓ 2 callersFunctionmockFetch
Queue one or more responses; each is `{status?, body}` or an Error to throw.
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:49
↓ 2 callersFunctionmodelAllowed
(modelID string)
proxy/providers/bedrock/routing.go:431
↓ 2 callersFunctionmodelFromGeminiPath
(path string)
proxy/internal/standalone/e2e_cost_bench_test.go:688
↓ 2 callersMethodmodelTurn
modelTurn reports an item a model turn produced or answered: an assistant message, and on Responses reasoning, a tool call or its output, a compaction
proxy/internal/gateway/route.go:422
↓ 2 callersFunctionmoduleChoice
(state: ModuleState)
packages/cli/src/modules/status.ts:21
↓ 2 callersFunctionmovedOwnedMcpRemovalBlocked
(agent: "kilo" | "qwen", serverName: string, marker: McpServerMarker)
packages/cli/src/index.ts:15674
↓ 2 callersFunctionmustRawJSON
(value any)
engine/pixel/transform_openai.go:832
↓ 2 callersMethodname
(contentEncoding string)
proxy/internal/gateway/route.go:1601
↓ 2 callersFunctionnamesAuto
namesAuto reports a JSON body whose top-level "model" is Auto.
proxy/internal/gateway/route.go:171
↓ 2 callersFunctionnativeBackupBytes
(operation: NativeJournal["operations"][number])
packages/cli/src/index.ts:11502
↓ 2 callersFunctionnativeCapabilityReport
(agent: NativeAgent, components: NativeComponents, versionStatus: ReturnType<typeof nativeVersionStatus>)
packages/cli/src/index.ts:8821
↓ 2 callersFunctionnativeDigestObject
(value: unknown)
packages/cli/src/index.ts:18234
↓ 2 callersFunctionnativeHistory
nativeHistory removes from a request bound for the harness's own provider the reasoning another host produced in this conversation (a pool request's t
proxy/internal/gateway/route_pool.go:240
↓ 2 callersFunctionnativeHookCommand
(agentId: string)
packages/cli/src/index.ts:8286
↓ 2 callersFunctionnativeHookInvocation
( executable: string, fastHook: string, agentId: string, executableIsProxy: boolean, platform: NodeJ
packages/cli/src/index.ts:8209
↓ 2 callersFunctionnativeHostProbe
(agent: AgentProfile)
packages/cli/src/index.ts:9061
↓ 2 callersFunctionnativeMiddleware
(options: CavemanOptions, blocked: Blocked, registration?: RecoveryRegistration)
packages/middleware/typescript/src/ai-sdk.ts:75
↓ 2 callersFunctionnativeOwnEndpoint
(agent: NativeAgent)
packages/cli/src/index.ts:9135
↓ 2 callersFunctionnativeRepairFix
(agent: NativeAgent)
packages/cli/src/index.ts:10425
↓ 2 callersFunctionnearest
(directory: string, name: string, levels: number, nested: boolean)
packages/middleware/typescript/src/versions.ts:12
↓ 2 callersFunctionnearestProximity
(flags []bool)
engine/trim2/features.go:1073
↓ 2 callersFunctionneedsCompress
()
packages/shared/contracts/conformance/run.mjs:240
↓ 2 callersFunctionnestedCapabilityValue
(doc: Record<string, unknown>, key: CapabilityKey)
packages/cli/src/index.ts:4611
↓ 2 callersFunctionnewCave
()
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:68
↓ 2 callersFunctionnewChatServer
(st gateway.PrefixCache, comp gateway.Compressor, rt *e2eChatTransport)
proxy/internal/store/prefix_stability_openai_e2e_test.go:74
↓ 2 callersFunctionnewCompressionEligible
(original []byte)
proxy/providers/anthropic/content_compress.go:423
↓ 2 callersFunctionnewCompressionEligible
(original []byte)
proxy/providers/openai/content_compress.go:463
↓ 2 callersFunctionnewCrossTurnDeltaIndex
()
proxy/internal/gateway/delta.go:70
↓ 2 callersFunctionnewDialer
(cfg Config)
shared/platform/ssrf/ssrf.go:445
↓ 2 callersFunctionnewFilteredUpstream
(inner Upstream, include, exclude []string)
mcp/codemode/http_upstream.go:155
↓ 2 callersFunctionnewKey
(t *testing.T)
proxy/internal/middleware/hardening_test.go:45
↓ 2 callersFunctionnewLoggingTokenGatedServer
newLoggingTokenGatedServer is the same server with its warnings captured, for the tests that assert on what a rejection discloses.
proxy/internal/standalone/auth_token_test.go:34
↓ 2 callersFunctionnewMCPRecoveryTestServer
(t *testing.T, upstream string, sink TelemetrySink, comp Compressor)
proxy/internal/gateway/compress_test.go:765
← previousnext →3,601–3,700 of 13,382, ranked by callers