Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
13,382 in github.com/JuliusBrussee/caveman
⨍
Functions
13,382
◇
Types & classes
1,416
↳
Endpoints
5
↓ 2 callers
Function
executableCandidateNames
( name, platform = process.platform, pathExt = process.env.PATHEXT ?? ".COM;.EXE;.BAT;.CMD", )
packages/shared/binary-installer/installer.mjs:31
↓ 2 callers
Function
executableCandidateNames
( name, platform = process.platform, pathExt = process.env.PATHEXT ?? ".COM;.EXE;.BAT;.CMD", )
mcp/bin/binary-installer.generated.mjs:31
↓ 2 callers
Function
existingStorePath
existingStorePath resolves path the way Open does, without creating it.
engine/ccr/store_repair.go:185
↓ 2 callers
Function
exp
exp and expmulti are math.Exp's portable code from Go's src/math/exp.go. Copyright 2009 The Go Authors. All rights reserved. Use of this source code i
engine/trim2/model.go:209
↓ 2 callers
Function
expandHome
(p)
installer/install.js:336
↓ 2 callers
Function
expandTilde
expandTilde mirrors Pi's expandTildePath (normalizePath with its default options): a bare "~" and a leading "~/" (or "~\\" on Windows) expand to the h
proxy/internal/store/config_scan.go:173
↓ 2 callers
Method
expireCacheComponents
expireCacheComponents deletes the lists of requests older than the retention window, and in the same transaction clears any legacy list of such a row
proxy/internal/store/cache_components.go:128
↓ 2 callers
Method
expiry
expiry slides a scope to now+retention, capped at created+max retention.
proxy/internal/middleware/runtime.go:289
↓ 2 callers
Function
externalRuns
(selection: ModuleSelection, only: ModuleId[] | undefined, agents: string[], wiring: boolean)
packages/cli/src/modules/apply.ts:321
↓ 2 callers
Function
externalSkillFingerprint
(target: SkillTarget)
packages/cli/src/index.ts:2484
↓ 2 callers
Function
extractAnthropicToolTexts
(t *testing.T, rawBody []byte)
proxy/internal/gateway/delta_epoch_test.go:45
↓ 2 callers
Function
extractAssistantBlockIntent
(msg map[string]any)
proxy/internal/gateway/compression_query.go:245
↓ 2 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:23
↓ 2 callers
Method
extractRewritable
extractRewritable asks the adapter for the blocks compress mode may rewrite. With a durable prefix cache AND an adapter that exposes its frozen zone,
proxy/internal/gateway/proxy.go:1691
↓ 2 callers
Function
extractTools
extractTools handles the MCP ({"tools":[…]}), OpenAI (array of {function:…} or flat) and {"functions":[…]} shapes.
shrink/shrink.go:240
↓ 2 callers
Function
extract_code_blocks
Line-based fenced code block extractor. Handles ``` and ~~~ fences with variable length (CommonMark: closing fence must use same char and be
plugins/caveman/skills/caveman-compress/scripts/validate.py:141
↓ 2 callers
Method
facts
facts is what an ask reports about key's session: its previous request (age_s counted now) and the per-message latch.
proxy/internal/gateway/route.go:691
↓ 2 callers
Function
fail
(reason: string)
packages/cli/src/index.ts:23053
↓ 2 callers
Function
fail
(what: string, error: unknown)
packages/cli/src/modules/apply.ts:475
↓ 2 callers
Function
fail
(reason string)
engine/evals/graders.go:46
↓ 2 callers
Method
fail
fail reports an upstream failure inside the stream and stops every later event: Anthropic's grammar has exactly one event for this, and after it a mes
proxy/internal/translate/messages_stream.go:275
↓ 2 callers
Function
failed
(outcome: FailureOutcome)
packages/sdk/typescript/src/middleware/runtime.ts:117
↓ 2 callers
Function
failingUpstream
failingUpstream answers each attempt with the next status, or fails the transport when statuses is nil.
proxy/internal/gateway/route_test.go:357
↓ 2 callers
Function
failureOf
(error: unknown)
packages/sdk/typescript/src/middleware/runtime.ts:118
↓ 2 callers
Function
fakeChild
({ exitCode = null, signalCode = null, killed = false } = {})
tests/test_mcp_shrink.js:387
↓ 2 callers
Function
fakeTimers
()
tests/test_mcp_shrink.js:403
↓ 2 callers
Function
fallbackCanonicalDefault
(raw)
src/hooks/caveman-activate.js:86
↓ 2 callers
Function
fallbackRuleset
(mode, hookDir)
src/hooks/caveman-config.js:881
↓ 2 callers
Function
falseyModelList
(v string)
engine/pixel/applicability.go:46
↓ 2 callers
Function
features
(v2 bool)
proxy/internal/middleware/protocol_v11_test.go:66
↓ 2 callers
Function
fetch
(url, init)
tests/middleware-e2e/drive-ts.mjs:34
↓ 2 callers
Function
fileNameMatches
fileNameMatches deliberately tests the final path component only. Matching the whole path made a term naming any ancestor directory ("src", "internal"
proxy/internal/repointel/index.go:727
↓ 2 callers
Function
fileStamp
fileStamp changes whenever any of the files is replaced, rewritten or removed, including a Kubernetes Secret volume's atomic symlink swap.
proxy/internal/identity/identity.go:453
↓ 2 callers
Method
filename
filename is the name a document file goes under: its title, else one named after its media type.
proxy/internal/translate/messages_in.go:171
↓ 2 callers
Function
filler
filler pads a payload past minBlockTokens (estimateTokens is bytes/4, so a block needs ~720 bytes to be a candidate at all).
proxy/internal/store/recurring_test.go:10
↓ 2 callers
Function
finalizeAnthropicRequest
(req anthropicRequestState)
engine/pixel/transform_anthropic.go:630
↓ 2 callers
Function
findCompressedPairs
(dirs)
src/hooks/caveman-stats.js:261
↓ 2 callers
Function
findFirst
(n *html.Node, a atom.Atom)
engine/compressors/html.go:257
↓ 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:1372
↓ 2 callers
Function
firstRoleIndex
(items []any, role string)
engine/pixel/transform_openai.go:771
↓ 2 callers
Function
firstRunScanContract
()
packages/cli/src/index.ts:6094
↓ 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:5115
↓ 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:7422
↓ 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:398
↓ 2 callers
Function
formatLearnProxyJSON
(raw: string, tty = !!process.stdout.isTTY)
packages/cli/src/index.ts:21287
↓ 2 callers
Function
formatMinorCurrency
(cents: unknown, currency: unknown)
packages/cli/src/index.ts:23297
↓ 2 callers
Function
formatSessionSavings
( kind: "observe" | "compress", s: ProxyObserveSummary | null, authModes: readonly string[] = [], wind
packages/cli/src/index.ts:5851
↓ 2 callers
Function
formatStats
({ outputTokens, outputAvailability, cacheReadTokens, cacheReadAvailability, turns, mode, sessionPath, compres
src/hooks/caveman-stats.js:463
↓ 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 cacheable content block of the newest message with array content — the rolling tail breakpoint. It bounds every later turn
proxy/providers/anthropic/breakpoint_plan.go:267
↓ 2 callers
Function
frozenField
(name string, value []byte)
proxy/providers/anthropic/content_compress.go:133
↓ 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:714
↓ 2 callers
Function
gatewayScanJSONString
(body []byte, start int)
proxy/internal/gateway/retrieve_tool.go:344
↓ 2 callers
Function
gatewayUrlFromConfigFile
()
packages/cli/src/index.ts:185
↓ 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
geminiEnvPath
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/harnesses/gemini.ts:16
↓ 2 callers
Function
geminiEnvSelectsAuth
(dotenv: string)
packages/cli/src/index.ts:9444
↓ 2 callers
Function
geminiFunctionResponseText
(fr geminiFunctionResponse)
engine/pixel/transform_gemini.go:864
↓ 2 callers
Function
geminiHasCaveman
()
installer/install.js:753
↓ 2 callers
Function
geminiOwnEndpoint
(text: string, envPath: string, shell: boolean)
packages/cli/src/index.ts:9231
↓ 2 callers
Function
geminiPixelBody
()
proxy/internal/gateway/pixel_test.go:447
↓ 2 callers
Function
geminiSettingsPath
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/harnesses/gemini.ts:12
↓ 2 callers
Function
generateContentMeta
()
proxy/providers/gemini/prefix_stability_test.go:20
↓ 2 callers
Function
genericIntegrationStatus
(runtimeReachable: boolean)
packages/cli/src/index.ts:12411
↓ 2 callers
Function
genericKeychainDelete
(service: string, account: string)
packages/cli/src/index.ts:23818
↓ 2 callers
Function
genericKeychainGet
(service: string, account: string)
packages/cli/src/index.ts:23807
↓ 2 callers
Function
genericKeychainSet
(service: string, account: string, secret: string)
packages/cli/src/index.ts:23797
↓ 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:7903
← previous
next →
3,301–3,400 of 13,382, ranked by callers