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
↓ 4 callers
Function
_policy_non_empty_str
(value: Any)
packages/sdk/python/caveman_cloud/core.py:2045
↓ 4 callers
Method
_protocol
(call_type)
packages/middleware/python/caveman_middleware/litellm.py:197
↓ 4 callers
Function
_rand_hex
(n_bytes: int)
packages/sdk/python/caveman_cloud/core.py:1593
↓ 4 callers
Method
_remember
Register one pending call; raises _Skip(invalid_scope|capacity) instead of dropping another call.
packages/middleware/python/caveman_middleware/litellm.py:110
↓ 4 callers
Method
_response
(self, content="compressed", finish_reason="stop")
tests/test_compress_safety.py:1161
↓ 4 callers
Method
_run
(self, blocks)
tests/test_compress_safety.py:1305
↓ 4 callers
Function
_signature_case
(name: str)
packages/sdk/python/tests/test_runtime_policy.py:166
↓ 4 callers
Function
_strict_non_negative_int
Accept JSON integers only; reject bools, floats, strings, and negatives.
packages/sdk/python/caveman_cloud/core.py:41
↓ 4 callers
Function
_unsigned_payload
(bundle: str = KILL_BUNDLE)
packages/sdk/python/tests/test_runtime_policy.py:103
↓ 4 callers
Function
_usage
(response)
packages/middleware/python/caveman_middleware/llama_index.py:286
↓ 4 callers
Method
acquire
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 callers
Method
add_warning
(self, msg)
plugins/caveman/skills/caveman-compress/scripts/validate.py:53
↓ 4 callers
Method
add_warning
(self, msg)
skills/caveman-compress/scripts/validate.py:53
↓ 4 callers
Method
advance
(d time.Duration)
shared/platform/awscreds/awscreds_test.go:33
↓ 4 callers
Function
agentRouteOverride
(agent: AgentProfile, args: string[])
packages/cli/src/index.ts:16226
↓ 4 callers
Function
agentShortName
(agent: AgentProfile)
packages/cli/src/index.ts:4187
↓ 4 callers
Function
ansi
(code: string, value: string)
packages/cli/src/learn-tui.ts:30
↓ 4 callers
Function
anthropicUsageFromChat
(usage chatUsage)
proxy/internal/translate/messages.go:245
↓ 4 callers
Function
appendFlag
(filePath, line)
src/hooks/caveman-config.js:489
↓ 4 callers
Function
appendImageURL
imageURLToken appends an image source as one URL string (a data URI for base64).
proxy/internal/translate/messages_in.go:140
↓ 4 callers
Function
appendPartsText
appendPartsText appends one string: the text tokens joined by newlines.
proxy/internal/translate/responses_in.go:116
↓ 4 callers
Function
appendUnique
(values []string, next string)
proxy/internal/store/trial_store.go:739
↓ 4 callers
Function
applyAutomatic
(t *testing.T, body string, meta providers.RequestMetadata, policy providers.TransformPolicy)
proxy/providers/anthropic/automatic_cache_test.go:19
↓ 4 callers
Function
assertComponentsOutsideRequestsRow
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 callers
Function
assertSchema
(name, value, label = name)
packages/shared/contracts/conformance/run.mjs:56
↓ 4 callers
Function
assertTOONRoundTrip
(t *testing.T, input, toon []byte)
engine/compressors/toon_test.go:129
↓ 4 callers
Method
at
(n int)
proxy/internal/gateway/raw_pin.go:379
↓ 4 callers
Function
atomicWriteRegular
(p, content, expectedStat)
installer/lib/openclaw.js:84
↓ 4 callers
Function
autoModelOffered
(provider: "anthropic" | "openai" = "anthropic")
packages/cli/src/index.ts:4325
↓ 4 callers
Function
automaticPolicy
(ids ...string)
proxy/providers/anthropic/automatic_cache_test.go:11
↓ 4 callers
Function
autopilotEnabled
()
packages/cli/src/learn-autopilot.ts:79
↓ 4 callers
Method
backoff
backoff pauses every warm on credential cred until until.
proxy/internal/gateway/cache_warm.go:211
↓ 4 callers
Function
backoffUntil
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 callers
Function
backup_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 callers
Function
backup_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 callers
Function
base
(port)
packages/subagent-tax/lib/harnesses.mjs:25
↓ 4 callers
Method
bedrock
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 callers
Function
bedrockHostKind
(host string)
proxy/providers/bedrock/routing.go:563
↓ 4 callers
Method
begin
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 callers
Function
benchUpstream
(stream bool)
proxy/internal/gateway/hotpath_bench_test.go:108
↓ 4 callers
Function
binariesBehindPin
()
packages/cli/src/index.ts:2974
↓ 4 callers
Function
binaryInstallFilename
(name: string, os: string = process.platform)
packages/cli/src/index.ts:2923
↓ 4 callers
Function
blockContains
(blocks []providers.RewritableBlock, want string)
proxy/providers/openai/recovery_exempt_test.go:25
↓ 4 callers
Function
blocksWithMarks
(count int, marked ...int)
proxy/providers/anthropic/breakpoint_plan_test.go:307
↓ 4 callers
Function
buildExperimentReport
(experiment Experiment, sessions []sessionOutcome, spend *LearnSpend)
proxy/internal/store/learn_experiment.go:251
↓ 4 callers
Function
buildLearnDigest
(plan LearnPlan)
proxy/internal/store/learn_digest.go:115
↓ 4 callers
Function
buildLearnReconcile
(billed map[string]int64, spend *LearnSpend, source string)
proxy/internal/store/learn_reconcile.go:195
↓ 4 callers
Function
buildLearnSavings
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 callers
Function
buildLearnTrends
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 callers
Function
buildLearnTuiModel
( plan: LearnPlan, options: { report?: string; diff?: LearnDiff } = {}, )
packages/cli/src/index.ts:20206
↓ 4 callers
Function
byteLength
(text: string)
packages/sdk/typescript/src/middleware/validate.ts:5
↓ 4 callers
Function
bytes
packages/shared/contracts/conformance/run.mjs:137
↓ 4 callers
Method
cacheEpochAllows
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 callers
Function
cacheStatusFor
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 callers
Function
cacheWarmCosts
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 callers
Function
cachedPrefix
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 callers
Method
call
(cfg settings, method, path string, body []byte, out any)
proxy/internal/cloudlink/events.go:279
↓ 4 callers
Method
call_tool
(self, name, arguments=None, cancellation_token=None, call_id=None)
packages/middleware/python/caveman_middleware/autogen.py:414
↓ 4 callers
Function
canonicalize
(value: unknown)
packages/cli/src/index.ts:22051
↓ 4 callers
Function
captureProxyServer
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 callers
Method
cavePlan
* 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 callers
Method
cave_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 callers
Function
ccrPath
(home string)
proxy/cmd/caveman-proxy/main.go:1147
↓ 4 callers
Method
chatSignature
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 callers
Function
chatgptRecord
(expires time.Time, needsLogin bool)
proxy/internal/pool/pool_test.go:53
↓ 4 callers
Function
check
(ok: boolean)
supabase/functions/cli-telemetry/ingest.ts:37
↓ 4 callers
Function
check
Failed checks for one output; empty means the case passed.
evals/score_fidelity.py:52
↓ 4 callers
Method
checkpoint
(self, messages: list[Any], options: dict[str, Any])
packages/sdk/python/caveman_cloud/core.py:1230
↓ 4 callers
Function
checksumSignatureBundle
(checksums, privateKeyPEM)
scripts/sign-binary-checksums.mjs:7
↓ 4 callers
Function
classifyTool
(tool *Tool)
proxy/internal/nativeruntime/runtime.go:1422
↓ 4 callers
Function
claudeID
claudeID is model from "claude-" on, lower case, dots as dashes; "" when it names no Claude model.
proxy/internal/translate/effort.go:146
↓ 4 callers
Function
claudeMDSectionSink
(snap *ConfigSnapshot, scope string, sessions []sessionTextObservation)
proxy/internal/store/detect_sections.go:56
↓ 4 callers
Function
claudeProfileGone
(operation: NativeJournal["operations"][number])
packages/cli/src/index.ts:11341
↓ 4 callers
Function
claudeProfileRoots
()
packages/cli/src/index.ts:11306
↓ 4 callers
Function
claudeSettingsPath
()
packages/cli/src/index.ts:18211
↓ 4 callers
Function
claudeThinking
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 callers
Function
clientVersion
(client: unknown)
packages/middleware/typescript/src/versions.ts:48
↓ 4 callers
Function
cloneMap
(in map[string]any)
engine/pixel/transform_anthropic.go:1452
↓ 4 callers
Function
cloneObject
(obj Object)
engine/ccr/store_wasm.go:112
↓ 4 callers
Method
closeGate
(ctx: ExtensionContext)
packages/pi-extension/src/provider.ts:51
↓ 4 callers
Function
codexGatewayBase
(gw: string, subscription: boolean)
packages/cli/src/index.ts:7803
↓ 4 callers
Function
codexHooksPath
()
packages/cli/src/index.ts:18217
↓ 4 callers
Function
codexNativeTables
(lines: ReturnType<typeof codexTomlLines>, tablesBlock: string)
packages/cli/src/index.ts:9984
↓ 4 callers
Function
codexRecoveryEnv
()
packages/cli/src/index.ts:7822
↓ 4 callers
Function
collectImageDataFromAny
(v any)
engine/pixel/transform_anthropic_test.go:402
↓ 4 callers
Function
collectStringCandidate
(body []byte, span jsonSpan, out *[]spliceCandidate, allowForcedTOON bool)
proxy/providers/openai/content_compress.go:428
↓ 4 callers
Function
compileOrgRules
compileOrgRules validates and canonically orders the tenant's rules, and returns a fingerprint of them for RuleSetHash.
shared/platform/redact/payload.go:529
↓ 4 callers
Method
compress
* 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 callers
Function
compressionSavingsUSD
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 callers
Function
configured_model
(default_model: Optional[str] = None)
plugins/caveman/skills/caveman-compress/scripts/compress.py:555
↓ 4 callers
Function
configured_model
(default_model: Optional[str] = None)
skills/caveman-compress/scripts/compress.py:555
↓ 4 callers
Function
connectedGatewayAPIKey
()
packages/cli/src/index.ts:22956
↓ 4 callers
Function
containerCredentialStub
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 callers
Function
contains
(values []cacheguard.Warning, wanted cacheguard.Warning)
shared/platform/cacheguard/cacheguard_test.go:188
↓ 4 callers
Function
containsCaveat
(caveats []string, needle string)
proxy/internal/store/learn_v2_p0_test.go:386
↓ 4 callers
Function
count
(n int)
proxy/internal/cloudlink/events.go:318
↓ 4 callers
Function
countBreakpoints
(t *testing.T, body []byte)
proxy/providers/anthropic/breakpoint_plan_test.go:49
↓ 4 callers
Function
countStatsJSON
(t *testing.T, body []byte)
proxy/internal/gateway/stats_accounting_test.go:28
↓ 4 callers
Function
csvFixture
()
engine/compressors/tabular_test.go:17
↓ 4 callers
Function
currentDurableCaveman
()
packages/cli/src/index.ts:4078
← previous
next →
1,301–1,400 of 12,391, ranked by callers