MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionclientFetch
(client:unknown)
packages/middleware/typescript/src/transport.ts:64
↓ 2 callersFunctionclientWithPolicies
(policies, bundleOverrides = {})
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:675
↓ 2 callersFunctioncloneJSONMap
(value map[string]any)
engine/compressors/toolschema.go:179
↓ 2 callersMethodclose
Aborts every in-flight request; later calls pass through with `closed`.
packages/sdk/typescript/src/middleware/runtime.ts:516
↓ 2 callersFunctioncloud
(me)
packages/cli/tests/routing.runtime.mjs:9
↓ 2 callersFunctioncloudAnswer
()
packages/cli/src/modules/cloud.ts:29
↓ 2 callersMethodcloudPaths
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 callersFunctioncloudProduct
(answer: CloudMe | null, id: string)
packages/cli/src/modules/cloud.ts:84
↓ 2 callersFunctioncmd
(method, params = {})
extension/scripts/firefox-e2e.mjs:199
↓ 2 callersFunctioncmpVersion
(a, b)
agents/version.mjs:2
↓ 2 callersFunctioncode_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 callersFunctioncodemodeCallTimeoutMs
(name: string, args: Record<string, unknown>)
packages/pi-extension/src/recovery.ts:468
↓ 2 callersFunctioncodemodePrefixArgs
(env: NodeJS.ProcessEnv = process.env)
packages/pi-extension/src/recovery.ts:479
↓ 2 callersFunctioncodexAuthPath
()
packages/cli/src/index.ts:7940
↓ 2 callersFunctioncodexBillingUsage
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 callersFunctioncodexCavemanProviderToml
(gw: string, subscription = true)
packages/cli/src/index.ts:8045
↓ 2 callersFunctioncodexFixture
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 callersFunctioncodexHome
()
installer/install.js:948
↓ 2 callersFunctioncodexHookHash
(group)
packages/cli/tests/native-enable.runtime.mjs:726
↓ 2 callersFunctioncodexHookScript
(home)
installer/install.js:952
↓ 2 callersFunctioncodexNativeRouted
(lines: ReturnType<typeof codexTomlLines>)
packages/cli/src/index.ts:10236
↓ 2 callersFunctioncodexOwnEndpoint
(text: string, configPath: string)
packages/cli/src/index.ts:9078
↓ 2 callersFunctioncodexToolInput
(payload map[string]any)
proxy/internal/store/source_codex.go:236
↓ 2 callersFunctioncollectAnthropicCandidates
(body []byte, msg jsonSpan, recovered map[string]bool)
proxy/providers/anthropic/content_compress.go:304
↓ 2 callersFunctioncollectStringCandidate
( body []byte, span jsonSpan, out *[]spliceCandidate, allowForcedTOON bool, kind string, )
proxy/providers/anthropic/content_compress.go:362
↓ 2 callersFunctioncolumns
(originals []MiddlewareOriginal)
proxy/internal/store/middleware_postgres.go:731
↓ 2 callersFunctioncommit
(message)
tests/installer/agent-registry-scope.test.mjs:26
↓ 2 callersFunctioncommonPrefixLen
(a, b []T)
proxy/internal/gateway/prefix_monitor.go:429
↓ 2 callersFunctioncompactAXString
(v any)
engine/compressors/axtree.go:585
↓ 2 callersFunctioncompactHistoryPreview
(text string)
engine/pixel/history_anthropic.go:219
↓ 2 callersFunctioncompactNumber
(value: number)
packages/cli/src/learn-trends.ts:63
↓ 2 callersFunctioncompactionChurnSink
(sessions []compactionSession)
proxy/internal/store/detect_compaction.go:7
↓ 2 callersFunctioncomparableConfigTokens
(record AppliedFixRecord, cfg configScan)
proxy/internal/store/learn_outcomes.go:543
↓ 2 callersFunctioncompatNameFromPath
(path string)
proxy/internal/standalone/standalone.go:273
↓ 2 callersFunctioncompatUpstreamFor
(provider: string, compatUpstreams?: Readonly<Record<string, string>>)
packages/pi-extension/src/protocol.ts:172
↓ 2 callersFunctioncompatUpstreams
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 callersMethodcomplete
()
proxy/internal/translate/responses_stream.go:277
↓ 2 callersMethodcompleted
(self, call, result)
packages/middleware/python/caveman_middleware/llama_index.py:218
↓ 2 callersFunctioncomponentByKey
(score CaveScore, key string)
proxy/internal/store/trial_feature_test.go:872
↓ 2 callersFunctioncomposerBox
(ed)
extension/src/caveman.js:116
↓ 2 callersFunctioncompositeTwoLayers
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 callersFunctioncompress
(text, _opts)
src/mcp-servers/caveman-shrink/compress.js:160
↓ 2 callersMethodcompress
(input []byte, query string)
engine/compressors/tabular.go:86
↓ 2 callersMethodcompress
(input []byte, query string)
engine/compressors/text.go:47
↓ 2 callersMethodcompress
(input []byte, query string)
engine/compressors/searchresult.go:45
↓ 2 callersMethodcompress
(input []byte, query string)
engine/compressors/log.go:89
↓ 2 callersMethodcompress
(input []byte, query string)
engine/compressors/config.go:60
↓ 2 callersFunctioncompressDescription
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 callersFunctioncompressDescriptionsInPlace
(obj, fieldNames)
src/mcp-servers/caveman-shrink/compress.js:171
↓ 2 callersFunctioncompressListing
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 callersMethodcompressSchema
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 callersFunctioncompressWith
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 callersMethodcompressedSomething
compressedSomething guards against a scenario passing vacuously.
proxy/internal/gateway/cache_prefix_invariant_test.go:534
↓ 2 callersFunctioncondition
condition reproduces one legacy_conditions row of the parity fixture.
proxy/internal/middleware/protocol_v11_test.go:169
↓ 2 callersFunctionconfigChanges
(selection: ModuleSelection, only: ModuleId[] | undefined)
packages/cli/src/modules/apply.ts:174
↓ 2 callersFunctionconfigPendingPath
(configPath)
packages/cli/tests/qwen-wrap.runtime.mjs:185
↓ 2 callersFunctionconfigPendingPath
(configPath)
packages/cli/tests/kilo-wrap.runtime.mjs:109
↓ 2 callersFunctionconfigSinks
--- detectors -------------------------------------------------------------
proxy/internal/store/learn.go:449
↓ 2 callersFunctionconfigTokenCountWith
(counter enginetokens.Counter, text string)
proxy/internal/store/config_scan.go:204
↓ 2 callersFunctionconfigWriteTarget
()
packages/cli/src/index.ts:5242
↓ 2 callersFunctionconfiguredMode
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 callersFunctionconfigured_provider
()
plugins/caveman/skills/caveman-compress/scripts/compress.py:552
↓ 2 callersFunctionconfigured_provider
()
skills/caveman-compress/scripts/compress.py:552
↓ 2 callersFunctionconnectionTokens
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 callersMethodconsolidateRepositoryMaps
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 callersMethodconsume
(event turnEvent)
proxy/internal/store/session_source.go:120
↓ 2 callersFunctioncontainerProvider
containerProvider serves credentials that expire an hour after each fetch and counts fetches.
shared/platform/awscreds/awscreds_test.go:473
↓ 2 callersFunctioncontains
(blocks []providers.RewritableBlock, want string)
proxy/providers/gemini/recovery_exempt_test.go:28
↓ 2 callersFunctioncontainsDigit
(s string)
engine/pixel/factsheet.go:111
↓ 2 callersFunctionconversationWithSystem
(system string, userTexts ...string)
proxy/internal/gateway/cache_prefix_invariant_test.go:1343
↓ 2 callersFunctionconversionMath
(textEst: number, afterEst: number)
packages/cli/src/index.ts:2203
↓ 2 callersFunctioncopilotHome
()
installer/install.js:1125
↓ 2 callersFunctioncount
(n: number)
packages/cli/src/stats-cli.ts:99
↓ 2 callersFunctioncountCacheMarkers
(value any)
proxy/providers/bedrock/cache_points.go:458
↓ 2 callersFunctioncountJSONKey
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 callersMethodcountRequestProvenanceWhere
(column string, out map[string]int64, where string, args ...any)
proxy/internal/store/store.go:1149
↓ 2 callersFunctioncountTokensAnthropic
(capturedBody, { apiKey, baseUrl = "https://api.anthropic.com", fetchImpl = fetch } = {})
packages/subagent-tax/lib/tokens.mjs:31
↓ 2 callersFunctioncreateCavemanFetch
(options:FetchOptions)
packages/middleware/typescript/src/transport.ts:78
↓ 2 callersFunctioncreateProcessor
(options: CavemanMastraOptions, enforcedFinalStep: boolean, blocked: GateReason | null, isProtectedText: (text
packages/middleware/typescript/src/mastra.ts:141
↓ 2 callersFunctioncreateProxyAwareFetch
(baseFetch: typeof fetch, env: NodeJS.ProcessEnv = process.env)
packages/cli/src/proxy-fetch.ts:316
↓ 2 callersFunctioncredentialKey
credentialKey names the upstream credential without holding it.
proxy/internal/gateway/cache_warm.go:519
↓ 2 callersFunctioncredentialsFromJSON
(body []byte, source string)
shared/platform/awscreds/awscreds.go:618
↓ 2 callersFunctioncrossProviderSinks
(rec recurringResult, beh behaviorScan)
proxy/internal/store/learn.go:769
↓ 2 callersFunctioncurrentWeekName
(trends: LearnTrends)
packages/cli/src/learn-trends.ts:86
↓ 2 callersFunctioncursorConfigDir
(home)
installer/lib/cursor-native.js:31
↓ 2 callersFunctioncyclingDeployments
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 callersFunctiondataURI
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 callersFunctiondeadLoadSink
(deadTokens int, deadSkills []string, beh behaviorScan, turnsPerDay float64)
proxy/internal/store/learn.go:676
↓ 2 callersFunctiondeclaredCacheTTL
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 callersFunctiondecodeBoolObject
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 callersFunctiondecodeBytesGzip
(name string, src []byte)
engine/pixel/atlas.go:84
↓ 2 callersFunctiondecodeDataImageTest
(t *testing.T, uri string)
engine/pixel/transform_openai_test.go:407
↓ 2 callersFunctiondecodeForRewrite
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 callersFunctiondecodeJSONObjectFields
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 callersFunctiondecodeMCPTextPayload
(text string)
mcp/codemode/stdio_upstream.go:405
↓ 2 callersFunctiondecodePNGTest
(t *testing.T, pngBytes []byte)
engine/pixel/transform_openai_test.go:417
↓ 2 callersFunctiondecodeUniqueKeyring
(infos: ReceiptPublicKey[], label: string)
packages/cli/src/index.ts:22443
↓ 2 callersFunctiondeepSchema
deepSchema is an object schema nested depth levels deep, every level strict.
proxy/internal/translate/bench_test.go:174
↓ 2 callersFunctiondefaultRegistry
(counter tokens.Counter)
engine/engine.go:59
↓ 2 callersFunctiondeferredTool
(value any)
proxy/providers/anthropic/cache_breakpoints.go:175
← previousnext →3,001–3,100 of 12,853, ranked by callers