MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 1,074 callersFunctionappend
(base: URL, path: string)
packages/cli/src/provider-routing.ts:47
↓ 842 callersFunctionstring
()
packages/middleware/typescript/src/wire.ts:14
↓ 621 callersMethodClose
()
browse/session.go:35
↓ 427 callersMethodString
String returns the class name, or "S?" for an unknown class.
engine/safety/safety.go:65
↓ 373 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
↓ 343 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
↓ 327 callersMethodGet
Get returns the exact original bytes for a handle, or ErrNotFound.
engine/ccr/store_wasm.go:77
↓ 327 callersMethodget
(self, artifact_id: str)
packages/sdk/python/caveman_cloud/core.py:1352
↓ 284 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
↓ 279 callersMethodreplace
replace returns the input with all matches replaced by [REDACTED:<name>].
shared/platform/redact/redact.go:94
↓ 250 callersMethodNow
()
proxy/internal/gateway/cache_warm.go:75
↓ 235 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:725
↓ 235 callersFunctionresolve
()
packages/cli/tests/start-lifecycle.runtime.mjs:86
↓ 225 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
↓ 193 callersMethodhas
(key string)
proxy/internal/translate/jsonfast.go:194
↓ 193 callersMethodok
(self)
packages/sdk/python/caveman_cloud/core.py:130
↓ 187 callersFunctionPath
(home string, port int)
proxy/internal/runstate/runstate.go:109
↓ 187 callersMethodclose
Destroys pooled and in-flight sockets, including tunnels still being set up.
packages/sdk/typescript/src/middleware/transport.ts:14
↓ 180 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
↓ 172 callersMethodScan
(dest ...any)
mem/store.go:641
↓ 170 callersFunctiontest
(name, fn)
packages/shared/contracts/conformance/run.mjs:65
↓ 168 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
proxy/internal/gateway/middleware_ops_test.go:17
↓ 168 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 callersMethodset
(identity [32]byte)
proxy/internal/gateway/raw_pin.go:93
↓ 159 callersMethodnow
()
shared/platform/awscreds/awscreds_test.go:27
↓ 146 callersMethodClose
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 callersFunctionNew
New constructs a standalone proxy Server.
proxy/internal/gateway/server.go:650
↓ 140 callersFunctionint
(raw: Raw, key: string, max = MAX_TOKENS)
supabase/functions/cli-telemetry/ingest.ts:50
↓ 135 callersFunctionString
(body []byte, span Span)
proxy/providers/jsonsplice/jsonsplice.go:130
↓ 130 callersFunctionstr
(v: unknown)
packages/cli/src/index.ts:14065
↓ 126 callersFunctionOpenMemory
OpenMemory returns a fresh in-memory store.
engine/ccr/store_wasm.go:41
↓ 123 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 callersMethodlast
(t *testing.T)
proxy/internal/gateway/server_test.go:69
↓ 114 callersMethodadd
(self, value, attributes)
packages/sdk/python/tests/test_middleware_v1_1.py:795
↓ 110 callersMethodHeader
()
proxy/internal/gateway/route_test.go:420
↓ 109 callersMethodCount
Count returns a local token estimate for b.
engine/tokens/tokens.go:21
↓ 109 callersMethodExec
(query string, args ...any)
engine/ccr/store_sqlite.go:201
↓ 108 callersFunctionNew
(baseURL string)
proxy/providers/anthropic/anthropic.go:25
↓ 106 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
↓ 105 callersMethodupdate
update reports a per-message item: an Anthropic system message, a Responses configuration_update.
proxy/internal/gateway/route.go:357
↓ 100 callersMethodQueryRow
(query string, args ...any)
engine/ccr/store_sqlite.go:199
↓ 98 callersMethodError
()
proxy/internal/middleware/protocol.go:317
↓ 97 callersFunctionNew
(baseURL string)
proxy/providers/openai/openai.go:11
↓ 93 callersMethodString
()
engine/compressors/html_table.go:353
↓ 91 callersMethodend
()
packages/sdk/typescript/src/middleware/runtime.ts:21
↓ 89 callersMethodError
()
engine/compressors/compressor.go:208
↓ 87 callersMethodlog
()
engine/ccr/store_integrity.go:31
↓ 86 callersFunctioncancel
(reason)
packages/middleware/typescript/src/common.ts:164
↓ 83 callersFunctiontest
(name, fn)
tests/test_mcp_shrink.js:23
↓ 82 callersFunctionField
(body []byte, object Span, name string)
proxy/providers/jsonsplice/jsonsplice.go:76
↓ 82 callersFunctionserveBody
(t *testing.T, srv *Server, path, body string, headers map[string]string)
proxy/internal/gateway/live_zone_test.go:118
↓ 81 callersFunctionsetTimeout
(fn)
tests/test_mcp_shrink.js:407
↓ 79 callersMethodFormat
Format renders a rollup as a stable, human-readable string.
engine/evals/fixtures/sample.go:70
↓ 78 callersMethodValid
Valid reports whether c is a registered class.
engine/safety/safety.go:59
↓ 78 callersMethodencode
()
proxy/internal/gateway/raw_pin.go:64
↓ 77 callersFunctionprint
(value: unknown)
packages/cli/src/index.ts:23889
↓ 76 callersMethodobject
()
proxy/providers/inspect.go:174
↓ 72 callersFunctionString
(name, fallback string)
shared/platform/env/env.go:14
↓ 72 callersFunctionmark
(state: "ok" | "bad" | "warn")
packages/cli/src/index.ts:23962
↓ 71 callersMethodkill
Latch this client off. Every later `decide()` returns the caller's baseline.
packages/sdk/typescript/src/index.ts:1196
↓ 69 callersFunctionnewTestPrefixCache
()
proxy/internal/gateway/prefix_stability_test.go:48
↓ 68 callersMethodServeHTTP
(w http.ResponseWriter, request *http.Request)
proxy/internal/middleware/http.go:48
↓ 65 callersMethodwrite
(self, _prompt)
tests/test_compress_safety.py:975
↓ 63 callersFunctionOpen
Open ignores path (there is no filesystem) and returns an in-memory store.
engine/ccr/store_wasm.go:34
↓ 62 callersFunctionmustRequest
--- requests and answers ---------------------------------------------------
proxy/internal/translate/helpers_test.go:16
↓ 60 callersMethodHeader
()
proxy/internal/translate/translate.go:414
↓ 60 callersMethodrun
()
proxy/internal/gateway/recorder.go:93
↓ 59 callersFunctionrequestFor
(r *Runtime)
proxy/internal/middleware/runtime_test.go:101
↓ 57 callersFunctioneffortServer
effortServer is an Anthropic proxy whose stub provider answers with respond.
proxy/internal/gateway/route_effort_test.go:128
↓ 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 callersFunctionNew
New assembles a standalone gateway server from a config and a telemetry sink.
proxy/internal/standalone/standalone.go:361
↓ 53 callersFunctionRoot
(body []byte)
proxy/providers/jsonsplice/jsonsplice.go:67
↓ 53 callersFunctionnewLink
(home string)
proxy/internal/cloudlink/link_test.go:56
↓ 52 callersFunctionfn
()
packages/sdk/python/tests/test_structural.py:61
↓ 51 callersFunctionclose
(server)
packages/cli/tests/harness/stub-upstream.mjs:13
↓ 51 callersMethodcount
()
proxy/internal/gateway/cache_warm_test.go:136
↓ 51 callersFunctionset
(obj, cb)
extension/popup.js:15
↓ 50 callersMethodPut
Put stores a recovery and returns its content-addressed handle (idempotent).
engine/ccr/store_wasm.go:52
↓ 50 callersFunctionlist
(items: string[])
packages/cli/src/modules/apply.ts:520
↓ 50 callersMethodreset
(self)
packages/middleware/python/caveman_middleware/autogen.py:466
↓ 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 callersMethodWriteHeader
(status int)
proxy/internal/translate/translate.go:421
↓ 47 callersFunctionencode
(value any)
proxy/internal/translate/helpers_test.go:65
↓ 46 callersMethodOpen
Open reports that no credential is configured: every caller is the operator.
proxy/internal/identity/identity.go:188
↓ 46 callersFunctionsend
send POSTs body as principal, with the features header when given.
proxy/internal/middleware/protocol_v11_test.go:74
↓ 46 callersMethodvalues
()
packages/middleware/typescript/src/langchain-model.ts:142
↓ 45 callersMethodError
()
shared/platform/ssrf/ssrf.go:27
↓ 45 callersMethodRecord
(RequestRecord)
proxy/internal/gateway/server.go:77
↓ 44 callersFunctionNew
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:172
↓ 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 callersFunctionmustJSON
(value any)
proxy/internal/translate/messages.go:489
↓ 43 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:16
↓ 42 callersFunctioncavemanHome
()
packages/cli/src/index.ts:14469
↓ 42 callersFunctiondim
(s: string)
packages/cli/src/index.ts:23956
↓ 41 callersFunctionElements
(body []byte, array Span)
proxy/providers/jsonsplice/jsonsplice.go:110
next →1–100 of 13,382, ranked by callers