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
finalizeAnthropicRequest
(req anthropicRequestState)
engine/pixel/transform_anthropic.go:630
↓ 2 callers
Function
findCompressedPairs
(dirs)
src/hooks/caveman-stats.js:211
↓ 2 callers
Function
findRepoConfigPath
(start, accept)
src/hooks/caveman-config.js:113
↓ 2 callers
Function
finish
(result, attempt)
packages/middleware/python/caveman_middleware/openai.py:187
↓ 2 callers
Function
finish
(event: 'completed' | 'failed' | 'cancelled')
packages/middleware/typescript/src/common.ts:149
↓ 2 callers
Function
finish
(error)
extension/scripts/firefox-e2e.mjs:169
↓ 2 callers
Method
finish
(self, event)
packages/middleware/python/caveman_middleware/_httpx2.py:148
↓ 2 callers
Method
finish
()
proxy/internal/store/session_source.go:237
↓ 2 callers
Method
finish
()
proxy/internal/translate/messages_stream.go:426
↓ 2 callers
Method
finishRecord
finishRecord completes row (account adds the request token count) and hands it to the sink and, with observe, to the Cloud link. With a recorder that
proxy/internal/gateway/recorder.go:155
↓ 2 callers
Function
firstNonEmptyValue
(values ...string)
proxy/internal/nativeruntime/runtime.go:1353
↓ 2 callers
Function
firstRoleIndex
(items []any, role string)
engine/pixel/transform_openai.go:771
↓ 2 callers
Function
firstRunScanContract
()
packages/cli/src/index.ts:5988
↓ 2 callers
Function
firstString
(event hostEvent, keys ...string)
proxy/internal/nativehook/hook.go:428
↓ 2 callers
Function
firstUserIndex
(messages []Message)
engine/pixel/transform_anthropic.go:1487
↓ 2 callers
Function
fixToolIDs
fixToolIDs is anthropicToolIDs on a body's members; it reports a change.
proxy/internal/translate/messages.go:462
↓ 2 callers
Function
fixedOffState
(id: OffStateID, item: { line: string; fix?: string })
packages/cli/src/index.ts:5053
↓ 2 callers
Function
fixture
(port, { runState = true, recoveryViaMcp = true } = {})
packages/pi-extension/tests/integration.runtime.mjs:55
↓ 2 callers
Function
flag
(names: string[])
packages/cli/src/index.ts:7070
↓ 2 callers
Function
flavour
(name)
packages/middleware/python/caveman_middleware/_httpx2.py:27
↓ 2 callers
Method
flushAssistant
()
proxy/internal/translate/responses_in.go:685
↓ 2 callers
Method
flushAttached
()
proxy/internal/translate/responses_in.go:703
↓ 2 callers
Function
fmt_pct
(x: float)
evals/measure.py:67
↓ 2 callers
Function
foldOpenAIHistory
(info *TransformInfo, model string, plan GptCollapsePlan)
engine/pixel/transform_openai.go:452
↓ 2 callers
Method
forget
()
proxy/internal/cloudlink/link.go:1456
↓ 2 callers
Function
formatCount
(value, availability)
src/hooks/caveman-stats.js:348
↓ 2 callers
Function
formatLearnProxyJSON
(raw: string, tty = !!process.stdout.isTTY)
packages/cli/src/index.ts:20537
↓ 2 callers
Function
formatMinorCurrency
(cents: unknown, currency: unknown)
packages/cli/src/index.ts:22547
↓ 2 callers
Function
formatSessionSavings
( kind: "observe" | "compress", s: ProxyObserveSummary | null, authModes: readonly string[] = [], wind
packages/cli/src/index.ts:5789
↓ 2 callers
Function
formatStats
({ outputTokens, outputAvailability, cacheReadTokens, cacheReadAvailability, turns, mode, sessionPath, compres
src/hooks/caveman-stats.js:413
↓ 2 callers
Function
formatTokens
(t)
packages/subagent-tax/lib/report.mjs:30
↓ 2 callers
Function
framingBroken
framingBroken: an "event:" line followed by another "event:" before its data, or a data line whose type differs from its event name.
proxy/internal/translate/relay_framing_test.go:28
↓ 2 callers
Function
freePort
()
packages/cli/tests/wrap.runtime.mjs:12
↓ 2 callers
Method
freed
()
engine/ccr/store_reclaim.go:69
↓ 2 callers
Function
freshTmpDir
()
tests/installer/e2e.dryrun.test.mjs:15
↓ 2 callers
Function
fromEnvironment
(primaryKeyEnvironment string, legacyKeyEnvironments ...string)
shared/platform/kms/kms.go:128
↓ 2 callers
Function
frontierEdit
frontierEdit marks the last content block of the newest message — the rolling tail breakpoint. It bounds every later turn's rebuild to the tail rather
proxy/providers/anthropic/breakpoint_plan.go:177
↓ 2 callers
Function
frozenField
(name string, value []byte)
proxy/providers/anthropic/content_compress.go:114
↓ 2 callers
Function
gate
Decision 3: whether the adapter runs. Never raises. A readable version outside the tested range skips the adapter and warns once (``unsupport
packages/middleware/python/caveman_middleware/_versions.py:82
↓ 2 callers
Function
gate
(options: CavemanMastraOptions)
packages/middleware/typescript/src/mastra.ts:35
↓ 2 callers
Function
gate
(options: CavemanOptions)
packages/middleware/typescript/src/ai-sdk.ts:29
↓ 2 callers
Method
gatewayBearer
gatewayBearer is the credential for the gateway (POST /v1/route): the project key, which is all the gateway authenticates (a login token is refused th
proxy/internal/cloudlink/link.go:531
↓ 2 callers
Function
gatewayDecodeJSONString
(raw []byte)
proxy/internal/gateway/pixel.go:688
↓ 2 callers
Function
gatewayScanJSONString
(body []byte, start int)
proxy/internal/gateway/retrieve_tool.go:275
↓ 2 callers
Function
gatewayUrlFromConfigFile
()
packages/cli/src/index.ts:149
↓ 2 callers
Function
gcSessionStore
(claudeDir, opts)
src/hooks/caveman-config.js:715
↓ 2 callers
Function
gdHeaderColon
gdHeaderColon finds the colon that closes a function header: the one after the balanced parameter list and the optional `-> Type`. Quotes and `#` comm
engine/compressors/code_gdscript.go:128
↓ 2 callers
Function
gdToggleTripleQuote
gdToggleTripleQuote returns the multi-line string state after line: every `"""` or `”'` on the line flips it.
engine/compressors/code_gdscript.go:277
↓ 2 callers
Function
geminiEnvSelectsAuth
(dotenv: string)
packages/cli/src/index.ts:9083
↓ 2 callers
Function
geminiFunctionResponseText
(fr geminiFunctionResponse)
engine/pixel/transform_gemini.go:832
↓ 2 callers
Function
geminiHasCaveman
()
installer/install.js:739
↓ 2 callers
Function
geminiOwnEndpoint
(text: string, envPath: string, shell: boolean)
packages/cli/src/index.ts:8870
↓ 2 callers
Function
geminiPixelBody
()
proxy/internal/gateway/pixel_test.go:447
↓ 2 callers
Function
generateContentMeta
()
proxy/providers/gemini/prefix_stability_test.go:20
↓ 2 callers
Function
genericIntegrationStatus
(runtimeReachable: boolean)
packages/cli/src/index.ts:11828
↓ 2 callers
Function
genericKeychainDelete
(service: string, account: string)
packages/cli/src/index.ts:23068
↓ 2 callers
Function
genericKeychainGet
(service: string, account: string)
packages/cli/src/index.ts:23057
↓ 2 callers
Function
genericKeychainSet
(service: string, account: string, secret: string)
packages/cli/src/index.ts:23047
↓ 2 callers
Method
getObjectFrom
(q querier, id string)
engine/ccr/store_sqlite.go:1144
↓ 2 callers
Function
getReinforce
(startDir)
src/hooks/caveman-config.js:232
↓ 2 callers
Function
getSpawnOptions
(platform = process.platform)
src/mcp-servers/caveman-shrink/spawn-options.js:74
↓ 2 callers
Function
getString
(root: unknown, path: string[])
packages/cli/src/index.ts:7546
↓ 2 callers
Method
get_parameters_dict
(self)
packages/middleware/python/caveman_middleware/llama_index.py:93
↓ 2 callers
Function
git
(...args)
packages/cli/tests/agent-registry.runtime.mjs:250
↓ 2 callers
Function
git
(...args)
packages/cli/tests/wrap.runtime.mjs:577
↓ 2 callers
Function
gitListBudget
gitListBudget leaves the fallback walk at least as much time as git gets.
proxy/internal/repointel/index.go:280
↓ 2 callers
Function
gptBaselineImagedTokens
(systemTexts []string, originalTools, strippedTools []any, haveTools bool)
engine/pixel/transform_openai.go:483
↓ 2 callers
Function
gptCountTokens
pxpipe uses gpt-tokenizer/o200k_base here. Caveman uses engine/tokens, whose default counter uses the same offline encoding and whose fallback underco
engine/pixel/history_openai.go:338
↓ 2 callers
Function
graderString
(g Grader)
engine/evals/graders.go:209
↓ 2 callers
Function
grokAgentsMdPath
()
installer/install.js:1067
↓ 2 callers
Function
guardExploreAgent
(agent: string)
packages/cli/src/index.ts:1794
↓ 2 callers
Function
h
(init: Record<string, string>)
supabase/functions/cli-telemetry/ingest.test.ts:141
↓ 2 callers
Function
handle
()
packages/middleware/python/tests/test_openai_native.py:80
↓ 2 callers
Method
handle_request
(self)
packages/sdk/python/tests/test_transport.py:29
↓ 2 callers
Method
handler
(conn)
packages/sdk/python/tests/test_middleware_transport.py:313
↓ 2 callers
Function
harness
(home)
packages/cli/tests/_modules.mjs:131
↓ 2 callers
Function
harnessFlags
(agents: string[])
packages/cli/src/modules/apply.ts:311
↓ 2 callers
Function
has
(id: string)
packages/cli/src/index.ts:4008
↓ 2 callers
Function
hasCompressionOptimizer
(optimizers []string)
proxy/internal/gateway/proxy.go:2224
↓ 2 callers
Function
hasGeminiInlineData
(parts []geminiPart)
engine/pixel/transform_gemini_test.go:383
↓ 2 callers
Function
hasHTMLDeclaration
hasHTMLDeclaration reports whether trimmed opens with a document declaration or an <html> tag. It is conclusive: source code never starts this way.
engine/detect.go:183
↓ 2 callers
Function
hasModelPrefix
hasModelPrefix reports whether model equals prefix or begins with prefix followed by a version/variant separator ('-' or '.'). This keeps "gpt-5" from
proxy/providers/openai/reasoning_effort.go:212
↓ 2 callers
Function
hasRetrieveTool
(body []byte)
proxy/internal/gateway/retrieve_tool.go:100
↓ 2 callers
Function
hasSink
(plan LearnPlan, id string)
proxy/internal/store/trial_feature_test.go:855
↓ 2 callers
Function
hashOf
(token string)
proxy/internal/identity/identity_test.go:18
↓ 2 callers
Function
hashedToolName
hashedToolName is always the hashed form, also used for the second of two tools whose joined names collide (a function mcp__srv__x and namespace mcp__
proxy/internal/translate/responses.go:84
↓ 2 callers
Function
headersFor
({ v11, auth = token, extra = {} })
packages/shared/contracts/conformance/run.mjs:99
↓ 2 callers
Function
heightForRows
heightForRows is the reference page height for a page holding `rows` rows at the given pitch and glyph height: 2*pad + (rows-1)*pitch + glyphH.
engine/pixel/gate.go:38
↓ 2 callers
Method
heldRawByStream
heldRawByStream reports whether the longest lineage body extends was cached raw by a PAYG stream, so the server-side retrieve path must not start comp
proxy/internal/gateway/raw_pin.go:197
↓ 2 callers
Function
heldWhile
heldWhile runs first in a write transaction that stays open until the returned release is called, and second in another write transaction started once
proxy/internal/store/middleware_concurrency_test.go:15
↓ 2 callers
Function
helperBinaryName
helperBinaryName appends .exe on Windows so exec finds the built helper.
mem/cmd/cavemem/main_test.go:22
↓ 2 callers
Function
hermesConfigDir
()
installer/install.js:1174
↓ 2 callers
Function
hermesGatewayBase
(gw: string, keptProvider: string | null)
packages/cli/src/index.ts:10370
↓ 2 callers
Function
hermesHostDerivedApiKeyEnvName
(gw: string)
packages/cli/src/index.ts:7111
↓ 2 callers
Function
hermesNativePluginDir
()
packages/cli/src/index.ts:10156
↓ 2 callers
Function
hermesOwnedValues
(text: string)
packages/cli/src/index.ts:14489
↓ 2 callers
Function
hermesPluginInitPath
()
packages/cli/src/index.ts:18924
↓ 2 callers
Function
hermesPluginListContains
(text: string, listName: "enabled" | "disabled", name: string)
packages/cli/src/index.ts:19090
↓ 2 callers
Function
hermesPluginManifestPath
()
packages/cli/src/index.ts:18920
↓ 2 callers
Function
hermesPluginOwned
(text: string, owned: NativeJournal["operations"][number]["owned"])
packages/cli/src/index.ts:14546
← previous
next →
3,101–3,200 of 12,391, ranked by callers