MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions7,561 in github.com/JuliusBrussee/caveman

↓ 3 callersMethodAgentEvidenceForBuild
AgentEvidenceForBuild returns all requests for one exact session/build/plan tuple in provider-call order. Partial or malformed identity fails closed.
proxy/internal/store/store.go:565
↓ 3 callersFunctionAllowed
(model string)
engine/pixel/applicability.go:32
↓ 3 callersFunctionAllowedModelBases
()
engine/pixel/applicability.go:13
↓ 3 callersMethodBaseURL
BaseURL returns the configured base URL for a provider, or the supplied default.
proxy/internal/config/config.go:195
↓ 3 callersFunctionBrowserTools
(s *Session)
browse/session.go:81
↓ 3 callersFunctionCandidateLabel
(c Candidate)
proxy/routing/routing.go:689
↓ 3 callersMethodCapabilityManifest
CapabilityManifest returns canonical compact JSON. RegistrySHA256 hashes the ordered capabilities only, avoiding a self-referential digest.
engine/compressors/compressor.go:185
↓ 3 callersMethodCompressSegment
(segment []byte)
proxy/internal/gateway/server.go:87
↓ 3 callersFunctionComputeFrozenCount
ComputeFrozenCount returns the first mutable message index. It mirrors headroom's cache-control floor: the highest message index whose content block c
proxy/providers/anthropic/frozen.go:14
↓ 3 callersFunctionDecryptPayloadKey
DecryptPayloadKey unwraps an artifact data-encryption key. KMS envelopes are restricted to the configured payload key plus the explicit legacy secrets
shared/platform/secretbox/secretbox.go:145
↓ 3 callersFunctionDefaultTraceReadLimits
DefaultTraceReadLimits supports public-corpus traces while bounding retained memory.
cacheengine/cachebench/trace.go:269
↓ 3 callersMethodDoToken
DoToken issues an authenticated GitHub REST call with an installation token and returns the status + raw body for the caller to parse. It is the reusa
shared/platform/githubapp/githubapp.go:344
↓ 3 callersFunctionEncryptPayloadKey
EncryptPayloadKey wraps an artifact data-encryption key. Production uses the dedicated payload KEK; local development retains the same AES-GCM envelop
shared/platform/secretbox/secretbox.go:90
↓ 3 callersFunctionError
(w http.ResponseWriter, r *http.Request, status int, code, message string)
shared/platform/httpx/httpx.go:41
↓ 3 callersFunctionExtractFactSheetTokens
(text string)
engine/pixel/factsheet.go:58
↓ 3 callersFunctionExtractToolCatalog
ExtractToolCatalog returns the exact serialized bytes of a request's top-level tool catalog plus a reassembler that splices replacement bytes back int
proxy/providers/toolzone.go:25
↓ 3 callersFunctionFraction
Fraction maps the ordered key list onto a stable value in [0, 1). The same keys always yield the same fraction; keys are length-prefixed so no two dis
shared/platform/sampling/sampling.go:24
↓ 3 callersMethodGetMetadata
GetMetadata returns optional compressor metadata stored with a handle. A known handle with no metadata returns nil, nil; an unknown handle returns Err
engine/ccr/store_wasm.go:93
↓ 3 callersMethodGetObject
(id string)
engine/ccr/store_sqlite.go:584
↓ 3 callersMethodImportClaude
(root, sinceExpr string)
proxy/internal/store/usage_import.go:65
↓ 3 callersFunctionIsReportProjectionOnlyOpportunity
IsReportProjectionOnlyOpportunity identifies observations admitted by the dedicated report API but excluded from Cave Plan, scoring, proposals, and ev
shared/platform/optimizers/optimizers.go:91
↓ 3 callersFunctionListPriceEligible
ListPriceEligible separates authentication safety from payment semantics. OAuth stays lossless/stealth at the forwarding layer, but Google Cloud Verte
proxy/providers/adapter.go:105
↓ 3 callersFunctionMarkRawUsageIncomplete
MarkRawUsageIncomplete stamps RawUsage when a parser has just zeroed a typed counter because the stream ended without its terminal usage event. Witho
proxy/providers/adapter.go:1117
↓ 3 callersMethodMintInstallationToken
MintInstallationToken POSTs /app/installations/{id}/access_tokens narrowed to `repos` and `perms`, returning a ~1h token. Defaults (perms nil) are con
shared/platform/githubapp/githubapp.go:187
↓ 3 callersFunctionNewSearchResult
NewSearchResult returns the line-oriented search-result compressor.
engine/compressors/searchresult.go:30
↓ 3 callersFunctionNewServerVersion
NewServerVersion builds a server whose MCP initialize response carries the caller's build-stamped version. Command binaries use this constructor so th
mcp/server.go:81
↓ 3 callersFunctionNewWithReceiptsAndUsage
(store *ccr.Store, receiptDir string, usage sessionusage.Reader)
proxy/internal/nativeruntime/runtime.go:150
↓ 3 callersFunctionOpen
Open reverses Seal: it unwraps the data key from metadata and decrypts the ciphertext. An unknown scheme fails closed.
shared/platform/envelope/envelope.go:102
↓ 3 callersMethodOptimizerEnabled
OptimizerEnabled reports whether the named optimizer is enabled by policy.
proxy/providers/adapter.go:187
↓ 3 callersFunctionParseVerificationCommandOutput
ParseVerificationCommandOutput validates and binds external grader evidence.
cacheengine/cachebench/replay.go:49
↓ 3 callersMethodPlanCacheBreakpoints
(body []byte, meta providers.RequestMetadata, payg bool)
proxy/internal/gateway/breakpoint_plan.go:36
↓ 3 callersFunctionPortFromListen
(listen string)
proxy/internal/runstate/runstate.go:52
↓ 3 callersFunctionPrepareSQLitePathCanonical
PrepareSQLitePathCanonical secures path and returns the one canonical path callers must use for every subsequent open and sidecar check. Returning the
engine/ccr/store_sqlite.go:205
↓ 3 callersFunctionPricingMultiplier
PricingMultiplier returns a positive model/region pricing capability from an exact catalog row. A missing or malformed capability is unavailable; call
shared/platform/catalog/catalog.go:176
↓ 3 callersFunctionProjectGemini
ProjectGemini wraps the complete GenerateContentRequest so system instructions and function declarations are counted with the prompt.
proxy/providers/internal/counttokens/counttokens.go:122
↓ 3 callersFunctionPurgeObject
PurgeObject removes every version when supported, falling back to ordinary deletion only for non-versioned test/self-hosted backends.
shared/platform/objectstore/objectstore.go:94
↓ 3 callersFunctionReadObservationJSONL
ReadObservationJSONL reads observation records under default limits.
cacheengine/cachebench/observed.go:90
↓ 3 callersFunctionReadTraceJSONLWithLimits
ReadTraceJSONLWithLimits reads strict trace JSONL under explicit resource limits.
cacheengine/cachebench/trace.go:279
↓ 3 callersFunctionRecover
Recover returns the exact original bytes for a handle minted by Shrink. It reads the same durable store Shrink wrote (CAVEMAN_CCR_DB / ~/.caveman/ccr.
shrink/shrink.go:148
↓ 3 callersMethodRecover
Recover returns the byte-exact original for a recall hit's recovery handle.
mem/store.go:594
↓ 3 callersFunctionRefuseProductionDefaults
()
shared/platform/env/env.go:62
↓ 3 callersMethodRegister
Register adds a compressor, keyed by its content type. A later registration for the same type replaces the earlier one.
engine/compressors/compressor.go:74
↓ 3 callersFunctionRemoveMatching
(home string, port int, token string)
proxy/internal/runstate/runstate.go:183
↓ 3 callersFunctionRender
Render formats concise human-readable benchmark result.
cacheengine/cachebench/render.go:11
↓ 3 callersFunctionRenderDensePages
(text string, opts DensePagesOptions)
engine/pixel/render.go:820
↓ 3 callersFunctionReportOnlyOpportunityContractFor
ReportOnlyOpportunityContractFor resolves the exact report projection contract. Unknown ids fail closed.
shared/platform/optimizers/optimizers.go:98
↓ 3 callersFunctionResolveDensityDraw
ResolveDensityDraw resolves a reader model + level to its drawable geometry, applying ResolveDensity's fail-closed model gating (an unrecognised model
engine/pixel/density.go:349
↓ 3 callersFunctionRestoreLineNumberedListing
RestoreLineNumberedListing puts the gutter back on a compressed listing. Compression removes lines, so output line N is not source line N. Renumberin
engine/compressors/code_listing.go:138
↓ 3 callersMethodRetrieveMetadata
RetrieveMetadata returns optional compressor metadata stored beside a recovery handle. The raw Retrieve path remains byte-exact and never returns this
engine/engine.go:271
↓ 3 callersFunctionRetryOnBusy
RetryOnBusy runs fn, retrying while SQLite reports the database is locked (SQLITE_BUSY). Short-lived local processes can initialize the same database
engine/ccr/store_sqlite.go:90
↓ 3 callersFunctionRowHash
RowHash computes the pinned canonical row hash: row_hash = "sha256:" + hex(SHA256( prev_hash || "|" || seq || "|" || action || "|" || canonica
shared/platform/proposalrun/proposalrun.go:316
↓ 3 callersFunctionRun
Run processes one host callback. Adapter failures deliberately emit nothing and return nil: host command continues unchanged.
proxy/internal/nativehook/hook.go:29
↓ 3 callersFunctionRunSimulated
RunSimulated evaluates deterministic agent workload without provider calls.
cacheengine/cachebench/simulate.go:24
↓ 3 callersFunctionSampled
Sampled reports whether the key list falls inside the given rate. rate <= 0 selects nothing and rate >= 1 selects everything; a NaN rate fails closed
shared/platform/sampling/sampling.go:40
↓ 3 callersFunctionSanitizeAttributes
SanitizeAttributes returns a deterministic copy. Sensitive keys are removed; malformed or oversized metadata fails closed so callers can reject the re
shared/platform/telemetry/span.go:249
↓ 3 callersFunctionSealSessionValueArtifact
(artifact SessionValuePolicyArtifact)
proxy/routing/session_value.go:154
↓ 3 callersFunctionSessionCacheKey
SessionCacheKey is the stable, content-blind key derived from a session id.
proxy/providers/openai/session_cache_key.go:76
↓ 3 callersFunctionSessionMarker
SessionMarker builds model-temporary correlation context. Local proxy removes valid markers byte-surgically before provider inspection or forwarding.
proxy/internal/nativeruntime/marker.go:71
↓ 3 callersMethodSessionUsage
(sessionID string)
proxy/internal/sessionusage/sessionusage.go:27
↓ 3 callersMethodSetObjectCurrentness
(id string, currentness Currentness)
engine/ccr/store_wasm.go:142
↓ 3 callersMethodStats
()
mcp/engine_tools.go:20
↓ 3 callersFunctionStdDensityDraw
StdDensityDraw resolves a density level to its STANDARD-tier geometry, model- agnostic: the dev-tool render (`caveman-engine pixel render`) draws exac
engine/pixel/density.go:341
↓ 3 callersFunctionStringProp
StringProp is a string property schema with a description.
mcp/protocol.go:100
↓ 3 callersFunctionStripSessionMarkers
StripSessionMarkers removes only valid HMAC-signed markers. Invalid marker- shaped user text remains byte-identical. Conflicting valid session IDs are
proxy/internal/nativeruntime/marker.go:83
↓ 3 callersMethodTargetsSnapshot
()
browse/session.go:295
↓ 3 callersMethodUniqueRecentSession
UniqueRecentSession is removed-marker fallback authority. It returns a candidate only when exactly one recent native session remains plausible. Known
proxy/internal/nativeruntime/runtime.go:446
↓ 3 callersFunctionValidateBaseURL
(raw string)
proxy/providers/openaicompat/openaicompat.go:214
↓ 3 callersFunctionValidateProduction
ValidateProduction verifies real KMS configuration without network request.
shared/platform/kms/kms.go:271
↓ 3 callersFunctionValidateReplay
ValidateReplay performs zero-network trace, schedule, and budget preflight.
cacheengine/cachebench/replay.go:355
↓ 3 callersFunctionValidateSessionValueArtifact
(artifact SessionValuePolicyArtifact, organizationID, projectID, candidatePoolHash string, now time.Time)
proxy/routing/session_value.go:163
↓ 3 callersFunctionWithRequestPayloadHash
WithRequestPayloadHash binds the exact post-transform wire body's SHA-256 to the auth-mapping call. Signing adapters use it so credentials cover the b
proxy/providers/adapter.go:31
↓ 3 callersFunctionWrite
(home string, state State)
proxy/internal/runstate/runstate.go:93
↓ 3 callersMethodWrite
(value []byte)
cacheengine/cmd/cache-replay/main.go:135
↓ 3 callersMethodWrite
(p []byte)
mcp/engine_tools.go:311
↓ 3 callersFunctionWriteReplayEvidenceJSON
WriteReplayEvidenceJSON validates and writes one evidence record.
cacheengine/cachebench/replay.go:809
↓ 3 callersMethod__init__
( self, cave: Cave, workflow: str, tags: dict[str, str], *, tr
packages/sdk/python/caveman_cloud/core.py:1063
↓ 3 callersFunction_canonical_json
Stable compact UTF-8 JSON shared by assembly hashes and cloned output.
packages/sdk/python/caveman_cloud/core.py:1496
↓ 3 callersFunction_is_hex_id
(value: Any, hex_len: int)
packages/sdk/python/caveman_cloud/core.py:1578
↓ 3 callersFunction_policy_int
A bundle counter (``policy_version`` / ``sequence``), or None. JSON has one number type, so a publisher may emit ``7`` or ``7.0`` for the sam
packages/sdk/python/caveman_cloud/core.py:2106
↓ 3 callersMethod_request
(self, path: str, body: dict[str, Any], *, extra_headers: dict[str, str] | None = None)
packages/sdk/python/caveman_cloud/core.py:1224
↓ 3 callersFunction_slots
(turn: int)
packages/sdk/python/tests/test_assembly.py:27
↓ 3 callersMethodafterTool
(request Request, response Response, allowMask bool)
proxy/internal/nativeruntime/runtime.go:1052
↓ 3 callersFunctionagentFileSourcePaths
(definition: AgentDefinition)
packages/agent/src/dev-loader.ts:108
↓ 3 callersFunctionagentNativeBundleRemovalJournalPath
(agent: "claude" | "codex")
packages/cli/src/index.ts:2237
↓ 3 callersFunctionagentNativeCloudMcpHostAbsent
(agent: "claude" | "codex")
packages/cli/src/index.ts:2410
↓ 3 callersFunctionagentNativeSkillFiles
(agent: "claude" | "codex")
packages/cli/src/index.ts:2339
↓ 3 callersFunctionaggregateImportBasis
(events []UsageEvent)
proxy/internal/store/usage_import.go:94
↓ 3 callersFunctionaggregateProviders
(providers []ProviderReport, target Target)
cacheengine/cachebench/simulate.go:419
↓ 3 callersFunctionallowlist
(envKey string, fallback []string)
proxy/providers/bedrock/routing.go:518
↓ 3 callersFunctionappendFieldEdit
appendFieldEdit produces the insertion that adds cache_control immediately before an object's closing brace, leaving every other byte — whitespace, ke
proxy/providers/anthropic/breakpoint_plan.go:337
↓ 3 callersFunctionappendFlag
(filePath, line)
src/hooks/caveman-config.js:284
↓ 3 callersFunctionappendFrame
(dst []byte, name string, content []byte)
cacheengine/engine.go:350
↓ 3 callersFunctionappendRetrieveResult
(provider, routePath string, reqBody, respBody []byte, callID, recovered string)
proxy/internal/gateway/retrieve_tool.go:483
↓ 3 callersFunctionapplyDensityFloors
applyDensityFloors clamps a profile away from the reader stall envelope: zebra pitch floors at 5 (colour buys that rung), mono pitch floors at 6, laye
engine/pixel/density.go:113
↓ 3 callersFunctionapplyPixelReplacements
(body []byte, reps []pixelReplacement)
proxy/internal/gateway/pixel.go:508
↓ 3 callersFunctionasText
(value: unknown)
packages/graders/src/index.ts:137
↓ 3 callersMethodassemble
* Build a provider request with stable/session slots above every volatile * slot. Pure client-side: no account and no network call. * * Stabi
packages/sdk/typescript/src/index.ts:574
↓ 3 callersFunctionassertFrozenPrefixByteEqual
assertFrozenPrefixByteEqual asserts the upstream body is byte-identical to the client body for every byte before the live-zone content (located by mar
proxy/internal/gateway/live_zone_test.go:316
↓ 3 callersFunctionassertNativeHooksShape
(path: string, root: Record<string, unknown>, agentId: "claude" | "codex" | "gemini")
packages/cli/src/index.ts:5588
↓ 3 callersFunctionassertNothingElided
assertNothingElided checks the property that matters: not a byte of the payload was dropped. Some compressors report ok=true while returning their inp
engine/compressors/redundancy_test.go:35
← previousnext →901–1,000 of 7,561, ranked by callers