MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 4 callersFunction_policy_non_empty_str
(value: Any)
packages/sdk/python/caveman_cloud/core.py:2045
↓ 4 callersMethod_protocol
(call_type)
packages/middleware/python/caveman_middleware/litellm.py:197
↓ 4 callersFunction_rand_hex
(n_bytes: int)
packages/sdk/python/caveman_cloud/core.py:1593
↓ 4 callersMethod_remember
Register one pending call; raises _Skip(invalid_scope|capacity) instead of dropping another call.
packages/middleware/python/caveman_middleware/litellm.py:110
↓ 4 callersMethod_response
(self, content="compressed", finish_reason="stop")
tests/test_compress_safety.py:1161
↓ 4 callersMethod_run
(self, blocks)
tests/test_compress_safety.py:1305
↓ 4 callersFunction_signature_case
(name: str)
packages/sdk/python/tests/test_runtime_policy.py:166
↓ 4 callersFunction_strict_non_negative_int
Accept JSON integers only; reject bools, floats, strings, and negatives.
packages/sdk/python/caveman_cloud/core.py:41
↓ 4 callersFunction_unsigned_payload
(bundle: str = KILL_BUNDLE)
packages/sdk/python/tests/test_runtime_policy.py:103
↓ 4 callersFunction_usage
(response)
packages/middleware/python/caveman_middleware/llama_index.py:286
↓ 4 callersMethodacquire
acquire waits for one of principal's slots until ctx ends, and returns its release. ponytail: every release wakes every waiter; a per-principal wait q
proxy/internal/middleware/metrics.go:249
↓ 4 callersMethodadd_warning
(self, msg)
plugins/caveman/skills/caveman-compress/scripts/validate.py:53
↓ 4 callersMethodadd_warning
(self, msg)
skills/caveman-compress/scripts/validate.py:53
↓ 4 callersMethodadvance
(d time.Duration)
shared/platform/awscreds/awscreds_test.go:33
↓ 4 callersFunctionagentRouteOverride
(agent: AgentProfile, args: string[])
packages/cli/src/index.ts:16226
↓ 4 callersFunctionagentShortName
(agent: AgentProfile)
packages/cli/src/index.ts:4187
↓ 4 callersFunctionansi
(code: string, value: string)
packages/cli/src/learn-tui.ts:30
↓ 4 callersFunctionanthropicUsageFromChat
(usage chatUsage)
proxy/internal/translate/messages.go:245
↓ 4 callersFunctionappendFlag
(filePath, line)
src/hooks/caveman-config.js:489
↓ 4 callersFunctionappendImageURL
imageURLToken appends an image source as one URL string (a data URI for base64).
proxy/internal/translate/messages_in.go:140
↓ 4 callersFunctionappendPartsText
appendPartsText appends one string: the text tokens joined by newlines.
proxy/internal/translate/responses_in.go:116
↓ 4 callersFunctionappendUnique
(values []string, next string)
proxy/internal/store/trial_store.go:739
↓ 4 callersFunctionapplyAutomatic
(t *testing.T, body string, meta providers.RequestMetadata, policy providers.TransformPolicy)
proxy/providers/anthropic/automatic_cache_test.go:19
↓ 4 callersFunctionassertComponentsOutsideRequestsRow
assertComponentsOutsideRequestsRow checks the storage shape for rows written by the current proxy: no digest bytes in the requests row, the exact list
proxy/internal/store/cache_components_test.go:126
↓ 4 callersFunctionassertSchema
(name, value, label = name)
packages/shared/contracts/conformance/run.mjs:56
↓ 4 callersFunctionassertTOONRoundTrip
(t *testing.T, input, toon []byte)
engine/compressors/toon_test.go:129
↓ 4 callersMethodat
(n int)
proxy/internal/gateway/raw_pin.go:379
↓ 4 callersFunctionatomicWriteRegular
(p, content, expectedStat)
installer/lib/openclaw.js:84
↓ 4 callersFunctionautoModelOffered
(provider: "anthropic" | "openai" = "anthropic")
packages/cli/src/index.ts:4325
↓ 4 callersFunctionautomaticPolicy
(ids ...string)
proxy/providers/anthropic/automatic_cache_test.go:11
↓ 4 callersFunctionautopilotEnabled
()
packages/cli/src/learn-autopilot.ts:79
↓ 4 callersMethodbackoff
backoff pauses every warm on credential cred until until.
proxy/internal/gateway/cache_warm.go:211
↓ 4 callersFunctionbackoffUntil
backoffUntil is how long a 429 pauses warming on its credential: the response's Retry-After, else its anthropic-ratelimit-unified-reset (a subscriptio
proxy/internal/gateway/cache_warm.go:538
↓ 4 callersFunctionbackup_dir_for
Out-of-tree backup dir for filepath — kept outside the source tree so skill auto-loaders don't re-ingest `.original.md` backups as live files.
plugins/caveman/skills/caveman-compress/scripts/compress.py:139
↓ 4 callersFunctionbackup_dir_for
Out-of-tree backup dir for filepath — kept outside the source tree so skill auto-loaders don't re-ingest `.original.md` backups as live files.
skills/caveman-compress/scripts/compress.py:139
↓ 4 callersFunctionbase
(port)
packages/subagent-tax/lib/harnesses.mjs:25
↓ 4 callersMethodbedrock
Describe the first-party Bedrock gateway surface. Runtime is the default. Mantle is an explicit opt-in descriptor. This method perfor
packages/sdk/python/caveman_cloud/core.py:606
↓ 4 callersFunctionbedrockHostKind
(host string)
proxy/providers/bedrock/routing.go:563
↓ 4 callersMethodbegin
begin marks a real request of stream key and stops the stream's warming. A session's request leaves its subagents' warms alone: a subagent can still b
proxy/internal/gateway/cache_warm.go:164
↓ 4 callersFunctionbenchUpstream
(stream bool)
proxy/internal/gateway/hotpath_bench_test.go:108
↓ 4 callersFunctionbinariesBehindPin
()
packages/cli/src/index.ts:2974
↓ 4 callersFunctionbinaryInstallFilename
(name: string, os: string = process.platform)
packages/cli/src/index.ts:2923
↓ 4 callersFunctionblockContains
(blocks []providers.RewritableBlock, want string)
proxy/providers/openai/recovery_exempt_test.go:25
↓ 4 callersFunctionblocksWithMarks
(count int, marked ...int)
proxy/providers/anthropic/breakpoint_plan_test.go:307
↓ 4 callersFunctionbuildExperimentReport
(experiment Experiment, sessions []sessionOutcome, spend *LearnSpend)
proxy/internal/store/learn_experiment.go:251
↓ 4 callersFunctionbuildLearnDigest
(plan LearnPlan)
proxy/internal/store/learn_digest.go:115
↓ 4 callersFunctionbuildLearnReconcile
(billed map[string]int64, spend *LearnSpend, source string)
proxy/internal/store/learn_reconcile.go:195
↓ 4 callersFunctionbuildLearnSavings
buildLearnSavings turns confirmed rows into the attributed ledger. Rows whose verdict is not a measured improvement still appear — a regression that d
proxy/internal/store/learn_attribution.go:249
↓ 4 callersFunctionbuildLearnTrends
buildLearnTrends buckets sessions by the UTC ISO week they started in. Nil when no dated session falls inside the bucketed weeks, or when the window h
proxy/internal/store/learn_trends.go:275
↓ 4 callersFunctionbuildLearnTuiModel
( plan: LearnPlan, options: { report?: string; diff?: LearnDiff } = {}, )
packages/cli/src/index.ts:20206
↓ 4 callersFunctionbyteLength
(text: string)
packages/sdk/typescript/src/middleware/validate.ts:5
↓ 4 callersFunctionbytes
packages/shared/contracts/conformance/run.mjs:137
↓ 4 callersMethodcacheEpochAllows
cacheEpochAllows binds framework-frozen prefix identity to gateway transform authorization without putting prompt bytes in headers or telemetry. It de
proxy/internal/gateway/proxy.go:1347
↓ 4 callersFunctioncacheStatusFor
cacheStatusFor maps observed usage to a cache_status. It only asserts hit/miss when the provider actually reported cache telemetry; otherwise it stays
proxy/providers/adapter.go:1743
↓ 4 callersFunctioncacheWarmCosts
cacheWarmCosts is what one warm costs and what one avoided miss is worth, at the catalog list price of the model sent: P = cache read + cache write to
proxy/internal/gateway/cache_warm.go:476
↓ 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:22051
↓ 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:11341
↓ 4 callersFunctionclaudeProfileRoots
()
packages/cli/src/index.ts:11306
↓ 4 callersFunctionclaudeSettingsPath
()
packages/cli/src/index.ts:18211
↓ 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:7803
↓ 4 callersFunctioncodexHooksPath
()
packages/cli/src/index.ts:18217
↓ 4 callersFunctioncodexNativeTables
(lines: ReturnType<typeof codexTomlLines>, tablesBlock: string)
packages/cli/src/index.ts:9984
↓ 4 callersFunctioncodexRecoveryEnv
()
packages/cli/src/index.ts:7822
↓ 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:428
↓ 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:2236
↓ 4 callersFunctionconfigured_model
(default_model: Optional[str] = None)
plugins/caveman/skills/caveman-compress/scripts/compress.py:555
↓ 4 callersFunctionconfigured_model
(default_model: Optional[str] = None)
skills/caveman-compress/scripts/compress.py:555
↓ 4 callersFunctionconnectedGatewayAPIKey
()
packages/cli/src/index.ts:22956
↓ 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:4078
← previousnext →1,301–1,400 of 12,391, ranked by callers