MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 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:158
↓ 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:1699
↓ 3 callersFunctionnonNegativeInt64
(v int64)
proxy/internal/store/trial_store.go:758
↓ 3 callersFunctionnormalizeAgentPath
(r *http.Request)
proxy/internal/gateway/proxy.go:1615
↓ 3 callersFunctionnormalizeCompressionQuery
normalizeCompressionQuery bounds a user query to maxCompressionQueryBytes by retaining its TRAILING suffix on a valid UTF-8 boundary, so long user pro
proxy/internal/gateway/compression_query.go:110
↓ 3 callersFunctionnormalizeHookPath
( path: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:8193
↓ 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:257
↓ 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 callersFunctionopenClawStateDir
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/harnesses/additional.ts:136
↓ 3 callersFunctionopenCodeConfigPaths
( workspaceDir: string, homeDir: string, env: NodeJS.ProcessEnv, trustWorkspace = false, )
packages/cli/src/codemode.ts:1152
↓ 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:144
↓ 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:4573
↓ 3 callersFunctionopencodeConfigDir
( env: NodeJS.ProcessEnv = process.env, _platform: NodeJS.Platform = process.platform, )
packages/cli/src/harnesses/opencode.ts:10
↓ 3 callersFunctionopencodePluginMajors
()
packages/cli/src/index.ts:9531
↓ 3 callersFunctionopencodeShrinkPluginPreamble
()
packages/cli/src/index.ts:19456
↓ 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:8980
↓ 3 callersFunctionoptionalBytesHash
(bytes: Buffer | null)
packages/cli/src/index.ts:17087
↓ 3 callersFunctionownEndpoint
(value: unknown)
packages/cli/src/index.ts:9111
↓ 3 callersFunctionownEndpointIn
(layers: Array<{ key: string; value: unknown; file?: string }>)
packages/cli/src/index.ts:9153
↓ 3 callersFunctionownEndpointRoutedMessage
(agent: string, own: OwnEndpointSource)
packages/cli/src/index.ts:9168
↓ 3 callersFunctionownedMcpRegistration
(agentId: string, agentArgs: string[] = [])
packages/cli/src/index.ts:16968
↓ 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:3554
↓ 3 callersFunctionparseOpenCodeMcp
(raw: unknown)
packages/cli/src/codemode.ts:266
↓ 3 callersFunctionparsePixelDensity
(raw: string, flagName: string)
packages/cli/src/index.ts:1922
↓ 3 callersFunctionparseRawConfig
(text: string)
packages/cli/src/index.ts:5256
↓ 3 callersFunctionparseSession
(filePath, options = {})
src/hooks/caveman-stats.js:164
↓ 3 callersFunctionparseSignedChecksums
(raw: string, release: string = BINARY_RELEASE)
packages/cli/src/index.ts:3061
↓ 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:1531
↓ 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 callersFunctionpixelTextPartSupported
Pixel rendering replaces a whole text part with image parts. Only fields whose semantics we preserve may be consumed: unknown metadata, citations, sig
proxy/internal/gateway/pixel.go:143
↓ 3 callersFunctionpixelUsage
()
engine/cmd/caveman-engine/main.go:330
↓ 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:1729
↓ 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 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
↓ 3 callersFunctionprocessAlive
(pid: number)
packages/cli/src/index.ts:22270
↓ 3 callersFunctionprosebBlob
(size int)
proxy/internal/nativeruntime/mask_elidable_test.go:97
↓ 3 callersFunctionproviderPrefixEvidence
(adapter providers.Adapter, body []byte, meta providers.RequestMetadata)
proxy/internal/gateway/proxy.go:1274
↓ 3 callersFunctionproviderRequestID
(h http.Header)
proxy/providers/adapter.go:1822
↓ 3 callersFunctionproxyPassthrough
(proxyArgs: string[], env: NodeJS.ProcessEnv = process.env)
packages/cli/src/index.ts:21992
↓ 3 callersFunctionproxyRunStatePath
(port: number)
packages/cli/src/index.ts:22228
↓ 3 callersFunctionproxySessionDir
(port: number)
packages/cli/src/index.ts:22232
↓ 3 callersFunctionqueryStrings
(q querier, query string, args ...any)
engine/ccr/store_reclaim.go:325
← previousnext →2,301–2,400 of 13,382, ranked by callers