MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions8,006 in github.com/JuliusBrussee/caveman

↓ 322 callersMethodClose
()
browse/session.go:35
↓ 225 callersFunctionresolve
(index: int)
packages/sdk/python/tests/test_trace_continuity.py:172
↓ 209 callersMethodRun
Run validates full population, prepares equivalent bodies, then dispatches replay.
cacheengine/cachebench/replay.go:464
↓ 200 callersMethodString
String returns the class name, or "S?" for an unknown class.
engine/safety/safety.go:65
↓ 170 callersFunctiontest
(name, fn)
tests/test_mcp_shrink.js:20
↓ 140 callersMethodCompress
Compress returns the compressed bytes with ok=true on success. On any parse problem (malformed input, an unsupported shape) it returns (nil-or-input,
engine/compressors/compressor.go:30
↓ 139 callersMethodreplace
replace returns the input with all matches replaced by [REDACTED:<name>].
shared/platform/redact/redact.go:90
↓ 133 callersMethodGet
Get returns the bytes at key, or ErrNotFound.
shared/platform/objectstore/objectstore.go:46
↓ 128 callersMethodwrite
(job captureJob)
proxy/internal/gateway/capture.go:217
↓ 125 callersMethodget
(self, artifact_id: str)
packages/sdk/python/caveman_cloud/core.py:1330
↓ 121 callersFunctionString
(body []byte, span Span)
proxy/providers/jsonsplice/jsonsplice.go:84
↓ 101 callersMethodok
(self)
packages/sdk/python/caveman_cloud/core.py:108
↓ 96 callersMethodSet
(value string)
cacheengine/cmd/cache-replay/main.go:38
↓ 80 callersMethodHandler
Handler returns the standalone HTTP handler: health, metrics, and the proxy catch-all. Unlike the managed gateway it serves no SDK/OTLP endpoints — th
proxy/internal/gateway/server.go:496
↓ 75 callersMethodresolve
()
proxy/internal/gateway/capture.go:267
↓ 73 callersFunctionOpenMemory
OpenMemory returns a fresh in-memory store.
engine/ccr/store_wasm.go:41
↓ 72 callersMethodCount
Count returns a local token estimate for b.
engine/tokens/tokens.go:21
↓ 68 callersFunctionNew
New constructs an engine while preserving legacy one-result API. Invalid configuration makes every operation return its stored error; prefer NewChecke
cacheengine/engine.go:39
↓ 68 callersFunctionmax
(kinds: readonly string[])
packages/agent/src/cli.ts:1319
↓ 66 callersFunctionPath
(home string, port int)
proxy/internal/runstate/runstate.go:64
↓ 65 callersFunctionOpen
Open opens (creating if needed) the SQLite database at path and migrates the schema. logger may be nil.
proxy/internal/store/store.go:296
↓ 63 callersMethodclose
Release the optional background refresh timer. Mirrors the Python `close()`.
packages/sdk/typescript/src/index.ts:1211
↓ 63 callersMethodmax
()
packages/agent/src/budget.ts:816
↓ 62 callersMethodScan
(dest ...any)
mem/store.go:619
↓ 62 callersFunctionprint
(value: unknown)
packages/cli/src/index.ts:15564
↓ 61 callersMethodError
()
engine/compressors/compressor.go:204
↓ 61 callersMethodError
()
mem/cmd/cavemem/main_test.go:308
↓ 61 callersFunctionNew
New builds an engine with the default compressor registry. store backs CCR recovery and stats and may be nil — without it the engine still detects and
engine/engine.go:36
↓ 60 callersMethodError
()
proxy/internal/gateway/prefix_stability_test.go:78
↓ 59 callersFunctionserveBody
(t *testing.T, srv *Server, path, body string, headers map[string]string)
proxy/internal/gateway/live_zone_test.go:118
↓ 58 callersFunctionNew
(baseURL string)
proxy/providers/openai/openai.go:10
↓ 58 callersMethodwrite
(w *bufio.Writer, resp rpcResponse)
mcp/server.go:232
↓ 54 callersMethodlast
(t *testing.T)
proxy/internal/gateway/server_test.go:69
↓ 54 callersFunctionmark
(state: "ok" | "bad" | "warn")
packages/cli/src/index.ts:15641
↓ 53 callersMethodBytes
()
cacheengine/cmd/cache-replay/main.go:147
↓ 53 callersFunctionString
(name, fallback string)
shared/platform/env/env.go:14
↓ 50 callersMethodValid
Valid reports whether c is a registered class.
engine/safety/safety.go:59
↓ 50 callersMethodkill
Latch this client off. Every later `decide()` returns the caller's baseline.
packages/sdk/typescript/src/index.ts:1188
↓ 49 callersMethodencode
(self, *args, **kwargs)
tests/test_compress_safety.py:122
↓ 48 callersFunctionNew
(baseURL string)
proxy/providers/anthropic/anthropic.go:24
↓ 48 callersFunctionNew
New constructs a standalone proxy Server.
proxy/internal/gateway/server.go:445
↓ 46 callersMethodFormat
Format renders a rollup as a stable, human-readable string.
engine/evals/fixtures/sample.go:70
↓ 40 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:16
↓ 39 callersFunctionnewTestPrefixCache
()
proxy/internal/gateway/prefix_stability_test.go:41
↓ 37 callersMethodOptimize
Optimize applies provider-native cache metadata or returns copied original bytes on every unsupported or unsafe path. It makes no network call.
cacheengine/native.go:18
↓ 36 callersMethodQueryRow
(context.Context, string, ...any)
shared/platform/postgresconfig/postgresconfig.go:212
↓ 33 callersFunctioncavemanHome
()
packages/cli/src/index.ts:9666
↓ 33 callersFunctionwhich
(cmd: string)
packages/cli/src/index.ts:15788
↓ 32 callersMethodExtractCompressible
ExtractCompressible returns only the request's cache-cold live-zone text segments and a reassemble fn that byte-splices replacements into the original
proxy/providers/adapter.go:323
↓ 32 callersFunctiondim
(s: string)
packages/cli/src/index.ts:15635
↓ 31 callersFunctionflagFrom
(values: string[], name: string, fallback: string)
packages/cli/src/index.ts:13819
↓ 30 callersMethoddecide
Decide what to run for ``task_family``. Synchronous, local, total. Performs no network I/O and never raises — a garbage context, a broken
packages/sdk/python/caveman_cloud/core.py:2398
↓ 30 callersFunctionstr
(v: unknown)
packages/cli/src/index.ts:9326
↓ 28 callersMethodWrite
(p []byte)
browse/session.go:394
↓ 28 callersFunctionfn
(url, init)
packages/graders/tests/grade.runtime.mjs:799
↓ 28 callersFunctionopenRetroTestStore
(t *testing.T)
proxy/internal/store/learn_retro_test.go:123
↓ 27 callersFunctionNew
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:142
↓ 27 callersFunctionsha256
(path)
packages/cli/tests/openclaw-wrap.runtime.mjs:12
↓ 27 callersMethodtrace
Run a block inside a trace. The trace allocates a ``trace_id`` (32 lowercase hex) and a root ``span_id`` (16 lowercase hex) with the
packages/sdk/python/caveman_cloud/core.py:354
↓ 26 callersMethodResolveUpstreamURL
(ctx context.Context, req *http.Request, route RouteContext)
proxy/providers/adapter.go:307
↓ 26 callersFunctionoptimizeRequest
(provider, model, endpoint, epoch, body string)
cacheengine/native_test.go:15
↓ 25 callersFunctionapply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/openai/cache_key_test.go:17
↓ 24 callersMethodHandle
(_ context.Context, request Request)
proxy/internal/nativeruntime/runtime.go:204
↓ 24 callersMethodLen
Len reports how many objects are stored (test helper for ZDR assertions).
shared/platform/objectstore/memory.go:102
↓ 24 callersFunctionParseUsageBytes
ParseUsageBytes extracts token usage from a complete provider response body, whether a single JSON document (non-stream) or an SSE / newline-delimited
proxy/providers/adapter.go:794
↓ 24 callersMethodPick
(f Features, pool []Candidate, alpha float64)
proxy/routing/routing.go:15
↓ 24 callersFunctionagent
(options: { id: string; instructions: string | FileSource; model: Auto | string | Model<Api>; reasonin
packages/agent/src/index.ts:87
↓ 24 callersFunctionfirstString
(values ...any)
proxy/internal/store/usage_import.go:531
↓ 24 callersFunctionnewRetroFixture
(t *testing.T)
proxy/internal/store/learn_retro_test.go:114
↓ 23 callersMethodListSessionObjects
(sessionID string, limit int)
engine/ccr/store_wasm.go:172
↓ 23 callersMethodParseUsage
(ctx context.Context, responseHeaders http.Header, streamOrBody io.Reader)
proxy/providers/adapter.go:324
↓ 23 callersMethodRemember
Remember stores text durably and returns it with a content-addressed id. Remembering identical current text twice is idempotent (same id, stored once)
mem/store.go:166
↓ 23 callersMethodflag_value
(self)
tests/test_mode_tracker.py:55
↓ 23 callersMethodsend
(self, prompt)
tests/test_mode_tracker.py:39
↓ 22 callersMethodBuildLearnPlanWithRetro
BuildLearnPlanWithRetro is BuildLearnPlan plus the opt-in retrospective pass. With retro disabled the two are the same code path and the same output b
proxy/internal/store/learn.go:151
↓ 22 callersMethodComplete
(context.Context, ModelRequest)
engine/evals/quality.go:41
↓ 22 callersFunctionDefault
Default returns the engine's shared default counter: the o200k_base BPE tokenizer (the GPT-4o-family encoding), used across every content type. If the
engine/tokens/tokens.go:92
↓ 22 callersMethodQuery
(context.Context, string, ...any)
shared/platform/postgresconfig/postgresconfig.go:211
↓ 22 callersMethodRecord
(RequestRecord)
proxy/internal/gateway/server.go:69
↓ 22 callersFunction_refresh_with
(client: RuntimePolicyClient, payload: Any, captured: list[dict[str, Any]] | None = None)
packages/sdk/python/tests/test_runtime_policy.py:107
↓ 22 callersFunctionasMap
(v any)
proxy/internal/store/usage_import.go:524
↓ 22 callersFunctionturnText
(n int)
proxy/internal/gateway/prefix_stability_test.go:152
↓ 21 callersFunctionField
(body []byte, object Span, name string)
proxy/providers/jsonsplice/jsonsplice.go:30
↓ 21 callersFunctionNew
(baseURL string)
proxy/providers/gemini/gemini.go:33
↓ 21 callersFunctionRoot
(body []byte)
proxy/providers/jsonsplice/jsonsplice.go:21
↓ 21 callersFunction_make_cave
()
packages/sdk/python/tests/test_runtime_policy.py:79
↓ 21 callersFunctioninvokedAs
()
packages/cli/src/index.ts:451
↓ 21 callersFunctioninvokedCommand
(legacyVerb: string, groupedTail = "")
packages/cli/src/index.ts:456
↓ 21 callersMethodruntime_policy
A local runtime-policy client for this project. The client pulls the project's published policy bundle (``GET /sdk/v1/runtime-policy`
packages/sdk/python/caveman_cloud/core.py:870
↓ 21 callersFunctionstableStringify
(value: unknown)
packages/agent/src/context-ir.ts:334
↓ 20 callersFunctionOpen
Open ignores path (there is no filesystem) and returns an in-memory store.
engine/ccr/store_wasm.go:34
↓ 20 callersFunctionfileBytes
(path: string)
packages/cli/src/index.ts:6444
↓ 20 callersFunctionportableInvocation
(command, args, { platform = process.platform, env = process.env, execPath = process.execPath, } = {})
bin/lib/portable-process.js:47
↓ 20 callersFunctionrun
run drives the server with the given JSON-RPC request lines and returns the decoded responses plus whatever the server logged (which must be empty on
mcp/server_test.go:32
↓ 20 callersFunctionrunCli
(argv, options = {})
packages/cli/tests/_cli.mjs:58
↓ 20 callersFunctionset
(obj, cb)
extension/popup.js:15
↓ 19 callersFunctionNewRepetition
NewRepetition returns the default repetition (run-length) compressor.
engine/compressors/repetition.go:38
↓ 19 callersFunction_client_holding
(bundle: str)
packages/sdk/python/tests/test_runtime_policy.py:654
↓ 19 callersMethodall
all loads every memory.
mem/store.go:599
↓ 19 callersFunctionexplicitProfile
()
cacheengine/planner_test.go:10
next →1–100 of 8,006, ranked by callers