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
↓ 2 callers
Function
learnMoveBody
(move: LearnTuiMove)
packages/cli/src/learn-tui.ts:42
↓ 2 callers
Function
learnNoScoreYet
(sessions: number)
packages/cli/src/index.ts:19970
↓ 2 callers
Function
learnProtectedText
(sink: LearnSink)
packages/cli/src/index.ts:20244
↓ 2 callers
Function
learnProvenanceLabel
(provenance: string)
packages/cli/src/index.ts:20666
↓ 2 callers
Function
learnReportOpener
( report: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:20546
↓ 2 callers
Function
learnRetroOptions
(args []string)
proxy/cmd/caveman-proxy/main.go:1028
↓ 2 callers
Function
learnScoreBar
(score: number, width = 24)
packages/cli/src/learn-tui.ts:36
↓ 2 callers
Function
learnSinkPositionals
(args []string)
proxy/cmd/caveman-proxy/main.go:1013
↓ 2 callers
Function
learnSourceLine
(plan: LearnPlan, sessions: number)
packages/cli/src/index.ts:20183
↓ 2 callers
Function
learnSparkline
(series: (number | null)[])
packages/cli/src/learn-trends.ts:46
↓ 2 callers
Function
learnTimeoutSeconds
()
packages/cli/src/index.ts:20458
↓ 2 callers
Function
learnUsage
()
packages/cli/src/index.ts:20740
↓ 2 callers
Function
learningLoopSinks
(loops []learningLoop)
proxy/internal/store/learn_loops.go:187
↓ 2 callers
Function
leaveHomeAclAlone
(home: string, seen: { names: string[]; resolved: string; link: boolean })
packages/cli/src/home-acl.ts:35
↓ 2 callers
Function
leaves
(body: dict, protocol: str)
packages/middleware/python/caveman_middleware/_native.py:107
↓ 2 callers
Function
ledgerCSV
--- end-to-end through the compressors ---
engine/compressors/invariants_test.go:440
↓ 2 callers
Function
legacyConfigPath
()
packages/cli/src/modules/config-home.ts:18
↓ 2 callers
Function
legend
(c, x, y, labels)
benchmarks/render_charts.py:89
↓ 2 callers
Function
levelParams
(level DensityLevel, tier PixelTier)
engine/pixel/density.go:99
↓ 2 callers
Function
lineFields
lineFields reads one line of a line-oriented payload as whatever it is: a complete JSON object (an NDJSON event stream — webhook deliveries, audit eve
engine/compressors/invariants.go:691
↓ 2 callers
Function
linkReadOnlyError
(link: string, target: string)
packages/cli/src/index.ts:8586
↓ 2 callers
Function
listFiles
listFiles prefers git's own ignore rules over any name list we could write: a dependency tree the project installs (node_modules, .pixi/envs, .venv, a
proxy/internal/repointel/index.go:252
↓ 2 callers
Function
listen
(server, scheme = "http")
packages/cli/tests/proxy-fetch.runtime.mjs:37
↓ 2 callers
Method
liveZoneConfigured
liveZoneConfigured is every live-zone condition except the recovery proof, which a request may carry in its own (possibly still encoded) body.
proxy/internal/gateway/server.go:464
↓ 2 callers
Method
load
(current, legacy, credentials string, refreshKeychain bool)
proxy/internal/cloudlink/link.go:358
↓ 2 callers
Function
loadBootstrapSnippet
(repoRoot)
installer/lib/openclaw.js:214
↓ 2 callers
Function
loadCurrentCatalog
loadCurrentCatalog decodes current.yaml through the same strict validator the runtime uses, so a probe test mutates exactly the rows the gateway would
shared/platform/catalog/catalog_test.go:244
↓ 2 callers
Function
loadDirectState
(logger *slog.Logger)
browse/cmd/caveman-browse/main.go:484
↓ 2 callers
Function
loadJournal
(journalPath, integration)
installer/lib/owned-install.js:103
↓ 2 callers
Function
loadModuleIndex
()
packages/cli/src/modules/index-file.ts:71
↓ 2 callers
Function
loadSurfaces
({ skillsDir, cliDir })
skills/verbs-gate.mjs:42
↓ 2 callers
Function
load_snapshot
Read and validate one snapshot before a consumer reports from it.
evals/snapshot_contract.py:115
↓ 2 callers
Function
loadedClient
(response, options = {})
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:93
↓ 2 callers
Function
loaderControlKey
(key)
agents/compile.mjs:103
↓ 2 callers
Function
loads
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 callers
Function
localScanUploadFromRetro
(retro: LearnRetro, scannedAt: Date)
packages/cli/src/index.ts:13137
↓ 2 callers
Function
lockPath
()
packages/cli/src/modules/index-file.ts:99
↓ 2 callers
Function
logfmtFields
logfmtFields extracts the `key=value` tokens of one log line, in order.
engine/compressors/invariants.go:707
↓ 2 callers
Function
loginBrowserOpener
( url: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:12780
↓ 2 callers
Function
looksLikeLog
(input []byte)
engine/detect.go:213
↓ 2 callers
Function
looksLikeSSE
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:619
↓ 2 callers
Function
lookup
(whole, name)
installer/install.js:1180
↓ 2 callers
Function
main
()
shrink/cmd/caveman-shrink/main.go:44
↓ 2 callers
Function
makeChalk
(noColor)
installer/install.js:205
↓ 2 callers
Function
makeSession
(dir, lines)
tests/test_caveman_stats.js:34
↓ 2 callers
Function
manifest_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 callers
Function
mantleActionAllowed
(path string)
proxy/providers/bedrock/routing.go:227
↓ 2 callers
Function
manualThinking
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 callers
Method
mapped
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 callers
Function
markEstimate
markEstimate tells the agent message_start's input_tokens is an estimate.
proxy/internal/translate/messages_stream.go:554
↓ 2 callers
Function
markerMAC
(key []byte, encodedSessionID string)
proxy/internal/nativeruntime/marker.go:139
↓ 2 callers
Method
matchAdapter
(r *http.Request)
proxy/internal/gateway/proxy.go:1882
↓ 2 callers
Function
matches_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 callers
Function
maxRetrieveResponseBytes
()
proxy/internal/gateway/retrieve_tool.go:869
↓ 2 callers
Function
maybeReflowOpenAI
(text string, enabled bool)
engine/pixel/transform_openai.go:784
↓ 2 callers
Function
maybeReflowText
(text string, enabled bool)
engine/pixel/transform_anthropic.go:947
↓ 2 callers
Function
maybeSpawnAutopilot
(cliPath = join(dirname(fileURLToPath(import.meta.url)), "index.js"))
packages/cli/src/learn-autopilot.ts:177
↓ 2 callers
Function
maybeWarnHermesMissingKey
(agent: AgentProfile | undefined, gw = gatewayURL())
packages/cli/src/index.ts:7091
↓ 2 callers
Function
mcpMarkerBytes
(mcp: { command: string; args: string[] }, tool: string, configPath?: string)
packages/cli/src/index.ts:16470
↓ 2 callers
Function
mcpPendingJournalPath
(agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:16461
↓ 2 callers
Function
mcpServerLaunch
( command: string, args: string[], platform: NodeJS.Platform = process.platform, env: NodeJS.ProcessEn
packages/cli/src/index.ts:14128
↓ 2 callers
Function
mcpSurfaceMode
(value: CapabilityValue)
packages/cli/src/index.ts:4540
↓ 2 callers
Function
mcpSurfaceSink
(cfg configScan, existing []Sink)
proxy/internal/store/detect_mcp_tax.go:10
↓ 2 callers
Function
meaningfulTokenReduction
(before, after int)
engine/image/image.go:146
↓ 2 callers
Method
measuredPrefix
()
proxy/internal/store/learn.go:134
↓ 2 callers
Function
medianAndScale
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 callers
Method
medianContext
()
proxy/internal/store/learn.go:115
↓ 2 callers
Function
memTools
memTools maps the store onto cavemem MCP tools, reusing the mcp framing. Every result is labeled inferred.
mem/cmd/cavemem/main.go:138
↓ 2 callers
Method
memoryByID
(id string)
mem/store.go:665
↓ 2 callers
Function
memoryProjectRoot
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 callers
Function
mergeAliasValue
(current int, found bool, next int, usage *UsageObservation)
proxy/providers/adapter.go:1655
↓ 2 callers
Function
mergeAnthropicCustomHeader
(raw: string | undefined, name: string, value: string | undefined)
packages/cli/src/index.ts:12436
↓ 2 callers
Function
mergeBedrockUsage
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 callers
Function
mergeBehaviorScan
(dst, src *behaviorScan)
proxy/internal/store/learn.go:1142
↓ 2 callers
Function
mergeUsage
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:1246
↓ 2 callers
Function
messageText
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 callers
Function
messageZones
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:210
↓ 2 callers
Function
messages
(input)
packages/middleware/python/caveman_middleware/langchain.py:313
↓ 2 callers
Function
messagesFinish
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 callers
Function
messagesSchemaFormat
messagesSchemaFormat is output_config.format for a JSON schema.
proxy/internal/translate/msgbuild.go:364
↓ 2 callers
Function
messagesToHistorySegments
(messages []Message, upToExclusive int, fromInclusive int)
engine/pixel/history_anthropic.go:195
↓ 2 callers
Function
middlewareUsageRows
middlewareUsageRows is every row's principal, counted and size, for recomputing the counters from scratch.
proxy/internal/store/middleware.go:102
↓ 2 callers
Method
middlewareWrite
(ctx context.Context, fn func(*sql.Tx) error)
proxy/internal/store/middleware.go:502
↓ 2 callers
Method
migrateCacheComponentBatch
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 callers
Method
migrateCacheComponents
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 callers
Function
mk
tests/test_mcp_shrink.js:482
↓ 2 callers
Function
mockFetch
Queue one or more responses; each is `{status?, body}` or an Error to throw.
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:49
↓ 2 callers
Function
modelAllowed
(modelID string)
proxy/providers/bedrock/routing.go:431
↓ 2 callers
Method
modelTurn
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:395
↓ 2 callers
Function
moduleChoice
(state: ModuleState)
packages/cli/src/modules/status.ts:21
↓ 2 callers
Function
movedOwnedMcpRemovalBlocked
(agent: "kilo" | "qwen", serverName: string, marker: McpServerMarker)
packages/cli/src/index.ts:15053
↓ 2 callers
Function
mustRawJSON
(value any)
engine/pixel/transform_openai.go:832
↓ 2 callers
Method
name
(contentEncoding string)
proxy/internal/gateway/route.go:1544
↓ 2 callers
Function
namesAuto
namesAuto reports a JSON body whose top-level "model" is Auto.
proxy/internal/gateway/route.go:171
↓ 2 callers
Function
nativeBackupBytes
(operation: NativeJournal["operations"][number])
packages/cli/src/index.ts:10967
↓ 2 callers
Function
nativeBinaryProbe
(name: string)
packages/cli/src/index.ts:8727
↓ 2 callers
Function
nativeCapabilityReport
(agent: NativeAgent, components: NativeComponents, versionStatus: ReturnType<typeof nativeVersionStatus>)
packages/cli/src/index.ts:8478
↓ 2 callers
Function
nativeDigestObject
(value: unknown)
packages/cli/src/index.ts:17604
↓ 2 callers
Function
nativeHistory
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 callers
Function
nativeHookCommand
(agentId: string)
packages/cli/src/index.ts:7966
← previous
next →
3,301–3,400 of 12,391, ranked by callers