Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
9,380 in github.com/JuliusBrussee/caveman
⨍
Functions
9,380
◇
Types & classes
1,035
↳
Endpoints
3
↓ 634 callers
Function
append
(base: URL, path: string)
packages/cli/src/provider-routing.ts:40
↓ 481 callers
Function
string
()
packages/middleware/typescript/src/wire.ts:13
↓ 415 callers
Method
Close
()
browse/session.go:35
↓ 256 callers
Method
String
String returns the class name, or "S?" for an unknown class.
engine/safety/safety.go:65
↓ 255 callers
Function
resolve
(index: int)
packages/sdk/python/tests/test_trace_continuity.py:172
↓ 252 callers
Method
get
(self, artifact_id: str)
packages/sdk/python/caveman_cloud/core.py:1352
↓ 200 callers
Function
test
(name, fn)
tests/test_mcp_shrink.js:23
↓ 190 callers
Method
Get
Get returns the bytes at key, or ErrNotFound.
shared/platform/objectstore/objectstore.go:46
↓ 167 callers
Method
replace
replace returns the input with all matches replaced by [REDACTED:<name>].
shared/platform/redact/redact.go:94
↓ 143 callers
Method
Compress
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 callers
Method
write
(job captureJob)
proxy/internal/gateway/capture.go:217
↓ 126 callers
Method
ok
(self)
packages/sdk/python/caveman_cloud/core.py:130
↓ 123 callers
Method
ServeHTTP
(w http.ResponseWriter, request *http.Request)
proxy/internal/middleware/http.go:17
↓ 120 callers
Function
String
(body []byte, span Span)
proxy/providers/jsonsplice/jsonsplice.go:84
↓ 116 callers
Method
Handler
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 callers
Method
resolve
()
proxy/internal/gateway/capture.go:267
↓ 108 callers
Method
now
()
shared/platform/awscreds/awscreds_test.go:27
↓ 102 callers
Function
Path
(home string, port int)
proxy/internal/runstate/runstate.go:102
↓ 94 callers
Method
add
(v StatsMetrics)
proxy/internal/store/stats.go:448
↓ 89 callers
Function
Open
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 callers
Method
Scan
(dest ...any)
mem/store.go:619
↓ 81 callers
Function
str
(v: unknown)
packages/cli/src/index.ts:10077
↓ 79 callers
Function
OpenMemory
OpenMemory returns a fresh in-memory store.
engine/ccr/store_wasm.go:41
↓ 78 callers
Function
max
(kinds: readonly string[])
packages/agent/src/cli.ts:1319
↓ 77 callers
Method
close
Release the optional background refresh timer. Mirrors the Python `close()`.
packages/sdk/typescript/src/index.ts:1214
↓ 76 callers
Method
Count
Count returns a local token estimate for b.
engine/tokens/tokens.go:21
↓ 73 callers
Method
Error
()
mem/cmd/cavemem/main_test.go:308
↓ 72 callers
Method
encode
(self, *args, **kwargs)
tests/test_compress_safety.py:176
↓ 66 callers
Method
Error
()
engine/compressors/compressor.go:204
↓ 66 callers
Function
print
(value: unknown)
packages/cli/src/index.ts:18555
↓ 65 callers
Method
Error
()
proxy/internal/middleware/protocol.go:205
↓ 65 callers
Function
New
(baseURL string)
proxy/providers/openai/openai.go:11
↓ 65 callers
Function
setTimeout
(fn)
tests/test_mcp_shrink.js:274
↓ 63 callers
Function
New
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 callers
Function
mark
(state: "ok" | "bad" | "warn")
packages/cli/src/index.ts:18632
↓ 63 callers
Method
write
(w *bufio.Writer, resp rpcResponse)
mcp/server.go:232
↓ 62 callers
Function
New
New constructs a standalone proxy Server.
proxy/internal/gateway/server.go:505
↓ 62 callers
Method
last
(t *testing.T)
proxy/internal/gateway/server_test.go:69
↓ 61 callers
Function
serveBody
(t *testing.T, srv *Server, path, body string, headers map[string]string)
proxy/internal/gateway/live_zone_test.go:118
↓ 60 callers
Method
max
()
packages/agent/src/budget.ts:816
↓ 58 callers
Function
String
(name, fallback string)
shared/platform/env/env.go:14
↓ 56 callers
Method
kill
Latch this client off. Every later `decide()` returns the caller's baseline.
packages/sdk/typescript/src/index.ts:1191
↓ 53 callers
Function
New
(baseURL string)
proxy/providers/anthropic/anthropic.go:24
↓ 50 callers
Method
Format
Format renders a rollup as a stable, human-readable string.
engine/evals/fixtures/sample.go:70
↓ 49 callers
Method
observe
(self, event, usage=None)
packages/middleware/python/caveman_middleware/_native.py:218
↓ 48 callers
Method
reset
(self)
packages/middleware/python/caveman_middleware/autogen.py:455
↓ 46 callers
Method
QueryRow
(context.Context, string, ...any)
shared/platform/postgresconfig/postgresconfig.go:212
↓ 46 callers
Method
Valid
Valid reports whether c is a registered class.
engine/safety/safety.go:59
↓ 42 callers
Function
cancel
(reason)
packages/middleware/typescript/src/common.ts:86
↓ 42 callers
Function
patch
(text, replacements)
packages/middleware/python/caveman_middleware/_google_wire.py:77
↓ 41 callers
Function
newAdapter
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:16
↓ 41 callers
Function
newTestPrefixCache
()
proxy/internal/gateway/prefix_stability_test.go:41
↓ 39 callers
Function
fn
()
packages/sdk/python/tests/test_structural.py:61
↓ 37 callers
Function
New
New assembles a standalone gateway server from a config and a telemetry sink.
proxy/internal/standalone/standalone.go:278
↓ 36 callers
Method
ResolveUpstreamURL
(ctx context.Context, req *http.Request, route RouteContext)
proxy/providers/adapter.go:344
↓ 36 callers
Function
clearTimeout
(id)
tests/test_mcp_shrink.js:275
↓ 35 callers
Method
ExtractCompressible
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 callers
Function
set
(obj, cb)
extension/popup.js:15
↓ 34 callers
Method
Record
(RequestRecord)
proxy/internal/gateway/server.go:71
↓ 34 callers
Function
dim
(s: string)
packages/cli/src/index.ts:18626
↓ 34 callers
Function
which
(cmd: string)
packages/cli/src/index.ts:18779
↓ 33 callers
Function
cavemanHome
()
packages/cli/src/index.ts:10417
↓ 33 callers
Method
optimize
(options: OptimizeOptions)
packages/sdk/typescript/src/middleware/runtime.ts:146
↓ 31 callers
Function
New
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:143
↓ 31 callers
Function
Open
Open ignores path (there is no filesystem) and returns an in-memory store.
engine/ccr/store_wasm.go:34
↓ 31 callers
Function
flagFrom
(values: string[], name: string, fallback: string)
packages/cli/src/index.ts:16761
↓ 31 callers
Method
run
(request: HarnessRequest)
packages/agent/src/adapters.ts:65
↓ 30 callers
Method
decide
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 callers
Method
Handle
(_ context.Context, request Request)
proxy/internal/nativeruntime/runtime.go:205
↓ 29 callers
Method
Write
(p []byte)
browse/session.go:394
↓ 29 callers
Function
fetch
()
packages/sdk/typescript/tests/middleware-reports.runtime.mjs:11
↓ 29 callers
Function
sha256
(path)
packages/cli/tests/openclaw-wrap.runtime.mjs:14
↓ 28 callers
Method
Complete
(context.Context, ModelRequest)
engine/evals/quality.go:41
↓ 28 callers
Method
Query
(context.Context, string, ...any)
shared/platform/postgresconfig/postgresconfig.go:211
↓ 28 callers
Function
openRetroTestStore
(t *testing.T)
proxy/internal/store/learn_retro_test.go:126
↓ 28 callers
Method
values
()
packages/middleware/typescript/src/langchain-model.ts:45
↓ 27 callers
Method
ListSessionObjects
(sessionID string, limit int)
engine/ccr/store_wasm.go:175
↓ 27 callers
Method
all
all loads every memory.
mem/store.go:599
↓ 27 callers
Function
plain
(value: Any)
packages/middleware/python/caveman_middleware/_native.py:16
↓ 27 callers
Method
trace
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 callers
Method
Len
Len reports how many objects are stored (test helper for ZDR assertions).
shared/platform/objectstore/memory.go:102
↓ 26 callers
Function
Load
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 callers
Function
ParseUsageBytes
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 callers
Function
apply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/openai/cache_key_test.go:17
↓ 25 callers
Method
decline
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 callers
Function
fileBytes
(path: string)
packages/cli/src/index.ts:6801
↓ 24 callers
Method
ParseUsage
(ctx context.Context, responseHeaders http.Header, streamOrBody io.Reader)
proxy/providers/adapter.go:361
↓ 24 callers
Method
Pick
(f Features, pool []Candidate, alpha float64)
proxy/routing/routing.go:15
↓ 24 callers
Method
PutObject
(input Object)
engine/ccr/store_wasm.go:118
↓ 24 callers
Function
agent
(options: { id: string; instructions: string | FileSource; model: Auto | string | Model<Api>; reasonin
packages/agent/src/index.ts:87
↓ 24 callers
Function
firstString
(values ...any)
proxy/internal/store/usage_import.go:533
↓ 24 callers
Function
newRetroFixture
(t *testing.T)
proxy/internal/store/learn_retro_test.go:114
↓ 23 callers
Method
Put
Put writes body at key, overwriting any existing object.
shared/platform/objectstore/objectstore.go:44
↓ 23 callers
Method
Remember
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 callers
Method
SanitizeAndMapHeaders
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 callers
Method
Write
(p []byte)
proxy/internal/gateway/proxy.go:1642
↓ 23 callers
Function
asMap
(v any)
proxy/internal/store/usage_import.go:526
↓ 23 callers
Function
digest
(b []byte)
proxy/internal/middleware/runtime.go:94
↓ 23 callers
Method
flag_value
(self)
tests/test_mode_tracker.py:55
↓ 23 callers
Function
requestFor
(r *Runtime)
proxy/internal/middleware/runtime_test.go:70
next →
1–100 of 9,380, ranked by callers