MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 4 callersFunctioncachedPrefix
cachedPrefix splits a request into the components a provider prompt cache keys on, plus how many of them this request caches. Adapters that know their
proxy/internal/gateway/raw_pin.go:318
↓ 4 callersMethodcall
(cfg settings, method, path string, body []byte, out any)
proxy/internal/cloudlink/events.go:279
↓ 4 callersMethodcall_tool
(self, name, arguments=None, cancellation_token=None, call_id=None)
packages/middleware/python/caveman_middleware/autogen.py:414
↓ 4 callersFunctioncanonicalize
(value: unknown)
packages/cli/src/index.ts:22297
↓ 4 callersFunctioncaptureProxyServer
captureProxyServer is the standard proxy wiring these tests drive through the real handler: one adapter, a socket-free upstream, no compressor.
proxy/internal/gateway/capture_test.go:69
↓ 4 callersMethodcavePlan
* Read this project's Cave Plan machine-readably (`GET /sdk/v1/cave-plan`), * authed by the project key's `plan:read` scope. Returns the project-sc
packages/sdk/typescript/src/index.ts:598
↓ 4 callersMethodcave_plan
Read this project's Cave Plan machine-readably (``GET /sdk/v1/cave-plan``). Authed by the project key's ``plan:read`` scope. Returns the
packages/sdk/python/caveman_cloud/core.py:863
↓ 4 callersFunctionccrPath
(home string)
proxy/cmd/caveman-proxy/main.go:1147
↓ 4 callersMethodchatSignature
chatSignature signs the thinking a chat route's reasoning becomes for a Messages caller: "caveman:" (so Anthropic never sees it), naming the route and
proxy/internal/translate/translate.go:76
↓ 4 callersFunctionchatgptRecord
(expires time.Time, needsLogin bool)
proxy/internal/pool/pool_test.go:53
↓ 4 callersFunctioncheck
(ok: boolean)
supabase/functions/cli-telemetry/ingest.ts:37
↓ 4 callersFunctioncheck
Failed checks for one output; empty means the case passed.
evals/score_fidelity.py:52
↓ 4 callersMethodcheckpoint
(self, messages: list[Any], options: dict[str, Any])
packages/sdk/python/caveman_cloud/core.py:1230
↓ 4 callersFunctionchecksumSignatureBundle
(checksums, privateKeyPEM)
scripts/sign-binary-checksums.mjs:7
↓ 4 callersFunctionclassifyTool
(tool *Tool)
proxy/internal/nativeruntime/runtime.go:1422
↓ 4 callersFunctionclaudeID
claudeID is model from "claude-" on, lower case, dots as dashes; "" when it names no Claude model.
proxy/internal/translate/effort.go:146
↓ 4 callersFunctionclaudeMDSectionSink
(snap *ConfigSnapshot, scope string, sessions []sessionTextObservation)
proxy/internal/store/detect_sections.go:56
↓ 4 callersFunctionclaudeProfileGone
(operation: NativeJournal["operations"][number])
packages/cli/src/index.ts:11582
↓ 4 callersFunctionclaudeProfileRoots
()
packages/cli/src/index.ts:11547
↓ 4 callersFunctionclaudeSettingsPath
()
packages/cli/src/index.ts:18457
↓ 4 callersFunctionclaudeThinking
claudeThinking is the thinking shapes and effort levels a Claude model takes, read off its id in any spelling (Anthropic's, OpenRouter's "anthropic/cl
proxy/internal/translate/effort.go:130
↓ 4 callersFunctionclientVersion
(client: unknown)
packages/middleware/typescript/src/versions.ts:48
↓ 4 callersFunctioncloneMap
(in map[string]any)
engine/pixel/transform_anthropic.go:1452
↓ 4 callersFunctioncloneObject
(obj Object)
engine/ccr/store_wasm.go:112
↓ 4 callersMethodcloseGate
(ctx: ExtensionContext)
packages/pi-extension/src/provider.ts:51
↓ 4 callersFunctioncodexGatewayBase
(gw: string, subscription: boolean)
packages/cli/src/index.ts:8021
↓ 4 callersFunctioncodexHooksPath
()
packages/cli/src/index.ts:18463
↓ 4 callersFunctioncodexNativeTables
(lines: ReturnType<typeof codexTomlLines>, tablesBlock: string)
packages/cli/src/index.ts:10225
↓ 4 callersFunctioncodexRecoveryEnv
()
packages/cli/src/index.ts:8040
↓ 4 callersFunctioncollectImageDataFromAny
(v any)
engine/pixel/transform_anthropic_test.go:402
↓ 4 callersFunctioncollectStringCandidate
(body []byte, span jsonSpan, out *[]spliceCandidate, allowForcedTOON bool)
proxy/providers/openai/content_compress.go:442
↓ 4 callersFunctioncompileOrgRules
compileOrgRules validates and canonically orders the tenant's rules, and returns a fingerprint of them for RuleSetHash.
shared/platform/redact/payload.go:529
↓ 4 callersMethodcompress
* Compress a payload through the Engine (`POST /sdk/v1/compress`), returning * the Engine's report. The SDK is **not** the compressor — it delegate
packages/sdk/typescript/src/index.ts:552
↓ 4 callersFunctioncompressionSavingsUSD
compressionSavingsUSD retains the legacy helper contract while pricing signed deltas with observed cache proportions. New records use whole-request co
proxy/internal/gateway/proxy.go:2414
↓ 4 callersFunctionconnectedGatewayAPIKey
()
packages/cli/src/index.ts:23202
↓ 4 callersFunctioncontainerCredentialStub
containerCredentialStub plays the ECS task-role endpoint: the shape a proxy sees on Fargate through AWS_CONTAINER_CREDENTIALS_FULL_URI. Loopback http
proxy/internal/standalone/bedrock_chain_test.go:18
↓ 4 callersFunctioncontains
(values []cacheguard.Warning, wanted cacheguard.Warning)
shared/platform/cacheguard/cacheguard_test.go:188
↓ 4 callersFunctioncontainsCaveat
(caveats []string, needle string)
proxy/internal/store/learn_v2_p0_test.go:386
↓ 4 callersFunctioncount
(n int)
proxy/internal/cloudlink/events.go:318
↓ 4 callersFunctioncountBreakpoints
(t *testing.T, body []byte)
proxy/providers/anthropic/breakpoint_plan_test.go:49
↓ 4 callersFunctioncountStatsJSON
(t *testing.T, body []byte)
proxy/internal/gateway/stats_accounting_test.go:28
↓ 4 callersFunctioncsvFixture
()
engine/compressors/tabular_test.go:17
↓ 4 callersFunctioncurrentDurableCaveman
()
packages/cli/src/index.ts:4087
↓ 4 callersFunctiondbPath
(home string)
proxy/cmd/caveman-proxy/main.go:1143
↓ 4 callersFunctiondecodeCachePointBody
(t *testing.T, body []byte)
proxy/providers/bedrock/cache_points_test.go:42
↓ 4 callersFunctiondecodeJSONString
(raw []byte)
proxy/providers/anthropic/splice.go:190
↓ 4 callersFunctiondecodeJSONString
(raw []byte)
proxy/providers/openai/content_compress.go:634
↓ 4 callersMethoddelta
(delta map[string]any)
proxy/internal/translate/messages_stream.go:380
↓ 4 callersFunctiondestination
(root, relativePath)
installer/lib/owned-install.js:30
↓ 4 callersMethoddialect
()
proxy/internal/translate/translate.go:58
↓ 4 callersFunctiondisableNativeAgent
(target: NativeAgent, { quiet = false, allClaudeProfiles = false, optOut = true }: { quiet?: boolean; allClaud
packages/cli/src/index.ts:11743
↓ 4 callersFunctiondraw
()
packages/cli/src/modules/onboard.ts:592
↓ 4 callersFunctiondrive
()
packages/middleware/python/tests/test_behavior.py:229
↓ 4 callersFunctiondropParams
(fields map[string]json.RawMessage, opts Options)
proxy/internal/translate/translate.go:303
↓ 4 callersFunctiondumbzoneSink
(beh behaviorScan)
proxy/internal/store/learn.go:624
↓ 4 callersFunctiondurableAtomicWriteFile
(path: string, bytes: Buffer, mode = 0o600)
packages/cli/src/index.ts:8844
↓ 4 callersFunctiondurableCavemen
(withPrivate = true)
packages/cli/src/index.ts:4066
↓ 4 callersFunctioneachChatPart
eachChatPart calls fn with each part of a chat content value (a string is one text part).
proxy/internal/translate/chat_in.go:51
↓ 4 callersFunctioneditArray
editArray returns arr with the elements edit changes: a replacement, or drop. It copies nothing and returns arr itself when edit changes none or arr d
proxy/internal/translate/jsonfast.go:541
↓ 4 callersFunctionelidableSegment
elidableSegment is long enough that the engine elides it (which RequiresCCR), so compressing it reaches engine.store.Put — the write that fails on a c
proxy/internal/standalone/compressor_error_log_test.go:16
↓ 4 callersFunctionelidedBytesFor
elidedBytesFor returns the run size that makes summaryBudget yield exactly want, so budget-pressure tests state the budget they mean instead of a magi
engine/compressors/invariants_test.go:14
↓ 4 callersFunctionenabled
()
proxy/providers/gemini/explicit_cache_test.go:22
↓ 4 callersFunctionencodeThinking
(blocks []json.RawMessage)
proxy/internal/translate/responses.go:303
↓ 4 callersFunctionendpointKindForPath
(path string)
proxy/providers/bedrock/routing.go:216
↓ 4 callersMethodensure
()
packages/pi-extension/src/recovery.ts:58
↓ 4 callersFunctionenvTruthy
(v: string | undefined)
packages/cli/src/index.ts:964
↓ 4 callersFunctionerror
(code, status, retry_after=None)
packages/sdk/python/tests/test_middleware_v1_1.py:112
↓ 4 callersFunctionevalGeminiProfitability
(model, mediaResolution, text string, cols, imageCountCap, numCols int, charsPerToken, priorWarmTokens, priorW
engine/pixel/transform_gemini.go:1015
↓ 4 callersFunctionevidenceByRequest
(t *testing.T, s *Store)
proxy/internal/store/cache_components_test.go:108
↓ 4 callersFunctionexchange
exchange runs one connection through serveConn to completion: the request (nil sends nothing), then whatever the server answers before it closes.
proxy/internal/nativeruntime/drop_log_test.go:56
↓ 4 callersFunctionexecPortableIgnore
(command: string, args: string[])
packages/cli/src/index.ts:17151
↓ 4 callersMethodexpand
Reverse a checkpoint ``source_ref`` back into the original context. GETs ``/sdk/v1/checkpoints/{source_ref}/expand``; the gateway returns the
packages/sdk/python/caveman_cloud/core.py:1235
↓ 4 callersFunctionexpectArray
(value, field)
packages/subagent-tax/lib/analyze.mjs:18
↓ 4 callersFunctionextendsRange
extendsRange reports whether components starts with prefix[:n].
proxy/internal/gateway/cache_prefix_invariant_test.go:91
↓ 4 callersFunctionexternalProblem
(def: ModuleDef, bin: string | null, status: Record<string, boolean> | undefined)
packages/cli/src/modules/apply.ts:283
↓ 4 callersFunctionextractCompressionQuery
extractCompressionQuery returns the latest human text from a provider request. Tool results are deliberately skipped: they are the payload being compr
proxy/internal/gateway/compression_query.go:18
↓ 4 callersFunctionfanoutKey
fanoutKey keys a fresh child's shared prefix: its parent session, the upstream and model, and the request's tools and system prompt (Messages system,
proxy/internal/gateway/route_cache.go:282
↓ 4 callersMethodfeed
(self, chunk)
packages/middleware/python/caveman_middleware/_usage.py:46
↓ 4 callersMethodfeed
(self, chunk)
packages/middleware/python/caveman_middleware/google.py:398
↓ 4 callersFunctionfetch
(input: string | URL | Request, init: RequestInit = {})
packages/sdk/typescript/src/middleware/transport.ts:65
↓ 4 callersFunctionfind
(id: string | undefined)
packages/cli/src/modules/provider-logins.ts:151
↓ 4 callersMethodfinish
(self)
packages/middleware/python/caveman_middleware/_usage.py:81
↓ 4 callersMethodfinish
(self, event, measured=None)
packages/middleware/python/caveman_middleware/crewai.py:123
↓ 4 callersMethodfinish
(self, event, response=None)
packages/middleware/python/caveman_middleware/agno.py:117
↓ 4 callersFunctionfiniteNonNegative
(v float64)
shared/platform/cost/cost.go:153
↓ 4 callersFunctionfiniteNumber
(value: unknown)
packages/cli/src/index.ts:22775
↓ 4 callersFunctionfiniteNumber
(value: unknown)
packages/sdk/typescript/src/index.ts:1402
↓ 4 callersFunctionfirst
()
packages/sdk/python/tests/test_tool_events.py:158
↓ 4 callersFunctionfirstPositional
(args []string)
proxy/cmd/caveman-proxy/main.go:1250
↓ 4 callersFunctionfirstRunExperience
(opts: { forced?: boolean } = {})
packages/cli/src/index.ts:6231
↓ 4 callersFunctionfixture
({ opencodeVersion = "opencode 1.0.0", opencode2Version = null } = {})
packages/cli/tests/native-enable.runtime.mjs:16
↓ 4 callersMethodflush
flush writes the open assistant message and any parts tool outputs left.
proxy/internal/translate/responses_in.go:680
↓ 4 callersFunctionflushWriter
(w io.Writer)
proxy/internal/translate/chat_stream.go:86
↓ 4 callersFunctionfmt
(n)
src/hooks/caveman-stats.js:345
↓ 4 callersFunctionfmtMoney
(value: number, currency: string)
packages/cli/src/index.ts:20918
↓ 4 callersFunctionforceWalkListing
forceWalkListing removes the git listing so a test provably exercises the filesystem walk, instead of depending on TMPDIR not sitting in a checkout.
proxy/internal/repointel/index_test.go:113
↓ 4 callersFunctionframework_state
``supported``; ``unsupported`` when a readable version is outside its pin; ``unverified`` when unreadable.
packages/middleware/python/caveman_middleware/_versions.py:74
↓ 4 callersFunctiongate
(client:OpenAI,options:OpenAIOptions)
packages/middleware/typescript/src/openai.ts:30
↓ 4 callersFunctiongatewayRootObjectSpan
(body []byte)
proxy/internal/gateway/retrieve_tool.go:210
↓ 4 callersFunctiongptTextTokens
(text string)
engine/pixel/transform_openai.go:471
← previousnext →1,401–1,500 of 12,853, ranked by callers