MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions9,729 in github.com/JuliusBrussee/caveman

↓ 668 callersFunctionappend
(base: URL, path: string)
packages/cli/src/provider-routing.ts:47
↓ 492 callersFunctionstring
()
packages/middleware/typescript/src/wire.ts:14
↓ 430 callersMethodClose
()
browse/session.go:35
↓ 282 callersMethodget
(self, artifact_id: str)
packages/sdk/python/caveman_cloud/core.py:1352
↓ 280 callersMethodString
String returns the class name, or "S?" for an unknown class.
engine/safety/safety.go:65
↓ 241 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
↓ 207 callersFunctionresolve
(index: int)
packages/sdk/python/tests/test_trace_continuity.py:172
↓ 185 callersMethodGet
Get returns the exact original bytes for a handle, or ErrNotFound.
engine/ccr/store_wasm.go:77
↓ 165 callersMethodreplace
replace returns the input with all matches replaced by [REDACTED:<name>].
shared/platform/redact/redact.go:94
↓ 162 callersMethodclose
Destroys pooled and in-flight sockets, including tunnels still being set up.
packages/sdk/typescript/src/middleware/transport.ts:14
↓ 147 callersFunctiontest
(name, fn)
packages/shared/contracts/conformance/run.mjs:65
↓ 144 callersMethodok
(self)
packages/sdk/python/caveman_cloud/core.py:130
↓ 143 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
↓ 136 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
↓ 130 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
↓ 123 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
↓ 121 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:584
↓ 118 callersMethodNow
()
proxy/internal/identity/oidc_test.go:88
↓ 116 callersMethodScan
(dest ...any)
mem/store.go:619
↓ 114 callersFunctionPath
(home string, port int)
proxy/internal/runstate/runstate.go:102
↓ 111 callersMethodnow
()
shared/platform/awscreds/awscreds_test.go:27
↓ 105 callersFunctionint
(raw: Raw, key: string, max = MAX_TOKENS)
supabase/functions/cli-telemetry/ingest.ts:50
↓ 95 callersFunctionString
(body []byte, span Span)
proxy/providers/jsonsplice/jsonsplice.go:84
↓ 93 callersFunctionOpen
Open opens (creating if needed) the SQLite database at path and migrates the schema. logger may be nil.
proxy/internal/store/store.go:354
↓ 93 callersFunctionstr
(v: unknown)
packages/cli/src/index.ts:10846
↓ 92 callersMethodadd
(self, value, attributes)
packages/sdk/python/tests/test_middleware_v1_1.py:795
↓ 83 callersMethodencode
(self, *args, **kwargs)
tests/test_compress_safety.py:176
↓ 79 callersFunctionOpenMemory
OpenMemory returns a fresh in-memory store.
engine/ccr/store_wasm.go:41
↓ 79 callersMethodend
()
packages/sdk/typescript/src/middleware/runtime.ts:21
↓ 76 callersMethodError
()
proxy/internal/middleware/protocol.go:317
↓ 74 callersMethodCount
Count returns a local token estimate for b.
engine/tokens/tokens.go:21
↓ 74 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
proxy/internal/gateway/middleware_ops_test.go:17
↓ 69 callersFunctionprint
(value: unknown)
packages/cli/src/index.ts:19534
↓ 67 callersFunctionsetTimeout
(fn)
tests/test_mcp_shrink.js:361
↓ 66 callersMethodError
()
engine/compressors/compressor.go:204
↓ 65 callersFunctionNew
(baseURL string)
proxy/providers/openai/openai.go:11
↓ 65 callersFunctionNew
New constructs a standalone proxy Server.
proxy/internal/gateway/server.go:518
↓ 65 callersMethodwrite
(w *bufio.Writer, resp rpcResponse)
mcp/server.go:232
↓ 64 callersFunctionmark
(state: "ok" | "bad" | "warn")
packages/cli/src/index.ts:19611
↓ 63 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
↓ 62 callersMethodError
()
mem/cmd/cavemem/main_test.go:308
↓ 62 callersMethodlast
(t *testing.T)
proxy/internal/gateway/server_test.go:69
↓ 61 callersFunctionserveBody
(t *testing.T, srv *Server, path, body string, headers map[string]string)
proxy/internal/gateway/live_zone_test.go:118
↓ 60 callersFunctionString
(name, fallback string)
shared/platform/env/env.go:14
↓ 59 callersFunctionrequestFor
(r *Runtime)
proxy/internal/middleware/runtime_test.go:101
↓ 59 callersFunctiontest
(name, fn)
tests/test_mcp_shrink.js:23
↓ 57 callersMethodkill
Latch this client off. Every later `decide()` returns the caller's baseline.
packages/sdk/typescript/src/index.ts:1196
↓ 55 callersMethodrun
()
proxy/internal/gateway/capture.go:206
↓ 54 callersMethodFormat
Format renders a rollup as a stable, human-readable string.
engine/evals/fixtures/sample.go:70
↓ 53 callersFunctionNew
(baseURL string)
proxy/providers/anthropic/anthropic.go:24
↓ 53 callersMethodServeHTTP
(w http.ResponseWriter, request *http.Request)
proxy/internal/middleware/http.go:48
↓ 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 callersMethodValid
Valid reports whether c is a registered class.
engine/safety/safety.go:59
↓ 48 callersFunctionnewFixture
(t *testing.T)
proxy/internal/middleware/runtime_test.go:65
↓ 44 callersFunctionfn
()
packages/sdk/python/tests/test_structural.py:61
↓ 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
↓ 44 callersFunctionset
(obj, cb)
extension/popup.js:15
↓ 42 callersFunctioncancel
(reason)
packages/middleware/typescript/src/common.ts:164
↓ 41 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/bedrock/bedrock_test.go:16
↓ 41 callersFunctionnewTestPrefixCache
()
proxy/internal/gateway/prefix_stability_test.go:41
↓ 40 callersFunctionNew
New assembles a standalone gateway server from a config and a telemetry sink.
proxy/internal/standalone/standalone.go:297
↓ 40 callersFunctionoptimizeOK
(t *testing.T, r *Runtime, req OptimizeRequest)
proxy/internal/middleware/runtime_test.go:126
↓ 39 callersFunctiondim
(s: string)
packages/cli/src/index.ts:19605
↓ 37 callersFunctionrequire_adapter
Import an eligible adapter; skip only absent/unsupported optional extras.
packages/middleware/python/tests/frameworks.py:32
↓ 36 callersMethodResolveUpstreamURL
(ctx context.Context, req *http.Request, route RouteContext)
proxy/providers/adapter.go:344
↓ 35 callersMethodExtractCompressible
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 callersFunctioncavemanHome
()
packages/cli/src/index.ts:11186
↓ 35 callersFunctiondigest
(b []byte)
proxy/internal/middleware/runtime.go:282
↓ 34 callersMethodRecord
(RequestRecord)
proxy/internal/gateway/server.go:77
↓ 34 callersMethodoptimize
(options: OptimizeOptions)
packages/sdk/typescript/src/middleware/runtime.ts:332
↓ 34 callersFunctionwhich
(cmd: string)
packages/cli/src/index.ts:19758
↓ 33 callersMethodWriteHeader
(status int)
proxy/internal/gateway/server.go:689
↓ 33 callersMethodvalues
()
packages/middleware/typescript/src/langchain-model.ts:142
↓ 32 callersFunctionLoad
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:180
↓ 32 callersFunctionfail_open
Non-strict: warn once and return ``adapter_error`` so the caller passes the original input through. Strict: raise, keeping an SDK ``MiddlewareErr
packages/middleware/python/caveman_middleware/_guard.py:11
↓ 32 callersFunctionnext
(...args: [] | [unknown])
packages/middleware/typescript/src/google.ts:178
↓ 32 callersFunctionsend
send POSTs body as principal, with the features header when given.
proxy/internal/middleware/protocol_v11_test.go:74
↓ 31 callersFunctionNew
(store *ccr.Store)
proxy/internal/nativeruntime/runtime.go:143
↓ 31 callersFunctionOpen
Open ignores path (there is no filesystem) and returns an in-memory store.
engine/ccr/store_wasm.go:34
↓ 31 callersMethodOpen
Open reports that no credential is configured: every caller is the operator.
proxy/internal/identity/identity.go:188
↓ 31 callersFunctionflagFrom
(values: string[], name: string, fallback: string)
packages/cli/src/index.ts:17737
↓ 30 callersMethodWithMiddleware
WithMiddleware runs fn in a write transaction whose reads see every write committed by a competing writer of the same data before fn's decisions.
proxy/internal/store/middleware.go:249
↓ 30 callersMethodall
all loads every memory.
mem/store.go:599
↓ 30 callersMethoddecide
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:2431
↓ 30 callersFunctionopenRetroTestStore
(t *testing.T)
proxy/internal/store/learn_retro_test.go:126
↓ 29 callersMethodHandle
(_ context.Context, request Request)
proxy/internal/nativeruntime/runtime.go:205
↓ 29 callersFunctionclearTimeout
(id)
tests/test_mcp_shrink.js:362
↓ 29 callersFunctionpeer_runtime
A real SDK runtime with a deterministic protocol peer, never a provider. This validates adapter projection and recovery plumbing, not Engine qual
packages/middleware/python/tests/conftest.py:80
↓ 28 callersMethodComplete
(context.Context, ModelRequest)
engine/evals/quality.go:41
↓ 28 callersFunctionplain
(value: Any)
packages/middleware/python/caveman_middleware/_native.py:22
↓ 28 callersFunctionwriteFile
(t *testing.T, path, content string)
proxy/internal/identity/identity_test.go:23
↓ 27 callersMethodListSessionObjects
(sessionID string, limit int)
engine/ccr/store_wasm.go:175
↓ 27 callersFunctionfailureCode
(t *testing.T, body []byte)
proxy/internal/middleware/acceptance_test.go:52
↓ 27 callersMethodtrace
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 callersFunctionParseUsageBytes
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
↓ 26 callersFunctionapply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/openai/cache_key_test.go:17
↓ 26 callersFunctionfileBytes
(path: string)
packages/cli/src/index.ts:7107
↓ 25 callersFunctionField
(body []byte, object Span, name string)
proxy/providers/jsonsplice/jsonsplice.go:30
↓ 25 callersFunctionfirstString
(values ...any)
proxy/internal/store/usage_import.go:530
next →1–100 of 9,729, ranked by callers