MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 7 callersFunctionresponsesItemID
(prefix string)
proxy/internal/translate/responses_stream.go:77
↓ 7 callersMethodrestart
restart replaces the proxy process: in-memory state is gone, the durable replacement cache survives, and the engine may now compress differently.
proxy/internal/gateway/cache_prefix_invariant_test.go:439
↓ 7 callersFunctionrootObjectSpan
(body []byte)
proxy/providers/anthropic/splice.go:22
↓ 7 callersFunctionroundPct
roundPct rounds half away from zero; the old +0.5 truncation turned an exact -50% experiment delta into -49.9.
proxy/internal/store/learn_pricing.go:336
↓ 7 callersFunctionroundUSD
(v float64)
proxy/internal/store/trial_store.go:785
↓ 7 callersFunctionrun
(extra: string[])
packages/cli/src/index.ts:4149
↓ 7 callersFunctionserveChatGPT
(srv *Server, body string, headers ...string)
proxy/internal/gateway/chatgpt_test.go:1458
↓ 7 callersFunctionsha256
(text: str)
packages/sdk/python/caveman_cloud/middleware/validate.py:12
↓ 7 callersFunctionsha256
packages/shared/contracts/conformance/run.mjs:136
↓ 7 callersFunctionsinkIDs
(plan LearnPlan)
proxy/internal/store/trial_feature_test.go:864
↓ 7 callersFunctionsleep
(ms: number)
packages/cli/src/index.ts:13039
↓ 7 callersFunctionsseLines
sseLines reads upstream lines on a goroutine so the caller can emit a ping on silence: ranging over the first result yields each line, and a nil line
proxy/internal/translate/messages_stream.go:71
↓ 7 callersFunctionstableNodePath
()
packages/cli/src/index.ts:7915
↓ 7 callersFunctionstatePath
()
browse/cmd/caveman-browse/main.go:436
↓ 7 callersMethodstorageBytes
storageBytes is the retained payload the budget counts. It reads the trigger-kept counter (see storageUsageSchema), one row, instead of summing every
engine/ccr/store_sqlite.go:751
↓ 7 callersFunctionsubBlock
(text string)
proxy/internal/gateway/subscription_live_zone_test.go:49
↓ 7 callersMethodsweep
sweep expires in batches, each its own short write transaction, for as long as a batch comes back full (more is waiting) and sweepBudget allows; every
proxy/internal/middleware/runtime.go:640
↓ 7 callersFunctiontelemetrySendable
(state: TelemetryRuntimeState)
packages/cli/src/index.ts:940
↓ 7 callersFunctiontelemetryState
()
packages/cli/src/index.ts:911
↓ 7 callersMethodthrow
(self, *args)
packages/middleware/python/caveman_middleware/llama_index.py:334
↓ 7 callersFunctiontool
()
packages/middleware/typescript/src/google.ts:38
↓ 7 callersMethodtoolResult
toolResult appends a tool call and its result.
proxy/internal/gateway/cache_prefix_invariant_test.go:277
↓ 7 callersMethodtool_search
POST the tool catalog + query to the gateway's /sdk/v1/tool-search endpoint. Returns a ToolSearchResult that includes the reduced tool list a
packages/sdk/python/caveman_cloud/core.py:692
↓ 7 callersFunctiontopFields
topFields reads a body's top-level members as raw values (sub-slices of body: nothing is copied).
proxy/internal/translate/jsonfast.go:383
↓ 7 callersFunctionunmarshalTest
(t *testing.T, b []byte, v any)
engine/pixel/transform_openai_test.go:335
↓ 7 callersFunctionupdate
(effort string)
proxy/internal/gateway/route_effort_responses_test.go:78
↓ 7 callersFunctionusageJSON
usageJSON is an Anthropic usage object for a 200k-token cached prefix.
proxy/internal/gateway/cache_warm_test.go:153
↓ 7 callersFunctionvalidateCompatPath
(path, rawPath string)
proxy/providers/openaicompat/openaicompat.go:505
↓ 7 callersFunctionvalidateSessionId
(id)
src/hooks/caveman-config.js:581
↓ 7 callersFunctionwarmStore
Cache warms are the proxy's own requests: spend, but never an agent request, a turn, a last-request view or an exported span.
proxy/internal/store/cache_warm_stats_test.go:16
↓ 7 callersFunctionwithHeaders
(base map[string]string, extra ...string)
proxy/internal/gateway/cache_prefix_invariant_test.go:1264
↓ 7 callersFunctionwithIntegrationLock
(agent: string, run: () => T)
packages/cli/src/index.ts:10486
↓ 7 callersFunctionwrite
(line: string)
packages/cli/src/index.ts:6368
↓ 6 callersFunctionAnthropicNative
AnthropicNative returns a Messages body bound for Anthropic's own API with every thinking block Anthropic did not mint removed (signed "caveman:…", or
proxy/internal/translate/translate.go:1144
↓ 6 callersFunctionAtlasGrayRank
AtlasGrayRank binary-searches the sorted grayscale codepoint table; -1 when absent.
engine/pixel/atlas.go:123
↓ 6 callersFunctionBool
(name string, fallback bool)
shared/platform/env/env.go:21
↓ 6 callersMethodBuildTrialPlan
(trialID string)
proxy/internal/store/trial_store.go:222
↓ 6 callersMethodCompatUpstreams
CompatUpstreams returns every named OpenAI-compatible upstream that the proxy mounts. The result starts with the built-in table. Then the caveman.yaml
proxy/internal/config/config.go:630
↓ 6 callersMethodCompressWithMetadata
(input []byte, query string)
engine/compressors/compressor.go:45
↓ 6 callersFunctionDecodeAndValidate
DecodeAndValidate strictly parses a catalog. Unknown YAML fields, duplicate provider/model/region rows, invalid URLs/timestamps, and unsafe prices rej
shared/platform/catalog/catalog.go:341
↓ 6 callersFunctionDefault
Default returns a registry with the engine's built-in compressors registered: JSON, log, test-report, code, diff, search-result, text, HTML, tabular,
engine/compressors/compressor.go:90
↓ 6 callersFunctionDensityFromEnv
DensityFromEnv reads CAVE_PIXEL_DENSITY lazily (like CAVE_PIXEL_MODELS in applicability.go — no init-time caching). Unset/empty defaults to balanced;
engine/pixel/density.go:57
↓ 6 callersFunctionDialContext
DialContext returns a DialContext function suitable for use in http.Transport.DialContext. It re-validates the resolved IP at the moment the kernel a
shared/platform/ssrf/ssrf.go:441
↓ 6 callersFunctionGrade
Grade runs one grader against a subject. The default branch fails closed: an unknown or misspelled grader type is never treated as a pass.
engine/evals/graders.go:50
↓ 6 callersFunctionIsCompressionProfitable
(text string, cols, imageCountCap, numCols int, cpt, priorWarm, priorWarmImage float64, shrinkWidth bool, maxC
engine/pixel/gate.go:135
↓ 6 callersFunctionIsProduction
IsProduction reports whether CAVE_ENV selects the managed production posture. Empty and unknown values remain local; only the canonical value (folded
shared/platform/runtimeenv/runtimeenv.go:15
↓ 6 callersMethodLogins
Logins are the logins of providers this runtime knows, in the order added.
proxy/internal/pool/pool.go:149
↓ 6 callersFunctionMaxFittingCols
(cols int)
engine/pixel/render.go:690
↓ 6 callersFunctionMultiColWidth
(cols, numCols int)
engine/pixel/render.go:685
↓ 6 callersMethodName
Name identifies the counting basis (e.g. the encoding name) for display and cross-surface parity.
engine/tokens/tokens.go:24
↓ 6 callersFunctionNeutralizeSentinel
(s string)
engine/pixel/render.go:138
↓ 6 callersFunctionNew
(baseURL string)
proxy/providers/azureopenai/azureopenai.go:35
↓ 6 callersFunctionNew
New constructs the Vertex adapter. baseURL is the aiplatform endpoint; in production it is a Vertex host (e.g. https://us-central1-aiplatform.googleap
proxy/providers/vertex/vertex.go:84
↓ 6 callersFunctionNew
()
shared/platform/cacheguard/cacheguard.go:67
↓ 6 callersFunctionNewText
NewText returns the long text / HTML compressor.
engine/compressors/text.go:34
↓ 6 callersFunctionNewUUIDv7
()
shared/platform/id/id.go:10
↓ 6 callersFunctionObjectSchema
ObjectSchema builds a JSON-Schema object for a tool's inputSchema.
mcp/protocol.go:91
↓ 6 callersFunctionRegionAllowed
RegionAllowed is the shared closed region validator used by adapter routing and control-plane Bedrock connection metadata.
proxy/providers/bedrock/routing.go:411
↓ 6 callersFunctionRenderTextToPNGs
(text string, cols int, style RenderStyle)
engine/pixel/render.go:636
↓ 6 callersFunctionRunManifest
RunManifest replays an arbitrary manifest, reading fixture files via read. It is exported so tests can seed a deliberately-failing manifest and assert
engine/evals/harness.go:181
↓ 6 callersMethodScope
(id string)
proxy/internal/store/middleware.go:289
↓ 6 callersFunctionString
String scrubs secret material from s and returns the cleaned string along with the names of all rules that fired. The returned slice is nil when noth
shared/platform/redact/redact.go:259
↓ 6 callersMethodUseServerTLS
UseServerTLS re-verifies a client certificate against t's current client CA on every request, so a CA rotation also cuts keep-alive connections opened
proxy/internal/identity/identity.go:199
↓ 6 callersFunction_call
(args: list[str], input_text: str | None = None)
mem/py/cavemem.py:24
↓ 6 callersFunction_cave
(agent: str)
packages/sdk/python/tests/test_assembly.py:18
↓ 6 callersMethod_finish
(self, data, response, event)
packages/middleware/python/caveman_middleware/litellm.py:489
↓ 6 callersMethod_frame
(self, name, args, kwargs)
packages/middleware/python/caveman_middleware/agno.py:261
↓ 6 callersMethod_http
(self, path: str, body: str | None, timeout: float)
packages/sdk/python/caveman_cloud/middleware/runtime.py:854
↓ 6 callersFunction_reasons
(runtime)
packages/middleware/python/tests/test_behavior.py:541
↓ 6 callersMethod_submit
(self, timeout: float, pool: str, function, *args, **kwargs)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:170
↓ 6 callersFunctionabortError
()
packages/cli/src/proxy-fetch.ts:113
↓ 6 callersFunctionapply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/gemini/explicit_cache_test.go:12
↓ 6 callersFunctionarrayElements
(body []byte, arr jsonSpan)
proxy/providers/openai/content_compress.go:521
↓ 6 callersFunctionassertGenerationBytes
(t *testing.T, path string, want map[string][]byte)
engine/ccr/store_generation_test.go:202
↓ 6 callersFunctionautoMemoryDir
(cwd string)
proxy/internal/store/detect_memory_health.go:149
↓ 6 callersFunctionbare
bare builds an Anthropic body that sets no effort.
proxy/internal/gateway/route_effort_test.go:1171
↓ 6 callersMethodbody
(i int)
proxy/internal/gateway/cache_warm_test.go:141
↓ 6 callersFunctionbuildAdapters
(cfg config.Config)
proxy/internal/standalone/standalone.go:525
↓ 6 callersFunctionbuildAttribution
(method, provenance, targetPath string)
proxy/internal/store/learn_attribution.go:200
↓ 6 callersMethodcancel
()
packages/middleware/python/caveman_middleware/autogen.py:119
↓ 6 callersFunctioncancelPending
()
extension/src/caveman.js:63
↓ 6 callersFunctioncanonicalPath
(path)
packages/cli/tests/qwen-wrap.runtime.mjs:180
↓ 6 callersFunctioncavemanBinForHook
(powershell: boolean = process.platform === "win32")
packages/cli/src/index.ts:17388
↓ 6 callersFunctionchatGPTCompressServer
(transport http.RoundTripper)
proxy/internal/gateway/chatgpt_test.go:1438
↓ 6 callersMethodcheck
(self)
packages/middleware/python/caveman_middleware/autogen.py:126
↓ 6 callersFunctionchoiceKey
choiceKey identifies a segment's persisted choice within its scope.
proxy/internal/middleware/runtime.go:314
↓ 6 callersFunctionclampEffort
clampEffort maps a requested effort onto the levels a model accepts: the level itself, else the nearest one below, else the lowest above. "none" on a
proxy/internal/translate/responses.go:356
↓ 6 callersFunctionclaudeGlobalConfigPath
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/index.ts:7679
↓ 6 callersFunctionclone
packages/middleware/typescript/tests/drivers.mjs:7
↓ 6 callersFunctioncloudTarget
()
proxy/internal/gateway/route_pool_test.go:279
↓ 6 callersFunctioncodexRoot
()
proxy/internal/store/config_scan.go:76
↓ 6 callersFunctioncodexTomlSectionName
(line: string)
packages/cli/src/index.ts:7766
↓ 6 callersFunctioncollapseAnthropicHistory
(messages []Message, profitable func(text string, cols int) bool, opts historyOptions)
engine/pixel/history_anthropic.go:363
↓ 6 callersFunctioncompiledPlanRoutes
(headers http.Header)
proxy/internal/gateway/proxy.go:1249
↓ 6 callersFunctionconfigSinksWithBehavior
(cfg configScan, beh behaviorScan, turnsPerDay float64)
proxy/internal/store/learn.go:453
↓ 6 callersFunctioncontainsType
(objects []ccr.Object, objectType ccr.ObjectType)
proxy/internal/nativeruntime/runtime_test.go:1376
↓ 6 callersFunctioncredJSON
(expiry time.Time)
shared/platform/awscreds/awscreds_test.go:60
↓ 6 callersFunctiondecodeChatGPTRequestBody
(wire []byte, contentEncoding string, limit int)
proxy/internal/gateway/chatgpt_encoding.go:25
↓ 6 callersFunctiondecodePNG
(t *testing.T, raw []byte)
engine/pixel/render_density_test.go:14
↓ 6 callersFunctiondefaultWrapOptions
()
packages/cli/src/index.ts:4834
← previousnext →801–900 of 12,391, ranked by callers