Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,853 in github.com/JuliusBrussee/caveman
⨍
Functions
12,853
◇
Types & classes
1,364
↳
Endpoints
5
↓ 2 callers
Function
clientFetch
(client:unknown)
packages/middleware/typescript/src/transport.ts:64
↓ 2 callers
Function
clientWithPolicies
(policies, bundleOverrides = {})
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:675
↓ 2 callers
Function
cloneJSONMap
(value map[string]any)
engine/compressors/toolschema.go:179
↓ 2 callers
Method
close
Aborts every in-flight request; later calls pass through with `closed`.
packages/sdk/typescript/src/middleware/runtime.ts:516
↓ 2 callers
Function
cloud
(me)
packages/cli/tests/routing.runtime.mjs:9
↓ 2 callers
Function
cloudAnswer
()
packages/cli/src/modules/cloud.ts:29
↓ 2 callers
Method
cloudPaths
The legacy file is where the old CLI wrote it: Node's os.homedir(), which is USERPROFILE on Windows even when HOME is set (MSYS2, Cygwin and Git Bash
proxy/internal/cloudlink/link.go:200
↓ 2 callers
Function
cloudProduct
(answer: CloudMe | null, id: string)
packages/cli/src/modules/cloud.ts:84
↓ 2 callers
Function
cmd
(method, params = {})
extension/scripts/firefox-e2e.mjs:199
↓ 2 callers
Function
cmpVersion
(a, b)
agents/version.mjs:2
↓ 2 callers
Function
code_outcome
§6 step 6 for an error code already extracted from a response (or raised by a transport).
packages/sdk/python/caveman_cloud/middleware/protocol.py:127
↓ 2 callers
Function
codemodeCallTimeoutMs
(name: string, args: Record<string, unknown>)
packages/pi-extension/src/recovery.ts:468
↓ 2 callers
Function
codemodePrefixArgs
(env: NodeJS.ProcessEnv = process.env)
packages/pi-extension/src/recovery.ts:479
↓ 2 callers
Function
codexAuthPath
()
packages/cli/src/index.ts:7940
↓ 2 callers
Function
codexBillingUsage
codexBillingUsage normalizes OpenAI's INCLUSIVE input count into disjoint billing buckets: input_tokens already contains the cached share, so fresh in
proxy/internal/store/source_codex.go:122
↓ 2 callers
Function
codexCavemanProviderToml
(gw: string, subscription = true)
packages/cli/src/index.ts:8045
↓ 2 callers
Function
codexFixture
testdata/codex_exec_code_mode.txt has the shape of a live Codex 0.161 code-mode result (2026-10-17): header lines, then one JSON line per exec_command
engine/codexexec_test.go:16
↓ 2 callers
Function
codexHome
()
installer/install.js:948
↓ 2 callers
Function
codexHookHash
(group)
packages/cli/tests/native-enable.runtime.mjs:726
↓ 2 callers
Function
codexHookScript
(home)
installer/install.js:952
↓ 2 callers
Function
codexNativeRouted
(lines: ReturnType<typeof codexTomlLines>)
packages/cli/src/index.ts:10236
↓ 2 callers
Function
codexOwnEndpoint
(text: string, configPath: string)
packages/cli/src/index.ts:9078
↓ 2 callers
Function
codexToolInput
(payload map[string]any)
proxy/internal/store/source_codex.go:236
↓ 2 callers
Function
collectAnthropicCandidates
(body []byte, msg jsonSpan, recovered map[string]bool)
proxy/providers/anthropic/content_compress.go:304
↓ 2 callers
Function
collectStringCandidate
( body []byte, span jsonSpan, out *[]spliceCandidate, allowForcedTOON bool, kind string, )
proxy/providers/anthropic/content_compress.go:362
↓ 2 callers
Function
columns
(originals []MiddlewareOriginal)
proxy/internal/store/middleware_postgres.go:731
↓ 2 callers
Function
commit
(message)
tests/installer/agent-registry-scope.test.mjs:26
↓ 2 callers
Function
commonPrefixLen
(a, b []T)
proxy/internal/gateway/prefix_monitor.go:429
↓ 2 callers
Function
compactAXString
(v any)
engine/compressors/axtree.go:585
↓ 2 callers
Function
compactHistoryPreview
(text string)
engine/pixel/history_anthropic.go:219
↓ 2 callers
Function
compactNumber
(value: number)
packages/cli/src/learn-trends.ts:63
↓ 2 callers
Function
compactionChurnSink
(sessions []compactionSession)
proxy/internal/store/detect_compaction.go:7
↓ 2 callers
Function
comparableConfigTokens
(record AppliedFixRecord, cfg configScan)
proxy/internal/store/learn_outcomes.go:543
↓ 2 callers
Function
compatNameFromPath
(path string)
proxy/internal/standalone/standalone.go:273
↓ 2 callers
Function
compatUpstreamFor
(provider: string, compatUpstreams?: Readonly<Record<string, string>>)
packages/pi-extension/src/protocol.ts:172
↓ 2 callers
Function
compatUpstreams
compatUpstreams flattens the named OpenAI-compatible mounts to name → base URL for publication in the run-state file. A client cannot otherwise learn
proxy/cmd/caveman-proxy/main.go:558
↓ 2 callers
Method
complete
()
proxy/internal/translate/responses_stream.go:277
↓ 2 callers
Method
completed
(self, call, result)
packages/middleware/python/caveman_middleware/llama_index.py:218
↓ 2 callers
Function
componentByKey
(score CaveScore, key string)
proxy/internal/store/trial_feature_test.go:872
↓ 2 callers
Function
composerBox
(ed)
extension/src/caveman.js:116
↓ 2 callers
Function
compositeTwoLayers
compositeTwoLayers is the subtractive multiply from pxcore.py overlay(). Each layer is inked over white using its coverage alpha (region*(1-a)+color*a
engine/pixel/overlay.go:27
↓ 2 callers
Function
compress
(text, _opts)
src/mcp-servers/caveman-shrink/compress.js:160
↓ 2 callers
Method
compress
(input []byte, query string)
engine/compressors/tabular.go:86
↓ 2 callers
Method
compress
(input []byte, query string)
engine/compressors/text.go:47
↓ 2 callers
Method
compress
(input []byte, query string)
engine/compressors/searchresult.go:45
↓ 2 callers
Method
compress
(input []byte, query string)
engine/compressors/log.go:89
↓ 2 callers
Method
compress
(input []byte, query string)
engine/compressors/config.go:60
↓ 2 callers
Function
compressDescription
compressDescription reduces a free-text description. A description that already fits smallDescBudget is kept whole — eliding it would save a handful o
engine/compressors/toolschema.go:270
↓ 2 callers
Function
compressDescriptionsInPlace
(obj, fieldNames)
src/mcp-servers/caveman-shrink/compress.js:171
↓ 2 callers
Function
compressListing
compressListing runs a guttered payload through the real pipeline and checks the gutter on what comes back: every line that came from the source carri
engine/listing_test.go:158
↓ 2 callers
Method
compressSchema
compressSchema walks a parsed JSON Schema / tool catalog. inUserKeys is true when the map is the value of a properties / $defs / definitions / pattern
engine/compressors/toolschema.go:192
↓ 2 callers
Function
compressWith
compressWith dispatches to a compressor's query-aware path when a query is set and the compressor implements QueryAwareCompressor, else the plain byte
engine/engine.go:211
↓ 2 callers
Method
compressedSomething
compressedSomething guards against a scenario passing vacuously.
proxy/internal/gateway/cache_prefix_invariant_test.go:534
↓ 2 callers
Function
condition
condition reproduces one legacy_conditions row of the parity fixture.
proxy/internal/middleware/protocol_v11_test.go:169
↓ 2 callers
Function
configChanges
(selection: ModuleSelection, only: ModuleId[] | undefined)
packages/cli/src/modules/apply.ts:174
↓ 2 callers
Function
configPendingPath
(configPath)
packages/cli/tests/qwen-wrap.runtime.mjs:185
↓ 2 callers
Function
configPendingPath
(configPath)
packages/cli/tests/kilo-wrap.runtime.mjs:109
↓ 2 callers
Function
configSinks
--- detectors -------------------------------------------------------------
proxy/internal/store/learn.go:449
↓ 2 callers
Function
configTokenCountWith
(counter enginetokens.Counter, text string)
proxy/internal/store/config_scan.go:204
↓ 2 callers
Function
configWriteTarget
()
packages/cli/src/index.ts:5242
↓ 2 callers
Function
configuredMode
configuredMode reads the CLI's config: $CAVEMAN_HOME/cloud.json, then the pre-v4 ~/.caveman-cloud/config.json it is copied from on first use.
proxy/internal/nativehook/hook.go:306
↓ 2 callers
Function
configured_provider
()
plugins/caveman/skills/caveman-compress/scripts/compress.py:552
↓ 2 callers
Function
configured_provider
()
skills/caveman-compress/scripts/compress.py:552
↓ 2 callers
Function
connectionTokens
connectionTokens returns fields nominated by Connection. RFC 9110 makes those fields hop-by-hop even when their names are otherwise application-safe.
proxy/internal/gateway/headers.go:22
↓ 2 callers
Method
consolidateRepositoryMaps
consolidateRepositoryMaps turns duplicate full copies of one map into references to a single copy whose bytes verify. A copy that another row already
engine/ccr/store_reclaim.go:221
↓ 2 callers
Method
consume
(event turnEvent)
proxy/internal/store/session_source.go:120
↓ 2 callers
Function
containerProvider
containerProvider serves credentials that expire an hour after each fetch and counts fetches.
shared/platform/awscreds/awscreds_test.go:473
↓ 2 callers
Function
contains
(blocks []providers.RewritableBlock, want string)
proxy/providers/gemini/recovery_exempt_test.go:28
↓ 2 callers
Function
containsDigit
(s string)
engine/pixel/factsheet.go:111
↓ 2 callers
Function
conversationWithSystem
(system string, userTexts ...string)
proxy/internal/gateway/cache_prefix_invariant_test.go:1343
↓ 2 callers
Function
conversionMath
(textEst: number, afterEst: number)
packages/cli/src/index.ts:2203
↓ 2 callers
Function
copilotHome
()
installer/install.js:1125
↓ 2 callers
Function
count
(n: number)
packages/cli/src/stats-cli.ts:99
↓ 2 callers
Function
countCacheMarkers
(value any)
proxy/providers/bedrock/cache_points.go:458
↓ 2 callers
Function
countJSONKey
countJSONKey counts how many times a key appears anywhere in a decoded document. The planner uses it for the max-4 budget, so it must count every occu
proxy/providers/anthropic/breakpoint_plan.go:428
↓ 2 callers
Method
countRequestProvenanceWhere
(column string, out map[string]int64, where string, args ...any)
proxy/internal/store/store.go:1149
↓ 2 callers
Function
countTokensAnthropic
(capturedBody, { apiKey, baseUrl = "https://api.anthropic.com", fetchImpl = fetch } = {})
packages/subagent-tax/lib/tokens.mjs:31
↓ 2 callers
Function
createCavemanFetch
(options:FetchOptions)
packages/middleware/typescript/src/transport.ts:78
↓ 2 callers
Function
createProcessor
(options: CavemanMastraOptions, enforcedFinalStep: boolean, blocked: GateReason | null, isProtectedText: (text
packages/middleware/typescript/src/mastra.ts:141
↓ 2 callers
Function
createProxyAwareFetch
(baseFetch: typeof fetch, env: NodeJS.ProcessEnv = process.env)
packages/cli/src/proxy-fetch.ts:316
↓ 2 callers
Function
credentialKey
credentialKey names the upstream credential without holding it.
proxy/internal/gateway/cache_warm.go:519
↓ 2 callers
Function
credentialsFromJSON
(body []byte, source string)
shared/platform/awscreds/awscreds.go:618
↓ 2 callers
Function
crossProviderSinks
(rec recurringResult, beh behaviorScan)
proxy/internal/store/learn.go:769
↓ 2 callers
Function
currentWeekName
(trends: LearnTrends)
packages/cli/src/learn-trends.ts:86
↓ 2 callers
Function
cursorConfigDir
(home)
installer/lib/cursor-native.js:31
↓ 2 callers
Function
cyclingDeployments
cyclingDeployments builds rows whose categorical fields cycle through three values, so element length cycles through three levels too. mutate, when no
engine/compressors/json_test.go:272
↓ 2 callers
Function
dataURI
dataURI splits the string token "data:<media>;base64,<data>" into the escaped contents of media and data (sub-slices of token).
proxy/internal/translate/jsonfast.go:351
↓ 2 callers
Function
deadLoadSink
(deadTokens int, deadSkills []string, beh behaviorScan, turnsPerDay float64)
proxy/internal/store/learn.go:676
↓ 2 callers
Function
declaredCacheTTL
declaredCacheTTL is the one lifetime every cache_control marker declares (top-level automatic caching included). Zero when there is no marker, one nam
proxy/internal/gateway/cache_warm.go:443
↓ 2 callers
Function
decodeBoolObject
decodeBoolObject reads a boolean out of a CallFunctionOn result, failing closed on a nil object. CallFunctionOn can return a nil RemoteObject without
browse/cdp.go:384
↓ 2 callers
Function
decodeBytesGzip
(name string, src []byte)
engine/pixel/atlas.go:84
↓ 2 callers
Function
decodeDataImageTest
(t *testing.T, uri string)
engine/pixel/transform_openai_test.go:407
↓ 2 callers
Function
decodeForRewrite
decodeForRewrite decodes a document that will be re-marshalled after being mutated, so it must not lose information the sender put in it. UseNumber i
proxy/internal/gateway/retrieve_tool.go:776
↓ 2 callers
Function
decodeJSONObjectFields
decodeJSONObjectFields preserves each top-level value while rejecting duplicate keys. json.Unmarshal into a map would silently keep only the last dupl
proxy/providers/internal/counttokens/counttokens.go:187
↓ 2 callers
Function
decodeMCPTextPayload
(text string)
mcp/codemode/stdio_upstream.go:405
↓ 2 callers
Function
decodePNGTest
(t *testing.T, pngBytes []byte)
engine/pixel/transform_openai_test.go:417
↓ 2 callers
Function
decodeUniqueKeyring
(infos: ReceiptPublicKey[], label: string)
packages/cli/src/index.ts:22443
↓ 2 callers
Function
deepSchema
deepSchema is an object schema nested depth levels deep, every level strict.
proxy/internal/translate/bench_test.go:174
↓ 2 callers
Function
defaultRegistry
(counter tokens.Counter)
engine/engine.go:59
↓ 2 callers
Function
deferredTool
(value any)
proxy/providers/anthropic/cache_breakpoints.go:175
← previous
next →
3,001–3,100 of 12,853, ranked by callers