MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 10 callersFunctionNew
(baseURL string)
proxy/providers/openaicompat/openaicompat.go:19
↓ 10 callersFunctionNew
New returns a link reading the CLI state under home ($CAVEMAN_HOME).
proxy/internal/cloudlink/link.go:164
↓ 10 callersFunctionNewTestReport
NewTestReport returns the default test-report compressor.
engine/compressors/testreport.go:21
↓ 10 callersFunction_owned
(attempt)
packages/middleware/python/caveman_middleware/llama_index.py:310
↓ 10 callersFunction_signed_payload
(bundle: str = BUNDLE)
packages/sdk/python/tests/test_runtime_policy.py:99
↓ 10 callersFunction_urlopen
(req: urllib.request.Request, *, timeout: float)
packages/sdk/python/caveman_cloud/core.py:36
↓ 10 callersFunctionauthority
(principal string, s Scope)
proxy/internal/middleware/runtime.go:284
↓ 10 callersFunctionblockString
(block map[string]any, key string)
engine/pixel/transform_anthropic.go:1396
↓ 10 callersFunctioncaveFetch
* Shared bounded transport for every SDK request. * * The explicit abort race is intentional: callers still settle on deadline when * a custom fetc
packages/sdk/typescript/src/index.ts:1998
↓ 10 callersFunctioncreateMiddlewareRuntime
(options: RuntimeOptions = {})
packages/sdk/typescript/src/middleware/runtime.ts:687
↓ 10 callersFunctioncurrentOwner
()
packages/middleware/typescript/src/common.ts:22
↓ 10 callersMethoddoUpstream
doUpstream retries only connection-setup failures: the provider has not received a request. A missing response does NOT prove an inference POST was un
proxy/internal/gateway/proxy.go:41
↓ 10 callersFunctione2eHandle
(b []byte)
proxy/internal/store/prefix_stability_e2e_test.go:68
↓ 10 callersFunctionechoUpstream
(t *testing.T, got *string)
proxy/internal/gateway/compress_test.go:284
↓ 10 callersFunctionemitCommandRunOnce
(exitClass: TelemetryExitClass, errorClass?: TelemetryErrorClass)
packages/cli/src/index.ts:1570
↓ 10 callersFunctionenabled
()
proxy/providers/openai/cache_key_test.go:13
↓ 10 callersMethodevent
(name string, data any)
proxy/internal/translate/messages_stream.go:41
↓ 10 callersFunctionexpandTilde
(p: string)
packages/cli/src/index.ts:18586
↓ 10 callersFunctionfatalJSON
(logger *slog.Logger, err error)
proxy/cmd/caveman-proxy/main.go:1269
↓ 10 callersFunctionfindObjectField
(body []byte, obj jsonSpan, field string)
proxy/providers/anthropic/splice.go:37
↓ 10 callersFunctionget
(path: string)
packages/cli/src/index.ts:22905
↓ 10 callersFunctiongetObject
(root: unknown, path: string[])
packages/cli/src/index.ts:7754
↓ 10 callersFunctionlocalTarget
(host string)
proxy/internal/gateway/route_pool_test.go:134
↓ 10 callersFunctionmarkedTurnConversation
markedTurnConversation builds the Claude Code request shape for a conversation of n user turns: every user turn carries a cache_control breakpoint (Cl
proxy/internal/gateway/prefix_stability_test.go:138
↓ 10 callersFunctionmemoryHealthEnv
memoryHealthEnv isolates every root the doctor reads so no test touches the real ~/.claude, ~/.codex or ~/.gemini. It returns (claudeRoot, repo).
proxy/internal/store/detect_memory_health_test.go:13
↓ 10 callersFunctionmemoryHealthSinks
(cwd string, turnsPerDay float64)
proxy/internal/store/detect_memory_health.go:62
↓ 10 callersFunctionmemorySinksWithPrefix
(sinks []Sink, prefix string)
proxy/internal/store/detect_memory_health_test.go:44
↓ 10 callersFunctionmustHome
(logger *slog.Logger)
proxy/cmd/caveman-proxy/main.go:1339
↓ 10 callersFunctionnameConflict
(runtime: MiddlewareRuntime, adapter: string)
packages/middleware/typescript/src/common.ts:113
↓ 10 callersFunctionnewUnitWarmer
(send func(context.Context, *warmRequest) bool)
proxy/internal/gateway/cache_warm_policy_test.go:428
↓ 10 callersFunctionnormalizeScope
(input: unknown)
packages/sdk/typescript/src/middleware/protocol.ts:19
↓ 10 callersMethodobserve
(event turnEvent)
proxy/internal/store/learn_pricing.go:64
↓ 10 callersFunctionpostMessages
(t *testing.T, handler http.Handler, headers map[string]string)
proxy/internal/standalone/auth_token_test.go:58
↓ 10 callersMethodprepare
(messages:Message[],options:StreamOptions)
packages/middleware/typescript/src/strands.ts:36
↓ 10 callersFunctionprobeMcpBinary
()
packages/cli/src/index.ts:14267
↓ 10 callersFunctionreasoningPolicy
(flag, gate bool)
proxy/providers/openai/reasoning_effort_test.go:9
↓ 10 callersFunctionrecoveryResult
(adapter: string, signal: AbortSignal | null | undefined, input: unknown, retrieve: (args: RetrieveArgs) =>
packages/middleware/typescript/src/common.ts:125
↓ 10 callersMethodreject
(refused bool)
proxy/internal/gateway/route.go:122
↓ 10 callersMethodrequest
(self, messages: list[ModelMessage], model_settings, model_request_parameters: ModelRequestParameters)
packages/middleware/python/caveman_middleware/pydantic_ai.py:283
↓ 10 callersFunctionrequirePeers
(t, adapter)
packages/middleware/typescript/tests/peers.mjs:11
↓ 10 callersFunctionreturnsAt
returnsAt is a table whose every class comes back exactly at `at` (in that 30 s bin); a negative `at` never comes back.
proxy/internal/gateway/cache_warm_policy_test.go:21
↓ 10 callersFunctionsign
(value: number)
packages/cli/src/learn-trends.ts:94
↓ 10 callersMethodstart
()
packages/pi-extension/src/recovery.ts:169
↓ 10 callersFunctionstr
(raw: Raw, key: string)
supabase/functions/cli-telemetry/ingest.ts:43
↓ 10 callersFunctiontestSession
(t *testing.T)
browse/session_test.go:61
↓ 10 callersMethodtool
(self, name: str, options: dict[str, Any], fn: Callable[[], Any])
packages/sdk/python/caveman_cloud/core.py:1129
↓ 10 callersFunctiontrimTrailingSlashes
(s: string)
packages/cli/src/provider-routing.ts:41
↓ 10 callersFunctionvalidate
(original_path: Path, compressed_path: Path)
skills/caveman-compress/scripts/validate.py:400
↓ 10 callersFunctionwith_caveman_anthropic
Return a native SDK clone. Existing native middleware stays in order. Plain ``messages.create`` calls are recovery-free (``recovery_unbound`` in
packages/middleware/python/caveman_middleware/anthropic.py:176
↓ 10 callersFunctionwrapRuntimeConfig
(options: { forStart?: boolean } = {})
packages/cli/src/index.ts:4740
↓ 9 callersMethodAddUpstream
AddUpstream registers a downstream MCP server and indexes its tool catalog.
mcp/codemode/codemode.go:263
↓ 9 callersFunctionAtlasRank
AtlasRank binary-searches the sorted codepoint table; -1 when absent.
engine/pixel/atlas.go:110
↓ 9 callersMethodComplete
Complete reports whether both provider token totals were observed and all recognized counters were internally valid. Billing must not extrapolate a pl
proxy/providers/adapter.go:332
↓ 9 callersFunctionNew
(listen, mode, owner, version string)
proxy/internal/runstate/runstate.go:113
↓ 9 callersFunctionNew
New validates configuration and returns immutable client.
shared/platform/kms/kms.go:75
↓ 9 callersFunctionNewHTTPClient
NewHTTPClient returns an *http.Client whose Transport enforces the SSRF policy at dial time. The caller may set additional fields (Timeout, etc.) on
shared/platform/ssrf/ssrf.go:524
↓ 9 callersFunctionNewNamedWithWireDialect
NewNamedWithWireDialect builds a named mount whose upstream speaks a different wire grammar than the mount's OpenAI-compatible identity. "anthropic" i
proxy/providers/openaicompat/openaicompat.go:441
↓ 9 callersFunctionNewTOON
NewTOON returns the lossless TOON re-encoder. It is reached only by forcing Options.Type = "toon"; Detect never routes to it.
engine/compressors/toon.go:11
↓ 9 callersFunctionOpen
Open opens (creating if needed) a cavemem store.
mem/store.go:94
↓ 9 callersFunctionParsePoolConfig
ParsePoolConfig validates the connection string and applies the managed database CA to every TLS path; with no CA configured, verify-full checks the s
shared/platform/postgresconfig/postgresconfig.go:39
↓ 9 callersFunctionReflow
(text string)
engine/pixel/render.go:123
↓ 9 callersMethodRetrieveQuery
(handle, query string)
mcp/engine_tools.go:22
↓ 9 callersMethodSaveChoice
SaveChoice publishes one immutable choice (see SaveChoices).
proxy/internal/store/middleware.go:377
↓ 9 callersMethodServeHTTP
(w http.ResponseWriter, _ *http.Request)
proxy/cmd/caveman-proxy/main.go:463
↓ 9 callersFunctionSessionCacheKey
SessionCacheKey is the stable, content-blind key derived from a session id.
proxy/providers/openai/session_cache_key.go:80
↓ 9 callersMethodSign
Sign computes the SigV4 signature for req against the given payload and sets the Authorization, X-Amz-Date, X-Amz-Content-Sha256 (and, when present, X
shared/platform/awssig/awssig.go:66
↓ 9 callersFunctionStringProp
StringProp is a string property schema with a description.
mcp/protocol.go:100
↓ 9 callersFunctionStripToolSchemaAnnotations
StripToolSchemaAnnotations removes the annotationDropKeys keywords from a serialized tool catalog (the provider `tools` array) and returns ok=false wi
engine/compressors/toolschema_annotations.go:102
↓ 9 callersMethodSupersede
Supersede atomically replaces one current memory with a new current version. The old row remains durable for history and byte-exact audit, but normal
mem/store.go:214
↓ 9 callersFunctionToolRawText
ToolRawText wraps a raw string (e.g. recovered original bytes) as text content.
mcp/protocol.go:79
↓ 9 callersFunctionValidateURL
ValidateURL resolves raw to a URL, validates the scheme/port constraints, and checks every IP the hostname resolves to against the SSRF block lists. I
shared/platform/ssrf/ssrf.go:193
↓ 9 callersMethod_deadlines
(self)
packages/sdk/python/caveman_cloud/middleware/runtime.py:306
↓ 9 callersMethodaclose
(self)
packages/middleware/python/caveman_middleware/google.py:474
↓ 9 callersFunctionanthropicPixelResponse
(model string)
proxy/internal/gateway/pixel_test.go:451
↓ 9 callersFunctionbenchAnthropicBody
benchAnthropicBody is a deterministic agent-shaped Messages request of about size bytes: system, tools, alternating turns and a cache breakpoint on th
proxy/internal/gateway/hotpath_bench_test.go:32
↓ 9 callersFunctionbindRecovery
(runtime: MiddlewareRuntime, scope: Scope | null)
packages/middleware/typescript/src/common.ts:101
↓ 9 callersFunctionbold
(s: string)
packages/cli/src/index.ts:23451
↓ 9 callersFunctionbuildWrapEnv
(agent?: AgentProfile, gw = gatewayURL(), mcpMode: McpSurfaceMode = "auto", agentArgs: string[] = [], upstream
packages/cli/src/index.ts:12808
↓ 9 callersFunctioncallRetrieveTool
callRetrieveTool drives the caveman_retrieve tool exactly as the MCP server does: through the handler EngineTools built.
mcp/retrieve_integration_test.go:61
↓ 9 callersFunctiondecodeToolText
(t *testing.T, tr mcp.ToolResult, out any)
browse/session_test.go:402
↓ 9 callersFunctionentry
(name, namespaces string, tokens ...string)
proxy/internal/identity/identity_test.go:42
↓ 9 callersMethodexport
POST buffered spans to standard OTLP/HTTP ``{base_url}/v1/traces``. Returns the gateway's JSON response (``ok`` / ``spans_accepted`` /
packages/sdk/python/caveman_cloud/core.py:1778
↓ 9 callersFunctionextract_inline_codes
Backtick-delimited inline spans, with fenced code blocks stripped first. Previously used a column-0-anchored regex to strip fences, which misses
skills/caveman-compress/scripts/validate.py:242
↓ 9 callersFunctionfields
(pairs ...string)
engine/compressors/invariants_test.go:29
↓ 9 callersMethodflush
flush sends what is queued, up to eventBatchMax per request, and drops a batch that fails.
proxy/internal/cloudlink/events.go:220
↓ 9 callersFunctionframeworkVersion
(name: Framework)
packages/middleware/typescript/src/compatibility.ts:76
↓ 9 callersFunctionfuzzDirection
fuzzDirection checks one direction: a valid body translates to a valid body or an error, never a panic; Anthropic never gets a thinking signature it d
proxy/internal/translate/properties_test.go:227
↓ 9 callersFunctiongetDefaultMode
(startDir)
src/hooks/caveman-config.js:203
↓ 9 callersFunctionglobalCapabilityDocument
()
packages/cli/src/index.ts:4320
↓ 9 callersFunctionjsonStr
jsonStr quotes s as a JSON string literal for embedding in a request line.
mcp/server_test.go:764
↓ 9 callersMethodlookupTarget
(uid string)
browse/session.go:347
↓ 9 callersFunctionnewBodyCapture
newBodyCapture returns nil when capture is off, so the hot path costs one nil check. A directory that cannot be created disables capture rather than f
proxy/internal/gateway/capture.go:79
↓ 9 callersFunctionnewCompressTestServer
(t *testing.T, upstream string, sink TelemetrySink, comp Compressor)
proxy/internal/gateway/compress_test.go:103
↓ 9 callersFunctionnewestMarkedConversation
newestMarkedConversation is the Claude Code shape: only the newest message carries cache_control, so the marker moves forward every turn.
proxy/internal/gateway/cache_prefix_invariant_test.go:1247
↓ 9 callersMethodownsBinding
(binding: RecoveryBinding | null | undefined, scope: Scope)
packages/sdk/typescript/src/middleware/runtime.ts:290
↓ 9 callersMethodpriceInputTokens
priceInputTokens converts a token quantity into USD at the user's own measured effective input rate. Every sink in the report is input-side (context r
proxy/internal/store/learn_pricing.go:320
↓ 9 callersFunctionprobeProxyVersion
()
packages/cli/src/index.ts:21842
↓ 9 callersFunctionrealEngine
(t *testing.T)
mcp/server_test.go:76
↓ 9 callersMethodreport
Report after a native patch is applied, or None for original fallback. optimize() prepares a plan. It cannot claim the host applied that plan
packages/sdk/python/caveman_cloud/middleware/runtime.py:388
↓ 9 callersFunctionrouteTag
routeTag is "<length>:<route>:", the route a signature names, length first so no route's tag starts another's (an id may hold ':', as "x" and "x:free"
proxy/internal/translate/messages.go:265
← previousnext →501–600 of 12,853, ranked by callers