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
↓ 3 callers
Method
markDamaged
markDamaged makes every later write fail with ErrStoreDamaged. It is final for this Store: only a repaired file, opened by a new process, clears it.
engine/ccr/store_integrity.go:73
↓ 3 callers
Function
maybeGeminiReflow
(text string, enabled bool)
engine/pixel/transform_gemini.go:954
↓ 3 callers
Function
mcpInstalled
(agentId: string, agentArgs: string[] = [])
packages/cli/src/index.ts:13999
↓ 3 callers
Method
mcpRecoveryAvailable
mcpRecoveryAvailable binds recoverability to caller: either wrap verified it out of band, or request itself carries namespaced Caveman MCP retrieve to
proxy/internal/gateway/server.go:478
↓ 3 callers
Function
mcpServerInstalled
(agentId: string, serverName: string)
packages/cli/src/index.ts:13964
↓ 3 callers
Function
mcpServerToolName
(serverName: string)
packages/cli/src/index.ts:3493
↓ 3 callers
Function
medianInts
(values []int)
proxy/internal/store/learn.go:848
↓ 3 callers
Function
memID
(text string)
mem/store.go:750
↓ 3 callers
Function
memoryRuntime
(t *testing.T)
proxy/internal/nativeruntime/drop_log_test.go:81
↓ 3 callers
Function
mergeGeminiDropped
(info *TransformInfo, dropped map[rune]int)
engine/pixel/transform_gemini.go:1139
↓ 3 callers
Function
messageHasContentCacheControl
(raw []byte)
proxy/providers/anthropic/frozen.go:84
↓ 3 callers
Function
messageRole
(body []byte, msg jsonSpan)
proxy/providers/anthropic/content_compress.go:251
↓ 3 callers
Function
messageRole
(body []byte, msg jsonSpan)
proxy/providers/openai/content_compress.go:448
↓ 3 callers
Method
metaValue
(q querier, key string)
engine/ccr/store_integrity.go:184
↓ 3 callers
Function
middlewareBacklog
middlewareBacklog is MiddlewareBacklog's query with now bound as param.
proxy/internal/store/middleware.go:568
↓ 3 callers
Function
modelCandidates
(model string)
engine/pixel/applicability.go:55
↓ 3 callers
Function
moduleStates
()
packages/cli/src/modules/apply.ts:602
↓ 3 callers
Function
modulesIndex
(checksums, release, modules = MODULES)
packages/cli/scripts/gen-modules-index.mjs:22
↓ 3 callers
Function
mustJSON
(t *testing.T, value string)
proxy/providers/openai/content_compress_test.go:176
↓ 3 callers
Function
mustNamed
(t *testing.T, name, baseURL string)
proxy/providers/openaicompat/openaicompat_test.go:150
↓ 3 callers
Function
namesAutoHead
namesAutoHead reports a POST body whose head names Auto as its model.
proxy/internal/gateway/chatgpt_auto.go:536
↓ 3 callers
Function
nativeCoreRuntimeState
()
packages/cli/src/index.ts:17487
↓ 3 callers
Function
nativeMcpBinaryRequired
()
packages/cli/src/index.ts:8698
↓ 3 callers
Function
nativePendingJournalPath
(agent: string)
packages/cli/src/index.ts:8550
↓ 3 callers
Function
nativeProxyBinaryRequired
(gw: string)
packages/cli/src/index.ts:8705
↓ 3 callers
Function
nativeShrinkEnabled
()
packages/cli/src/index.ts:8100
↓ 3 callers
Function
nativeThinking
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 callers
Function
newCacheWarmer
(enabled func() bool, send func(context.Context, *warmRequest) bool, table *warmTable)
proxy/internal/gateway/cache_warm.go:148
↓ 3 callers
Function
newMsgBuilder
(size int)
proxy/internal/translate/msgbuild.go:67
↓ 3 callers
Function
newRecurringStreamMiner
newRecurringStreamMiner retains occurrence coordinates for retro stream weighting. The ordinary learn scan deliberately uses newRecurringMiner so its
proxy/internal/store/recurring.go:184
↓ 3 callers
Function
newResponsesStream
(w http.ResponseWriter, model string, stream bool)
proxy/internal/translate/responses_stream.go:111
↓ 3 callers
Function
newRuntime
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:157
↓ 3 callers
Function
newStoreEngine
()
mcp/engine_tools_retrieve_test.go:56
↓ 3 callers
Function
newToolPortfolioTracker
()
proxy/internal/store/detect_tool_portfolio.go:45
↓ 3 callers
Function
nextSerial
()
proxy/internal/identity/tls_test.go:35
↓ 3 callers
Function
nextTurn
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 callers
Function
nonNegativeInt
(v any)
proxy/providers/adapter.go:1665
↓ 3 callers
Function
nonNegativeInt64
(v int64)
proxy/internal/store/trial_store.go:758
↓ 3 callers
Function
normalizeAgentPath
(r *http.Request)
proxy/internal/gateway/proxy.go:1419
↓ 3 callers
Function
normalizeCompressionQuery
(query string)
proxy/internal/gateway/compression_query.go:102
↓ 3 callers
Function
normalizeHookPath
( path: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:7873
↓ 3 callers
Function
normalizeLevel
(l DensityLevel)
engine/pixel/density.go:69
↓ 3 callers
Function
normalizeSkillReference
(raw string)
proxy/internal/store/learn.go:1079
↓ 3 callers
Function
normalize_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 callers
Function
numberFromAny
(value any)
proxy/internal/store/learn_outcomes.go:629
↓ 3 callers
Function
numberedLines
(n int, format string)
proxy/internal/store/detect_memory_health_test.go:54
↓ 3 callers
Function
objectData
(id string, size int, i int)
engine/ccr/store_reclaim_test.go:63
↓ 3 callers
Function
objectFields
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 callers
Method
observe
(turn cacheUsageTurn)
proxy/internal/store/detect_cache_hygiene.go:53
↓ 3 callers
Method
observeCachedPrefix
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:237
↓ 3 callers
Method
observeSpawn
(toolName, input string)
proxy/internal/store/detect_subagent_spend.go:75
↓ 3 callers
Method
observeTextPayloads
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 callers
Method
observeTurn
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 callers
Method
observe_background
Bounded metadata-only delivery; never delay the provider response.
packages/sdk/python/caveman_cloud/middleware/runtime.py:788
↓ 3 callers
Function
observe_response
(response, attempt)
packages/middleware/python/caveman_middleware/_httpx2.py:183
↓ 3 callers
Function
ok
(event: unknown)
supabase/functions/blocks-telemetry/ingest.test.ts:51
↓ 3 callers
Function
on
()
tests/installer/e2e.freshinstall.test.mjs:1052
↓ 3 callers
Function
onError
(error)
packages/cli/tests/_cli.mjs:102
↓ 3 callers
Function
onboardInteractive
()
packages/cli/src/modules/onboard.ts:116
↓ 3 callers
Function
opaque_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 callers
Method
openBlock
(kind string, block map[string]any)
proxy/internal/translate/messages_stream.go:357
↓ 3 callers
Function
openEngine
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 callers
Function
openRecoveryStore
()
browse/cmd/caveman-browse/main.go:106
↓ 3 callers
Function
openWithBudget
(path string, maxBytes int64, afterPrepare func())
engine/ccr/store_sqlite.go:296
↓ 3 callers
Function
opencodeAutoModel
(provider: "openai" | "anthropic")
packages/cli/src/index.ts:4510
↓ 3 callers
Function
opencodePluginMajors
()
packages/cli/src/index.ts:9187
↓ 3 callers
Function
opencodeShrinkPluginPreamble
()
packages/cli/src/index.ts:18815
↓ 3 callers
Method
optimize
(ctx context.Context, principal ident.Principal, req OptimizeRequest, inputDigest string, n negotiated)
proxy/internal/middleware/runtime.go:323
↓ 3 callers
Function
optionalBytesEqual
(left: Buffer | null, right: Buffer | null)
packages/cli/src/index.ts:8637
↓ 3 callers
Function
optionalBytesHash
(bytes: Buffer | null)
packages/cli/src/index.ts:16457
↓ 3 callers
Function
ownEndpoint
(value: unknown)
packages/cli/src/index.ts:8768
↓ 3 callers
Function
ownEndpointIn
(layers: Array<{ key: string; value: unknown; file?: string }>)
packages/cli/src/index.ts:8810
↓ 3 callers
Function
ownEndpointRoutedMessage
(agent: string, own: OwnEndpointSource)
packages/cli/src/index.ts:8825
↓ 3 callers
Function
ownedMcpRegistration
(agentId: string, agentArgs: string[] = [])
packages/cli/src/index.ts:16338
↓ 3 callers
Method
owner
owner fingerprints a login, so one account's events and level never travel with another's credential.
proxy/internal/cloudlink/events.go:122
↓ 3 callers
Function
packageInvocation
(args, { bun = process.versions.bun, execPath = process.execPath } = {})
installer/lib/package-runner.js:5
↓ 3 callers
Function
parseArgs
(argv, onError = fail)
packages/subagent-tax/run.mjs:26
↓ 3 callers
Function
parseBaseURL
(raw, provider string)
proxy/providers/openaicompat/openaicompat.go:539
↓ 3 callers
Function
parseBedrockUsage
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 callers
Function
parseMcpServerMarkerBytes
(agent: string, serverName: string, bytes: Buffer)
packages/cli/src/index.ts:3501
↓ 3 callers
Function
parsePixelDensity
(raw: string, flagName: string)
packages/cli/src/index.ts:1894
↓ 3 callers
Function
parsePredictPath
parsePredictPath extracts the publisher, model id, and method from a Vertex path of the form vertex/v1/projects/{p}/locations/{l}/publishers/{publishe
proxy/providers/vertex/routing.go:130
↓ 3 callers
Function
parseRawConfig
(text: string)
packages/cli/src/index.ts:5194
↓ 3 callers
Function
parseSession
(filePath)
src/hooks/caveman-stats.js:161
↓ 3 callers
Function
parseSignedChecksums
(raw: string, release: string = BINARY_RELEASE)
packages/cli/src/index.ts:3008
↓ 3 callers
Function
parseSince
(expr string)
proxy/internal/store/usage_import.go:474
↓ 3 callers
Function
parseTOONScalar
(s string)
engine/compressors/toon_decode.go:283
↓ 3 callers
Function
parseWindowsNodeShim
(source)
packages/subagent-tax/lib/process-tree.mjs:29
↓ 3 callers
Function
parseWire
(text: string, maxBytes = 16 << 20)
packages/middleware/typescript/src/wire.ts:7
↓ 3 callers
Function
partTexts
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 callers
Method
passive
(runtime, reason)
packages/middleware/python/caveman_middleware/langchain.py:103
↓ 3 callers
Function
passiveModel
Observe only the native method boundary; no untested model shape is read.
packages/middleware/typescript/src/mastra.ts:57
↓ 3 callers
Function
patchWire
(text: string, patches: { leaf: StringLeaf; replacement: string }[])
packages/middleware/typescript/src/wire.ts:51
↓ 3 callers
Function
pathKey
(path: (string | number)[])
packages/middleware/typescript/src/wire.ts:4
↓ 3 callers
Function
peekError
peekError reads the head of a provider error, decoded when compressed, and puts its bytes back.
proxy/internal/gateway/route.go:1474
↓ 3 callers
Function
persistSQLiteWAL
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 callers
Function
piField
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 callers
Function
pinOf
(t *testing.T, body string)
proxy/internal/gateway/route_cache_test.go:36
↓ 3 callers
Method
pinRaw
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 callers
Function
pixelUsage
()
engine/cmd/caveman-engine/main.go:282
← previous
next →
2,101–2,200 of 12,391, ranked by callers