MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 7 callersFunctionnativeRealPath
(file: string)
packages/cli/src/index.ts:11507
↓ 7 callersFunctionnewProvider
newProvider builds a Provider over a fixed environment map and a fake clock.
shared/platform/awscreds/awscreds_test.go:40
↓ 7 callersFunctionnewStandaloneTestServer
(t *testing.T, upstream string, rc RequestContext, sink TelemetrySink)
proxy/internal/gateway/server_test.go:79
↓ 7 callersFunctionobjectStringField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:470
↓ 7 callersFunctionopenaiTurnConversation
openaiTurnConversation is an OpenAI chat session of n user turns with assistant replies interleaved: turn N's live zone is turn N+1's automatically-ca
proxy/internal/gateway/prefix_stability_payg_test.go:53
↓ 7 callersMethodpageCols
pageCols is the column count that fills the profile's canvas width — 312 on the std canvas at cell-advance 5, 513 on the hi-res canvas, etc.
engine/pixel/density.go:211
↓ 7 callersFunctionpanel
(title: string, lines: string[])
packages/cli/src/index.ts:23468
↓ 7 callersFunctionparseJsonc
(raw: string)
packages/cli/src/index.ts:7635
↓ 7 callersFunctionparse_capabilities
§4 tolerant reader. Raises MiddlewareError('unsupported_version') only for step-1 failures.
packages/sdk/python/caveman_cloud/middleware/protocol.py:88
↓ 7 callersFunctionpassive
(reason:string)
packages/middleware/typescript/src/langchain-model.ts:62
↓ 7 callersFunctionpick
pick returns one or many by count, for titles like "1 rule loads".
proxy/internal/store/detect_memory_health.go:311
↓ 7 callersMethodplan
plan decides every warm of one idle stream up front by backward induction (optimal stopping). Warm k at k*delay costs warm and extends the cache from
proxy/internal/gateway/cache_warm_table.go:304
↓ 7 callersFunctionplanRespBody
planRespBody carries provider cache counters so the session ledger has real numbers to account.
proxy/internal/gateway/breakpoint_plan_test.go:31
↓ 7 callersFunctionpositionalAfterOptions
(values: string[], optionsWithValues: Set<string>)
packages/cli/src/index.ts:21568
↓ 7 callersFunctionpost
(path: string, body: unknown)
packages/cli/src/index.ts:22921
↓ 7 callersFunctionqwenConfigPath
()
packages/cli/src/index.ts:15467
↓ 7 callersFunctionqwenHomeState
()
packages/cli/src/index.ts:15425
↓ 7 callersFunctionread
(home string, port int)
proxy/internal/runstate/runstate.go:180
↓ 7 callersFunctionreadGenerationBytes
(t *testing.T, path string)
engine/ccr/store_generation_test.go:189
↓ 7 callersFunctionreleaseArtifactName
(name, goos, arch)
scripts/build-release-binaries.mjs:130
↓ 7 callersFunctionrender
(active: boolean)
packages/cli/src/modules/onboard.ts:691
↓ 7 callersFunctionresolve_scope
Normalized Scope from a fixed value or a trusted resolver, else None (``invalid_scope``, warned once). A resolver that raises (for example a miss
packages/middleware/python/caveman_middleware/_guard.py:24
↓ 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 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:13285
↓ 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:8133
↓ 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:949
↓ 7 callersFunctiontelemetryState
()
packages/cli/src/index.ts:920
↓ 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 callersFunctionunquoteKey
(raw: string)
packages/cli/src/codemode.ts:313
↓ 7 callersFunctionvalidateCompatPath
(path, rawPath string)
proxy/providers/openaicompat/openaicompat.go:550
↓ 7 callersFunctionvalidateSessionId
(id)
src/hooks/caveman-config.js:581
↓ 7 callersFunctionvalue
(body []byte, start int)
proxy/providers/jsonsplice/jsonsplice.go:339
↓ 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:10727
↓ 7 callersFunctionwrite
(line: string)
packages/cli/src/index.ts:6452
↓ 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:640
↓ 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 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 callersFunctionExtractToolCatalog
ExtractToolCatalog returns the exact serialized bytes of a request's top-level tool catalog plus a reassembler that splices replacement bytes back int
proxy/providers/toolzone.go:37
↓ 6 callersMethodFor
For returns the compressor for a content type, or (nil, false).
engine/compressors/compressor.go:77
↓ 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 callersFunctionNeutralizeSentinel
(s string)
engine/pixel/render.go:138
↓ 6 callersFunctionNew
(baseURL string)
proxy/providers/azureopenai/azureopenai.go:47
↓ 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 callersFunctionNewInProcessUpstream
NewInProcessUpstream creates an Upstream with the given server name.
mcp/codemode/codemode.go:158
↓ 6 callersFunctionNewRepoUpstream
--- Built-in Repo Upstream (batch_read + symbol_outline) ------------------- NewRepoUpstream builds the built-in `repo` upstream providing multi-file
mcp/codemode/builtin_tools.go:82
↓ 6 callersFunctionNewText
NewText returns the long text / HTML compressor.
engine/compressors/text.go:34
↓ 6 callersFunctionNewUUIDv7
()
shared/platform/id/id.go:10
↓ 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 callersMethodRegister
Register adds one tool to an InProcessUpstream.
mcp/codemode/codemode.go:166
↓ 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 callersMethodapplyEffort
applyEffort applies the answer's effort to body (the bytes compression produced, model already set) and returns what to send. Responses and chat take
proxy/internal/gateway/route.go:785
↓ 6 callersFunctionarrayElements
(body []byte, arr jsonSpan)
proxy/providers/openai/content_compress.go:535
↓ 6 callersFunctionassertGenerationBytes
(t *testing.T, path string, want map[string][]byte)
engine/ccr/store_generation_test.go:202
↓ 6 callersMethodassert_cleaned_up
(self)
tests/test_compress_codex.py:33
↓ 6 callersFunctionautoMemoryDir
(cwd string)
proxy/internal/store/detect_memory_health.go:149
← previousnext →801–900 of 12,853, ranked by callers