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
↓ 4 callers
Function
dbPath
(home string)
proxy/cmd/caveman-proxy/main.go:1143
↓ 4 callers
Function
decodeCachePointBody
(t *testing.T, body []byte)
proxy/providers/bedrock/cache_points_test.go:42
↓ 4 callers
Function
decodeJSONString
(raw []byte)
proxy/providers/anthropic/splice.go:190
↓ 4 callers
Method
delta
(delta map[string]any)
proxy/internal/translate/messages_stream.go:380
↓ 4 callers
Function
destination
(root, relativePath)
installer/lib/owned-install.js:30
↓ 4 callers
Method
dialect
()
proxy/internal/translate/translate.go:58
↓ 4 callers
Function
disableNativeAgent
(target: NativeAgent, { quiet = false, allClaudeProfiles = false, optOut = true }: { quiet?: boolean; allClaud
packages/cli/src/index.ts:11502
↓ 4 callers
Function
draw
()
packages/cli/src/modules/onboard.ts:592
↓ 4 callers
Function
drive
()
packages/middleware/python/tests/test_behavior.py:229
↓ 4 callers
Function
dropParams
(fields map[string]json.RawMessage, opts Options)
proxy/internal/translate/translate.go:303
↓ 4 callers
Function
dumbzoneSink
(beh behaviorScan)
proxy/internal/store/learn.go:624
↓ 4 callers
Function
durableAtomicWriteFile
(path: string, bytes: Buffer, mode = 0o600)
packages/cli/src/index.ts:8603
↓ 4 callers
Function
durableCavemen
(withPrivate = true)
packages/cli/src/index.ts:4057
↓ 4 callers
Function
eachChatPart
eachChatPart calls fn with each part of a chat content value (a string is one text part).
proxy/internal/translate/chat_in.go:51
↓ 4 callers
Function
editArray
editArray returns arr with the elements edit changes: a replacement, or drop. It copies nothing and returns arr itself when edit changes none or arr d
proxy/internal/translate/jsonfast.go:541
↓ 4 callers
Function
elidableSegment
elidableSegment is long enough that the engine elides it (which RequiresCCR), so compressing it reaches engine.store.Put — the write that fails on a c
proxy/internal/standalone/compressor_error_log_test.go:16
↓ 4 callers
Function
elidedBytesFor
elidedBytesFor returns the run size that makes summaryBudget yield exactly want, so budget-pressure tests state the budget they mean instead of a magi
engine/compressors/invariants_test.go:14
↓ 4 callers
Function
enabled
()
proxy/providers/gemini/explicit_cache_test.go:22
↓ 4 callers
Function
encodeThinking
(blocks []json.RawMessage)
proxy/internal/translate/responses.go:303
↓ 4 callers
Function
endpointKindForPath
(path string)
proxy/providers/bedrock/routing.go:216
↓ 4 callers
Method
ensure
()
packages/pi-extension/src/recovery.ts:58
↓ 4 callers
Function
envTruthy
(v: string | undefined)
packages/cli/src/index.ts:955
↓ 4 callers
Function
error
(code, status, retry_after=None)
packages/sdk/python/tests/test_middleware_v1_1.py:112
↓ 4 callers
Function
evalGeminiProfitability
(model, mediaResolution, text string, cols, imageCountCap, numCols int, charsPerToken, priorWarmTokens, priorW
engine/pixel/transform_gemini.go:1015
↓ 4 callers
Function
evidenceByRequest
(t *testing.T, s *Store)
proxy/internal/store/cache_components_test.go:108
↓ 4 callers
Function
exchange
exchange runs one connection through serveConn to completion: the request (nil sends nothing), then whatever the server answers before it closes.
proxy/internal/nativeruntime/drop_log_test.go:56
↓ 4 callers
Function
execPortableIgnore
(command: string, args: string[])
packages/cli/src/index.ts:16905
↓ 4 callers
Method
expand
Reverse a checkpoint ``source_ref`` back into the original context. GETs ``/sdk/v1/checkpoints/{source_ref}/expand``; the gateway returns the
packages/sdk/python/caveman_cloud/core.py:1235
↓ 4 callers
Function
expectArray
(value, field)
packages/subagent-tax/lib/analyze.mjs:18
↓ 4 callers
Function
extendsRange
extendsRange reports whether components starts with prefix[:n].
proxy/internal/gateway/cache_prefix_invariant_test.go:91
↓ 4 callers
Function
externalProblem
(def: ModuleDef, bin: string | null, status: Record<string, boolean> | undefined)
packages/cli/src/modules/apply.ts:283
↓ 4 callers
Function
extractCompressionQuery
extractCompressionQuery returns the latest human text from a provider request. Tool results are deliberately skipped: they are the payload being compr
proxy/internal/gateway/compression_query.go:18
↓ 4 callers
Function
fanoutKey
fanoutKey keys a fresh child's shared prefix: its parent session, the upstream and model, and the request's tools and system prompt (Messages system,
proxy/internal/gateway/route_cache.go:282
↓ 4 callers
Method
feed
(self, chunk)
packages/middleware/python/caveman_middleware/_usage.py:46
↓ 4 callers
Method
feed
(self, chunk)
packages/middleware/python/caveman_middleware/google.py:398
↓ 4 callers
Function
fetch
(input: string | URL | Request, init: RequestInit = {})
packages/sdk/typescript/src/middleware/transport.ts:65
↓ 4 callers
Function
find
(id: string | undefined)
packages/cli/src/modules/provider-logins.ts:151
↓ 4 callers
Method
finish
(self)
packages/middleware/python/caveman_middleware/_usage.py:81
↓ 4 callers
Method
finish
(self, event, measured=None)
packages/middleware/python/caveman_middleware/crewai.py:123
↓ 4 callers
Method
finish
(self, event, response=None)
packages/middleware/python/caveman_middleware/agno.py:117
↓ 4 callers
Function
finiteNonNegative
(v float64)
shared/platform/cost/cost.go:153
↓ 4 callers
Function
finiteNumber
(value: unknown)
packages/cli/src/index.ts:22529
↓ 4 callers
Function
finiteNumber
(value: unknown)
packages/sdk/typescript/src/index.ts:1402
↓ 4 callers
Function
first
()
packages/sdk/python/tests/test_tool_events.py:158
↓ 4 callers
Function
firstPositional
(args []string)
proxy/cmd/caveman-proxy/main.go:1250
↓ 4 callers
Function
firstRunExperience
(opts: { forced?: boolean } = {})
packages/cli/src/index.ts:6177
↓ 4 callers
Function
fixture
({ opencodeVersion = "opencode 1.0.0", opencode2Version = null } = {})
packages/cli/tests/native-enable.runtime.mjs:16
↓ 4 callers
Method
flush
flush writes the open assistant message and any parts tool outputs left.
proxy/internal/translate/responses_in.go:680
↓ 4 callers
Function
flushWriter
(w io.Writer)
proxy/internal/translate/chat_stream.go:86
↓ 4 callers
Function
fmt
(n)
src/hooks/caveman-stats.js:345
↓ 4 callers
Function
fmtMoney
(value: number, currency: string)
packages/cli/src/index.ts:20672
↓ 4 callers
Function
forceWalkListing
forceWalkListing removes the git listing so a test provably exercises the filesystem walk, instead of depending on TMPDIR not sitting in a checkout.
proxy/internal/repointel/index_test.go:113
↓ 4 callers
Function
framework_state
``supported``; ``unsupported`` when a readable version is outside its pin; ``unverified`` when unreadable.
packages/middleware/python/caveman_middleware/_versions.py:74
↓ 4 callers
Function
gate
(client:OpenAI,options:OpenAIOptions)
packages/middleware/typescript/src/openai.ts:30
↓ 4 callers
Function
gatewayRootObjectSpan
(body []byte)
proxy/internal/gateway/retrieve_tool.go:141
↓ 4 callers
Function
gptTextTokens
(text string)
engine/pixel/transform_openai.go:471
↓ 4 callers
Function
handleArgs
(args []string, stdout, stderr io.Writer)
mcp/cmd/caveman-mcp/main.go:49
↓ 4 callers
Function
hermesHome
(env: NodeJS.ProcessEnv = process.env, platform: NodeJS.Platform = process.platform)
packages/cli/src/index.ts:14196
↓ 4 callers
Function
hermesPluginDir
()
packages/cli/src/index.ts:18916
↓ 4 callers
Function
heuristicMoves
(_ string, plan TrialPlan)
proxy/internal/store/trial_store.go:450
↓ 4 callers
Function
hookExecutableInvocation
( executable: string, script: string | undefined, platform: NodeJS.Platform = process.platform, powers
packages/cli/src/index.ts:7920
↓ 4 callers
Function
hookNode
(opts)
installer/install.js:565
↓ 4 callers
Function
id
packages/shared/contracts/conformance/run.mjs:138
↓ 4 callers
Function
imageURLOf
imageURLOf is an input_image's (or chat image_url's) URL token.
proxy/internal/translate/responses_in.go:288
↓ 4 callers
Function
inRange
(version: string | null, low: string, high: string)
packages/middleware/typescript/src/versions.ts:70
↓ 4 callers
Function
inspectSQLiteGeneration
inspectSQLiteGeneration requires the canonical path PrepareSQLitePathCanonical returned. The parent check below is a re-verification that no component
engine/ccr/store_generation.go:35
↓ 4 callers
Function
integer
(n: unknown)
packages/sdk/typescript/src/middleware/validate.ts:36
↓ 4 callers
Method
invoke
(input:BaseLanguageModelInput,config?:Partial<Options>)
packages/middleware/typescript/src/langchain-model.ts:130
↓ 4 callers
Function
isClaudeAutoModel
(model: unknown)
packages/cli/src/index.ts:4494
↓ 4 callers
Method
isConservativeGeometry
isConservativeGeometry reports whether the profile draws today's geometry (5px advance, 8px pitch, mono). When true the transform keeps its original p
engine/pixel/density.go:297
↓ 4 callers
Function
isFinitePositive
(v float64)
engine/pixel/gate.go:192
↓ 4 callers
Function
isInAllowList
(host, port string, list []string)
shared/platform/ssrf/ssrf.go:415
↓ 4 callers
Function
isSubagentSpawnTool
isSubagentSpawnTool reports whether a Claude Code tool call spawns a subagent. The tool was renamed Task -> Agent, and four separate sites recognized
proxy/internal/store/detect_subagent_spend.go:66
↓ 4 callers
Function
isTokenCount
(value)
src/hooks/caveman-stats.js:137
↓ 4 callers
Function
itoa
(value int)
proxy/internal/store/learn_loops.go:219
↓ 4 callers
Function
jsonFixture
(t *testing.T)
engine/listing_test.go:20
↓ 4 callers
Function
keys
(input: NodeJS.ReadStream, onKey: (key: Key) => void)
packages/cli/src/modules/onboard.ts:624
↓ 4 callers
Function
langChainUsage
(value:UsageMetadata|undefined)
packages/middleware/typescript/src/langchain-model.ts:37
↓ 4 callers
Function
learnReportPath
()
packages/cli/src/index.ts:20004
↓ 4 callers
Function
learnSessionSources
()
proxy/internal/store/learn_portfolio.go:43
↓ 4 callers
Function
legacyCloudDir
()
packages/cli/src/modules/config-home.ts:14
↓ 4 callers
Function
load
Import an evals module fresh, with eval env vars controlled.
tests/test_eval_llm_run.py:27
↓ 4 callers
Function
lockedHomeRuntime
(t *testing.T)
proxy/internal/nativeruntime/hook_budget_test.go:56
↓ 4 callers
Function
loggedRuntime
(t *testing.T, runtime *Runtime)
proxy/internal/nativeruntime/drop_log_test.go:47
↓ 4 callers
Function
login
(argv: string[] = [], ui?: SignInUi)
packages/cli/src/index.ts:12881
↓ 4 callers
Function
mcpConfigPendingJournalPath
(configPath: string)
packages/cli/src/index.ts:16465
↓ 4 callers
Method
merge
merge folds one session-local miner into the scan-wide miner. Callers merge sessions in path order so capped locator samples stay deterministic even w
proxy/internal/store/recurring.go:191
↓ 4 callers
Function
messageSpans
(body []byte)
proxy/internal/gateway/route.go:1219
↓ 4 callers
Function
messages
(input:BaseLanguageModelInput)
packages/middleware/typescript/src/langchain-model.ts:101
↓ 4 callers
Function
messagesToAny
(messages []Message)
engine/pixel/transform_anthropic_test.go:440
↓ 4 callers
Function
metadataBool
(v bool)
engine/compressors/compressor.go:48
↓ 4 callers
Function
minableBlocks
minableBlocks segments a turn's text payloads in document order, each payload independently under segmenter v1, keeping the flattened block index that
proxy/internal/store/recurring.go:109
↓ 4 callers
Function
moduleFix
(state: ModuleState)
packages/cli/src/modules/status.ts:7
↓ 4 callers
Function
mustStore
(logger *slog.Logger, home string)
proxy/cmd/caveman-proxy/main.go:1151
↓ 4 callers
Function
nativePipePath
(home: string)
packages/cli/src/native-pipe.ts:13
↓ 4 callers
Function
need
(cond, msg)
agents/compile.mjs:290
↓ 4 callers
Function
newClient
(t *testing.T, server *httptest.Server, allowed ...string)
shared/platform/kms/kms_test.go:20
↓ 4 callers
Function
newIDP
(t *testing.T)
proxy/internal/identity/oidc_test.go:33
↓ 4 callers
Function
newIssuer
(t *testing.T, name string)
proxy/internal/identity/tls_test.go:37
↓ 4 callers
Function
newPrefixDigests
(components [][]byte)
proxy/internal/gateway/raw_pin.go:375
← previous
next →
1,401–1,500 of 12,391, ranked by callers