MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions9,380 in github.com/JuliusBrussee/caveman

↓ 634 callersFunctionappend
(base: URL, path: string)
packages/cli/src/provider-routing.ts:40
↓ 481 callersFunctionstring
()
packages/middleware/typescript/src/wire.ts:13
↓ 415 callersMethodClose
()
browse/session.go:35
↓ 256 callersMethodString
String returns the class name, or "S?" for an unknown class.
engine/safety/safety.go:65
↓ 255 callersFunctionresolve
(index: int)
packages/sdk/python/tests/test_trace_continuity.py:172
↓ 252 callersMethodget
(self, artifact_id: str)
packages/sdk/python/caveman_cloud/core.py:1352
↓ 200 callersFunctiontest
(name, fn)
tests/test_mcp_shrink.js:23
↓ 190 callersMethodGet
Get returns the bytes at key, or ErrNotFound.
shared/platform/objectstore/objectstore.go:46
↓ 167 callersMethodreplace
replace returns the input with all matches replaced by [REDACTED:<name>].
shared/platform/redact/redact.go:94
↓ 143 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
↓ 136 callersMethodwrite
(job captureJob)
proxy/internal/gateway/capture.go:217
↓ 126 callersMethodok
(self)
packages/sdk/python/caveman_cloud/core.py:130
↓ 123 callersMethodServeHTTP
(w http.ResponseWriter, request *http.Request)
proxy/internal/middleware/http.go:17
↓ 120 callersFunctionString
(body []byte, span Span)
proxy/providers/jsonsplice/jsonsplice.go:84
↓ 116 callersMethodHandler
Handler returns the standalone HTTP handler: health, metrics, and the proxy catch-all, plus the separately authenticated framework optimization API.
proxy/internal/gateway/server.go:570
↓ 114 callersMethodresolve
()
proxy/internal/gateway/capture.go:267
↓ 108 callersMethodnow
()
shared/platform/awscreds/awscreds_test.go:27
↓ 102 callersFunctionPath
(home string, port int)
proxy/internal/runstate/runstate.go:102
↓ 94 callersMethodadd
(v StatsMetrics)
proxy/internal/store/stats.go:448
↓ 89 callersFunctionOpen
Open opens (creating if needed) the SQLite database at path and migrates the schema. logger may be nil.
proxy/internal/store/store.go:354
↓ 85 callersMethodScan
(dest ...any)
mem/store.go:619
↓ 81 callersFunctionstr
(v: unknown)
packages/cli/src/index.ts:10077
↓ 79 callersFunctionOpenMemory
OpenMemory returns a fresh in-memory store.
engine/ccr/store_wasm.go:41
↓ 78 callersFunctionmax
(kinds: readonly string[])
packages/agent/src/cli.ts:1319
↓ 77 callersMethodclose
Release the optional background refresh timer. Mirrors the Python `close()`.
packages/sdk/typescript/src/index.ts:1214
↓ 76 callersMethodCount
Count returns a local token estimate for b.
engine/tokens/tokens.go:21
↓ 73 callersMethodError
()
mem/cmd/cavemem/main_test.go:308
↓ 72 callersMethodencode
(self, *args, **kwargs)
tests/test_compress_safety.py:176
↓ 66 callersMethodError
()
engine/compressors/compressor.go:204
↓ 66 callersFunctionprint
(value: unknown)
packages/cli/src/index.ts:18555
↓ 65 callersMethodError
()
proxy/internal/middleware/protocol.go:205
↓ 65 callersFunctionNew
(baseURL string)
proxy/providers/openai/openai.go:11
↓ 65 callersFunctionsetTimeout
(fn)
tests/test_mcp_shrink.js:274
↓ 63 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:40
↓ 63 callersFunctionmark
(state: "ok" | "bad" | "warn")
packages/cli/src/index.ts:18632
↓ 63 callersMethodwrite
(w *bufio.Writer, resp rpcResponse)
mcp/server.go:232
↓ 62 callersFunctionNew
New constructs a standalone proxy Server.
proxy/internal/gateway/server.go:505
↓ 62 callersMethodlast
(t *testing.T)
proxy/internal/gateway/server_test.go:69
↓ 61 callersFunctionserveBody
(t *testing.T, srv *Server, path, body string, headers map[string]string)
proxy/internal/gateway/live_zone_test.go:118
↓ 60 callersMethodmax
()
packages/agent/src/budget.ts:816
↓ 58 callersFunctionString
(name, fallback string)
shared/platform/env/env.go:14
↓ 56 callersMethodkill
Latch this client off. Every later `decide()` returns the caller's baseline.
packages/sdk/typescript/src/index.ts:1191
↓ 53 callersFunctionNew
(baseURL string)
proxy/providers/anthropic/anthropic.go:24
↓ 50 callersMethodFormat
Format renders a rollup as a stable, human-readable string.
engine/evals/fixtures/sample.go:70
↓ 49 callersMethodobserve
(self, event, usage=None)
packages/middleware/python/caveman_middleware/_native.py:218
↓ 48 callersMethodreset
(self)
packages/middleware/python/caveman_middleware/autogen.py:455
↓ 46 callersMethodQueryRow
(context.Context, string, ...any)
shared/platform/postgresconfig/postgresconfig.go:212
↓ 46 callersMethodValid
Valid reports whether c is a registered class.
engine/safety/safety.go:59
↓ 42 callersFunctioncancel
(reason)
packages/middleware/typescript/src/common.ts:86
↓ 42 callersFunctionpatch
(text, replacements)
packages/middleware/python/caveman_middleware/_google_wire.py:77
↓ 41 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:16
↓ 41 callersFunctionnewTestPrefixCache
()
proxy/internal/gateway/prefix_stability_test.go:41
↓ 39 callersFunctionfn
()
packages/sdk/python/tests/test_structural.py:61
↓ 37 callersFunctionNew
New assembles a standalone gateway server from a config and a telemetry sink.
proxy/internal/standalone/standalone.go:278
↓ 36 callersMethodResolveUpstreamURL
(ctx context.Context, req *http.Request, route RouteContext)
proxy/providers/adapter.go:344
↓ 36 callersFunctionclearTimeout
(id)
tests/test_mcp_shrink.js:275
↓ 35 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:360
↓ 35 callersFunctionset
(obj, cb)
extension/popup.js:15
↓ 34 callersMethodRecord
(RequestRecord)
proxy/internal/gateway/server.go:71
↓ 34 callersFunctiondim
(s: string)
packages/cli/src/index.ts:18626
↓ 34 callersFunctionwhich
(cmd: string)
packages/cli/src/index.ts:18779
↓ 33 callersFunctioncavemanHome
()
packages/cli/src/index.ts:10417
↓ 33 callersMethodoptimize
(options: OptimizeOptions)
packages/sdk/typescript/src/middleware/runtime.ts:146
↓ 31 callersFunctionNew
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:143
↓ 31 callersFunctionOpen
Open ignores path (there is no filesystem) and returns an in-memory store.
engine/ccr/store_wasm.go:34
↓ 31 callersFunctionflagFrom
(values: string[], name: string, fallback: string)
packages/cli/src/index.ts:16761
↓ 31 callersMethodrun
(request: HarnessRequest)
packages/agent/src/adapters.ts:65
↓ 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:2420
↓ 29 callersMethodHandle
(_ context.Context, request Request)
proxy/internal/nativeruntime/runtime.go:205
↓ 29 callersMethodWrite
(p []byte)
browse/session.go:394
↓ 29 callersFunctionfetch
()
packages/sdk/typescript/tests/middleware-reports.runtime.mjs:11
↓ 29 callersFunctionsha256
(path)
packages/cli/tests/openclaw-wrap.runtime.mjs:14
↓ 28 callersMethodComplete
(context.Context, ModelRequest)
engine/evals/quality.go:41
↓ 28 callersMethodQuery
(context.Context, string, ...any)
shared/platform/postgresconfig/postgresconfig.go:211
↓ 28 callersFunctionopenRetroTestStore
(t *testing.T)
proxy/internal/store/learn_retro_test.go:126
↓ 28 callersMethodvalues
()
packages/middleware/typescript/src/langchain-model.ts:45
↓ 27 callersMethodListSessionObjects
(sessionID string, limit int)
engine/ccr/store_wasm.go:175
↓ 27 callersMethodall
all loads every memory.
mem/store.go:599
↓ 27 callersFunctionplain
(value: Any)
packages/middleware/python/caveman_middleware/_native.py:16
↓ 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:376
↓ 26 callersMethodLen
Len reports how many objects are stored (test helper for ZDR assertions).
shared/platform/objectstore/memory.go:102
↓ 26 callersFunctionLoad
Load reads caveman.yaml from path, applying defaults. A missing file yields the default config (record mode on 127.0.0.1:8787) rather than an error: a
proxy/internal/config/config.go:157
↓ 26 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:892
↓ 25 callersFunctionapply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/openai/cache_key_test.go:17
↓ 25 callersMethoddecline
Native adapters use this when their installed framework is untested. * No content or network request is sent. Strict mode remains explicit.
packages/sdk/typescript/src/middleware/runtime.ts:254
↓ 25 callersFunctionfileBytes
(path: string)
packages/cli/src/index.ts:6801
↓ 24 callersMethodParseUsage
(ctx context.Context, responseHeaders http.Header, streamOrBody io.Reader)
proxy/providers/adapter.go:361
↓ 24 callersMethodPick
(f Features, pool []Candidate, alpha float64)
proxy/routing/routing.go:15
↓ 24 callersMethodPutObject
(input Object)
engine/ccr/store_wasm.go:118
↓ 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:533
↓ 24 callersFunctionnewRetroFixture
(t *testing.T)
proxy/internal/store/learn_retro_test.go:114
↓ 23 callersMethodPut
Put writes body at key, overwriting any existing object.
shared/platform/objectstore/objectstore.go:44
↓ 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 callersMethodSanitizeAndMapHeaders
SanitizeAndMapHeaders maps the inbound headers to the upstream header set and applies any provider auth/signing. upstream is the ALREADY-RESOLVED forw
proxy/providers/adapter.go:350
↓ 23 callersMethodWrite
(p []byte)
proxy/internal/gateway/proxy.go:1642
↓ 23 callersFunctionasMap
(v any)
proxy/internal/store/usage_import.go:526
↓ 23 callersFunctiondigest
(b []byte)
proxy/internal/middleware/runtime.go:94
↓ 23 callersMethodflag_value
(self)
tests/test_mode_tracker.py:55
↓ 23 callersFunctionrequestFor
(r *Runtime)
proxy/internal/middleware/runtime_test.go:70
next →1–100 of 9,380, ranked by callers