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
↓ 1 callers
Function
Decrypt
Decrypt delegates to configured environment client.
shared/platform/kms/kms.go:202
↓ 1 callers
Function
DecryptPayload
DecryptPayload unwraps an artifact data key with the dedicated payload KEK, while allowing the explicitly configured legacy secrets key during cutover
shared/platform/kms/kms.go:212
↓ 1 callers
Function
DefaultLearnReportPath
(home string)
proxy/internal/store/report.go:23
↓ 1 callers
Function
DefaultReportPath
(home, trialID string)
proxy/internal/store/report.go:16
↓ 1 callers
Function
DefaultUserDataDir
(home string)
browse/cdp.go:428
↓ 1 callers
Method
DeleteQuotaProvider
(provider string)
proxy/internal/store/trial_store.go:192
↓ 1 callers
Function
DensityInkNote
DensityInkNote returns the reader instruction a caller must prepend before rendered content so the model reads the ink convention correctly: the two-l
engine/pixel/density.go:358
↓ 1 callers
Function
Dereflow
(s string)
engine/pixel/render.go:134
↓ 1 callers
Method
DigestSummaryLine
DigestSummaryLine is the one-line human framing the CLI prints next to the path.
proxy/internal/store/learn_digest.go:197
↓ 1 callers
Method
DirectOnly
DirectOnly drops the items that ranked on metadata proximity alone. A bundle qualifies on one direct item, so the rest ride along otherwise — into the
proxy/internal/repointel/index.go:128
↓ 1 callers
Function
EmbeddedManifest
EmbeddedManifest returns the built-in fixture manifest.
engine/evals/harness.go:161
↓ 1 callers
Function
EnablementOnlyOpportunityContracts
EnablementOnlyOpportunityContracts returns a stable copy. Callers cannot mutate the package's closed vocabulary.
shared/platform/optimizers/optimizers.go:172
↓ 1 callers
Function
Encrypt
Encrypt delegates to configured environment client.
shared/platform/kms/kms.go:157
↓ 1 callers
Function
EncryptPayload
EncryptPayload wraps an artifact data key with the dedicated payload KEK.
shared/platform/kms/kms.go:166
↓ 1 callers
Function
ErrorWithDetails
ErrorWithDetails writes the same envelope as Error plus a "details" object the caller can act on programmatically. Server errors are redacted exactly
shared/platform/httpx/httpx.go:49
↓ 1 callers
Method
EstimateSegment
(segment []byte)
proxy/internal/gateway/server.go:132
↓ 1 callers
Method
EstimateSegmentQuery
(segment []byte, query string)
proxy/internal/gateway/server.go:138
↓ 1 callers
Method
Eval
(ctx context.Context, expression string)
browse/session.go:34
↓ 1 callers
Method
Eval
(ctx context.Context, expression string)
browse/cdp.go:246
↓ 1 callers
Function
ExtractFactSheetEntriesAllPages
(text string, charsPerPage int)
engine/pixel/factsheet.go:187
↓ 1 callers
Function
FactSheetTextFromEntries
(entries []FactSheetEntry)
engine/pixel/factsheet.go:243
↓ 1 callers
Method
FinishTrial
(trialID string, exitCode int)
proxy/internal/store/trial_store.go:74
↓ 1 callers
Method
FrozenPrefixComponents
FrozenPrefixComponents returns exact JSON value bytes that Anthropic treats as frozen context: top-level system/tools plus messages below cache floor.
proxy/providers/anthropic/content_compress.go:20
↓ 1 callers
Function
GUARD
(label: string)
packages/pi-extension/src/index.ts:150
↓ 1 callers
Function
GoogleRequestCarriesQueryCredential
GoogleRequestCarriesQueryCredential reports a caller credential supplied as a URL query parameter that this proxy does not resolve. The request alread
proxy/providers/google_credentials.go:70
↓ 1 callers
Method
Grade
(context.Context, Grader, Subject)
engine/evals/quality.go:47
↓ 1 callers
Function
HERMES_ROUND_TRIPPED
(command)
packages/cli/tests/native-enable.runtime.mjs:1828
↓ 1 callers
Method
InboundAuthenticated
InboundAuthenticated reports whether any inbound credential gates the listener: the shared token, or an identity source for the middleware routes (tok
proxy/internal/config/config.go:358
↓ 1 callers
Method
InspectRequest
(ctx context.Context, body BodyReader, headers http.Header)
proxy/providers/adapter.go:737
↓ 1 callers
Function
IsRetiredOpportunity
IsRetiredOpportunity reports whether an optimizer id is a historical opportunity identity that must be absent from current read/proposal surfaces.
shared/platform/optimizers/optimizers.go:218
↓ 1 callers
Function
IsReviewOnlyOpportunity
IsReviewOnlyOpportunity is the common proposal/actuation boundary for all current non-actuatable observations. Continuous-improvement report ids keep
shared/platform/optimizers/optimizers.go:181
↓ 1 callers
Method
Keepalive
Keepalive marks the runtime active without a session event. The wrap CLI heartbeats this for as long as its agent process is alive, so a wrap-owned pr
proxy/internal/nativeruntime/runtime.go:630
↓ 1 callers
Method
LatestTrialID
()
proxy/internal/store/trial_store.go:85
↓ 1 callers
Method
LearnScan
LearnScan builds the plan and writes concise cavemem learnings from the reducible sinks (so the durable memory + trial report stay populated). Returns
proxy/internal/store/learn.go:391
↓ 1 callers
Method
LearnScanWithRetro
LearnScanWithRetro is LearnScan plus the opt-in retrospective pass.
proxy/internal/store/learn.go:396
↓ 1 callers
Method
ListExperiments
()
proxy/internal/store/learn_experiment.go:188
↓ 1 callers
Method
LoginChatGPT
LoginChatGPT runs the authorization-code flow with PKCE on a loopback callback and stores the token record as the "chatgpt" login.
proxy/internal/pool/chatgpt.go:71
↓ 1 callers
Function
LooksConfig
LooksConfig recognizes only dense YAML/TOML/INI payloads. Low-confidence content stays ordinary text.
engine/compressors/config.go:55
↓ 1 callers
Function
LooksTabular
LooksTabular applies the same strict parser used by NewTabular. Detection may identify a small table that compression later passes through as not wort
engine/compressors/tabular.go:81
↓ 1 callers
Function
LooksTestReport
LooksTestReport reports whether input parses as a JUnit, pytest or Jest report with at least one test: exactly the payloads Compress accepts. Detect g
engine/compressors/testreport.go:37
↓ 1 callers
Function
MantleBaseURL
(region string)
proxy/providers/bedrock/routing.go:259
↓ 1 callers
Method
MapProviderError
(status int, headers http.Header, body []byte)
proxy/providers/adapter.go:372
↓ 1 callers
Method
MapProviderError
(status int, headers http.Header, body []byte)
proxy/providers/adapter.go:1756
↓ 1 callers
Method
MatchMetadataRequest
(r *http.Request)
proxy/providers/adapter.go:392
↓ 1 callers
Method
MatchOAuthTokenRoute
(method string, path string)
proxy/providers/adapter.go:400
↓ 1 callers
Method
MatchRoute
(method, path string)
proxy/providers/adapter.go:510
↓ 1 callers
Function
MaxCharsPerImage
(cols int)
engine/pixel/gate.go:196
↓ 1 callers
Function
MembersSet
MembersSet returns a fresh set of the optimizer IDs in the named family, or an empty set if the name is unknown. Callers that want a set-membership lo
shared/platform/optimizers/optimizers.go:342
↓ 1 callers
Method
MiddlewareKeys
MiddlewareKeys counts stored original bodies by the key id that sealed them ("" is plaintext).
proxy/internal/store/middleware.go:254
↓ 1 callers
Function
NPM_SHIM
(name)
packages/cli/tests/portable-command.runtime.mjs:272
↓ 1 callers
Function
NarrowToQuery
NarrowToQuery is narrowToQuery for content held outside CCR (middleware originals).
engine/retrieve_query.go:52
↓ 1 callers
Function
NewBPECounter
NewBPECounter builds a counter for a tiktoken encoding (vocab is embedded, so no network access occurs).
engine/tokens/tokens.go:35
↓ 1 callers
Function
NewEstimateCompressor
NewEstimateCompressor builds the observe-only compressor for record-mode estimation. It has NO CCR store: it only ever runs the engine's network-free
proxy/internal/standalone/standalone.go:430
↓ 1 callers
Function
NewExternalUsageScanner
NewExternalUsageScanner returns a UsageScanner that uses a caller-supplied parser instead of the built-in ParseUsageBytes path. It is the constructor
proxy/providers/adapter.go:851
↓ 1 callers
Function
NewJSONStrategy
NewJSONStrategy returns the transparent JSON best-of selector. It is meant to replace NewJSON() for content type "json" only when the engine's TOON fl
engine/compressors/json_strategy.go:17
↓ 1 callers
Function
NewPostgresMiddleware
NewPostgresMiddleware wraps an existing pool, for callers that configure it themselves (a query tracer, say).
proxy/internal/store/middleware_postgres.go:58
↓ 1 callers
Function
NewToolSchemaAnnotations
NewToolSchemaAnnotations returns the tool-schema annotation strip.
engine/compressors/toolschema_annotations.go:406
↓ 1 callers
Function
NewTraceID
()
shared/platform/id/id.go:41
↓ 1 callers
Function
NewWithRegistry
NewWithRegistry is New with a caller-supplied registry (for tests or embedders that register a custom compressor set).
engine/engine.go:49
↓ 1 callers
Method
Now
()
proxy/internal/gateway/cache_warm_test.go:43
↓ 1 callers
Method
Observe
Observe records one completed call against a session and evaluates the harm tripwire. active is the set of levers that ran on THIS request; the return
proxy/internal/gateway/ledger.go:153
↓ 1 callers
Method
OptimizerActive
(id string)
proxy/providers/adapter.go:235
↓ 1 callers
Method
Path
512 MiB retained payloads Path is the canonical path of the database file, or ":memory:".
engine/ccr/store_sqlite.go:125
↓ 1 callers
Method
Persistent
Persistent reports whether choices and originals survive a restart.
proxy/internal/store/middleware.go:260
↓ 1 callers
Method
Plan
Plan returns the plan stored for replay under (scope, id): sql.ErrNoRows once it expired by now, even before the sweep deletes it, and ErrMiddlewareCo
proxy/internal/store/middleware.go:297
↓ 1 callers
Function
Pool
Pool returns the system pool with every certificate in each PEM file appended. Appending (rather than replacing) keeps public endpoints verifiable whi
shared/platform/cabundle/cabundle.go:18
↓ 1 callers
Function
ProbePayloadProduction
ProbePayloadProduction performs the same live round-trip with the payload KEK.
shared/platform/kms/kms.go:305
↓ 1 callers
Function
ProbeProduction
ProbeProduction proves the configured secrets KEK can both encrypt and decrypt. Static validation alone cannot detect a revoked token, missing key, wr
shared/platform/kms/kms.go:293
↓ 1 callers
Method
PurgeBatch
PurgeBatch runs SQLite's steps, in the same order, under the authority's lock.
proxy/internal/store/middleware_postgres.go:503
↓ 1 callers
Method
PurgeBatch
PurgeBatch selects each batch by rowid first: SQLite is not built with UPDATE/DELETE LIMIT here.
proxy/internal/store/middleware.go:740
↓ 1 callers
Method
Read
([]byte)
proxy/internal/translate/helpers_test.go:41
↓ 1 callers
Method
Read
(p []byte)
proxy/internal/gateway/route_effort_test.go:860
↓ 1 callers
Method
Read
(p []byte)
proxy/internal/gateway/chatgpt.go:541
↓ 1 callers
Method
Read
(b []byte)
proxy/internal/gateway/route_cache.go:172
↓ 1 callers
Method
Read
(p []byte)
proxy/internal/gateway/route_cache.go:326
↓ 1 callers
Method
Ready
(context.Context)
proxy/internal/gateway/middleware_ops_test.go:20
↓ 1 callers
Method
Record
Record persists one request row. It is best-effort: a write failure is logged but never propagated, because telemetry must never break the operator's
proxy/internal/store/store.go:436
↓ 1 callers
Method
RecordBatch
(rows []RequestRecord)
proxy/internal/gateway/recorder_test.go:164
↓ 1 callers
Method
RefreshClaudeUsageFromEnv
()
proxy/internal/store/usage_import.go:103
↓ 1 callers
Method
RefusesAll
()
proxy/internal/gateway/middleware_ops_test.go:73
↓ 1 callers
Method
Region
Region reports the resolved signing region.
shared/platform/awscreds/awscreds.go:160
↓ 1 callers
Method
Reload
Reload re-reads the token map; unless force, only when the file changed. A file that no longer parses keeps the previous map and returns the error.
proxy/internal/identity/identity.go:427
↓ 1 callers
Function
ReportOnlyBandMethodForOpportunity
ReportOnlyBandMethodForOpportunity resolves the exact immutable zero-band contract for a report-only opportunity. Unknown ids fail closed.
shared/platform/optimizers/optimizers.go:117
↓ 1 callers
Function
ReportOnlyOpportunityContracts
ReportOnlyOpportunityContracts returns a copy in stable OpportunityID order. Callers cannot mutate the package's closed vocabulary.
shared/platform/optimizers/optimizers.go:109
↓ 1 callers
Function
ReportOnlyOpportunityIDsForBand
ReportOnlyOpportunityIDsForBand returns the closed report-only ids admitted by the report API for one exact evidence band. Unknown bands return nil.
shared/platform/optimizers/optimizers.go:124
↓ 1 callers
Function
RequestID
(r *http.Request)
shared/platform/httpx/httpx.go:28
↓ 1 callers
Function
RequestPayloadHash
RequestPayloadHash returns a hash installed by WithRequestPayloadHash.
proxy/providers/adapter.go:72
↓ 1 callers
Function
Required
(name string)
shared/platform/env/env.go:45
↓ 1 callers
Method
ResolveUpstreamURL
ResolveUpstreamURL validates the endpoint kind, region, action, and model resource, then resolves one of two explicit Bedrock surfaces: - Runtime: /b
proxy/providers/bedrock/routing.go:147
↓ 1 callers
Function
RetiredOpportunityIDs
RetiredOpportunityIDs returns a fresh list suitable for a scoped SQL ANY predicate. Callers cannot mutate the package's closed retirement vocabulary.
shared/platform/optimizers/optimizers.go:225
↓ 1 callers
Method
Retrieve
(handle string)
mcp/engine_tools_retrieve_test.go:24
↓ 1 callers
Method
RetrieveOriginal
RetrieveOriginal recovers the content behind a CCR handle. With no query it returns the byte-exact original block; with a query it returns only the el
proxy/internal/standalone/standalone.go:502
↓ 1 callers
Method
RetrieveOriginal
(handle, query string)
proxy/internal/gateway/server.go:153
↓ 1 callers
Method
RoundTrip
(r *http.Request)
proxy/internal/cloudlink/e2e_test.go:34
↓ 1 callers
Method
RoundTrip
(r *http.Request)
proxy/internal/standalone/provider_stream_test.go:233
↓ 1 callers
Method
RoundTrip
(r *http.Request)
proxy/internal/gateway/live_zone_test.go:27
↓ 1 callers
Function
RunManifestWithSystem
RunManifestWithSystem runs a caller-supplied system-under-test through the same graders and optional quality layer as the built-in engine.
engine/evals/harness.go:197
↓ 1 callers
Function
RuntimeBaseURL
RuntimeBaseURL and MantleBaseURL construct endpoints only after callers have validated region with RegionAllowed.
proxy/providers/bedrock/routing.go:255
↓ 1 callers
Function
SIGNED_RESPONSE
()
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:79
↓ 1 callers
Function
Serve
Serve exposes the same bounded JSON protocol over a user-only Windows named pipe. go-winio rejects remote clients at pipe creation; explicit owner SID
proxy/internal/nativeruntime/server_windows.go:40
← previous
next →
4,201–4,300 of 12,391, ranked by callers