MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

MethodRetrieve
(string)
mcp/engine_tools_retrieve_test.go:145
MethodRetrieve
(h string)
mcp/server_test.go:99
MethodRetrieveOriginal
RetrieveOriginal serves the server-side retrieve loop of the PAYG path; the harness never makes the model call it.
proxy/internal/gateway/cache_prefix_invariant_test.go:345
MethodRetrieveOriginal
(handle, query string)
proxy/internal/gateway/compress_test.go:65
MethodRetrieveOriginal
(handle, query string)
proxy/internal/gateway/live_zone_test.go:95
MethodRetrieveQuery
RetrieveQuery recovers the content behind a CCR handle, narrowed to the sections most relevant to query (BM25-rank the stored content's sections, keep
engine/retrieve_query.go:37
MethodRetrieveQuery
(handle, query string)
mcp/engine_tools_retrieve_test.go:31
MethodRetrieveQuery
(string, string)
mcp/engine_tools_retrieve_test.go:123
MethodRetrieveQuery
(string, string)
mcp/engine_tools_retrieve_test.go:148
MethodRetrieveQuery
(h, _ string)
mcp/server_test.go:100
MethodRevoke
Revoke is SQLite's, under the authority's lock.
proxy/internal/store/middleware_postgres.go:488
MethodRevoke
Revoke keeps bounded metadata tombstones: old markers still return a typed revoked result, and no epoch silently resumes old grants. expires_at<=0 rec
proxy/internal/store/middleware.go:725
MethodRevoked
Revoked takes the authority's lock first, so a delete cannot commit between this answer and the scope a writer then creates.
proxy/internal/store/middleware_postgres.go:405
MethodRevoked
(authority string)
proxy/internal/store/middleware.go:603
MethodRoundTrip
(r *http.Request)
proxy/internal/cloudlink/live_cache_test.go:52
MethodRoundTrip
(r *http.Request)
proxy/internal/standalone/standalone_test.go:36
MethodRoundTrip
(r *http.Request)
proxy/internal/standalone/hotpath_bench_test.go:20
MethodRoundTrip
(r *http.Request)
proxy/internal/standalone/golden_rows_test.go:96
MethodRoundTrip
(r *http.Request)
proxy/internal/store/prefix_stability_e2e_test.go:34
MethodRoundTrip
(r *http.Request)
proxy/internal/store/prefix_stability_openai_e2e_test.go:33
MethodRoundTrip
(*http.Request)
proxy/internal/pool/pool_test.go:248
MethodRoundTrip
(r *http.Request)
proxy/internal/gateway/cache_prefix_invariant_test.go:376
MethodRoundTrip
(r *http.Request)
proxy/internal/gateway/cache_warm_test.go:99
MethodRoundTrip
(r *http.Request)
shared/platform/kms/kms_test.go:368
MethodRoundTrip
(*http.Request)
shared/platform/ssrf/ssrf.go:571
MethodRoundTrip
(r *http.Request)
shared/platform/awscreds/awscreds_test.go:54
FunctionRunWithQuality
RunWithQuality replays the embedded fixture set and also sends baseline and compressed prompts through a model runner before grading the answers.
engine/evals/harness.go:149
MethodSafetyClass
()
engine/simulate_test.go:17
MethodSafetyClass
()
engine/compressors/axtree.go:33
MethodSafetyClass
()
engine/compressors/tabular.go:71
MethodSafetyClass
()
engine/compressors/html.go:41
MethodSafetyClass
()
engine/compressors/repetition.go:41
MethodSafetyClass
()
engine/compressors/diff.go:27
MethodSafetyClass
()
engine/compressors/text.go:37
MethodSafetyClass
()
engine/compressors/json_strategy.go:29
MethodSafetyClass
()
engine/compressors/toon.go:16
MethodSafetyClass
()
engine/compressors/toolschema.go:89
MethodSafetyClass
()
engine/compressors/searchresult.go:34
MethodSafetyClass
()
engine/compressors/code_nocgo.go:31
MethodSafetyClass
()
engine/compressors/code_cgo.go:56
MethodSafetyClass
()
engine/compressors/testreport.go:24
MethodSafetyClass
()
engine/compressors/log.go:79
MethodSafetyClass
()
engine/compressors/config.go:45
MethodSafetyClass
()
engine/compressors/terminal.go:56
MethodSafetyClass
()
engine/compressors/toolschema_annotations.go:412
MethodSafetyClass
()
engine/compressors/json.go:66
MethodSanitizeAndMapHeaders
(ctx context.Context, req *http.Request, credential providers.Credential, upstream *url.URL)
proxy/providers/gemini/gemini.go:41
MethodSanitizeAndMapHeaders
SanitizeAndMapHeaders builds the upstream header set for Bedrock Runtime or Mantle. Bedrock API keys use a bearer on Runtime and x-api-key on Mantle.
proxy/providers/bedrock/signing.go:29
MethodSanitizeAndMapHeaders
SanitizeAndMapHeaders puts the credential in the header that the wire protocol of the request expects. A named mount can serve two protocols from one
proxy/providers/openaicompat/openaicompat.go:258
MethodSanitizeAndMapHeaders
(ctx context.Context, req *http.Request, credential providers.Credential, upstream *url.URL)
proxy/providers/vertex/vertex.go:40
MethodSaveChoices
(scope string, choices []MiddlewareChoice)
proxy/internal/store/middleware_postgres.go:455
MethodSaveChoices
SaveChoices publishes immutable choices. Handle is a CCR handle only for choices an older runtime made; this runtime's choices store their original in
proxy/internal/store/middleware.go:659
MethodSavePlan
(scope, id, digest string, body []byte, now, expires int64)
proxy/internal/store/middleware_postgres.go:423
MethodSavePlan
SavePlan records an idempotent replay. Plans carry their own expiry: a scope renewed on every call would otherwise keep one row per call until it laps
proxy/internal/store/middleware.go:620
MethodSaveScope
(s MiddlewareScope)
proxy/internal/store/middleware_postgres.go:392
MethodSaveScope
SaveScope inserts or advances a scope. created_at is set once, at insert.
proxy/internal/store/middleware.go:595
MethodScope
(id string)
proxy/internal/store/middleware_postgres.go:368
MethodScope
(id string)
proxy/internal/store/middleware.go:587
FunctionServe
Serve binds runtime transport for current platform.
proxy/internal/nativeruntime/server_unix.go:28
MethodSessionUsage
SessionUsage returns content-blind provider telemetry for one exact correlated native session. Dollar values remain catalog list-price subtotals/infer
proxy/internal/store/store.go:931
MethodSessionUsage
(string)
proxy/internal/nativeruntime/runtime_test.go:22
MethodSetObjectCurrentness
(id string, value Currentness)
engine/ccr/store_generation.go:233
MethodSetObjectLifecycle
(id string, value Lifecycle)
engine/ccr/store_generation.go:238
FunctionSlogReplaceAttr
SlogReplaceAttr is a slog.HandlerOptions.ReplaceAttr hook that applies the same secret scrubbing to every string and error attribute before a handler
shared/platform/redact/redact.go:390
MethodSnapshot
(_ context.Context, url string, _ time.Duration)
browse/session_test.go:31
MethodSnapshot
(ctx context.Context, pageURL string, wait time.Duration)
browse/cdp_integration_test.go:24
MethodSnapshot
(context.Context, string, time.Duration)
browse/cmd/caveman-browse/main.go:503
MethodStartNewEpoch
StartNewEpoch explicitly replaces cache state. Callers must separately prove cold creation plus warm reads beat baseline total catalog cost.
shared/platform/cacheguard/cacheguard.go:142
MethodStoreOriginal
([]byte)
proxy/internal/standalone/provider_routes_test.go:21
MethodStoreOriginal
(b []byte)
proxy/internal/store/prefix_stability_e2e_test.go:77
MethodStoreOriginal
(b []byte)
proxy/internal/store/prefix_stability_e2e_test.go:174
MethodStoreOriginal
(b []byte)
proxy/internal/store/prefix_stability_openai_e2e_test.go:61
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/cache_prefix_invariant_test.go:330
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/pixel_test.go:31
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/compress_test.go:54
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/compress_test.go:88
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/chatgpt_test.go:41
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/estimate_test.go:29
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/live_zone_test.go:82
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/prefix_stability_test.go:110
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/prefix_stability_test.go:551
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/toolschema_strip_test.go:66
MethodStoreOriginal
(body []byte)
proxy/internal/gateway/toolschema_strip_test.go:88
MethodStripToolSchema
StripToolSchema removes the documentation-only JSON-Schema annotation keywords from a serialized tool catalog through the engine's canonical strip — t
proxy/internal/standalone/standalone.go:483
MethodStripToolSchema
([]byte)
proxy/internal/standalone/provider_routes_test.go:26
MethodStripToolSchema
(tools []byte)
proxy/internal/gateway/cache_prefix_invariant_test.go:339
MethodStripToolSchema
(tools []byte)
proxy/internal/gateway/toolschema_strip_test.go:76
FunctionSummarize
Summarize groups items by tag, totals them, and finds the highest scorer. It returns ErrEmpty when there is nothing to summarize.
engine/evals/fixtures/sample.go:31
MethodSummary
()
engine/ccr/store_generation.go:251
FunctionTestADecisionHoldsWhileItIsUsed
A decision holds 30 min after its last use, so a tool loop longer than that never switches model halfway.
proxy/internal/cloudlink/link_test.go:1421
FunctionTestAKeychainSlowerThanTheBudgetNeverPauses
A keychain read slower than the route budget leaves the first request on the asked model within the budget, without a pause: the next request, once th
proxy/internal/cloudlink/link_test.go:1319
FunctionTestALateKeychainReadSendsNoAsk
A keychain read landing with less than askFloor of the budget left sends no ask (a timeout there would pause routing): credential_loading, and the nex
proxy/internal/cloudlink/link_test.go:1394
FunctionTestARefusedCacheKeyReplaysWithoutItAndLatches
A 4xx that names prompt_cache_key replays the agent's own bytes, without it, and the session goes without it from then on. The error is asked for with
proxy/internal/gateway/route_effort_responses_test.go:387
FunctionTestAXTreeCapturedCDPFixtureReductionAndExactRecovery
(t *testing.T)
engine/axtree_test.go:117
FunctionTestAXTreeCapturedFixtureCompactGoldenAndTokenBudget
(t *testing.T)
engine/compressors/axtree_test.go:222
FunctionTestAXTreeCuratesIgnoredAndGenericNodes
(t *testing.T)
engine/compressors/axtree_test.go:60
FunctionTestAXTreeDanglingChildBecomesLeaf
TestAXTreeDanglingChildBecomesLeaf pins the fix: an <iframe> node whose childId points at a child-document root absent from this frame's getFullAXTre
engine/compressors/axtree_test.go:111
FunctionTestAXTreeEngineForcedOnlyCCRRoundTrip
(t *testing.T)
engine/axtree_test.go:60
FunctionTestAXTreeHighNoiseFixtureReducesIgnoredNodesAndTokens
(t *testing.T)
engine/compressors/axtree_test.go:182
FunctionTestAXTreeMalformedFailsClosed
(t *testing.T)
engine/compressors/axtree_test.go:90
← previousnext →8,201–8,300 of 12,391, ranked by callers