Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
7,561 in github.com/JuliusBrussee/caveman
⨍
Functions
7,561
◇
Types & classes
842
↓ 4 callers
Function
NormalizeTerms
NormalizeTerms bounds query metadata before it can enter CCR or ranking.
proxy/internal/repointel/index.go:444
↓ 4 callers
Function
OpenAIVisionTokens
(model string, w, h int)
engine/pixel/gpt_profiles.go:165
↓ 4 callers
Method
ParseCountTokens
(response []byte)
proxy/providers/adapter.go:341
↓ 4 callers
Function
Probe
Probe proves the operations production retention needs instead of accepting a syntactically valid but unusable bucket configuration. The random probe
shared/platform/objectstore/objectstore.go:229
↓ 4 callers
Method
Probe
Probe verifies live key access without persisting tenant data.
shared/platform/kms/kms.go:317
↓ 4 callers
Method
Read
(p []byte)
proxy/internal/gateway/chatgpt.go:349
↓ 4 callers
Method
RecordPayload
(label, requestID, traceID string, body []byte)
proxy/internal/gateway/server.go:75
↓ 4 callers
Function
Replace
(body []byte, candidates []Candidate, replacements [][]byte)
proxy/providers/jsonsplice/jsonsplice.go:103
↓ 4 callers
Method
Resolve
(provider string, r *http.Request)
proxy/internal/standalone/standalone.go:49
↓ 4 callers
Function
ResolveEnvironmentSecret
ResolveEnvironmentSecret loads a boot-time secret. In production plaintext environment variables are rejected: operators must provide a base64-encoded
shared/platform/secretbox/secretbox.go:166
↓ 4 callers
Function
RunCorpus
RunCorpus evaluates one validated public corpus across provider compilers.
cacheengine/cachebench/corpus.go:437
↓ 4 callers
Function
RunManifestWithQuality
RunManifestWithQuality is RunManifest plus the LLM-in-the-loop quality layer. The runner is injected so CI can use a deterministic local runner while
engine/evals/harness.go:188
↓ 4 callers
Method
Send
Send authenticates and sends one bounded provider request without retry.
cacheengine/cachebench/replay_http.go:119
↓ 4 callers
Method
Shutdown
Shutdown closes the attached browser process. Ordinary Close only releases this driver context; direct CLI mode deliberately leaves its detached Chrom
browse/cdp.go:238
↓ 4 callers
Function
SocketPath
SocketPath returns a per-install named-pipe path shared with Node adapters.
proxy/internal/nativeruntime/server_windows.go:20
↓ 4 callers
Function
SocketPath
SocketPath returns the user-local normalized hook socket. Host adapters never choose this path, preventing one integration from impersonating another
proxy/internal/nativeruntime/server_unix.go:18
↓ 4 callers
Function
SplitLineNumberedListing
SplitLineNumberedListing reports whether input is a line-numbered file listing. On success it returns the source text with gutters removed and the lin
engine/compressors/code_listing.go:36
↓ 4 callers
Method
StartTrial
(trialID, agentSlug, command string)
proxy/internal/store/trial_store.go:59
↓ 4 callers
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/server.go:88
↓ 4 callers
Method
Summary
Summary aggregates the in-memory recoveries into totals + per-type buckets.
engine/ccr/store_wasm.go:217
↓ 4 callers
Function
_policy_non_empty_str
(value: Any)
packages/sdk/python/caveman_cloud/core.py:2012
↓ 4 callers
Function
_rand_hex
(n_bytes: int)
packages/sdk/python/caveman_cloud/core.py:1571
↓ 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:19
↓ 4 callers
Function
_unsigned_payload
(bundle: str = KILL_BUNDLE)
packages/sdk/python/tests/test_runtime_policy.py:103
↓ 4 callers
Method
add_error
(self, msg)
plugins/caveman/skills/caveman-compress/scripts/validate.py:22
↓ 4 callers
Method
add_error
(self, msg)
skills/caveman-compress/scripts/validate.py:22
↓ 4 callers
Method
add_warning
(self, msg)
plugins/caveman/skills/caveman-compress/scripts/validate.py:26
↓ 4 callers
Method
add_warning
(self, msg)
skills/caveman-compress/scripts/validate.py:26
↓ 4 callers
Function
ansi
(code: string, value: string)
packages/cli/src/learn-tui.ts:27
↓ 4 callers
Function
anthropicConvo
(n int, chars int)
engine/pixel/history_anthropic_test.go:103
↓ 4 callers
Function
appendUnique
(values []string, next string)
proxy/internal/store/trial_store.go:737
↓ 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
assertStrings
(t *testing.T, name string, got, want []string)
rewriter/gate_test.go:700
↓ 4 callers
Function
assertTOONRoundTrip
(t *testing.T, input, toon []byte)
engine/compressors/toon_test.go:129
↓ 4 callers
Function
atomicWriteRegular
(p, content, expectedStat)
bin/lib/openclaw.js:80
↓ 4 callers
Function
automaticPolicy
(ids ...string)
proxy/providers/anthropic/automatic_cache_test.go:11
↓ 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:584
↓ 4 callers
Function
bedrockHostKind
(host string)
proxy/providers/bedrock/routing.go:543
↓ 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
Method
build
(input: { runId: string; agentId: string; stopReason: RunStopReason; meter: BudgetMeter | unde
packages/agent/src/budget.ts:622
↓ 4 callers
Function
buildAdapters
buildAdapters constructs the provider adapters. Anthropic, OpenAI, and Gemini always get sensible public defaults so a bare `caveman start` works. Bed
proxy/internal/standalone/standalone.go:270
↓ 4 callers
Function
buildChain
buildChain appends rows the way the two writers do: prev = last row_hash, seq+1.
shared/platform/proposalrun/proposalrun_test.go:13
↓ 4 callers
Function
buildRuntimeControlEnv
()
packages/agent/src/runtime.ts:2913
↓ 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:1430
↓ 4 callers
Function
callCeilingFor
( selected: Model<Api>, systemPrompt: string, messages: readonly AgentMessage[], tools: unknown, out
packages/agent/src/runtime.ts:4094
↓ 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
Function
captureSpawn
(cmd, args)
bin/install.js:432
↓ 4 callers
Function
caveHome
()
packages/cli/src/index.ts:14532
↓ 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:841
↓ 4 callers
Method
checkpoint
(self, messages: list[Any], options: dict[str, Any])
packages/sdk/python/caveman_cloud/core.py:1208
↓ 4 callers
Function
classifyTool
(tool *Tool)
proxy/internal/nativeruntime/runtime.go:1225
↓ 4 callers
Method
click
(ctx context.Context, x, y float64)
browse/cdp.go:353
↓ 4 callers
Function
cloneMap
(in map[string]any)
engine/pixel/transform_anthropic.go:1442
↓ 4 callers
Function
cloneObject
(obj Object)
engine/ccr/store_wasm.go:109
↓ 4 callers
Function
collectImageDataFromAny
(v any)
engine/pixel/transform_anthropic_test.go:402
↓ 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
Function
connectedGatewayAPIKey
()
packages/cli/src/index.ts:14427
↓ 4 callers
Function
contains
(values []cacheguard.Warning, wanted cacheguard.Warning)
shared/platform/cacheguard/cacheguard_test.go:188
↓ 4 callers
Function
containsType
(objects []ccr.Object, objectType ccr.ObjectType)
proxy/internal/nativeruntime/runtime_test.go:1207
↓ 4 callers
Function
contextIRSHA256
(contextIR: ContextIR)
packages/agent/src/build.ts:568
↓ 4 callers
Function
countBreakpoints
(t *testing.T, body []byte)
proxy/providers/anthropic/breakpoint_plan_test.go:49
↓ 4 callers
Function
createConversation
()
packages/agent/src/runtime.ts:288
↓ 4 callers
Function
csvFixture
()
engine/compressors/tabular_test.go:15
↓ 4 callers
Function
dbPath
(home string)
proxy/cmd/caveman-proxy/main.go:722
↓ 4 callers
Function
destination
(root, relativePath)
bin/lib/owned-install.js:30
↓ 4 callers
Function
detectCodexWrapAuthMode
()
packages/cli/src/index.ts:5442
↓ 4 callers
Function
digest
(value []byte)
cacheengine/cmd/cache-replay/main.go:539
↓ 4 callers
Function
distinct
(in []string)
rewriter/gate.go:275
↓ 4 callers
Function
elides
(t *testing.T, src, mustKeep string)
engine/compressors/code_langs_test.go:11
↓ 4 callers
Function
enableNative
(argv: string[])
packages/cli/src/index.ts:6798
↓ 4 callers
Function
enabled
()
proxy/providers/gemini/explicit_cache_test.go:22
↓ 4 callers
Function
evalGeminiProfitability
(model, mediaResolution, text string, cols, imageCountCap, numCols int, charsPerToken, priorWarmTokens, priorW
engine/pixel/transform_gemini.go:1015
↓ 4 callers
Method
evaluate
(taskFamily: string, options: DecideOptions)
packages/sdk/typescript/src/index.ts:1268
↓ 4 callers
Function
execPortableIgnore
(command: string, args: string[])
packages/cli/src/index.ts:9481
↓ 4 callers
Method
expand
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:1213
↓ 4 callers
Function
expandSourceGraph
( root: string, initialFiles: Iterable<string>, includeBareDependencies = true, traversalStopRoots: re
packages/agent/src/source-graph.ts:17
↓ 4 callers
Function
expectArray
(value, field)
packages/subagent-tax/lib/analyze.mjs:18
↓ 4 callers
Function
extractCompressionQuery
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 callers
Function
fauxProvider
(options = {})
packages/agent/tests/framework.runtime.mjs:61
↓ 4 callers
Function
finiteNonNegative
(v float64)
shared/platform/cost/cost.go:153
↓ 4 callers
Function
finiteNumber
(value: unknown)
packages/cli/src/index.ts:14009
↓ 4 callers
Function
finiteNumber
(value: unknown)
packages/sdk/typescript/src/index.ts:1394
↓ 4 callers
Method
flush
Alias for `export()`, matching common OTel exporter naming.
packages/sdk/typescript/src/index.ts:2261
↓ 4 callers
Function
gptTextTokens
(text string)
engine/pixel/transform_openai.go:470
↓ 4 callers
Function
gutterLines
gutterLines renders content the way a coding agent's read tool prints a file.
engine/listing_test.go:11
↓ 4 callers
Function
handleArgs
(args []string, stdout, stderr io.Writer)
mcp/cmd/caveman-mcp/main.go:48
↓ 4 callers
Function
hasCmd
(cmd)
bin/install.js:270
↓ 4 callers
Function
hermesPluginDir
()
packages/cli/src/index.ts:11236
↓ 4 callers
Function
heuristicMoves
(_ string, plan TrialPlan)
proxy/internal/store/trial_store.go:448
↓ 4 callers
Function
hex
(character)
packages/agent/tests/compiler.runtime.mjs:30
↓ 4 callers
Function
intPtr
(v int)
engine/pixel/transform_anthropic.go:1532
↓ 4 callers
Method
isConservativeGeometry
isConservativeGeometry reports whether the profile draws today's geometry (5px advance, 8px pitch, mono). When true the transform keeps its original p
engine/pixel/density.go:297
↓ 4 callers
Function
isFinitePositive
(v float64)
engine/pixel/gate.go:192
↓ 4 callers
Function
isJSONString
(body []byte, span jsonSpan)
proxy/providers/openai/content_compress.go:589
↓ 4 callers
Function
jsonFixture
(t *testing.T)
engine/listing_test.go:20
↓ 4 callers
Function
judgeToken
(text: string, re: RegExp)
packages/graders/src/index.ts:1458
↓ 4 callers
Function
labelOrDefault
(v, fallback string)
proxy/internal/gateway/proxy.go:1478
↓ 4 callers
Function
learnReportPath
()
packages/cli/src/index.ts:11974
← previous
next →
701–800 of 7,561, ranked by callers