Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,391 in github.com/JuliusBrussee/caveman
⨍
Functions
12,391
◇
Types & classes
1,304
↳
Endpoints
5
Method
Retrieve
(string)
mcp/engine_tools_retrieve_test.go:145
Method
Retrieve
(h string)
mcp/server_test.go:99
Method
RetrieveOriginal
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
Method
RetrieveOriginal
(handle, query string)
proxy/internal/gateway/compress_test.go:65
Method
RetrieveOriginal
(handle, query string)
proxy/internal/gateway/live_zone_test.go:95
Method
RetrieveQuery
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
Method
RetrieveQuery
(handle, query string)
mcp/engine_tools_retrieve_test.go:31
Method
RetrieveQuery
(string, string)
mcp/engine_tools_retrieve_test.go:123
Method
RetrieveQuery
(string, string)
mcp/engine_tools_retrieve_test.go:148
Method
RetrieveQuery
(h, _ string)
mcp/server_test.go:100
Method
Revoke
Revoke is SQLite's, under the authority's lock.
proxy/internal/store/middleware_postgres.go:488
Method
Revoke
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
Method
Revoked
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
Method
Revoked
(authority string)
proxy/internal/store/middleware.go:603
Method
RoundTrip
(r *http.Request)
proxy/internal/cloudlink/live_cache_test.go:52
Method
RoundTrip
(r *http.Request)
proxy/internal/standalone/standalone_test.go:36
Method
RoundTrip
(r *http.Request)
proxy/internal/standalone/hotpath_bench_test.go:20
Method
RoundTrip
(r *http.Request)
proxy/internal/standalone/golden_rows_test.go:96
Method
RoundTrip
(r *http.Request)
proxy/internal/store/prefix_stability_e2e_test.go:34
Method
RoundTrip
(r *http.Request)
proxy/internal/store/prefix_stability_openai_e2e_test.go:33
Method
RoundTrip
(*http.Request)
proxy/internal/pool/pool_test.go:248
Method
RoundTrip
(r *http.Request)
proxy/internal/gateway/cache_prefix_invariant_test.go:376
Method
RoundTrip
(r *http.Request)
proxy/internal/gateway/cache_warm_test.go:99
Method
RoundTrip
(r *http.Request)
shared/platform/kms/kms_test.go:368
Method
RoundTrip
(*http.Request)
shared/platform/ssrf/ssrf.go:571
Method
RoundTrip
(r *http.Request)
shared/platform/awscreds/awscreds_test.go:54
Function
RunWithQuality
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
Method
SafetyClass
()
engine/simulate_test.go:17
Method
SafetyClass
()
engine/compressors/axtree.go:33
Method
SafetyClass
()
engine/compressors/tabular.go:71
Method
SafetyClass
()
engine/compressors/html.go:41
Method
SafetyClass
()
engine/compressors/repetition.go:41
Method
SafetyClass
()
engine/compressors/diff.go:27
Method
SafetyClass
()
engine/compressors/text.go:37
Method
SafetyClass
()
engine/compressors/json_strategy.go:29
Method
SafetyClass
()
engine/compressors/toon.go:16
Method
SafetyClass
()
engine/compressors/toolschema.go:89
Method
SafetyClass
()
engine/compressors/searchresult.go:34
Method
SafetyClass
()
engine/compressors/code_nocgo.go:31
Method
SafetyClass
()
engine/compressors/code_cgo.go:56
Method
SafetyClass
()
engine/compressors/testreport.go:24
Method
SafetyClass
()
engine/compressors/log.go:79
Method
SafetyClass
()
engine/compressors/config.go:45
Method
SafetyClass
()
engine/compressors/terminal.go:56
Method
SafetyClass
()
engine/compressors/toolschema_annotations.go:412
Method
SafetyClass
()
engine/compressors/json.go:66
Method
SanitizeAndMapHeaders
(ctx context.Context, req *http.Request, credential providers.Credential, upstream *url.URL)
proxy/providers/gemini/gemini.go:41
Method
SanitizeAndMapHeaders
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
Method
SanitizeAndMapHeaders
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
Method
SanitizeAndMapHeaders
(ctx context.Context, req *http.Request, credential providers.Credential, upstream *url.URL)
proxy/providers/vertex/vertex.go:40
Method
SaveChoices
(scope string, choices []MiddlewareChoice)
proxy/internal/store/middleware_postgres.go:455
Method
SaveChoices
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
Method
SavePlan
(scope, id, digest string, body []byte, now, expires int64)
proxy/internal/store/middleware_postgres.go:423
Method
SavePlan
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
Method
SaveScope
(s MiddlewareScope)
proxy/internal/store/middleware_postgres.go:392
Method
SaveScope
SaveScope inserts or advances a scope. created_at is set once, at insert.
proxy/internal/store/middleware.go:595
Method
Scope
(id string)
proxy/internal/store/middleware_postgres.go:368
Method
Scope
(id string)
proxy/internal/store/middleware.go:587
Function
Serve
Serve binds runtime transport for current platform.
proxy/internal/nativeruntime/server_unix.go:28
Method
SessionUsage
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
Method
SessionUsage
(string)
proxy/internal/nativeruntime/runtime_test.go:22
Method
SetObjectCurrentness
(id string, value Currentness)
engine/ccr/store_generation.go:233
Method
SetObjectLifecycle
(id string, value Lifecycle)
engine/ccr/store_generation.go:238
Function
SlogReplaceAttr
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
Method
Snapshot
(_ context.Context, url string, _ time.Duration)
browse/session_test.go:31
Method
Snapshot
(ctx context.Context, pageURL string, wait time.Duration)
browse/cdp_integration_test.go:24
Method
Snapshot
(context.Context, string, time.Duration)
browse/cmd/caveman-browse/main.go:503
Method
StartNewEpoch
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
Method
StoreOriginal
([]byte)
proxy/internal/standalone/provider_routes_test.go:21
Method
StoreOriginal
(b []byte)
proxy/internal/store/prefix_stability_e2e_test.go:77
Method
StoreOriginal
(b []byte)
proxy/internal/store/prefix_stability_e2e_test.go:174
Method
StoreOriginal
(b []byte)
proxy/internal/store/prefix_stability_openai_e2e_test.go:61
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/cache_prefix_invariant_test.go:330
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/pixel_test.go:31
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/compress_test.go:54
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/compress_test.go:88
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/chatgpt_test.go:41
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/estimate_test.go:29
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/live_zone_test.go:82
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/prefix_stability_test.go:110
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/prefix_stability_test.go:551
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/toolschema_strip_test.go:66
Method
StoreOriginal
(body []byte)
proxy/internal/gateway/toolschema_strip_test.go:88
Method
StripToolSchema
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
Method
StripToolSchema
([]byte)
proxy/internal/standalone/provider_routes_test.go:26
Method
StripToolSchema
(tools []byte)
proxy/internal/gateway/cache_prefix_invariant_test.go:339
Method
StripToolSchema
(tools []byte)
proxy/internal/gateway/toolschema_strip_test.go:76
Function
Summarize
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
Method
Summary
()
engine/ccr/store_generation.go:251
Function
TestADecisionHoldsWhileItIsUsed
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
Function
TestAKeychainSlowerThanTheBudgetNeverPauses
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
Function
TestALateKeychainReadSendsNoAsk
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
Function
TestARefusedCacheKeyReplaysWithoutItAndLatches
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
Function
TestAXTreeCapturedCDPFixtureReductionAndExactRecovery
(t *testing.T)
engine/axtree_test.go:117
Function
TestAXTreeCapturedFixtureCompactGoldenAndTokenBudget
(t *testing.T)
engine/compressors/axtree_test.go:222
Function
TestAXTreeCuratesIgnoredAndGenericNodes
(t *testing.T)
engine/compressors/axtree_test.go:60
Function
TestAXTreeDanglingChildBecomesLeaf
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
Function
TestAXTreeEngineForcedOnlyCCRRoundTrip
(t *testing.T)
engine/axtree_test.go:60
Function
TestAXTreeHighNoiseFixtureReducesIgnoredNodesAndTokens
(t *testing.T)
engine/compressors/axtree_test.go:182
Function
TestAXTreeMalformedFailsClosed
(t *testing.T)
engine/compressors/axtree_test.go:90
← previous
next →
8,201–8,300 of 12,391, ranked by callers