Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
13,382 in github.com/JuliusBrussee/caveman
⨍
Functions
13,382
◇
Types & classes
1,416
↳
Endpoints
5
↓ 1,074 callers
Function
append
(base: URL, path: string)
packages/cli/src/provider-routing.ts:47
↓ 842 callers
Function
string
()
packages/middleware/typescript/src/wire.ts:14
↓ 621 callers
Method
Close
()
browse/session.go:35
↓ 427 callers
Method
String
String returns the class name, or "S?" for an unknown class.
engine/safety/safety.go:65
↓ 373 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
↓ 343 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
↓ 327 callers
Method
Get
Get returns the exact original bytes for a handle, or ErrNotFound.
engine/ccr/store_wasm.go:77
↓ 327 callers
Method
get
(self, artifact_id: str)
packages/sdk/python/caveman_cloud/core.py:1352
↓ 284 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
↓ 279 callers
Method
replace
replace returns the input with all matches replaced by [REDACTED:<name>].
shared/platform/redact/redact.go:94
↓ 250 callers
Method
Now
()
proxy/internal/gateway/cache_warm.go:75
↓ 235 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:725
↓ 235 callers
Function
resolve
()
packages/cli/tests/start-lifecycle.runtime.mjs:86
↓ 225 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
↓ 193 callers
Method
has
(key string)
proxy/internal/translate/jsonfast.go:194
↓ 193 callers
Method
ok
(self)
packages/sdk/python/caveman_cloud/core.py:130
↓ 187 callers
Function
Path
(home string, port int)
proxy/internal/runstate/runstate.go:109
↓ 187 callers
Method
close
Destroys pooled and in-flight sockets, including tunnels still being set up.
packages/sdk/typescript/src/middleware/transport.ts:14
↓ 180 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
↓ 172 callers
Method
Scan
(dest ...any)
mem/store.go:641
↓ 170 callers
Function
test
(name, fn)
packages/shared/contracts/conformance/run.mjs:65
↓ 168 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
proxy/internal/gateway/middleware_ops_test.go:17
↓ 168 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
Method
set
(identity [32]byte)
proxy/internal/gateway/raw_pin.go:93
↓ 159 callers
Method
now
()
shared/platform/awscreds/awscreds_test.go:27
↓ 146 callers
Method
Close
Close ends upgraded provider streams and writes out the rows Config.AsyncRecord is still finishing. Call it after the HTTP server has shut down and be
proxy/internal/gateway/recorder.go:201
↓ 146 callers
Function
New
New constructs a standalone proxy Server.
proxy/internal/gateway/server.go:650
↓ 140 callers
Function
int
(raw: Raw, key: string, max = MAX_TOKENS)
supabase/functions/cli-telemetry/ingest.ts:50
↓ 135 callers
Function
String
(body []byte, span Span)
proxy/providers/jsonsplice/jsonsplice.go:130
↓ 130 callers
Function
str
(v: unknown)
packages/cli/src/index.ts:14065
↓ 126 callers
Function
OpenMemory
OpenMemory returns a fresh in-memory store.
engine/ccr/store_wasm.go:41
↓ 123 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
Method
last
(t *testing.T)
proxy/internal/gateway/server_test.go:69
↓ 114 callers
Method
add
(self, value, attributes)
packages/sdk/python/tests/test_middleware_v1_1.py:795
↓ 110 callers
Method
Header
()
proxy/internal/gateway/route_test.go:420
↓ 109 callers
Method
Count
Count returns a local token estimate for b.
engine/tokens/tokens.go:21
↓ 109 callers
Method
Exec
(query string, args ...any)
engine/ccr/store_sqlite.go:201
↓ 108 callers
Function
New
(baseURL string)
proxy/providers/anthropic/anthropic.go:25
↓ 106 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
↓ 105 callers
Method
update
update reports a per-message item: an Anthropic system message, a Responses configuration_update.
proxy/internal/gateway/route.go:357
↓ 100 callers
Method
QueryRow
(query string, args ...any)
engine/ccr/store_sqlite.go:199
↓ 98 callers
Method
Error
()
proxy/internal/middleware/protocol.go:317
↓ 97 callers
Function
New
(baseURL string)
proxy/providers/openai/openai.go:11
↓ 93 callers
Method
String
()
engine/compressors/html_table.go:353
↓ 91 callers
Method
end
()
packages/sdk/typescript/src/middleware/runtime.ts:21
↓ 89 callers
Method
Error
()
engine/compressors/compressor.go:208
↓ 87 callers
Method
log
()
engine/ccr/store_integrity.go:31
↓ 86 callers
Function
cancel
(reason)
packages/middleware/typescript/src/common.ts:164
↓ 83 callers
Function
test
(name, fn)
tests/test_mcp_shrink.js:23
↓ 82 callers
Function
Field
(body []byte, object Span, name string)
proxy/providers/jsonsplice/jsonsplice.go:76
↓ 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
Function
setTimeout
(fn)
tests/test_mcp_shrink.js:407
↓ 79 callers
Method
Format
Format renders a rollup as a stable, human-readable string.
engine/evals/fixtures/sample.go:70
↓ 78 callers
Method
Valid
Valid reports whether c is a registered class.
engine/safety/safety.go:59
↓ 78 callers
Method
encode
()
proxy/internal/gateway/raw_pin.go:64
↓ 77 callers
Function
print
(value: unknown)
packages/cli/src/index.ts:23889
↓ 76 callers
Method
object
()
proxy/providers/inspect.go:174
↓ 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:23962
↓ 71 callers
Method
kill
Latch this client off. Every later `decide()` returns the caller's baseline.
packages/sdk/typescript/src/index.ts:1196
↓ 69 callers
Function
newTestPrefixCache
()
proxy/internal/gateway/prefix_stability_test.go:48
↓ 68 callers
Method
ServeHTTP
(w http.ResponseWriter, request *http.Request)
proxy/internal/middleware/http.go:48
↓ 65 callers
Method
write
(self, _prompt)
tests/test_compress_safety.py:975
↓ 63 callers
Function
Open
Open ignores path (there is no filesystem) and returns an in-memory store.
engine/ccr/store_wasm.go:34
↓ 62 callers
Function
mustRequest
--- requests and answers ---------------------------------------------------
proxy/internal/translate/helpers_test.go:16
↓ 60 callers
Method
Header
()
proxy/internal/translate/translate.go:414
↓ 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
effortServer
effortServer is an Anthropic proxy whose stub provider answers with respond.
proxy/internal/gateway/route_effort_test.go:128
↓ 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
New
New assembles a standalone gateway server from a config and a telemetry sink.
proxy/internal/standalone/standalone.go:361
↓ 53 callers
Function
Root
(body []byte)
proxy/providers/jsonsplice/jsonsplice.go:67
↓ 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
Function
close
(server)
packages/cli/tests/harness/stub-upstream.mjs:13
↓ 51 callers
Method
count
()
proxy/internal/gateway/cache_warm_test.go:136
↓ 51 callers
Function
set
(obj, cb)
extension/popup.js:15
↓ 50 callers
Method
Put
Put stores a recovery and returns its content-addressed handle (idempotent).
engine/ccr/store_wasm.go:52
↓ 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
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
Method
WriteHeader
(status int)
proxy/internal/translate/translate.go:421
↓ 47 callers
Function
encode
(value any)
proxy/internal/translate/helpers_test.go:65
↓ 46 callers
Method
Open
Open reports that no credential is configured: every caller is the operator.
proxy/internal/identity/identity.go:188
↓ 46 callers
Function
send
send POSTs body as principal, with the features header when given.
proxy/internal/middleware/protocol_v11_test.go:74
↓ 46 callers
Method
values
()
packages/middleware/typescript/src/langchain-model.ts:142
↓ 45 callers
Method
Error
()
shared/platform/ssrf/ssrf.go:27
↓ 45 callers
Method
Record
(RequestRecord)
proxy/internal/gateway/server.go:77
↓ 44 callers
Function
New
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:172
↓ 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
mustJSON
(value any)
proxy/internal/translate/messages.go:489
↓ 43 callers
Function
newAdapter
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:16
↓ 42 callers
Function
cavemanHome
()
packages/cli/src/index.ts:14469
↓ 42 callers
Function
dim
(s: string)
packages/cli/src/index.ts:23956
↓ 41 callers
Function
Elements
(body []byte, array Span)
proxy/providers/jsonsplice/jsonsplice.go:110
next →
1–100 of 13,382, ranked by callers