Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,853 in github.com/JuliusBrussee/caveman
⨍
Functions
12,853
◇
Types & classes
1,364
↳
Endpoints
5
↓ 1,021 callers
Function
append
(base: URL, path: string)
packages/cli/src/provider-routing.ts:47
↓ 792 callers
Function
string
()
packages/middleware/typescript/src/wire.ts:14
↓ 583 callers
Method
Close
()
browse/session.go:35
↓ 466 callers
Method
String
String returns the class name, or "S?" for an unknown class.
engine/safety/safety.go:65
↓ 355 callers
Method
push
push files the block written to the arena since start under role, merged into the last message when that one has the same role.
proxy/internal/translate/msgbuild.go:92
↓ 324 callers
Method
get
(self, artifact_id: str)
packages/sdk/python/caveman_cloud/core.py:1352
↓ 319 callers
Method
Run
Run keeps storage work off the request path until ctx ends: batched retrieve renewals every second and an expiry sweep every minute. Without it nothin
proxy/internal/middleware/runtime.go:606
↓ 310 callers
Method
Get
Get returns the exact original bytes for a handle, or ErrNotFound.
engine/ccr/store_wasm.go:77
↓ 266 callers
Method
Add
Add accumulates another batch's counts. Legacy is a property of the authority, not of a batch, so the larger report wins.
proxy/internal/store/middleware.go:703
↓ 260 callers
Method
replace
replace returns the input with all matches replaced by [REDACTED:<name>].
shared/platform/redact/redact.go:94
↓ 243 callers
Method
Now
()
proxy/internal/gateway/cache_warm.go:75
↓ 238 callers
Function
resolve
(index: int)
packages/sdk/python/tests/test_trace_continuity.py:172
↓ 213 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:676
↓ 191 callers
Method
has
(key string)
proxy/internal/translate/jsonfast.go:194
↓ 186 callers
Method
close
Destroys pooled and in-flight sockets, including tunnels still being set up.
packages/sdk/typescript/src/middleware/transport.ts:14
↓ 185 callers
Function
Path
(home string, port int)
proxy/internal/runstate/runstate.go:109
↓ 184 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
↓ 181 callers
Method
ok
(self)
packages/sdk/python/caveman_cloud/core.py:130
↓ 176 callers
Method
resolve
resolve returns the window a turn is measured against. inferred is true when the session's own context exceeded the assumed window; exact still report
proxy/internal/store/learn.go:1313
↓ 171 callers
Method
Scan
(dest ...any)
mem/store.go:641
↓ 167 callers
Method
write
write runs fn in a write transaction that stamps and bounds rows by principal; the principal's own quota overrides the runtime-wide one.
proxy/internal/middleware/runtime.go:299
↓ 166 callers
Function
test
(name, fn)
packages/shared/contracts/conformance/run.mjs:65
↓ 159 callers
Method
set
(identity [32]byte)
proxy/internal/gateway/raw_pin.go:93
↓ 156 callers
Method
now
()
shared/platform/awscreds/awscreds_test.go:27
↓ 152 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
proxy/internal/gateway/middleware_ops_test.go:17
↓ 136 callers
Method
Close
Close writes out the rows Config.AsyncRecord is still finishing. Call it after the HTTP server has shut down and before the sink closes; a request sti
proxy/internal/gateway/recorder.go:201
↓ 131 callers
Function
int
(raw: Raw, key: string, max = MAX_TOKENS)
supabase/functions/cli-telemetry/ingest.ts:50
↓ 129 callers
Function
New
New constructs a standalone proxy Server.
proxy/internal/gateway/server.go:602
↓ 128 callers
Function
str
(v: unknown)
packages/cli/src/index.ts:13723
↓ 123 callers
Function
String
(body []byte, span Span)
proxy/providers/jsonsplice/jsonsplice.go:130
↓ 117 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:396
↓ 117 callers
Function
OpenMemory
OpenMemory returns a fresh in-memory store.
engine/ccr/store_wasm.go:41
↓ 113 callers
Method
last
(t *testing.T)
proxy/internal/gateway/server_test.go:69
↓ 112 callers
Method
add
(self, value, attributes)
packages/sdk/python/tests/test_middleware_v1_1.py:795
↓ 108 callers
Method
Exec
(query string, args ...any)
engine/ccr/store_sqlite.go:201
↓ 107 callers
Method
Count
Count returns a local token estimate for b.
engine/tokens/tokens.go:21
↓ 107 callers
Method
Header
()
proxy/internal/gateway/route_test.go:420
↓ 105 callers
Method
update
update reports a per-message item: an Anthropic system message, a Responses configuration_update.
proxy/internal/gateway/route.go:357
↓ 103 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
↓ 99 callers
Method
QueryRow
(query string, args ...any)
engine/ccr/store_sqlite.go:199
↓ 97 callers
Method
Error
()
proxy/internal/middleware/protocol.go:317
↓ 96 callers
Function
New
(baseURL string)
proxy/providers/anthropic/anthropic.go:25
↓ 92 callers
Function
New
(baseURL string)
proxy/providers/openai/openai.go:11
↓ 91 callers
Method
end
()
packages/sdk/typescript/src/middleware/runtime.ts:21
↓ 87 callers
Method
log
()
engine/ccr/store_integrity.go:31
↓ 82 callers
Function
serveBody
(t *testing.T, srv *Server, path, body string, headers map[string]string)
proxy/internal/gateway/live_zone_test.go:118
↓ 81 callers
Method
Error
()
engine/compressors/compressor.go:208
↓ 81 callers
Function
cancel
(reason)
packages/middleware/typescript/src/common.ts:164
↓ 81 callers
Function
setTimeout
(fn)
tests/test_mcp_shrink.js:407
↓ 81 callers
Function
test
(name, fn)
tests/test_mcp_shrink.js:23
↓ 77 callers
Function
print
(value: unknown)
packages/cli/src/index.ts:23385
↓ 76 callers
Method
Format
Format renders a rollup as a stable, human-readable string.
engine/evals/fixtures/sample.go:70
↓ 76 callers
Method
encode
()
proxy/internal/gateway/raw_pin.go:64
↓ 76 callers
Method
object
()
proxy/providers/inspect.go:174
↓ 75 callers
Function
Field
(body []byte, object Span, name string)
proxy/providers/jsonsplice/jsonsplice.go:76
↓ 72 callers
Function
String
(name, fallback string)
shared/platform/env/env.go:14
↓ 72 callers
Function
mark
(state: "ok" | "bad" | "warn")
packages/cli/src/index.ts:23458
↓ 69 callers
Method
kill
Latch this client off. Every later `decide()` returns the caller's baseline.
packages/sdk/typescript/src/index.ts:1196
↓ 69 callers
Method
write
(self, _prompt)
tests/test_compress_safety.py:975
↓ 68 callers
Method
Valid
Valid reports whether c is a registered class.
engine/safety/safety.go:59
↓ 67 callers
Function
newTestPrefixCache
()
proxy/internal/gateway/prefix_stability_test.go:48
↓ 64 callers
Method
ServeHTTP
(w http.ResponseWriter, request *http.Request)
proxy/internal/middleware/http.go:48
↓ 62 callers
Function
mustRequest
--- requests and answers ---------------------------------------------------
proxy/internal/translate/helpers_test.go:16
↓ 60 callers
Method
run
()
proxy/internal/gateway/recorder.go:93
↓ 59 callers
Function
requestFor
(r *Runtime)
proxy/internal/middleware/runtime_test.go:101
↓ 57 callers
Function
Open
Open ignores path (there is no filesystem) and returns an in-memory store.
engine/ccr/store_wasm.go:34
↓ 57 callers
Function
effortServer
effortServer is an Anthropic proxy whose stub provider answers with respond.
proxy/internal/gateway/route_effort_test.go:128
↓ 56 callers
Method
Header
()
proxy/internal/translate/translate.go:414
↓ 56 callers
Function
convo
convo builds an Anthropic body: output_config first, then the messages.
proxy/internal/gateway/route_effort_test.go:172
↓ 56 callers
Function
post
(t *testing.T, srv *Server, body string, header map[string]string)
proxy/internal/gateway/route_effort_test.go:157
↓ 54 callers
Method
json
(marked bool)
proxy/internal/gateway/cache_prefix_invariant_test.go:229
↓ 53 callers
Function
newLink
(home string)
proxy/internal/cloudlink/link_test.go:56
↓ 52 callers
Function
fn
()
packages/sdk/python/tests/test_structural.py:61
↓ 51 callers
Method
count
()
proxy/internal/gateway/cache_warm_test.go:136
↓ 50 callers
Function
New
New assembles a standalone gateway server from a config and a telemetry sink.
proxy/internal/standalone/standalone.go:339
↓ 50 callers
Function
list
(items: string[])
packages/cli/src/modules/apply.ts:520
↓ 50 callers
Method
reset
(self)
packages/middleware/python/caveman_middleware/autogen.py:466
↓ 49 callers
Method
Put
Put stores a recovery and returns its content-addressed handle (idempotent).
engine/ccr/store_wasm.go:52
↓ 49 callers
Method
observe
(self, event, usage=None)
packages/middleware/python/caveman_middleware/_native.py:265
↓ 48 callers
Method
Ask
Ask starts the decision and returns the wait for it.
proxy/internal/gateway/route.go:153
↓ 48 callers
Function
newFixture
(t *testing.T)
proxy/internal/middleware/runtime_test.go:65
↓ 47 callers
Function
Root
(body []byte)
proxy/providers/jsonsplice/jsonsplice.go:67
↓ 47 callers
Method
WriteHeader
(status int)
proxy/internal/translate/translate.go:421
↓ 47 callers
Function
encode
(value any)
proxy/internal/translate/helpers_test.go:65
↓ 47 callers
Function
set
(obj, cb)
extension/popup.js:15
↓ 46 callers
Method
Open
Open reports that no credential is configured: every caller is the operator.
proxy/internal/identity/identity.go:188
↓ 45 callers
Method
Error
()
shared/platform/ssrf/ssrf.go:27
↓ 45 callers
Method
Record
(RequestRecord)
proxy/internal/gateway/server.go:77
↓ 45 callers
Function
close
(server)
packages/cli/tests/harness/stub-upstream.mjs:13
↓ 44 callers
Method
Query
(query string, args ...any)
engine/ccr/store_sqlite.go:200
↓ 44 callers
Function
patch
Apply {op: set|delete|append, path, value} patches to a deep copy of `doc`.
packages/sdk/typescript/tests/middleware-v1_1.runtime.mjs:13
↓ 43 callers
Function
clearTimeout
(id)
tests/test_mcp_shrink.js:408
↓ 43 callers
Function
mustJSON
(value any)
proxy/internal/translate/messages.go:489
↓ 42 callers
Function
New
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:171
↓ 42 callers
Function
cavemanHome
()
packages/cli/src/index.ts:14127
↓ 42 callers
Function
dim
(s: string)
packages/cli/src/index.ts:23452
↓ 42 callers
Function
newAdapter
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:16
↓ 42 callers
Method
values
()
packages/middleware/typescript/src/langchain-model.ts:142
↓ 41 callers
Method
get
(key string)
proxy/internal/translate/jsonfast.go:166
↓ 40 callers
Function
optimizeOK
(t *testing.T, r *Runtime, req OptimizeRequest)
proxy/internal/middleware/runtime_test.go:126
next →
1–100 of 12,853, ranked by callers