MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 1,021 callersFunctionappend
(base: URL, path: string)
packages/cli/src/provider-routing.ts:47
↓ 792 callersFunctionstring
()
packages/middleware/typescript/src/wire.ts:14
↓ 583 callersMethodClose
()
browse/session.go:35
↓ 466 callersMethodString
String returns the class name, or "S?" for an unknown class.
engine/safety/safety.go:65
↓ 355 callersMethodpush
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 callersMethodget
(self, artifact_id: str)
packages/sdk/python/caveman_cloud/core.py:1352
↓ 319 callersMethodRun
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 callersMethodGet
Get returns the exact original bytes for a handle, or ErrNotFound.
engine/ccr/store_wasm.go:77
↓ 266 callersMethodAdd
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 callersMethodreplace
replace returns the input with all matches replaced by [REDACTED:<name>].
shared/platform/redact/redact.go:94
↓ 243 callersMethodNow
()
proxy/internal/gateway/cache_warm.go:75
↓ 238 callersFunctionresolve
(index: int)
packages/sdk/python/tests/test_trace_continuity.py:172
↓ 213 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:676
↓ 191 callersMethodhas
(key string)
proxy/internal/translate/jsonfast.go:194
↓ 186 callersMethodclose
Destroys pooled and in-flight sockets, including tunnels still being set up.
packages/sdk/typescript/src/middleware/transport.ts:14
↓ 185 callersFunctionPath
(home string, port int)
proxy/internal/runstate/runstate.go:109
↓ 184 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
↓ 181 callersMethodok
(self)
packages/sdk/python/caveman_cloud/core.py:130
↓ 176 callersMethodresolve
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 callersMethodScan
(dest ...any)
mem/store.go:641
↓ 167 callersMethodwrite
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 callersFunctiontest
(name, fn)
packages/shared/contracts/conformance/run.mjs:65
↓ 159 callersMethodset
(identity [32]byte)
proxy/internal/gateway/raw_pin.go:93
↓ 156 callersMethodnow
()
shared/platform/awscreds/awscreds_test.go:27
↓ 152 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
proxy/internal/gateway/middleware_ops_test.go:17
↓ 136 callersMethodClose
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 callersFunctionint
(raw: Raw, key: string, max = MAX_TOKENS)
supabase/functions/cli-telemetry/ingest.ts:50
↓ 129 callersFunctionNew
New constructs a standalone proxy Server.
proxy/internal/gateway/server.go:602
↓ 128 callersFunctionstr
(v: unknown)
packages/cli/src/index.ts:13723
↓ 123 callersFunctionString
(body []byte, span Span)
proxy/providers/jsonsplice/jsonsplice.go:130
↓ 117 callersFunctionOpen
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 callersFunctionOpenMemory
OpenMemory returns a fresh in-memory store.
engine/ccr/store_wasm.go:41
↓ 113 callersMethodlast
(t *testing.T)
proxy/internal/gateway/server_test.go:69
↓ 112 callersMethodadd
(self, value, attributes)
packages/sdk/python/tests/test_middleware_v1_1.py:795
↓ 108 callersMethodExec
(query string, args ...any)
engine/ccr/store_sqlite.go:201
↓ 107 callersMethodCount
Count returns a local token estimate for b.
engine/tokens/tokens.go:21
↓ 107 callersMethodHeader
()
proxy/internal/gateway/route_test.go:420
↓ 105 callersMethodupdate
update reports a per-message item: an Anthropic system message, a Responses configuration_update.
proxy/internal/gateway/route.go:357
↓ 103 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
↓ 99 callersMethodQueryRow
(query string, args ...any)
engine/ccr/store_sqlite.go:199
↓ 97 callersMethodError
()
proxy/internal/middleware/protocol.go:317
↓ 96 callersFunctionNew
(baseURL string)
proxy/providers/anthropic/anthropic.go:25
↓ 92 callersFunctionNew
(baseURL string)
proxy/providers/openai/openai.go:11
↓ 91 callersMethodend
()
packages/sdk/typescript/src/middleware/runtime.ts:21
↓ 87 callersMethodlog
()
engine/ccr/store_integrity.go:31
↓ 82 callersFunctionserveBody
(t *testing.T, srv *Server, path, body string, headers map[string]string)
proxy/internal/gateway/live_zone_test.go:118
↓ 81 callersMethodError
()
engine/compressors/compressor.go:208
↓ 81 callersFunctioncancel
(reason)
packages/middleware/typescript/src/common.ts:164
↓ 81 callersFunctionsetTimeout
(fn)
tests/test_mcp_shrink.js:407
↓ 81 callersFunctiontest
(name, fn)
tests/test_mcp_shrink.js:23
↓ 77 callersFunctionprint
(value: unknown)
packages/cli/src/index.ts:23385
↓ 76 callersMethodFormat
Format renders a rollup as a stable, human-readable string.
engine/evals/fixtures/sample.go:70
↓ 76 callersMethodencode
()
proxy/internal/gateway/raw_pin.go:64
↓ 76 callersMethodobject
()
proxy/providers/inspect.go:174
↓ 75 callersFunctionField
(body []byte, object Span, name string)
proxy/providers/jsonsplice/jsonsplice.go:76
↓ 72 callersFunctionString
(name, fallback string)
shared/platform/env/env.go:14
↓ 72 callersFunctionmark
(state: "ok" | "bad" | "warn")
packages/cli/src/index.ts:23458
↓ 69 callersMethodkill
Latch this client off. Every later `decide()` returns the caller's baseline.
packages/sdk/typescript/src/index.ts:1196
↓ 69 callersMethodwrite
(self, _prompt)
tests/test_compress_safety.py:975
↓ 68 callersMethodValid
Valid reports whether c is a registered class.
engine/safety/safety.go:59
↓ 67 callersFunctionnewTestPrefixCache
()
proxy/internal/gateway/prefix_stability_test.go:48
↓ 64 callersMethodServeHTTP
(w http.ResponseWriter, request *http.Request)
proxy/internal/middleware/http.go:48
↓ 62 callersFunctionmustRequest
--- requests and answers ---------------------------------------------------
proxy/internal/translate/helpers_test.go:16
↓ 60 callersMethodrun
()
proxy/internal/gateway/recorder.go:93
↓ 59 callersFunctionrequestFor
(r *Runtime)
proxy/internal/middleware/runtime_test.go:101
↓ 57 callersFunctionOpen
Open ignores path (there is no filesystem) and returns an in-memory store.
engine/ccr/store_wasm.go:34
↓ 57 callersFunctioneffortServer
effortServer is an Anthropic proxy whose stub provider answers with respond.
proxy/internal/gateway/route_effort_test.go:128
↓ 56 callersMethodHeader
()
proxy/internal/translate/translate.go:414
↓ 56 callersFunctionconvo
convo builds an Anthropic body: output_config first, then the messages.
proxy/internal/gateway/route_effort_test.go:172
↓ 56 callersFunctionpost
(t *testing.T, srv *Server, body string, header map[string]string)
proxy/internal/gateway/route_effort_test.go:157
↓ 54 callersMethodjson
(marked bool)
proxy/internal/gateway/cache_prefix_invariant_test.go:229
↓ 53 callersFunctionnewLink
(home string)
proxy/internal/cloudlink/link_test.go:56
↓ 52 callersFunctionfn
()
packages/sdk/python/tests/test_structural.py:61
↓ 51 callersMethodcount
()
proxy/internal/gateway/cache_warm_test.go:136
↓ 50 callersFunctionNew
New assembles a standalone gateway server from a config and a telemetry sink.
proxy/internal/standalone/standalone.go:339
↓ 50 callersFunctionlist
(items: string[])
packages/cli/src/modules/apply.ts:520
↓ 50 callersMethodreset
(self)
packages/middleware/python/caveman_middleware/autogen.py:466
↓ 49 callersMethodPut
Put stores a recovery and returns its content-addressed handle (idempotent).
engine/ccr/store_wasm.go:52
↓ 49 callersMethodobserve
(self, event, usage=None)
packages/middleware/python/caveman_middleware/_native.py:265
↓ 48 callersMethodAsk
Ask starts the decision and returns the wait for it.
proxy/internal/gateway/route.go:153
↓ 48 callersFunctionnewFixture
(t *testing.T)
proxy/internal/middleware/runtime_test.go:65
↓ 47 callersFunctionRoot
(body []byte)
proxy/providers/jsonsplice/jsonsplice.go:67
↓ 47 callersMethodWriteHeader
(status int)
proxy/internal/translate/translate.go:421
↓ 47 callersFunctionencode
(value any)
proxy/internal/translate/helpers_test.go:65
↓ 47 callersFunctionset
(obj, cb)
extension/popup.js:15
↓ 46 callersMethodOpen
Open reports that no credential is configured: every caller is the operator.
proxy/internal/identity/identity.go:188
↓ 45 callersMethodError
()
shared/platform/ssrf/ssrf.go:27
↓ 45 callersMethodRecord
(RequestRecord)
proxy/internal/gateway/server.go:77
↓ 45 callersFunctionclose
(server)
packages/cli/tests/harness/stub-upstream.mjs:13
↓ 44 callersMethodQuery
(query string, args ...any)
engine/ccr/store_sqlite.go:200
↓ 44 callersFunctionpatch
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 callersFunctionclearTimeout
(id)
tests/test_mcp_shrink.js:408
↓ 43 callersFunctionmustJSON
(value any)
proxy/internal/translate/messages.go:489
↓ 42 callersFunctionNew
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:171
↓ 42 callersFunctioncavemanHome
()
packages/cli/src/index.ts:14127
↓ 42 callersFunctiondim
(s: string)
packages/cli/src/index.ts:23452
↓ 42 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:16
↓ 42 callersMethodvalues
()
packages/middleware/typescript/src/langchain-model.ts:142
↓ 41 callersMethodget
(key string)
proxy/internal/translate/jsonfast.go:166
↓ 40 callersFunctionoptimizeOK
(t *testing.T, r *Runtime, req OptimizeRequest)
proxy/internal/middleware/runtime_test.go:126
next →1–100 of 12,853, ranked by callers