MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionfailingUpstream
failingUpstream answers each attempt with the next status, or fails the transport when statuses is nil.
proxy/internal/gateway/route_test.go:357
↓ 2 callersFunctionfailureOf
(error: unknown)
packages/sdk/typescript/src/middleware/runtime.ts:118
↓ 2 callersFunctionfakeChild
({ exitCode = null, signalCode = null, killed = false } = {})
tests/test_mcp_shrink.js:387
↓ 2 callersFunctionfakeTimers
()
tests/test_mcp_shrink.js:403
↓ 2 callersFunctionfallbackCanonicalDefault
(raw)
src/hooks/caveman-activate.js:86
↓ 2 callersFunctionfallbackRuleset
(mode, hookDir)
src/hooks/caveman-config.js:881
↓ 2 callersFunctionfalseyModelList
(v string)
engine/pixel/applicability.go:46
↓ 2 callersFunctionfeatures
(v2 bool)
proxy/internal/middleware/protocol_v11_test.go:66
↓ 2 callersFunctionfetch
(url, init)
tests/middleware-e2e/drive-ts.mjs:34
↓ 2 callersFunctionfileNameMatches
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 callersFunctionfileStamp
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 callersMethodfilename
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 callersFunctionfiller
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 callersFunctionfinalizeAnthropicRequest
(req anthropicRequestState)
engine/pixel/transform_anthropic.go:630
↓ 2 callersFunctionfindCompressedPairs
(dirs)
src/hooks/caveman-stats.js:211
↓ 2 callersFunctionfindRepoConfigPath
(start, accept)
src/hooks/caveman-config.js:113
↓ 2 callersFunctionfinish
(result, attempt)
packages/middleware/python/caveman_middleware/openai.py:187
↓ 2 callersFunctionfinish
(event: 'completed' | 'failed' | 'cancelled')
packages/middleware/typescript/src/common.ts:149
↓ 2 callersFunctionfinish
(error)
extension/scripts/firefox-e2e.mjs:169
↓ 2 callersMethodfinish
(self, event)
packages/middleware/python/caveman_middleware/_httpx2.py:148
↓ 2 callersMethodfinish
()
proxy/internal/store/session_source.go:237
↓ 2 callersMethodfinish
()
proxy/internal/translate/messages_stream.go:426
↓ 2 callersMethodfinishRecord
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 callersFunctionfirstNonEmptyValue
(values ...string)
proxy/internal/nativeruntime/runtime.go:1353
↓ 2 callersFunctionfirstRoleIndex
(items []any, role string)
engine/pixel/transform_openai.go:771
↓ 2 callersFunctionfirstRunScanContract
()
packages/cli/src/index.ts:6042
↓ 2 callersFunctionfirstString
(event hostEvent, keys ...string)
proxy/internal/nativehook/hook.go:428
↓ 2 callersFunctionfirstUserIndex
(messages []Message)
engine/pixel/transform_anthropic.go:1487
↓ 2 callersFunctionfixToolIDs
fixToolIDs is anthropicToolIDs on a body's members; it reports a change.
proxy/internal/translate/messages.go:462
↓ 2 callersFunctionfixedOffState
(id: OffStateID, item: { line: string; fix?: string })
packages/cli/src/index.ts:5063
↓ 2 callersFunctionfixture
(port, { runState = true, recoveryViaMcp = true } = {})
packages/pi-extension/tests/integration.runtime.mjs:55
↓ 2 callersFunctionflag
(names: string[])
packages/cli/src/index.ts:7283
↓ 2 callersFunctionflavour
(name)
packages/middleware/python/caveman_middleware/_httpx2.py:27
↓ 2 callersMethodflushAssistant
()
proxy/internal/translate/responses_in.go:685
↓ 2 callersMethodflushAttached
()
proxy/internal/translate/responses_in.go:703
↓ 2 callersFunctionfmt_pct
(x: float)
evals/measure.py:67
↓ 2 callersFunctionfoldOpenAIHistory
(info *TransformInfo, model string, plan GptCollapsePlan)
engine/pixel/transform_openai.go:452
↓ 2 callersMethodforget
()
proxy/internal/cloudlink/link.go:1456
↓ 2 callersFunctionformatCount
(value, availability)
src/hooks/caveman-stats.js:348
↓ 2 callersFunctionformatLearnProxyJSON
(raw: string, tty = !!process.stdout.isTTY)
packages/cli/src/index.ts:20783
↓ 2 callersFunctionformatMinorCurrency
(cents: unknown, currency: unknown)
packages/cli/src/index.ts:22793
↓ 2 callersFunctionformatSessionSavings
( kind: "observe" | "compress", s: ProxyObserveSummary | null, authModes: readonly string[] = [], wind
packages/cli/src/index.ts:5799
↓ 2 callersFunctionformatStats
({ outputTokens, outputAvailability, cacheReadTokens, cacheReadAvailability, turns, mode, sessionPath, compres
src/hooks/caveman-stats.js:413
↓ 2 callersFunctionformatTokens
(t)
packages/subagent-tax/lib/report.mjs:30
↓ 2 callersFunctionframingBroken
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 callersFunctionfreePort
()
packages/cli/tests/wrap.runtime.mjs:12
↓ 2 callersMethodfreed
()
engine/ccr/store_reclaim.go:69
↓ 2 callersFunctionfreshTmpDir
()
tests/installer/e2e.dryrun.test.mjs:15
↓ 2 callersFunctionfromEnvironment
(primaryKeyEnvironment string, legacyKeyEnvironments ...string)
shared/platform/kms/kms.go:128
↓ 2 callersFunctionfrontierEdit
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:206
↓ 2 callersFunctionfrozenField
(name string, value []byte)
proxy/providers/anthropic/content_compress.go:114
↓ 2 callersFunctiongate
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 callersFunctiongate
(options: CavemanMastraOptions)
packages/middleware/typescript/src/mastra.ts:35
↓ 2 callersFunctiongate
(options: CavemanOptions)
packages/middleware/typescript/src/ai-sdk.ts:29
↓ 2 callersMethodgatewayBearer
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 callersFunctiongatewayDecodeJSONString
(raw []byte)
proxy/internal/gateway/pixel.go:688
↓ 2 callersFunctiongatewayScanJSONString
(body []byte, start int)
proxy/internal/gateway/retrieve_tool.go:344
↓ 2 callersFunctiongatewayUrlFromConfigFile
()
packages/cli/src/index.ts:166
↓ 2 callersFunctiongcSessionStore
(claudeDir, opts)
src/hooks/caveman-config.js:715
↓ 2 callersFunctiongdHeaderColon
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 callersFunctiongdToggleTripleQuote
gdToggleTripleQuote returns the multi-line string state after line: every `"""` or `”'` on the line flips it.
engine/compressors/code_gdscript.go:277
↓ 2 callersFunctiongeminiEnvSelectsAuth
(dotenv: string)
packages/cli/src/index.ts:9324
↓ 2 callersFunctiongeminiFunctionResponseText
(fr geminiFunctionResponse)
engine/pixel/transform_gemini.go:832
↓ 2 callersFunctiongeminiHasCaveman
()
installer/install.js:739
↓ 2 callersFunctiongeminiOwnEndpoint
(text: string, envPath: string, shell: boolean)
packages/cli/src/index.ts:9111
↓ 2 callersFunctiongeminiPixelBody
()
proxy/internal/gateway/pixel_test.go:447
↓ 2 callersFunctiongenerateContentMeta
()
proxy/providers/gemini/prefix_stability_test.go:20
↓ 2 callersFunctiongenericIntegrationStatus
(runtimeReachable: boolean)
packages/cli/src/index.ts:12069
↓ 2 callersFunctiongenericKeychainDelete
(service: string, account: string)
packages/cli/src/index.ts:23314
↓ 2 callersFunctiongenericKeychainGet
(service: string, account: string)
packages/cli/src/index.ts:23303
↓ 2 callersFunctiongenericKeychainSet
(service: string, account: string, secret: string)
packages/cli/src/index.ts:23293
↓ 2 callersMethodgetObjectFrom
(q querier, id string)
engine/ccr/store_sqlite.go:1144
↓ 2 callersFunctiongetReinforce
(startDir)
src/hooks/caveman-config.js:232
↓ 2 callersFunctiongetSpawnOptions
(platform = process.platform)
src/mcp-servers/caveman-shrink/spawn-options.js:74
↓ 2 callersFunctiongetString
(root: unknown, path: string[])
packages/cli/src/index.ts:7764
↓ 2 callersMethodget_parameters_dict
(self)
packages/middleware/python/caveman_middleware/llama_index.py:93
↓ 2 callersFunctiongit
(...args)
packages/cli/tests/agent-registry.runtime.mjs:250
↓ 2 callersFunctiongit
(...args)
packages/cli/tests/wrap.runtime.mjs:577
↓ 2 callersFunctiongitListBudget
gitListBudget leaves the fallback walk at least as much time as git gets.
proxy/internal/repointel/index.go:280
↓ 2 callersFunctiongptBaselineImagedTokens
(systemTexts []string, originalTools, strippedTools []any, haveTools bool)
engine/pixel/transform_openai.go:483
↓ 2 callersFunctiongptCountTokens
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 callersFunctiongraderString
(g Grader)
engine/evals/graders.go:209
↓ 2 callersFunctiongrokAgentsMdPath
()
installer/install.js:1067
↓ 2 callersFunctionguardExploreAgent
(agent: string)
packages/cli/src/index.ts:1803
↓ 2 callersFunctionhandle
()
packages/middleware/python/tests/test_openai_native.py:80
↓ 2 callersMethodhandleMutate
(raw json.RawMessage)
mcp/codemode/codemode.go:642
↓ 2 callersMethodhandleSearchTools
(raw json.RawMessage)
mcp/codemode/codemode.go:402
↓ 2 callersMethodhandle_request
(self)
packages/sdk/python/tests/test_transport.py:29
↓ 2 callersMethodhandler
(conn)
packages/sdk/python/tests/test_middleware_transport.py:325
↓ 2 callersFunctionharness
(home)
packages/cli/tests/_modules.mjs:131
↓ 2 callersFunctionharnessFlags
(agents: string[])
packages/cli/src/modules/apply.ts:311
↓ 2 callersFunctionhas
(id: string)
packages/cli/src/index.ts:4017
↓ 2 callersFunctionhasCompressionOptimizer
(optimizers []string)
proxy/internal/gateway/proxy.go:2402
↓ 2 callersFunctionhasGeminiInlineData
(parts []geminiPart)
engine/pixel/transform_gemini_test.go:383
↓ 2 callersFunctionhasHTMLDeclaration
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:186
↓ 2 callersFunctionhasModelPrefix
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 callersFunctionhasRetrieveTool
(body []byte)
proxy/internal/gateway/retrieve_tool.go:169
↓ 2 callersFunctionhasSink
(plan LearnPlan, id string)
proxy/internal/store/trial_feature_test.go:855
↓ 2 callersFunctionhashOf
(token string)
proxy/internal/identity/identity_test.go:18
↓ 2 callersFunctionhashedToolName
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
← previousnext →3,201–3,300 of 12,853, ranked by callers