Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,853 in github.com/JuliusBrussee/caveman
⨍
Functions
12,853
◇
Types & classes
1,364
↳
Endpoints
5
Method
ExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/openaicompat/content_compress_test.go:32
Method
ExtractStabilizable
ExtractStabilizable returns every content block the proxy may rewrite, each tagged with the cache zone it sits in: the live zone (Live, eligible for n
proxy/providers/openai/content_compress.go:88
Method
ExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/azureopenai/azureopenai.go:31
Method
ExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/vertex/content_compress.go:57
Method
ExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/internal/gateway/cache_prefix_invariant_test.go:1552
Function
FilterByTag
FilterByTag returns the items carrying the given tag, sorted by score descending so the most relevant items come first.
engine/evals/fixtures/sample.go:52
Method
FindTaskDecision
(id string)
engine/ccr/store_generation.go:247
Function
FixtureFiles
FixtureFiles lists the embedded fixture file names (excluding the manifest), for tests and tooling.
engine/evals/harness.go:331
Method
Flush
()
proxy/internal/translate/wire_gaps_test.go:1097
Method
Flush
()
proxy/internal/translate/wire_gaps_test.go:1155
Method
Flush
()
proxy/internal/translate/bench_test.go:118
Method
Flush
()
proxy/internal/gateway/route_test.go:422
Method
Flush
()
proxy/internal/gateway/route_pool.go:233
Method
FrozenPrefixComponents
(body []byte, meta providers.RequestMetadata)
proxy/providers/openaicompat/openaicompat.go:213
Method
FrozenPrefixComponents
(body []byte, meta providers.RequestMetadata)
proxy/providers/vertex/content_compress.go:68
Function
FuzzAXTreeDeterministicAndFailClosed
(f *testing.F)
engine/compressors/axtree_test.go:326
Function
FuzzCachePrefixInvariant
FuzzCachePrefixInvariant walks random sequences of the same operations — turns, tool results, side requests, forks, rewinds, client edits, compaction,
proxy/internal/gateway/cache_prefix_invariant_test.go:1049
Function
FuzzChatToChat
(f *testing.F)
proxy/internal/translate/properties_test.go:282
Function
FuzzChatToMessages
(f *testing.F)
proxy/internal/translate/properties_test.go:281
Function
FuzzChatToResponses
(f *testing.F)
proxy/internal/translate/properties_test.go:283
Function
FuzzInspectObject
(f *testing.F)
proxy/providers/inspect_test.go:131
Function
FuzzMessagesToChat
(f *testing.F)
proxy/internal/translate/properties_test.go:279
Function
FuzzMessagesToMessages
(f *testing.F)
proxy/internal/translate/properties_test.go:278
Function
FuzzMessagesToResponses
(f *testing.F)
proxy/internal/translate/properties_test.go:280
Function
FuzzResponsesToChat
(f *testing.F)
proxy/internal/translate/properties_test.go:285
Function
FuzzResponsesToMessages
(f *testing.F)
proxy/internal/translate/properties_test.go:284
Function
FuzzResponsesToResponses
(f *testing.F)
proxy/internal/translate/properties_test.go:286
Function
FuzzScanJSONString
(f *testing.F)
proxy/providers/anthropic/scan_string_test.go:55
Function
FuzzTOONDecode
(f *testing.F)
engine/compressors/toon_roundtrip_test.go:68
Function
FuzzTOONRoundTrip
(f *testing.F)
engine/compressors/toon_roundtrip_test.go:32
Function
FuzzUsageLineFilter
(f *testing.F)
proxy/providers/usage_line_filter_test.go:80
Method
Get
(handle string)
engine/ccr/store_generation.go:217
Method
GetMetadata
(handle string)
engine/ccr/store_generation.go:221
Method
GetObject
(id string)
engine/ccr/store_generation.go:229
Method
Grade
(_ context.Context, g Grader, s Subject)
engine/evals/quality.go:53
Method
Grant
(authority, grant string)
proxy/internal/store/middleware_postgres.go:468
Method
Grant
Grant never accepts a global CCR hash as authority. Even possession of the random grant requires the authenticated principal and matching session scop
proxy/internal/store/middleware.go:672
Method
Header
()
proxy/internal/translate/messages_responses.go:314
Method
Header
()
proxy/internal/translate/bench_test.go:115
Method
InitMiddleware
InitMiddleware migrates under an advisory lock, so replicas starting together run it one after another; the later ones find the version current and sk
proxy/internal/store/middleware_postgres.go:206
Method
InitMiddleware
(ctx context.Context)
proxy/internal/store/middleware.go:133
Method
InspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/gemini/gemini.go:100
Method
InspectRequest
InspectRequest fills in request metadata. Bedrock carries the model id in the request path (/bedrock/model/{modelId}/…) rather than the body, so the m
proxy/providers/bedrock/routing.go:276
Method
InspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/anthropic/anthropic.go:17
Method
InspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/openaicompat/openaicompat.go:156
Method
InspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/openaicompat/openaicompat.go:285
Method
InspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/openai/openai.go:39
Method
InspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/azureopenai/azureopenai.go:19
Method
InspectRequest
InspectRequest fills in request metadata. Vertex carries the model id in the request path (.../models/{model}:{method}) rather than the body, so the m
proxy/providers/vertex/routing.go:95
Method
ListSessionObjects
(sessionID string, limit int)
engine/ccr/store_generation.go:243
Method
ListTools
(context.Context)
mcp/codemode/stdio_js_builtin_test.go:943
Method
ListTools
(ctx context.Context)
mcp/codemode/http_upstream.go:184
Method
ListTools
(ctx context.Context)
mcp/codemode/http_upstream.go:214
Method
ListTools
ListTools queries tools/list from the downstream MCP server (cached after first successful fetch so Gateway.AddUpstream does not re-spawn round-trips)
mcp/codemode/stdio_upstream.go:151
Method
ListTools
(_ context.Context)
mcp/codemode/builtin_tools.go:1054
Method
LookupReplacement
LookupReplacement returns the replacement bytes this proxy previously emitted for these exact original bytes, plus the CCR handle they disclose. It im
proxy/internal/store/prefix_cache.go:38
Method
LookupReplacement
(scope string, original []byte)
proxy/internal/gateway/dedup_test.go:75
Method
LookupReplacement
(scope string, original []byte)
proxy/internal/gateway/prefix_stability_test.go:52
Method
MapProviderError
MapProviderError maps a Bedrock error response to a ProviderError, preferring the AWS x-amzn-errortype header (e.g. ThrottlingException, ValidationExc
proxy/providers/bedrock/usage.go:646
Method
MarshalJSON
()
engine/pixel/transform_gemini.go:379
Method
MarshalJSON
()
engine/pixel/transform_gemini.go:438
Method
MarshalJSON
()
engine/pixel/transform_gemini.go:471
Method
MatchMetadataRequest
MatchMetadataRequest claims /anthropic/v1/models always, but the bare v1/models spelling only from Anthropic wire-protocol callers: every Anthropic SD
proxy/providers/anthropic/anthropic.go:51
Method
MatchMetadataRequest
MatchMetadataRequest is the OpenAI half of the bare /v1/models split (see anthropic.Adapter.MatchMetadataRequest): /openai/v1/models is always OpenAI,
proxy/providers/openai/openai.go:23
Method
MatchMetadataRoute
MatchMetadataRoute reports whether this is a read-only provider metadata request (see Base.MetadataRoutes). GET only: a write verb on a metadata mount
proxy/providers/adapter.go:556
Method
MatchMetadataRoute
MatchMetadataRoute mirrors MatchRoute: validate the decoded path spelling first, then consult the GET-only metadata allowlist.
proxy/providers/openaicompat/openaicompat.go:278
Method
MatchOAuthTokenRoute
MatchOAuthTokenRoute reports whether this is a request to the provider's OAuth token endpoint (see Base.OAuthTokenRoutes).
proxy/providers/adapter.go:582
Method
MatchRoute
(method string, path string)
proxy/providers/gemini/gemini.go:89
Method
MatchRoute
MatchRoute rejects path spellings whose decoded form could claim a different compatibility mount than the caller sent. The gateway performs the same c
proxy/providers/openaicompat/openaicompat.go:37
Method
MatchRoute
(method, path string)
proxy/providers/openaicompat/openaicompat.go:269
Method
MiddlewareBacklog
(ctx context.Context, now int64)
proxy/internal/store/middleware_postgres.go:335
Method
MiddlewareBacklog
(ctx context.Context, now int64)
proxy/internal/store/middleware.go:562
Method
MiddlewareKeys
(ctx context.Context)
proxy/internal/store/middleware_postgres.go:317
Method
MiddlewareKeys
(ctx context.Context)
proxy/internal/store/middleware.go:544
Method
MiddlewareUsage
(ctx context.Context)
proxy/internal/store/middleware_postgres.go:312
Method
MiddlewareUsage
MiddlewareUsage reports the whole store's admitted rows and bytes.
proxy/internal/store/middleware.go:539
Method
MiddlewareWritable
(ctx context.Context)
proxy/internal/middleware/hardening_test.go:172
Method
MiddlewareWritable
MiddlewareWritable assigns a transaction id, which a read-only or recovering (standby) server refuses, without touching a middleware row.
proxy/internal/store/middleware_postgres.go:305
Method
MiddlewareWritable
MiddlewareWritable proves the store accepts a write: it rewrites one existing row in a transaction and commits, so a read-only file, a full disk or a
proxy/internal/store/middleware.go:531
Method
Name
()
engine/engine_test.go:18
Method
Name
()
engine/tokens/tokens.go:43
Method
Name
()
engine/tokens/tokens.go:66
Method
Name
()
proxy/providers/adapter.go:534
Method
Name
()
proxy/internal/middleware/counter.go:28
Method
Name
()
mcp/codemode/stdio_js_builtin_test.go:942
Method
Name
()
mcp/codemode/http_upstream.go:182
Method
Name
()
mcp/codemode/http_upstream.go:212
Method
Name
Name returns the registered MCP server name.
mcp/codemode/stdio_upstream.go:147
Method
Name
()
mcp/codemode/codemode.go:172
Function
NewSpanID
()
shared/platform/id/id.go:33
Method
NewUsageScanner
NewUsageScanner returns a Bedrock-aware usage scanner so streamed (converse-stream / invoke-with-response-stream) responses are parsed with the same c
proxy/providers/bedrock/usage.go:47
Function
NewWithReceipts
(store *ccr.Store, receiptDir string)
proxy/internal/nativeruntime/runtime.go:173
Method
Now
Now is wall time: a laptop that slept must see the hours it slept, which the monotonic reading does not count.
proxy/internal/gateway/cache_warm.go:83
Method
Observe
Observe queues one event for a recorded request. It never blocks.
proxy/internal/cloudlink/events.go:94
Method
Observe
(rec RequestRecord)
proxy/internal/gateway/route_test.go:98
Function
Open
Open opens (creating if needed) the SQLite database at path and migrates the schema. Use ":memory:" for an ephemeral store (tests, the eval harness).
engine/ccr/store_sqlite.go:280
Function
OpenMemory
OpenMemory opens an ephemeral in-memory store.
engine/ccr/store_sqlite.go:628
Method
Original
Original returns a stored original and its key id; sql.ErrNoRows when the authority holds no content for digest.
proxy/internal/store/middleware_originals.go:60
Method
Original
(authority, digest string)
proxy/internal/store/middleware_postgres.go:738
Method
Originals
Middleware originals are stored once per (authority, digest): the row is both the exact original a grant recovers and the unique-content credit. A row
proxy/internal/store/middleware_originals.go:17
← previous
next →
8,401–8,500 of 12,853, ranked by callers