MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

MethodExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/openaicompat/content_compress_test.go:32
MethodExtractStabilizable
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
MethodExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/azureopenai/azureopenai.go:31
MethodExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/vertex/content_compress.go:57
MethodExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/internal/gateway/cache_prefix_invariant_test.go:1552
FunctionFilterByTag
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
MethodFindTaskDecision
(id string)
engine/ccr/store_generation.go:247
FunctionFixtureFiles
FixtureFiles lists the embedded fixture file names (excluding the manifest), for tests and tooling.
engine/evals/harness.go:331
MethodFlush
()
proxy/internal/translate/wire_gaps_test.go:1097
MethodFlush
()
proxy/internal/translate/wire_gaps_test.go:1155
MethodFlush
()
proxy/internal/translate/bench_test.go:118
MethodFlush
()
proxy/internal/gateway/route_test.go:422
MethodFlush
()
proxy/internal/gateway/route_pool.go:233
MethodFrozenPrefixComponents
(body []byte, meta providers.RequestMetadata)
proxy/providers/openaicompat/openaicompat.go:213
MethodFrozenPrefixComponents
(body []byte, meta providers.RequestMetadata)
proxy/providers/vertex/content_compress.go:68
FunctionFuzzAXTreeDeterministicAndFailClosed
(f *testing.F)
engine/compressors/axtree_test.go:326
FunctionFuzzCachePrefixInvariant
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
FunctionFuzzChatToChat
(f *testing.F)
proxy/internal/translate/properties_test.go:282
FunctionFuzzChatToMessages
(f *testing.F)
proxy/internal/translate/properties_test.go:281
FunctionFuzzChatToResponses
(f *testing.F)
proxy/internal/translate/properties_test.go:283
FunctionFuzzInspectObject
(f *testing.F)
proxy/providers/inspect_test.go:131
FunctionFuzzMessagesToChat
(f *testing.F)
proxy/internal/translate/properties_test.go:279
FunctionFuzzMessagesToMessages
(f *testing.F)
proxy/internal/translate/properties_test.go:278
FunctionFuzzMessagesToResponses
(f *testing.F)
proxy/internal/translate/properties_test.go:280
FunctionFuzzResponsesToChat
(f *testing.F)
proxy/internal/translate/properties_test.go:285
FunctionFuzzResponsesToMessages
(f *testing.F)
proxy/internal/translate/properties_test.go:284
FunctionFuzzResponsesToResponses
(f *testing.F)
proxy/internal/translate/properties_test.go:286
FunctionFuzzScanJSONString
(f *testing.F)
proxy/providers/anthropic/scan_string_test.go:55
FunctionFuzzTOONDecode
(f *testing.F)
engine/compressors/toon_roundtrip_test.go:68
FunctionFuzzTOONRoundTrip
(f *testing.F)
engine/compressors/toon_roundtrip_test.go:32
FunctionFuzzUsageLineFilter
(f *testing.F)
proxy/providers/usage_line_filter_test.go:80
MethodGet
(handle string)
engine/ccr/store_generation.go:217
MethodGetMetadata
(handle string)
engine/ccr/store_generation.go:221
MethodGetObject
(id string)
engine/ccr/store_generation.go:229
MethodGrade
(_ context.Context, g Grader, s Subject)
engine/evals/quality.go:53
MethodGrant
(authority, grant string)
proxy/internal/store/middleware_postgres.go:468
MethodGrant
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
MethodHeader
()
proxy/internal/translate/messages_responses.go:314
MethodHeader
()
proxy/internal/translate/bench_test.go:115
MethodInitMiddleware
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
MethodInitMiddleware
(ctx context.Context)
proxy/internal/store/middleware.go:133
MethodInspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/gemini/gemini.go:100
MethodInspectRequest
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
MethodInspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/anthropic/anthropic.go:17
MethodInspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/openaicompat/openaicompat.go:156
MethodInspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/openaicompat/openaicompat.go:285
MethodInspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/openai/openai.go:39
MethodInspectRequest
(ctx context.Context, body providers.BodyReader, headers http.Header)
proxy/providers/azureopenai/azureopenai.go:19
MethodInspectRequest
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
MethodListSessionObjects
(sessionID string, limit int)
engine/ccr/store_generation.go:243
MethodListTools
(context.Context)
mcp/codemode/stdio_js_builtin_test.go:943
MethodListTools
(ctx context.Context)
mcp/codemode/http_upstream.go:184
MethodListTools
(ctx context.Context)
mcp/codemode/http_upstream.go:214
MethodListTools
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
MethodListTools
(_ context.Context)
mcp/codemode/builtin_tools.go:1054
MethodLookupReplacement
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
MethodLookupReplacement
(scope string, original []byte)
proxy/internal/gateway/dedup_test.go:75
MethodLookupReplacement
(scope string, original []byte)
proxy/internal/gateway/prefix_stability_test.go:52
MethodMapProviderError
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
MethodMarshalJSON
()
engine/pixel/transform_gemini.go:379
MethodMarshalJSON
()
engine/pixel/transform_gemini.go:438
MethodMarshalJSON
()
engine/pixel/transform_gemini.go:471
MethodMatchMetadataRequest
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
MethodMatchMetadataRequest
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
MethodMatchMetadataRoute
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
MethodMatchMetadataRoute
MatchMetadataRoute mirrors MatchRoute: validate the decoded path spelling first, then consult the GET-only metadata allowlist.
proxy/providers/openaicompat/openaicompat.go:278
MethodMatchOAuthTokenRoute
MatchOAuthTokenRoute reports whether this is a request to the provider's OAuth token endpoint (see Base.OAuthTokenRoutes).
proxy/providers/adapter.go:582
MethodMatchRoute
(method string, path string)
proxy/providers/gemini/gemini.go:89
MethodMatchRoute
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
MethodMatchRoute
(method, path string)
proxy/providers/openaicompat/openaicompat.go:269
MethodMiddlewareBacklog
(ctx context.Context, now int64)
proxy/internal/store/middleware_postgres.go:335
MethodMiddlewareBacklog
(ctx context.Context, now int64)
proxy/internal/store/middleware.go:562
MethodMiddlewareKeys
(ctx context.Context)
proxy/internal/store/middleware_postgres.go:317
MethodMiddlewareKeys
(ctx context.Context)
proxy/internal/store/middleware.go:544
MethodMiddlewareUsage
(ctx context.Context)
proxy/internal/store/middleware_postgres.go:312
MethodMiddlewareUsage
MiddlewareUsage reports the whole store's admitted rows and bytes.
proxy/internal/store/middleware.go:539
MethodMiddlewareWritable
(ctx context.Context)
proxy/internal/middleware/hardening_test.go:172
MethodMiddlewareWritable
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
MethodMiddlewareWritable
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
MethodName
()
engine/engine_test.go:18
MethodName
()
engine/tokens/tokens.go:43
MethodName
()
engine/tokens/tokens.go:66
MethodName
()
proxy/providers/adapter.go:534
MethodName
()
proxy/internal/middleware/counter.go:28
MethodName
()
mcp/codemode/stdio_js_builtin_test.go:942
MethodName
()
mcp/codemode/http_upstream.go:182
MethodName
()
mcp/codemode/http_upstream.go:212
MethodName
Name returns the registered MCP server name.
mcp/codemode/stdio_upstream.go:147
MethodName
()
mcp/codemode/codemode.go:172
FunctionNewSpanID
()
shared/platform/id/id.go:33
MethodNewUsageScanner
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
FunctionNewWithReceipts
(store *ccr.Store, receiptDir string)
proxy/internal/nativeruntime/runtime.go:173
MethodNow
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
MethodObserve
Observe queues one event for a recorded request. It never blocks.
proxy/internal/cloudlink/events.go:94
MethodObserve
(rec RequestRecord)
proxy/internal/gateway/route_test.go:98
FunctionOpen
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
FunctionOpenMemory
OpenMemory opens an ephemeral in-memory store.
engine/ccr/store_sqlite.go:628
MethodOriginal
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
MethodOriginal
(authority, digest string)
proxy/internal/store/middleware_postgres.go:738
MethodOriginals
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
← previousnext →8,401–8,500 of 12,853, ranked by callers