MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 4 callersMethodMatchMetadataRoute
(method string, path string)
proxy/providers/adapter.go:386
↓ 4 callersFunctionNewBrowseUpstream
NewBrowseUpstream constructs a lazy `browse` upstream wrapping `browse/`. When driverFactory is nil, the first tool call launches headless Chrome via
mcp/codemode/builtin_tools.go:1017
↓ 4 callersFunctionNewPrincipal
NewPrincipal compiles namespace globs: "*" matches any run of characters, "/" included, and every other character matches itself. No globs allows no n
proxy/internal/identity/identity.go:78
↓ 4 callersFunctionNormalizeTerms
NormalizeTerms bounds query metadata before it can enter CCR or ranking.
proxy/internal/repointel/index.go:755
↓ 4 callersFunctionOpenAINative
OpenAINative returns a Responses body bound for OpenAI with the reasoning items carrying this package's thinking envelope (Anthropic thinking stashed
proxy/internal/translate/translate.go:1159
↓ 4 callersFunctionOpenAIVisionTokens
(model string, w, h int)
engine/pixel/gpt_profiles.go:165
↓ 4 callersMethodOptimizerEnabled
OptimizerEnabled reports whether the named optimizer is enabled by policy.
proxy/providers/adapter.go:225
↓ 4 callersMethodParseCountTokens
(response []byte)
proxy/providers/adapter.go:415
↓ 4 callersFunctionPortFromListen
(listen string)
proxy/internal/runstate/runstate.go:97
↓ 4 callersMethodProbe
Probe verifies live key access without persisting tenant data.
shared/platform/kms/kms.go:317
↓ 4 callersMethodRecordPayload
(label, requestID, traceID string, body []byte)
proxy/internal/gateway/server.go:83
↓ 4 callersFunctionReplace
(body []byte, candidates []Candidate, replacements [][]byte)
proxy/providers/jsonsplice/jsonsplice.go:149
↓ 4 callersFunctionRestrict
Restrict is a no-op off Windows, where the 0700 mode already does the job.
proxy/internal/securehome/securehome_other.go:7
↓ 4 callersFunctionRun
Run processes one host callback. Adapter failures deliberately emit nothing and return nil: host command continues unchanged. nodePath is the node the
proxy/internal/nativehook/hook.go:31
↓ 4 callersFunctionRunManifestWithQuality
RunManifestWithQuality is RunManifest plus the LLM-in-the-loop quality layer. The runner is injected so CI can use a deterministic local runner while
engine/evals/harness.go:188
↓ 4 callersMethodSave
Save stores a login's secret and lists it in the index (the keychain on macOS unless CAVE_NO_KEYCHAIN is set, else a 0600 file).
proxy/internal/pool/pool.go:229
↓ 4 callersFunctionServeUnix
ServeUnix exposes one-request-per-connection JSON over a user-only Unix socket. Runtime errors close or fail-open the individual call; they never stop
proxy/internal/nativeruntime/server_unix.go:35
↓ 4 callersFunctionSessionMarker
SessionMarker builds model-temporary correlation context. Local proxy removes valid markers byte-surgically before provider inspection or forwarding.
proxy/internal/nativeruntime/marker.go:77
↓ 4 callersMethodSetObjectCurrentness
(id string, currentness Currentness)
engine/ccr/store_wasm.go:145
↓ 4 callersMethodShutdown
Shutdown closes the attached browser process. Ordinary Close only releases this driver context; direct CLI mode deliberately leaves its detached Chrom
browse/cdp.go:238
↓ 4 callersFunctionSocketPath
SocketPath returns a per-install named-pipe path shared with Node adapters. The fold is strings.ToLower, one code point to one; Node mirrors it in pac
proxy/internal/nativeruntime/server_windows.go:23
↓ 4 callersMethodStartTrial
(trialID, agentSlug, command string)
proxy/internal/store/trial_store.go:59
↓ 4 callersMethodStats
Stats returns aggregate compression accounting from the recovery store.
engine/engine.go:283
↓ 4 callersMethodStoreOriginal
(body []byte)
proxy/internal/gateway/server.go:96
↓ 4 callersFunctionStripSessionMarkers
StripSessionMarkers removes only valid HMAC-signed markers. Invalid marker- shaped user text remains byte-identical. Conflicting valid session IDs are
proxy/internal/nativeruntime/marker.go:89
↓ 4 callersFunctionSupported
Supported: a caller body in grammar from can run on an upstream wire to: every pair of the three grammars.
proxy/internal/translate/translate.go:27
↓ 4 callersMethodTools
Tools returns the compact MCP meta-tools exposed by this gateway with standard MCP read/write annotations so coding-agent harnesses can safely auto-ap
mcp/codemode/codemode.go:312
↓ 4 callersFunctionValidateBaseURL
(raw string)
proxy/providers/openaicompat/openaicompat.go:505
↓ 4 callersFunctionValidateUpstreamEndpoint
ValidateUpstreamEndpoint pre-flights a resolved provider endpoint against the SSRF policy. When the upstream client will hand this destination to a pr
proxy/providers/adapter.go:62
↓ 4 callersFunctionWatch
Watch reloads every reloader when its files change (checked every interval) and unconditionally on SIGHUP, until ctx ends. A failed reload keeps the p
proxy/internal/identity/identity.go:478
↓ 4 callersFunctionWithRequestPayloadHash
WithRequestPayloadHash binds the exact post-transform wire body's SHA-256 to the auth-mapping call. Signing adapters use it so credentials cover the b
proxy/providers/adapter.go:32
↓ 4 callersMethodWrite
(p []byte)
proxy/internal/gateway/chatgpt.go:908
↓ 4 callersMethodWriteHeader
(int)
proxy/internal/gateway/route_test.go:421
↓ 4 callersMethodWriteMetrics
WriteMetrics appends the middleware series in Prometheus text format.
proxy/internal/middleware/metrics.go:118
↓ 4 callersMethod_acall
(self, method, messages, tools, kwargs, *, passthrough=None)
packages/middleware/python/caveman_middleware/llama_index.py:561
↓ 4 callersFunction_async_runtime
(runtime)
packages/middleware/python/caveman_middleware/llama_index.py:60
↓ 4 callersFunction_bind
(config with recovery registered, invocation context); fail-open to the caller's config.
packages/middleware/python/caveman_middleware/google.py:77
↓ 4 callersMethod_call
(self, method, messages, tools, kwargs, *, passthrough=None)
packages/middleware/python/caveman_middleware/llama_index.py:543
↓ 4 callersFunction_check_version
(runtime, accept=False)
packages/middleware/python/caveman_middleware/llama_index.py:52
↓ 4 callersFunction_json
(value: Any)
packages/sdk/python/caveman_cloud/middleware/runtime.py:90
↓ 4 callersMethod_nudge_script
The quoted script path in a recommended command, in either OS's form.
tests/test_hooks.py:265
↓ 4 callersFunction_openai_http
()
packages/middleware/python/tests/test_behavior.py:80
↓ 4 callersMethod_optimize_s
(self)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:83
↓ 4 callersFunction_policy_non_empty_str
(value: Any)
packages/sdk/python/caveman_cloud/core.py:2045
↓ 4 callersMethod_protocol
(call_type)
packages/middleware/python/caveman_middleware/litellm.py:197
↓ 4 callersFunction_rand_hex
(n_bytes: int)
packages/sdk/python/caveman_cloud/core.py:1593
↓ 4 callersMethod_remember
Register one pending call; raises _Skip(invalid_scope|capacity) instead of dropping another call.
packages/middleware/python/caveman_middleware/litellm.py:110
↓ 4 callersMethod_response
(self, content="compressed", finish_reason="stop")
tests/test_compress_safety.py:1161
↓ 4 callersMethod_run
(self, blocks)
tests/test_compress_safety.py:1305
↓ 4 callersFunction_signature_case
(name: str)
packages/sdk/python/tests/test_runtime_policy.py:166
↓ 4 callersFunction_strict_non_negative_int
Accept JSON integers only; reject bools, floats, strings, and negatives.
packages/sdk/python/caveman_cloud/core.py:41
↓ 4 callersFunction_unsigned_payload
(bundle: str = KILL_BUNDLE)
packages/sdk/python/tests/test_runtime_policy.py:103
↓ 4 callersFunction_usage
(response)
packages/middleware/python/caveman_middleware/llama_index.py:286
↓ 4 callersMethodacquire
acquire waits for one of principal's slots until ctx ends, and returns its release. ponytail: every release wakes every waiter; a per-principal wait q
proxy/internal/middleware/metrics.go:249
↓ 4 callersMethodadd_warning
(self, msg)
plugins/caveman/skills/caveman-compress/scripts/validate.py:53
↓ 4 callersMethodadd_warning
(self, msg)
skills/caveman-compress/scripts/validate.py:53
↓ 4 callersMethodadvance
(d time.Duration)
shared/platform/awscreds/awscreds_test.go:33
↓ 4 callersFunctionagentRouteOverride
(agent: AgentProfile, args: string[])
packages/cli/src/index.ts:16472
↓ 4 callersFunctionagentShortName
(agent: AgentProfile)
packages/cli/src/index.ts:4196
↓ 4 callersFunctionansi
(code: string, value: string)
packages/cli/src/learn-tui.ts:30
↓ 4 callersFunctionanthropicUsageFromChat
(usage chatUsage)
proxy/internal/translate/messages.go:245
↓ 4 callersFunctionappendFlag
(filePath, line)
src/hooks/caveman-config.js:489
↓ 4 callersFunctionappendImageURL
imageURLToken appends an image source as one URL string (a data URI for base64).
proxy/internal/translate/messages_in.go:140
↓ 4 callersFunctionappendPartsText
appendPartsText appends one string: the text tokens joined by newlines.
proxy/internal/translate/responses_in.go:116
↓ 4 callersFunctionappendUnique
(values []string, next string)
proxy/internal/store/trial_store.go:739
↓ 4 callersFunctionapplyAutomatic
(t *testing.T, body string, meta providers.RequestMetadata, policy providers.TransformPolicy)
proxy/providers/anthropic/automatic_cache_test.go:19
↓ 4 callersFunctionassertComponentsOutsideRequestsRow
assertComponentsOutsideRequestsRow checks the storage shape for rows written by the current proxy: no digest bytes in the requests row, the exact list
proxy/internal/store/cache_components_test.go:126
↓ 4 callersFunctionassertSchema
(name, value, label = name)
packages/shared/contracts/conformance/run.mjs:56
↓ 4 callersFunctionassertTOONRoundTrip
(t *testing.T, input, toon []byte)
engine/compressors/toon_test.go:129
↓ 4 callersMethodat
(n int)
proxy/internal/gateway/raw_pin.go:379
↓ 4 callersFunctionatomicWriteRegular
(p, content, expectedStat)
installer/lib/openclaw.js:84
↓ 4 callersFunctionautoModelOffered
(provider: "anthropic" | "openai" = "anthropic")
packages/cli/src/index.ts:4334
↓ 4 callersFunctionautomaticPolicy
(ids ...string)
proxy/providers/anthropic/automatic_cache_test.go:11
↓ 4 callersFunctionautopilotEnabled
()
packages/cli/src/learn-autopilot.ts:79
↓ 4 callersMethodbackoff
backoff pauses every warm on credential cred until until.
proxy/internal/gateway/cache_warm.go:211
↓ 4 callersFunctionbackoffUntil
backoffUntil is how long a 429 pauses warming on its credential: the response's Retry-After, else its anthropic-ratelimit-unified-reset (a subscriptio
proxy/internal/gateway/cache_warm.go:538
↓ 4 callersFunctionbackup_dir_for
Out-of-tree backup dir for filepath — kept outside the source tree so skill auto-loaders don't re-ingest `.original.md` backups as live files.
plugins/caveman/skills/caveman-compress/scripts/compress.py:139
↓ 4 callersFunctionbackup_dir_for
Out-of-tree backup dir for filepath — kept outside the source tree so skill auto-loaders don't re-ingest `.original.md` backups as live files.
skills/caveman-compress/scripts/compress.py:139
↓ 4 callersFunctionbase
(port)
packages/subagent-tax/lib/harnesses.mjs:25
↓ 4 callersMethodbedrock
Describe the first-party Bedrock gateway surface. Runtime is the default. Mantle is an explicit opt-in descriptor. This method perfor
packages/sdk/python/caveman_cloud/core.py:606
↓ 4 callersFunctionbedrockHostKind
(host string)
proxy/providers/bedrock/routing.go:563
↓ 4 callersMethodbegin
begin marks a real request of stream key and stops the stream's warming. A session's request leaves its subagents' warms alone: a subagent can still b
proxy/internal/gateway/cache_warm.go:164
↓ 4 callersFunctionbenchUpstream
(stream bool)
proxy/internal/gateway/hotpath_bench_test.go:108
↓ 4 callersMethodbestPrefixMatch
bestPrefixMatch finds the longest cached byte prefix shared with target, returning matched prefix token count (floored to granularity).
proxy/internal/standalone/e2e_cost_bench_test.go:212
↓ 4 callersFunctionbinariesBehindPin
()
packages/cli/src/index.ts:2983
↓ 4 callersFunctionbinaryInstallFilename
(name: string, os: string = process.platform)
packages/cli/src/index.ts:2932
↓ 4 callersFunctionblockContains
(blocks []providers.RewritableBlock, want string)
proxy/providers/openai/recovery_exempt_test.go:25
↓ 4 callersFunctionblocksWithMarks
(count int, marked ...int)
proxy/providers/anthropic/breakpoint_plan_test.go:307
↓ 4 callersFunctionboolPtr
(v bool)
mcp/codemode/codemode.go:60
↓ 4 callersFunctionbuildExperimentReport
(experiment Experiment, sessions []sessionOutcome, spend *LearnSpend)
proxy/internal/store/learn_experiment.go:251
↓ 4 callersFunctionbuildLearnDigest
(plan LearnPlan)
proxy/internal/store/learn_digest.go:115
↓ 4 callersFunctionbuildLearnReconcile
(billed map[string]int64, spend *LearnSpend, source string)
proxy/internal/store/learn_reconcile.go:195
↓ 4 callersFunctionbuildLearnSavings
buildLearnSavings turns confirmed rows into the attributed ledger. Rows whose verdict is not a measured improvement still appear — a regression that d
proxy/internal/store/learn_attribution.go:249
↓ 4 callersFunctionbuildLearnTrends
buildLearnTrends buckets sessions by the UTC ISO week they started in. Nil when no dated session falls inside the bucketed weeks, or when the window h
proxy/internal/store/learn_trends.go:275
↓ 4 callersFunctionbuildLearnTuiModel
( plan: LearnPlan, options: { report?: string; diff?: LearnDiff } = {}, )
packages/cli/src/index.ts:20452
↓ 4 callersFunctionbyteLength
(text: string)
packages/sdk/typescript/src/middleware/validate.ts:5
↓ 4 callersFunctionbytes
packages/shared/contracts/conformance/run.mjs:137
↓ 4 callersMethodcacheEpochAllows
cacheEpochAllows binds framework-frozen prefix identity to gateway transform authorization without putting prompt bytes in headers or telemetry. It de
proxy/internal/gateway/proxy.go:1440
↓ 4 callersFunctioncacheStatusFor
cacheStatusFor maps observed usage to a cache_status. It only asserts hit/miss when the provider actually reported cache telemetry; otherwise it stays
proxy/providers/adapter.go:1769
↓ 4 callersFunctioncacheWarmCosts
cacheWarmCosts is what one warm costs and what one avoided miss is worth, at the catalog list price of the model sent: P = cache read + cache write to
proxy/internal/gateway/cache_warm.go:476
← previousnext →1,301–1,400 of 12,853, ranked by callers