MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 3 callersFunctionmustNamed
(t *testing.T, name, baseURL string)
proxy/providers/openaicompat/openaicompat_test.go:150
↓ 3 callersFunctionnamesAutoHead
namesAutoHead reports a POST body whose head names Auto as its model.
proxy/internal/gateway/chatgpt_auto.go:536
↓ 3 callersFunctionnativeCoreRuntimeState
()
packages/cli/src/index.ts:17733
↓ 3 callersFunctionnativeMcpBinaryRequired
()
packages/cli/src/index.ts:8939
↓ 3 callersFunctionnativePendingJournalPath
(agent: string)
packages/cli/src/index.ts:8791
↓ 3 callersFunctionnativeProxyBinaryRequired
(gw: string)
packages/cli/src/index.ts:8946
↓ 3 callersFunctionnativeShrinkEnabled
()
packages/cli/src/index.ts:8318
↓ 3 callersFunctionnativeThinking
nativeThinking keeps the caller's Anthropic `thinking` where the model accepts that shape and translates it where it does not. The effort sets the dep
proxy/internal/translate/effort.go:253
↓ 3 callersFunctionnewCacheWarmer
(enabled func() bool, send func(context.Context, *warmRequest) bool, table *warmTable)
proxy/internal/gateway/cache_warm.go:148
↓ 3 callersFunctionnewMsgBuilder
(size int)
proxy/internal/translate/msgbuild.go:67
↓ 3 callersFunctionnewRecurringStreamMiner
newRecurringStreamMiner retains occurrence coordinates for retro stream weighting. The ordinary learn scan deliberately uses newRecurringMiner so its
proxy/internal/store/recurring.go:184
↓ 3 callersFunctionnewResponsesStream
(w http.ResponseWriter, model string, stream bool)
proxy/internal/translate/responses_stream.go:111
↓ 3 callersFunctionnewRuntime
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:157
↓ 3 callersFunctionnewStoreEngine
()
mcp/engine_tools_retrieve_test.go:56
↓ 3 callersFunctionnewToolPortfolioTracker
()
proxy/internal/store/detect_tool_portfolio.go:45
↓ 3 callersFunctionnextSerial
()
proxy/internal/identity/tls_test.go:35
↓ 3 callersFunctionnextTurn
nextTurn makes req the following turn of its scope: a new idempotency key, sequence and manifest item.
proxy/internal/middleware/hardening_test.go:38
↓ 3 callersFunctionnonNegativeInt
(v any)
proxy/providers/adapter.go:1691
↓ 3 callersFunctionnonNegativeInt64
(v int64)
proxy/internal/store/trial_store.go:758
↓ 3 callersFunctionnormalizeAgentPath
(r *http.Request)
proxy/internal/gateway/proxy.go:1554
↓ 3 callersFunctionnormalizeCompressionQuery
(query string)
proxy/internal/gateway/compression_query.go:102
↓ 3 callersFunctionnormalizeHookPath
( path: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:8091
↓ 3 callersFunctionnormalizeLevel
(l DensityLevel)
engine/pixel/density.go:69
↓ 3 callersFunctionnormalizeServerEntry
(raw: unknown)
packages/cli/src/codemode.ts:166
↓ 3 callersFunctionnormalizeSkillReference
(raw string)
proxy/internal/store/learn.go:1079
↓ 3 callersFunctionnormalize_scope_token
§9: a valid token passes unchanged; other strings become h- + 32 hex of sha256; else None.
packages/sdk/python/caveman_cloud/middleware/protocol.py:45
↓ 3 callersFunctionnumberFromAny
(value any)
proxy/internal/store/learn_outcomes.go:629
↓ 3 callersFunctionnumberedLines
(n int, format string)
proxy/internal/store/detect_memory_health_test.go:54
↓ 3 callersFunctionobjectData
(id string, size int, i int)
engine/ccr/store_reclaim_test.go:63
↓ 3 callersFunctionobjectFields
objectFields extracts the scalar top-level members of a JSON object, in sorted key order (a decoded object has no inherent order, and sorting is what
engine/compressors/invariants.go:759
↓ 3 callersMethodobserve
(turn cacheUsageTurn)
proxy/internal/store/detect_cache_hygiene.go:53
↓ 3 callersMethodobserveCachedPrefix
observeCachedPrefix runs once per accepted request — body as the client sent it, accepted as it went upstream. It records the request's lineage when i
proxy/internal/gateway/prefix_monitor.go:248
↓ 3 callersMethodobserveSpawn
(toolName, input string)
proxy/internal/store/detect_subagent_spend.go:75
↓ 3 callersMethodobserveTextPayloads
observeTextPayloads is the normalized-source entrypoint. Payload boundaries stay in document order and each payload uses segmenter v1 independently, p
proxy/internal/store/recurring.go:299
↓ 3 callersMethodobserveTurn
observeTurn segments one transcript turn and records each qualifying block's fingerprint, distinct session, and a capped locator sample. It never stor
proxy/internal/store/recurring.go:292
↓ 3 callersMethodobserve_background
Bounded metadata-only delivery; never delay the provider response.
packages/sdk/python/caveman_cloud/middleware/runtime.py:788
↓ 3 callersFunctionobserve_response
(response, attempt)
packages/middleware/python/caveman_middleware/_httpx2.py:183
↓ 3 callersFunctionok
(event: unknown)
supabase/functions/blocks-telemetry/ingest.test.ts:51
↓ 3 callersFunctionon
()
tests/installer/e2e.freshinstall.test.mjs:1059
↓ 3 callersFunctiononError
(error)
packages/cli/tests/_cli.mjs:102
↓ 3 callersFunctiononboardInteractive
()
packages/cli/src/modules/onboard.ts:116
↓ 3 callersFunctionopaque_manifest_value
§11: manifest stand-in for an image/bytes part; never a reason to bypass.
packages/sdk/python/caveman_cloud/middleware/protocol.py:245
↓ 3 callersMethodopenBlock
(kind string, block map[string]any)
proxy/internal/translate/messages_stream.go:357
↓ 3 callersFunctionopenEngine
openEngine opens the on-disk recovery store under ~/.caveman/ and builds the engine with the default offline counter.
engine/cmd/caveman-engine/main.go:96
↓ 3 callersFunctionopenRecoveryStore
()
browse/cmd/caveman-browse/main.go:106
↓ 3 callersFunctionopenRecoveryStore
openRecoveryStore opens the shared file CCR store the proxy uses, so handles are resolvable across processes. CAVEMAN_MCP_EPHEMERAL=1 forces an in-mem
mcp/cmd/caveman-mcp/main.go:222
↓ 3 callersFunctionopenWithBudget
(path string, maxBytes int64, afterPrepare func())
engine/ccr/store_sqlite.go:296
↓ 3 callersFunctionopencodeAutoModel
(provider: "openai" | "anthropic")
packages/cli/src/index.ts:4519
↓ 3 callersFunctionopencodePluginMajors
()
packages/cli/src/index.ts:9428
↓ 3 callersFunctionopencodeShrinkPluginPreamble
()
packages/cli/src/index.ts:19061
↓ 3 callersMethodoptimize
(ctx context.Context, principal ident.Principal, req OptimizeRequest, inputDigest string, n negotiated)
proxy/internal/middleware/runtime.go:323
↓ 3 callersFunctionoptionalBytesEqual
(left: Buffer | null, right: Buffer | null)
packages/cli/src/index.ts:8878
↓ 3 callersFunctionoptionalBytesHash
(bytes: Buffer | null)
packages/cli/src/index.ts:16703
↓ 3 callersFunctionownEndpoint
(value: unknown)
packages/cli/src/index.ts:9009
↓ 3 callersFunctionownEndpointIn
(layers: Array<{ key: string; value: unknown; file?: string }>)
packages/cli/src/index.ts:9051
↓ 3 callersFunctionownEndpointRoutedMessage
(agent: string, own: OwnEndpointSource)
packages/cli/src/index.ts:9066
↓ 3 callersFunctionownedMcpRegistration
(agentId: string, agentArgs: string[] = [])
packages/cli/src/index.ts:16584
↓ 3 callersMethodowner
owner fingerprints a login, so one account's events and level never travel with another's credential.
proxy/internal/cloudlink/events.go:122
↓ 3 callersFunctionpackageInvocation
(args, { bun = process.versions.bun, execPath = process.execPath } = {})
installer/lib/package-runner.js:5
↓ 3 callersFunctionparseArgs
(argv, onError = fail)
packages/subagent-tax/run.mjs:26
↓ 3 callersFunctionparseBaseURL
(raw, provider string)
proxy/providers/openaicompat/openaicompat.go:584
↓ 3 callersFunctionparseBedrockUsage
parseBedrockUsage merges usage from a whole-body JSON document, SSE/JSONL, or the binary application/vnd.amazon.eventstream framing used by Bedrock's
proxy/providers/bedrock/usage.go:78
↓ 3 callersFunctionparseMcpServerMarkerBytes
(agent: string, serverName: string, bytes: Buffer)
packages/cli/src/index.ts:3510
↓ 3 callersFunctionparseOpenCodeMcp
(raw: unknown)
packages/cli/src/codemode.ts:221
↓ 3 callersFunctionparsePixelDensity
(raw: string, flagName: string)
packages/cli/src/index.ts:1903
↓ 3 callersFunctionparseRawConfig
(text: string)
packages/cli/src/index.ts:5204
↓ 3 callersFunctionparseSession
(filePath)
src/hooks/caveman-stats.js:161
↓ 3 callersFunctionparseSignedChecksums
(raw: string, release: string = BINARY_RELEASE)
packages/cli/src/index.ts:3017
↓ 3 callersFunctionparseSince
(expr string)
proxy/internal/store/usage_import.go:474
↓ 3 callersFunctionparseTOMLString
(val string)
mcp/codemode/stdio_upstream.go:1163
↓ 3 callersFunctionparseTOONScalar
(s string)
engine/compressors/toon_decode.go:283
↓ 3 callersFunctionparseWindowsNodeShim
(source)
packages/subagent-tax/lib/process-tree.mjs:29
↓ 3 callersFunctionparseWire
(text: string, maxBytes = 16 << 20)
packages/middleware/typescript/src/wire.ts:7
↓ 3 callersFunctionpartTexts
partTexts are the text tokens of a string-or-parts value (every part that is not an image or file and carries text, a refusal's included).
proxy/internal/translate/responses_in.go:101
↓ 3 callersMethodpassive
(runtime, reason)
packages/middleware/python/caveman_middleware/langchain.py:103
↓ 3 callersFunctionpassiveModel
Observe only the native method boundary; no untested model shape is read.
packages/middleware/typescript/src/mastra.ts:57
↓ 3 callersFunctionpatchWire
(text: string, patches: { leaf: StringLeaf; replacement: string }[])
packages/middleware/typescript/src/wire.ts:51
↓ 3 callersFunctionpathKey
(path: (string | number)[])
packages/middleware/typescript/src/wire.ts:4
↓ 3 callersFunctionpayloadHasErrorSignal
(raw []byte)
proxy/providers/turneffort.go:344
↓ 3 callersFunctionpeekError
peekError reads the head of a provider error, decoded when compressed, and puts its bytes back.
proxy/internal/gateway/route.go:1501
↓ 3 callersFunctionpersistSQLiteWAL
PERSIST_WAL prevents close from unlinking WAL/SHM by their original names. It DOES NOT prevent a final checkpoint. A changed generation is quarantined
engine/ccr/store_generation.go:106
↓ 3 callersFunctionpiField
piField returns the first present key's value, so a payload that carries two spellings of the same field (Pi's bundle emits both `cacheRead` and `cach
proxy/internal/store/source_pi.go:132
↓ 3 callersFunctionpinOf
(t *testing.T, body string)
proxy/internal/gateway/route_cache_test.go:36
↓ 3 callersMethodpinRaw
pinRaw records that the provider accepted body, the client's original bytes, after rejecting transformed. It pins only a conversation's own bytes, and
proxy/internal/gateway/raw_pin.go:149
↓ 3 callersFunctionpixelUsage
()
engine/cmd/caveman-engine/main.go:282
↓ 3 callersFunctionplanSessionKey
(t *testing.T, body, session string, payg bool)
proxy/providers/openai/session_cache_key_test.go:18
↓ 3 callersFunctionpolicyMode
()
packages/cli/src/native-hook-fast.ts:121
↓ 3 callersFunctionpolicyUnitFraction
(...keys: string[])
packages/sdk/typescript/src/index.ts:1517
↓ 3 callersFunctionpolicy_unit_fraction
Deterministic [0,1) fraction for a tuple of keys — the experiment assignment unit. Byte-for-byte port of the Caveman Cloud server's sampling
packages/sdk/python/caveman_cloud/core.py:1965
↓ 3 callersFunctionportOf
(url: URL)
packages/cli/src/proxy-fetch.ts:53
↓ 3 callersFunctionportableInvocation
(command, args, platform = process.platform, env = process.env)
agents/delegate/portable-process.mjs:98
↓ 3 callersFunctionportableProcessInvocation
( command, args, { platform = process.platform, env = process.env, execPath = process.execPath } = {}, )
packages/subagent-tax/lib/process-tree.mjs:42
↓ 3 callersFunctionpositive
(flag, raw)
packages/subagent-tax/run.mjs:40
↓ 3 callersFunctionpositiveFinite
(v float64)
shared/platform/cost/cost.go:149
↓ 3 callersFunctionpostLocalAnthropic
(t *testing.T, srv *Server, path, body string, extra map[string]string)
proxy/internal/gateway/local_turn_effort_test.go:104
↓ 3 callersFunctionpostTelemetry
(body: string, timeoutMs: number)
packages/cli/src/index.ts:1710
↓ 3 callersFunctionprecisionFixture
These are valid JSON numbers accepted by provider tool input/schema shapes, but each loses information if decoded through a float64. The tests compare
engine/pixel/transform_numbers_test.go:14
↓ 3 callersFunctionprefixCacheNow
()
proxy/internal/store/prefix_cache.go:162
↓ 3 callersMethodprepare
``binding`` is a RecoveryBinding or ``callable(runtime)`` resolved inside the fail-open guard.
packages/middleware/python/caveman_middleware/langchain.py:135
↓ 3 callersMethodprepare_async
(self, messages, config=None, binding=None, model=None, prefix=())
packages/middleware/python/caveman_middleware/langchain.py:149
← previousnext →2,201–2,300 of 12,853, ranked by callers