MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions7,848 in github.com/JuliusBrussee/caveman

↓ 4 callersMethodClose
()
browse/cdp.go:93
↓ 4 callersFunctionCompress
Compress encodes data with the named codec. "none" returns data unchanged.
shared/platform/objectstore/compress.go:35
↓ 4 callersFunctionConfidenceScore
ConfidenceScore is a CHEAP, PURE heuristic that scores how confident a cascade rung's answer text looks, in [0,1]. Lower = less confident = should esc
proxy/routing/confidence.go:21
↓ 4 callersFunctionDecompressLimit
DecompressLimit reverses Compress while refusing to produce more than maxBytes of plaintext. The limit is applied while decoding gzip and through zstd
shared/platform/objectstore/compress.go:66
↓ 4 callersFunctionDefaultCorpusLimits
DefaultCorpusLimits returns conservative local-import bounds.
cacheengine/cachebench/corpus.go:42
↓ 4 callersFunctionEstimateImageCount
(text string, cols, numCols, maxCharsPerImage int, rp renderParams)
engine/pixel/textprep.go:46
↓ 4 callersFunctionEvalCompressionProfitability
(text string, cols, imageCountCap, numCols int, charsPerToken, priorWarmTokens, priorWarmImageTokens float64,
engine/pixel/gate.go:101
↓ 4 callersMethodExists
Exists reports whether key is present.
shared/platform/objectstore/objectstore.go:50
↓ 4 callersFunctionExtractCompressible
ExtractCompressible is exported so Azure OpenAI and OpenAI-compatible adapters can reuse the identical wire grammar without changing provider identity
proxy/providers/openai/content_compress.go:47
↓ 4 callersFunctionExtractFactSheetEntries
(text string)
engine/pixel/factsheet.go:67
↓ 4 callersFunctionExtractProviderUsage
ExtractProviderUsage extracts cache counters and total input tokens from one complete, non-streaming provider response. Duplicate keys, missing totals
cacheengine/raw_usage.go:25
↓ 4 callersMethodForget
Forget deletes a memory by id and atomically repairs neighboring lineage pointers. Expired predecessors stay expired: deleting a current version means
mem/store.go:324
↓ 4 callersFunctionFromEnv
FromEnv builds a Store from the S3_* environment variables. It returns (nil, nil) when S3_ENDPOINT is unset outside production. Production requires ob
shared/platform/objectstore/objectstore.go:143
↓ 4 callersMethodFrozenLevers
FrozenLevers returns this session's frozen levers in a stable order, for the x-caveman-tripwire disclosure header.
proxy/internal/gateway/ledger.go:123
↓ 4 callersMethodList
List returns all keys under prefix (used by retention + ZDR assertions).
shared/platform/objectstore/objectstore.go:52
↓ 4 callersFunctionNew
New constructs the Vertex adapter. baseURL is the aiplatform endpoint; in production it is a Vertex host (e.g. https://us-central1-aiplatform.googleap
proxy/providers/vertex/vertex.go:50
↓ 4 callersFunctionNew
(listen, mode, owner, version string)
proxy/internal/runstate/runstate.go:68
↓ 4 callersFunctionNew
New parses the private key, validates the base URL, and builds the App. It returns an error (not a half-built App) on any misconfiguration, so callers
shared/platform/githubapp/githubapp.go:67
↓ 4 callersFunctionNewChecked
NewChecked validates configuration at construction time. New preserves its original one-result API but stores the same configuration error and makes a
cacheengine/engine.go:54
↓ 4 callersFunctionNewQueryClient
NewQueryClient returns an *http.Client bounded for ClickHouse queries/DDL.
shared/platform/chhttp/chhttp.go:287
↓ 4 callersFunctionNormalizeTerms
NormalizeTerms bounds query metadata before it can enter CCR or ranking.
proxy/internal/repointel/index.go:444
↓ 4 callersFunctionOpenAIVisionTokens
(model string, w, h int)
engine/pixel/gpt_profiles.go:165
↓ 4 callersMethodParseCountTokens
(response []byte)
proxy/providers/adapter.go:341
↓ 4 callersFunctionProbe
Probe proves the operations production retention needs instead of accepting a syntactically valid but unusable bucket configuration. The random probe
shared/platform/objectstore/objectstore.go:229
↓ 4 callersMethodProbe
Probe verifies live key access without persisting tenant data.
shared/platform/kms/kms.go:317
↓ 4 callersMethodRead
(p []byte)
proxy/internal/gateway/chatgpt.go:370
↓ 4 callersMethodRecordPayload
(label, requestID, traceID string, body []byte)
proxy/internal/gateway/server.go:75
↓ 4 callersFunctionReplace
(body []byte, candidates []Candidate, replacements [][]byte)
proxy/providers/jsonsplice/jsonsplice.go:103
↓ 4 callersMethodResolve
(provider string, r *http.Request)
proxy/internal/standalone/standalone.go:49
↓ 4 callersFunctionResolveEnvironmentSecret
ResolveEnvironmentSecret loads a boot-time secret. In production plaintext environment variables are rejected: operators must provide a base64-encoded
shared/platform/secretbox/secretbox.go:166
↓ 4 callersFunctionRunCorpus
RunCorpus evaluates one validated public corpus across provider compilers.
cacheengine/cachebench/corpus.go:437
↓ 4 callersFunctionRunManifestWithQuality
RunManifestWithQuality is RunManifest plus the LLM-in-the-loop quality layer. The runner is injected so CI can use a deterministic local runner while
engine/evals/harness.go:188
↓ 4 callersMethodSend
Send authenticates and sends one bounded provider request without retry.
cacheengine/cachebench/replay_http.go:119
↓ 4 callersMethodShutdown
Shutdown closes the attached browser process. Ordinary Close only releases this driver context; direct CLI mode deliberately leaves its detached Chrom
browse/cdp.go:238
↓ 4 callersFunctionSocketPath
SocketPath returns a per-install named-pipe path shared with Node adapters.
proxy/internal/nativeruntime/server_windows.go:20
↓ 4 callersFunctionSocketPath
SocketPath returns the user-local normalized hook socket. Host adapters never choose this path, preventing one integration from impersonating another
proxy/internal/nativeruntime/server_unix.go:18
↓ 4 callersFunctionSplitLineNumberedListing
SplitLineNumberedListing reports whether input is a line-numbered file listing. On success it returns the source text with gutters removed and the lin
engine/compressors/code_listing.go:36
↓ 4 callersMethodStartTrial
(trialID, agentSlug, command string)
proxy/internal/store/trial_store.go:59
↓ 4 callersMethodStoreOriginal
(body []byte)
proxy/internal/gateway/server.go:88
↓ 4 callersMethodSummary
Summary aggregates the in-memory recoveries into totals + per-type buckets.
engine/ccr/store_wasm.go:217
↓ 4 callersFunction_policy_non_empty_str
(value: Any)
packages/sdk/python/caveman_cloud/core.py:2012
↓ 4 callersFunction_rand_hex
(n_bytes: int)
packages/sdk/python/caveman_cloud/core.py:1571
↓ 4 callersFunction_signature_case
(name: str)
packages/sdk/python/tests/test_runtime_policy.py:166
↓ 4 callersFunction_strict_non_negative_int
Accept JSON integers only; reject bools, floats, strings, and negatives.
packages/sdk/python/caveman_cloud/core.py:19
↓ 4 callersFunction_unsigned_payload
(bundle: str = KILL_BUNDLE)
packages/sdk/python/tests/test_runtime_policy.py:103
↓ 4 callersMethodadd_error
(self, msg)
plugins/caveman/skills/caveman-compress/scripts/validate.py:39
↓ 4 callersMethodadd_error
(self, msg)
skills/caveman-compress/scripts/validate.py:39
↓ 4 callersMethodadd_warning
(self, msg)
plugins/caveman/skills/caveman-compress/scripts/validate.py:43
↓ 4 callersMethodadd_warning
(self, msg)
skills/caveman-compress/scripts/validate.py:43
↓ 4 callersFunctionansi
(code: string, value: string)
packages/cli/src/learn-tui.ts:28
↓ 4 callersFunctionanthropicConvo
(n int, chars int)
engine/pixel/history_anthropic_test.go:103
↓ 4 callersFunctionappendUnique
(values []string, next string)
proxy/internal/store/trial_store.go:737
↓ 4 callersFunctionapplyAutomatic
(t *testing.T, body string, meta providers.RequestMetadata, policy providers.TransformPolicy)
proxy/providers/anthropic/automatic_cache_test.go:19
↓ 4 callersFunctionassertStrings
(t *testing.T, name string, got, want []string)
rewriter/gate_test.go:700
↓ 4 callersFunctionassertTOONRoundTrip
(t *testing.T, input, toon []byte)
engine/compressors/toon_test.go:129
↓ 4 callersFunctionatomicWriteRegular
(p, content, expectedStat)
bin/lib/openclaw.js:80
↓ 4 callersFunctionautomaticPolicy
(ids ...string)
proxy/providers/anthropic/automatic_cache_test.go:11
↓ 4 callersMethodbedrock
Describe the first-party Bedrock gateway surface. Runtime is the default. Mantle is an explicit opt-in descriptor. This method perfor
packages/sdk/python/caveman_cloud/core.py:584
↓ 4 callersFunctionbedrockHostKind
(host string)
proxy/providers/bedrock/routing.go:543
↓ 4 callersFunctionblockContains
(blocks []providers.RewritableBlock, want string)
proxy/providers/openai/recovery_exempt_test.go:25
↓ 4 callersFunctionblocksWithMarks
(count int, marked ...int)
proxy/providers/anthropic/breakpoint_plan_test.go:307
↓ 4 callersFunctionbuild
(args: string[])
packages/agent/src/cli.ts:697
↓ 4 callersMethodbuild
(input: { runId: string; agentId: string; stopReason: RunStopReason; meter: BudgetMeter | unde
packages/agent/src/budget.ts:622
↓ 4 callersFunctionbuildAdapters
buildAdapters constructs the provider adapters. Anthropic, OpenAI, and Gemini always get sensible public defaults so a bare `caveman start` works. Bed
proxy/internal/standalone/standalone.go:270
↓ 4 callersFunctionbuildChain
buildChain appends rows the way the two writers do: prev = last row_hash, seq+1.
shared/platform/proposalrun/proposalrun_test.go:13
↓ 4 callersFunctionbuildRuntimeControlEnv
()
packages/agent/src/runtime.ts:2913
↓ 4 callersFunctioncacheStatusFor
cacheStatusFor maps observed usage to a cache_status. It only asserts hit/miss when the provider actually reported cache telemetry; otherwise it stays
proxy/providers/adapter.go:1430
↓ 4 callersFunctioncallCeilingFor
( selected: Model<Api>, systemPrompt: string, messages: readonly AgentMessage[], tools: unknown, out
packages/agent/src/runtime.ts:4094
↓ 4 callersFunctioncaptureProxyServer
captureProxyServer is the standard proxy wiring these tests drive through the real handler: one adapter, a socket-free upstream, no compressor.
proxy/internal/gateway/capture_test.go:69
↓ 4 callersFunctioncaptureSpawn
(cmd, args)
bin/install.js:429
↓ 4 callersMethodcave_plan
Read this project's Cave Plan machine-readably (``GET /sdk/v1/cave-plan``). Authed by the project key's ``plan:read`` scope. Returns the
packages/sdk/python/caveman_cloud/core.py:841
↓ 4 callersMethodcheckpoint
(self, messages: list[Any], options: dict[str, Any])
packages/sdk/python/caveman_cloud/core.py:1208
↓ 4 callersFunctionclassifyTool
(tool *Tool)
proxy/internal/nativeruntime/runtime.go:1236
↓ 4 callersFunctionclaudeMDSectionSink
(snap *ConfigSnapshot, scope string, sessions []sessionTextObservation)
proxy/internal/store/detect_sections.go:56
↓ 4 callersMethodclick
(ctx context.Context, x, y float64)
browse/cdp.go:353
↓ 4 callersFunctioncloneMap
(in map[string]any)
engine/pixel/transform_anthropic.go:1442
↓ 4 callersFunctioncloneObject
(obj Object)
engine/ccr/store_wasm.go:109
↓ 4 callersFunctioncollectImageDataFromAny
(v any)
engine/pixel/transform_anthropic_test.go:402
↓ 4 callersFunctioncompileOrgRules
compileOrgRules validates and canonically orders the tenant's rules, and returns a fingerprint of them for RuleSetHash.
shared/platform/redact/payload.go:529
↓ 4 callersFunctionconfigSinksWithBehavior
(cfg configScan, beh behaviorScan, turnsPerDay float64)
proxy/internal/store/learn.go:417
↓ 4 callersMethodconfigTaxPerTurn
configTaxPerTurn is the token tax loaded on every turn: CLAUDE.md (user + project) + the skill catalog. Hooks/plugins are reported as counts, not fold
proxy/internal/store/config_scan.go:259
↓ 4 callersFunctionconnectedGatewayAPIKey
()
packages/cli/src/index.ts:15209
↓ 4 callersFunctioncontains
(values []cacheguard.Warning, wanted cacheguard.Warning)
shared/platform/cacheguard/cacheguard_test.go:188
↓ 4 callersFunctioncontainsType
(objects []ccr.Object, objectType ccr.ObjectType)
proxy/internal/nativeruntime/runtime_test.go:1240
↓ 4 callersFunctioncontextIRSHA256
(contextIR: ContextIR)
packages/agent/src/build.ts:568
↓ 4 callersFunctioncountBreakpoints
(t *testing.T, body []byte)
proxy/providers/anthropic/breakpoint_plan_test.go:49
↓ 4 callersFunctioncreateConversation
()
packages/agent/src/runtime.ts:288
↓ 4 callersFunctioncsvFixture
()
engine/compressors/tabular_test.go:15
↓ 4 callersFunctiondbPath
(home string)
proxy/cmd/caveman-proxy/main.go:792
↓ 4 callersFunctiondefaultWrapOptions
()
packages/cli/src/index.ts:3388
↓ 4 callersFunctiondestination
(root, relativePath)
bin/lib/owned-install.js:30
↓ 4 callersFunctiondigest
(value []byte)
cacheengine/cmd/cache-replay/main.go:539
↓ 4 callersFunctiondistinct
(in []string)
rewriter/gate.go:275
↓ 4 callersFunctiondumbzoneSink
(beh behaviorScan)
proxy/internal/store/learn.go:492
↓ 4 callersFunctionelides
(t *testing.T, src, mustKeep string)
engine/compressors/code_langs_test.go:11
↓ 4 callersFunctionenabled
()
proxy/providers/gemini/explicit_cache_test.go:22
↓ 4 callersFunctionevalGeminiProfitability
(model, mediaResolution, text string, cols, imageCountCap, numCols int, charsPerToken, priorWarmTokens, priorW
engine/pixel/transform_gemini.go:1015
↓ 4 callersMethodevaluate
(taskFamily: string, options: DecideOptions)
packages/sdk/typescript/src/index.ts:1268
↓ 4 callersFunctionexecPortableIgnore
(command: string, args: string[])
packages/cli/src/index.ts:10068
↓ 4 callersMethodexpand
Reverse a checkpoint ``source_ref`` back into the original context. GETs ``/sdk/v1/checkpoints/{source_ref}/expand``; the gateway returns the
packages/sdk/python/caveman_cloud/core.py:1213
← previousnext →701–800 of 7,848, ranked by callers