MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 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
()
shared/platform/cacheguard/cacheguard.go:67
↓ 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 callersFunctionRenderTextToPNGs
(text string, cols int, style RenderStyle)
engine/pixel/render.go:636
↓ 6 callersFunctionReplace
(body []byte, candidates []Candidate, replacements [][]byte)
proxy/providers/jsonsplice/jsonsplice.go:149
↓ 6 callersMethodRoundTrip
(r *http.Request)
proxy/internal/gateway/server_test.go:59
↓ 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 callersFunctionSessionMarker
SessionMarker builds model-temporary correlation context. Local proxy removes valid markers byte-surgically before provider inspection or forwarding.
proxy/internal/nativeruntime/marker.go:77
↓ 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:540
↓ 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 callersMethodadd_error
(self, msg)
plugins/caveman/skills/caveman-compress/scripts/validate.py:122
↓ 6 callersMethodadd_error
(self, msg)
skills/caveman-compress/scripts/validate.py:122
↓ 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:808
↓ 6 callersFunctionarrayElements
(body []byte, arr jsonSpan)
proxy/providers/openai/content_compress.go:540
↓ 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
↓ 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:142
↓ 6 callersFunctionbuildAdapters
(cfg config.Config)
proxy/internal/standalone/standalone.go:737
↓ 6 callersFunctionbuildAttribution
(method, provenance, targetPath string)
proxy/internal/store/learn_attribution.go:200
↓ 6 callersFunctionbytes
packages/shared/contracts/conformance/run.mjs:137
↓ 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:18018
↓ 6 callersFunctionchatGPTCompressServer
(transport http.RoundTripper)
proxy/internal/gateway/chatgpt_test.go:1475
↓ 6 callersFunctionchatGPTRequestHeaders
chatGPTRequestHeaders preserves OAuth/account and ordinary application headers while removing proxy-private and hop-by-hop fields.
proxy/internal/gateway/headers.go:49
↓ 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/harnesses/claude.ts:11
↓ 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:8086
↓ 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:1395
↓ 6 callersFunctionconfigSinksWithBehavior
(cfg configScan, beh behaviorScan, turnsPerDay float64)
proxy/internal/store/learn.go:453
↓ 6 callersFunctionconfigValue
(raw: string | undefined)
packages/cli/src/index.ts:9143
↓ 6 callersFunctioncontainsType
(objects []ccr.Object, objectType ccr.ObjectType)
proxy/internal/nativeruntime/runtime_test.go:1414
↓ 6 callersFunctioncredJSON
(expiry time.Time)
shared/platform/awscreds/awscreds_test.go:60
↓ 6 callersFunctiondecodePNG
(t *testing.T, raw []byte)
engine/pixel/render_density_test.go:14
↓ 6 callersFunctiondefaultWrapOptions
()
packages/cli/src/index.ts:4895
↓ 6 callersFunctiondialContextWith
dialContextWith resolves each hostname exactly once, validates every returned address, then dials a validated IP literal. net.Transport passes hostnam
shared/platform/ssrf/ssrf.go:474
↓ 6 callersFunctiondrive
()
packages/middleware/python/tests/test_langchain_native.py:41
↓ 6 callersFunctionencodedBody
encodedBody compresses a request body the way an agent would send it; "raw-deflate" is a deflate stream without the zlib wrapper, which some clients s
proxy/internal/gateway/chatgpt_auto_test.go:250
↓ 6 callersFunctionensureCavemanHome
()
packages/cli/src/index.ts:14478
↓ 6 callersFunctionenvelopeBlocks
envelopeBlocks are the blocks a runtime envelope (an encrypted_content string token) carries; false for anything the runtime did not write.
proxy/internal/translate/responses_in.go:338
↓ 6 callersFunctionerrorResponse
(id json.RawMessage, code int, msg string)
mcp/protocol.go:53
↓ 6 callersFunctioneventNames
(events []anthropicEvent)
proxy/internal/translate/helpers_test.go:129
↓ 6 callersFunctionevidenceRow
(id string, components string)
proxy/internal/store/cache_components_test.go:34
↓ 6 callersMethodexporter
* Create a one-call OTel exporter bound to this Cave's gateway config. * * The exporter ships spans to the gateway's OTLP endpoint * (`POST {
packages/sdk/typescript/src/index.ts:459
↓ 6 callersFunctionfactory
(*args, **kwargs)
packages/middleware/python/caveman_middleware/agno.py:561
↓ 6 callersFunctionfetch
(target)
installer/install.js:2111
↓ 6 callersMethodflush
Alias for `export()`, matching common OTel exporter naming.
packages/sdk/typescript/src/index.ts:2344
↓ 6 callersFunctionfsyncParentDirectory
(path: string)
packages/cli/src/index.ts:8933
↓ 6 callersFunctiongatewayIsJSONString
(body []byte, span gatewayJSONSpan)
proxy/internal/gateway/pixel.go:710
↓ 6 callersFunctiongeminiSettingsPath
()
packages/cli/src/index.ts:18855
↓ 6 callersFunctionhasArg
(args []string, name string)
proxy/cmd/caveman-proxy/main.go:1249
↓ 6 callersFunctionhash
(s string)
proxy/internal/middleware/validate.go:19
↓ 6 callersFunctionhintRecovery
(runtime: MiddlewareRuntime, adapter: string, entry: string, use: string)
packages/middleware/typescript/src/common.ts:139
↓ 6 callersFunctionhumanTokens
humanTokens compacts a token count for the big stat numbers: 21.7M, 855k. Exact values stay in tooltips and the JSON sidecar.
proxy/internal/store/report.go:500
↓ 6 callersFunctionin_range
Whether a stable public version satisfies `low <= installed < high`. Range eligibility does not prove compatibility. Upstream API changes still
packages/middleware/python/caveman_middleware/_versions.py:51
↓ 6 callersFunctionisExecutable
(p: string)
packages/cli/src/index.ts:24078
↓ 6 callersFunctionisFull
(err error)
engine/ccr/store_sqlite.go:865
↓ 6 callersFunctionisJSONObject
(data []byte, span jsonsplice.Span)
proxy/providers/bedrock/cache_points.go:300
↓ 6 callersFunctionitems
items reads an array value (nil for anything else).
proxy/internal/translate/jsonfast.go:220
↓ 6 callersFunctionkeychainHome
keychainHome is a signed-in CLI state whose secret lives in the keychain.
proxy/internal/cloudlink/link_test.go:1121
↓ 6 callersMethodleaf
leaf issues a certificate and returns its PEM certificate and key.
proxy/internal/identity/tls_test.go:51
↓ 6 callersMethodlinesPerPage
linesPerPage is how many text rows fit in a canvas of the given height at this pitch: (H - 2*pad - glyphH)/pitch + 1.
engine/pixel/density.go:179
↓ 6 callersFunctionliveEngine
liveEngine is the real engine over a real (in-memory) CCR store — the same pairing the wrap runtime uses.
mcp/retrieve_integration_test.go:49
↓ 6 callersFunctionloadAtlas
()
engine/pixel/atlas.go:61
↓ 6 callersFunctionmappedPaths
(repoMap Map)
proxy/internal/repointel/index_test.go:103
↓ 6 callersFunctionmaskDecision
maskDecision runs a tool output through afterTool exactly as the hook does and reports whether the output was replaced by a pointer.
proxy/internal/nativeruntime/mask_elidable_test.go:35
↓ 6 callersFunctionmaskRuntime
Mask what cannot be summarized in place; elide what can. These pin the boundary between the two mechanisms. Before it existed they collided: the ship
proxy/internal/nativeruntime/mask_elidable_test.go:23
↓ 6 callersFunctionmergeDropped
(dst map[rune]int, src map[rune]int)
engine/pixel/transform_anthropic.go:1477
↓ 6 callersFunctionmessageContentBlocks
(content any)
engine/pixel/transform_anthropic.go:1361
↓ 6 callersFunctionmessages
()
packages/middleware/python/tests/test_langchain_native.py:16
↓ 6 callersFunctionmustInsertObjectRow
(t *testing.T, db *sql.DB, id string, typ ObjectType, session string, lifecycle Lifecycle, created time.Time,
engine/ccr/store_reclaim_test.go:35
↓ 6 callersFunctionmustJSONGemini
(t *testing.T, v any)
engine/pixel/transform_gemini_test.go:365
↓ 6 callersFunctionnewBreakpointPlanServer
(t *testing.T, adapter providers.Adapter, rt *captureTransport, cfg Config)
proxy/internal/gateway/breakpoint_plan_test.go:37
← previousnext →901–1,000 of 13,382, ranked by callers