MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions7,561 in github.com/JuliusBrussee/caveman

↓ 18 callersFunctionResidualRisk
ResidualRisk reports which residual-risk classes a body still exhibits AFTER a Payload pass. An empty result means the body cleared the screen; it doe
shared/platform/redact/residual.go:94
↓ 18 callersMethodall
all loads every memory.
mem/store.go:599
↓ 18 callersFunctioncavemanBin
(name: string, envVar: string)
packages/cli/src/index.ts:8957
↓ 18 callersMethodcreate
(self, body: dict[str, Any], *, latency_class: str | None = None, tool_session_id: str | None = None)
packages/sdk/python/caveman_cloud/core.py:1313
↓ 18 callersFunctionnewStore
(t *testing.T)
mem/store_test.go:11
↓ 18 callersFunctionportableInvocation
(command, args, { platform = process.platform, env = process.env, execPath = process.execPath, } = {})
bin/lib/portable-process.js:43
↓ 18 callersFunctionset
(obj, cb)
extension/popup.js:15
↓ 18 callersMethodstate
What the client holds right now.
packages/sdk/python/caveman_cloud/core.py:2265
↓ 17 callersMethodCompress
(input []byte, opts engine.Options)
mcp/engine_tools.go:17
↓ 17 callersFunctionNewLog
NewLog returns the default log/build-output compressor.
engine/compressors/log.go:51
↓ 17 callersMethodPut
Put writes body at key, overwriting any existing object.
shared/platform/objectstore/objectstore.go:44
↓ 17 callersMethodPutObject
(input Object)
engine/ccr/store_wasm.go:115
↓ 17 callersMethodWrite
(p []byte)
proxy/providers/adapter.go:652
↓ 17 callersMethodWrite
(p []byte)
proxy/internal/gateway/proxy.go:1491
↓ 17 callersFunctionfindAgent
(requested: string)
packages/cli/src/index.ts:122
↓ 17 callersFunctionjsLen
(s string)
engine/pixel/render.go:98
↓ 17 callersFunctionmustPayload
(t *testing.T, body []byte, rules []Rule)
shared/platform/redact/payload_test.go:11
↓ 17 callersFunctionprice
(input, output float64)
proxy/routing/routing_test.go:568
↓ 17 callersMethodrun
(request: HarnessRequest)
packages/agent/src/adapters.ts:65
↓ 16 callersFunctionCandidateActionID
CandidateActionID is a delimiter-safe, stable identity for the complete provider/model/effort tuple. Sixteen digest bytes are enough for compact telem
proxy/routing/routing.go:710
↓ 16 callersMethodInspectRequest
(ctx context.Context, body BodyReader, headers http.Header)
proxy/providers/adapter.go:314
↓ 16 callersFunctionLoad
Load reads caveman.yaml from path, applying defaults. A missing file yields the default config (record mode on 127.0.0.1:8787) rather than an error: a
proxy/internal/config/config.go:97
↓ 16 callersMethodMatchRoute
(method string, path string)
proxy/providers/adapter.go:306
↓ 16 callersMethodPlan
Plan selects profitable stable-prefix cache boundaries without editing wire bytes.
cacheengine/engine.go:103
↓ 16 callersFunction_bundle_with_policies
(policies: list[Any], **overrides: Any)
packages/sdk/python/tests/test_runtime_policy.py:638
↓ 16 callersFunctionauto
()
packages/agent/src/primitives.ts:10
↓ 16 callersFunctionbodyDigest
(body []byte)
cacheengine/cachebench/trace.go:456
↓ 16 callersFunctionconfigPath
()
packages/cli/src/index.ts:14584
↓ 16 callersFunctiondecodeTool
(t *testing.T, raw json.RawMessage)
mcp/server_test.go:64
↓ 16 callersFunctiongatewayURL
()
packages/cli/src/index.ts:91
↓ 16 callersFunctionopts
()
shared/platform/importers/importers_test.go:48
↓ 16 callersFunctionreplayTraceRecords
(t interface { Helper() Fatal(...any) }, turns, staticTokens int)
cacheengine/cachebench/replay_test.go:782
↓ 15 callersFunctionEstimateUSD
EstimateUSD prices already-classified billable token buckets. Token counts must be disjoint: InputTokens is uncached input; CachedInputTokens is cache
shared/platform/cost/cost.go:38
↓ 15 callersFunctionaccept
accept returns the reject reason, or "" when the rewrite may be used. Check order is: shape, then saving, then fidelity. The saving check runs before
rewriter/gate.go:106
↓ 15 callersFunctioncapsWithContext
(contextTokens float64, keys ...string)
proxy/routing/routing_test.go:584
↓ 15 callersFunctioncontentHandle
(original []byte)
proxy/internal/gateway/live_zone_test.go:328
↓ 15 callersFunctiondecode
(t *testing.T, b []byte)
proxy/providers/openai/cache_key_test.go:31
↓ 15 callersFunctionjsonArgs
(t *testing.T, v any)
browse/session_test.go:393
↓ 15 callersFunctionwrapMode
(gw = gatewayURL())
packages/cli/src/index.ts:5085
↓ 14 callersMethodDetect
Detect classifies a payload into a content type. It is deterministic and fail-open: anything it is not confident about is "text", which routes to a co
engine/detect.go:43
↓ 14 callersFunctionElements
(body []byte, array Span)
proxy/providers/jsonsplice/jsonsplice.go:64
↓ 14 callersFunctionInt
(name string, fallback int)
shared/platform/env/env.go:33
↓ 14 callersFunctionNewJSON
NewJSON returns the default JSON/tool-output compressor.
engine/compressors/json.go:59
↓ 14 callersFunctionNewToolSchema
NewToolSchema returns the tool-schema / tool-catalog compressor. It is selected by forcing the "toolschema" content type (engine.Options.Type); Detect
engine/compressors/toolschema.go:85
↓ 14 callersMethodRecall
Recall returns the memories most relevant to query, ranked by BM25, filtered by the threshold, and compressed for injection. It fails toward no recall
mem/store.go:411
↓ 14 callersMethodSanitizeAndMapHeaders
SanitizeAndMapHeaders maps the inbound headers to the upstream header set and applies any provider auth/signing. upstream is the ALREADY-RESOLVED forw
proxy/providers/adapter.go:313
↓ 14 callersMethodSimulate
Simulate runs the same detect → route → compress → count pipeline as Compress but stores NOTHING (no CCR Put) and makes no network call: a pure dry-ru
engine/engine.go:153
↓ 14 callersFunctionToolError
ToolError is a fail-closed tool error: isError=true with a cave_snake_code, so a host never mistakes it for a successful payload.
mcp/protocol.go:85
↓ 14 callersFunctionTransformAnthropic
(body []byte, opts TransformOptions)
engine/pixel/transform_anthropic.go:109
↓ 14 callersFunctionconfig
()
packages/cli/src/index.ts:14311
↓ 14 callersFunctionfatal
(format string, args ...any)
engine/cmd/caveman-engine/main.go:764
↓ 14 callersMethodrecord_span
Buffer a span, mapping GenAI fields to ``gen_ai.*`` attributes. Returns the :class:`OTelSpan` (with generated ids) so callers can chain
packages/sdk/python/caveman_cloud/core.py:1639
↓ 14 callersMethodtext
()
packages/mastra/src/index.ts:557
↓ 14 callersFunctionvalidBoundedText
(value string, maximum int, allowEmpty bool)
cacheengine/cachebench/strictjson.go:12
↓ 13 callersFunctionDefaultProviders
DefaultProviders returns built-in Anthropic, OpenAI, Bedrock, and Gemini lanes.
cacheengine/cachebench/types.go:75
↓ 13 callersFunctionDefaultTransformOptions
(model string)
engine/pixel/types.go:152
↓ 13 callersFunctionNew
New assembles a standalone gateway server from a config and a telemetry sink.
proxy/internal/standalone/standalone.go:146
↓ 13 callersMethodPassedThrough
PassedThrough reports whether the call returned the input unchanged.
engine/result.go:72
↓ 13 callersFunctionResolveDensity
ResolveDensity maps a reader model and requested level to a render profile. Fail-closed rules: an unrecognised model resolves to conservative geometry
engine/pixel/density.go:84
↓ 13 callersFunctionbinOf
(a: AgentProfile)
packages/cli/src/index.ts:116
↓ 13 callersFunctioncyan
(s: string)
packages/cli/src/index.ts:14658
↓ 13 callersMethodexpectedReplacement
expectedReplacement is the exact JSON-encoded string the splice must produce for a block this compressor shrank: compressed bytes, newline, CCR marker
proxy/internal/gateway/prefix_stability_test.go:109
↓ 13 callersFunctionfail
(reason: string)
packages/graders/src/index.ts:131
↓ 13 callersFunctioninteractive
()
packages/cli/src/index.ts:14645
↓ 13 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/vertex/vertex_test.go:16
↓ 13 callersFunctionnewTestClient
(t *testing.T, cfg Config)
rewriter/rewriter_test.go:98
↓ 13 callersFunctionpass
(reason: string)
packages/graders/src/index.ts:130
↓ 13 callersMethodstring
()
shared/platform/importers/otlp.go:56
↓ 12 callersMethodCompressQuery
CompressQuery is Compress with an additional relevance query. An empty query must behave exactly like Compress.
engine/compressors/compressor.go:61
↓ 12 callersFunctionEngineTools
EngineTools returns the five Caveman compression tools bound to eng. log may be nil. This is the tool set the caveman-mcp binary serves.
mcp/engine_tools.go:37
↓ 12 callersMethodGetObject
(id string)
engine/ccr/store_wasm.go:132
↓ 12 callersFunctionMeasureContentCols
(text string, maxCols, markerScale int)
engine/pixel/render.go:174
↓ 12 callersFunctionNewSession
(eng *engine.Engine, driver Driver, log *slog.Logger)
browse/session.go:67
↓ 12 callersFunctionPayload
Payload scrubs a captured request or response body and returns the redacted bytes plus the evidence of what was removed. On ANY error it returns a ni
shared/platform/redact/payload.go:474
↓ 12 callersMethodRead
([]byte)
shared/platform/kms/kms_test.go:372
↓ 12 callersMethodRetrieve
(handle string)
mcp/engine_tools.go:18
↓ 12 callersFunction_cave
()
packages/sdk/python/tests/test_trace_continuity.py:27
↓ 12 callersFunction_loaded_client
A client holding the fixture bundle (signature verified against the pin).
packages/sdk/python/tests/test_runtime_policy.py:124
↓ 12 callersFunctionappendUrlPath
(base: string, path: string)
packages/cli/src/index.ts:5401
↓ 12 callersFunctionapply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/anthropic/cache_breakpoints_test.go:16
↓ 12 callersFunctionapplyAtEndpoint
(t *testing.T, body, endpoint string, policy providers.TransformPolicy)
proxy/providers/openai/cache_key_test.go:21
↓ 12 callersFunctionasJsonObject
(v: unknown)
packages/cli/src/index.ts:5268
↓ 12 callersFunctionbytesHash
(bytes: Buffer)
packages/cli/src/index.ts:5833
↓ 12 callersFunctioncapturePixelUpstream
(t *testing.T, response string)
proxy/internal/gateway/pixel_test.go:56
↓ 12 callersFunctioncliVersion
()
packages/cli/src/index.ts:13369
↓ 12 callersFunctionfamilyTokens
(retro *LearnRetro, id string)
proxy/internal/store/learn_retro_test.go:153
↓ 12 callersFunctionnarrowToQuery
narrowToQuery splits stored content into whole units, BM25-ranks them against the query, and returns the relevant ones in their original order, markin
engine/retrieve_query.go:56
↓ 12 callersFunctionnewPAYGPrefixServer
newPAYGPrefixServer builds the PAYG compress session the probe used: a BYOK key (so the request classifies payg), MCP recovery (so the marker-only pat
proxy/internal/gateway/prefix_stability_payg_test.go:29
↓ 12 callersFunctionnewPixelTestServer
(t *testing.T, upstream string, mode string, adapter providers.Adapter, sink TelemetrySink, comp Compressor, r
proxy/internal/gateway/pixel_test.go:43
↓ 12 callersFunctionpayghTransport
(turns int, resp string)
proxy/internal/gateway/prefix_stability_payg_test.go:43
↓ 12 callersFunctionrun
(agentId, configJson, tag)
packages/cli/tests/wrap.runtime.mjs:774
↓ 12 callersFunctionskipSourceTrivia
(source: string, start: number)
packages/agent/src/source-graph.ts:710
↓ 12 callersMethodsnapshotTool
(args json.RawMessage)
browse/session.go:136
↓ 12 callersFunctionvalidUniqueJSONObject
(body []byte)
cacheengine/cachebench/strictjson.go:24
↓ 12 callersFunctionwalk
(root, directory = root)
extension/scripts/verify-extension-stage.mjs:28
↓ 12 callersFunctionwriteRetroClaudeSessions
writeRetroClaudeSessions lays down `sessions` transcripts, each with `usageTurns` provider-counted assistant turns, one unique tool result, and `repea
proxy/internal/store/learn_retro_test.go:44
↓ 12 callersFunctionwriteRetroTranscript
writeRetroTranscript writes one transcript from raw JSONL lines.
proxy/internal/store/learn_retro_test.go:331
↓ 11 callersFunctionAppendObjectFields
AppendObjectFields inserts fields immediately before an object's closing brace. Existing bytes, whitespace, key order, and escapes remain untouched. C
proxy/providers/jsonsplice/jsonsplice.go:154
↓ 11 callersMethodApplyProviderNativeTransforms
(ctx context.Context, body BodyReader, meta RequestMetadata, policy TransformPolicy)
proxy/providers/adapter.go:315
↓ 11 callersMethodCountTokensRequest
CountTokensRequest projects the ORIGINAL request. ok=false means no baseline call may be issued.
proxy/providers/adapter.go:340
← previousnext →101–200 of 7,561, ranked by callers