MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 5 callersFunctionserveCaptureRequest
(t *testing.T, srv *Server, path, body string)
proxy/internal/gateway/capture_test.go:79
↓ 5 callersFunctionserveLines
serveLines drives the server with raw request lines and returns the raw non-empty output lines (a JSON-RPC batch response is a single array line, so t
mcp/server_test.go:564
↓ 5 callersMethodserver
(t *testing.T)
proxy/internal/cloudlink/route_effort_test.go:107
↓ 5 callersFunctionsessionActivePath
(claudeDir, sessionId)
src/hooks/caveman-config.js:607
↓ 5 callersFunctionsetModel
setModel replaces the value of the top-level "model" string and leaves every other byte as it was. ok is false when there is no such string field.
proxy/internal/gateway/route.go:251
↓ 5 callersFunctionsha256
tests/middleware-e2e/harness.mjs:16
↓ 5 callersFunctionsharedComponents
sharedComponents is how many leading cached-prefix components every conversation of an agent shares: system and tools in a CachedPrefixInspector split
proxy/internal/gateway/raw_pin.go:307
↓ 5 callersFunctionskipValue
skipValue returns the offset just past the JSON value at i without inspecting it. The input is pre-validated, so container nesting is tracked by depth
engine/compressors/toolschema_annotations.go:322
↓ 5 callersMethodspace
()
proxy/providers/inspect.go:143
↓ 5 callersMethodspans
(body []byte)
proxy/internal/gateway/route.go:336
↓ 5 callersFunctionsplitWrappedLinesIntoReadablePages
(lines []string, maxLines, maxChars int)
engine/pixel/render.go:244
↓ 5 callersFunctionstoredModules
()
packages/cli/src/modules/apply.ts:135
↓ 5 callersMethodstreamResponse
(w http.ResponseWriter, r *http.Request, src io.Reader, stream bool, requestID string, completion streamComple
proxy/internal/gateway/proxy.go:2300
↓ 5 callersFunctionstrictNonNegativeInt
(value: unknown)
packages/sdk/typescript/src/index.ts:1985
↓ 5 callersFunctionstringOr
(v any, fallback string)
engine/pixel/history_openai.go:496
↓ 5 callersFunctionsubCachedBlock
(text string)
proxy/internal/gateway/subscription_live_zone_test.go:53
↓ 5 callersFunctionsynthLine
synthLine builds a synthesized line (an elision marker) with the document's dominant line ending.
engine/compressors/lineends.go:55
↓ 5 callersFunctiontelemetryAnonymousId
(state: TelemetryRuntimeState)
packages/cli/src/index.ts:1312
↓ 5 callersFunctiontestStore
(t *testing.T)
mem/cmd/cavemem/main_test.go:30
↓ 5 callersFunctiontmpStore
tmpStore returns a WithStorePath option pointing at a fresh per-test database file, so tests never write to the shared ~/.caveman/ccr.db.
shrink/shrink_test.go:45
↓ 5 callersFunctiontoolInputSummary
(value any)
proxy/internal/store/learn_loops.go:152
↓ 5 callersFunctionturn
(call, content)
packages/middleware/python/tests/test_behavior.py:765
↓ 5 callersFunctionunescapedKey
unescapedKey is a key as written between its quotes, decoded when it holds an escape ("r\u006fle" is "role").
proxy/internal/translate/jsonfast.go:187
↓ 5 callersFunctionunlinkRegular
(p, expectedStat)
installer/lib/openclaw.js:115
↓ 5 callersFunctionunresolvedInternalRefs
unresolvedInternalRefs resolves each local JSON Pointer from the schema resource that contains it: an embedded tool schema or the nearest subschema ca
engine/compressors/toolschema_test.go:398
↓ 5 callersFunctionusd
(v float64)
proxy/internal/store/observe_test.go:10
↓ 5 callersFunctionuserBlocksFromBody
(t *testing.T, body []byte)
engine/pixel/transform_anthropic_test.go:369
↓ 5 callersFunctionvalue
(body []byte, start int)
proxy/providers/jsonsplice/jsonsplice.go:244
↓ 5 callersMethodvalue
()
proxy/providers/inspect.go:150
↓ 5 callersMethodwait
(self, operation)
packages/middleware/python/caveman_middleware/autogen.py:130
↓ 5 callersFunctionwaitForAccess
(t *testing.T, link *Link, want string)
proxy/internal/cloudlink/link_test.go:1140
↓ 5 callersFunctionwaitForRepositoryMap
(t *testing.T, store *ccr.Store, sessionID string)
proxy/internal/nativeruntime/runtime_test.go:445
↓ 5 callersMethodwaitWarms
(t *testing.T, want int32)
proxy/internal/cloudlink/warm_test.go:62
↓ 5 callersFunctionweightedInputDeltaUSD
weightedInputDeltaUSD prices a signed local delta using observed disjoint input/cache-read/5m-write/1h-write proportions. Cache mix of the removed tok
proxy/internal/gateway/stats_accounting.go:279
↓ 5 callersFunctionwithCacheKey
withCacheKey sets prompt_cache_key to the session's key when the body has none (the harness's own is never replaced).
proxy/internal/gateway/route_cache.go:50
↓ 5 callersFunctionwithCavemanOpenAITools
(client:T,options:OpenAIOptions & {protocol:'openai-chat'|'openai-responses';tools:(ChatFunction|ResponseFunct
packages/middleware/typescript/src/openai.ts:34
↓ 5 callersFunctionwithInstanceIdentity
withInstanceIdentity proves that the health listener is the generation named by its run-state file. The token is never attached to inference traffic.
proxy/cmd/caveman-proxy/main.go:511
↓ 5 callersFunctionwith_caveman_agent
Return native AssistantAgent constructor options, leaving its loop intact. Accepts the native ``tools`` list or ``workbench`` (including a workbe
packages/middleware/python/caveman_middleware/autogen.py:503
↓ 5 callersFunctionwrapNotFoundUI
(requested: string, agent?: AgentProfile)
packages/cli/src/index.ts:12716
↓ 5 callersFunctionwriteJSON
(w io.Writer, v any)
mem/cmd/cavemem/main.go:426
↓ 5 callersFunctionyamlText
(lines: string[])
packages/cli/src/index.ts:14236
↓ 4 callersMethodAgentEvidenceForBuild
AgentEvidenceForBuild returns all requests for one exact session/build/plan tuple in provider-call order. Partial or malformed identity fails closed.
proxy/internal/store/store.go:873
↓ 4 callersMethodAnalyzeTrial
AnalyzeTrial runs local-only replay checks against captured payloads, stores the resulting moves, then returns the public TrialPlan. Local never verif
proxy/internal/store/trial_store.go:199
↓ 4 callersFunctionAppendArrayElements
AppendArrayElements inserts elements immediately before an array's closing bracket. Existing bytes, whitespace, and element order remain untouched.
proxy/providers/jsonsplice/jsonsplice.go:205
↓ 4 callersFunctionBM25
BM25 scores each document against the query using the same deterministic Okapi BM25 the context packer uses (k1=1.5, b=0.75) — no embeddings, no netwo
engine/contextwindow/contextwindow.go:178
↓ 4 callersFunctionCachePointEligibleModel
CachePointEligibleModel reports whether the cache-point transform may run for a model: an Anthropic Claude id — bare or behind one inference-profile s
proxy/providers/bedrock/cache_points.go:133
↓ 4 callersMethodChoices
Choices returns the scope's choices among ids, keyed by id.
proxy/internal/store/middleware.go:303
↓ 4 callersMethodClose
()
browse/cdp.go:93
↓ 4 callersMethodEntries
Entries is the pool the logins reach for a caller speaking grammar, for agent (the x-cave-agent slug): every login's models on a wire this runtime can
proxy/internal/pool/pool.go:391
↓ 4 callersFunctionEstimateImageCount
(text string, cols, numCols, maxCharsPerImage int, rp renderParams)
engine/pixel/textprep.go:46
↓ 4 callersFunctionEvalCompressionProfitability
(text string, cols, imageCountCap, numCols int, charsPerToken, priorWarmTokens, priorWarmImageTokens float64,
engine/pixel/gate.go:101
↓ 4 callersFunctionExtractCompressible
ExtractCompressible is exported so Azure OpenAI and OpenAI-compatible adapters can reuse the identical wire grammar without changing provider identity
proxy/providers/openai/content_compress.go:47
↓ 4 callersFunctionExtractFactSheetEntries
(text string)
engine/pixel/factsheet.go:67
↓ 4 callersFunctionFitEffort
FitEffort maps an effort chosen for another model onto the levels model takes on grammar's own API (the asked model when a pool target fails): the Cla
proxy/internal/translate/effort.go:185
↓ 4 callersMethodForget
Forget deletes a memory by id and atomically repairs neighboring lineage pointers. Expired predecessors stay expired: deleting a current version means
mem/store.go:346
↓ 4 callersMethodFrozenLevers
FrozenLevers returns this session's frozen levers in a stable order, for the x-caveman-tripwire disclosure header.
proxy/internal/gateway/ledger.go:123
↓ 4 callersMethodGetMetadata
GetMetadata returns optional compressor metadata stored with a handle. A known handle with no metadata returns nil, nil; an unknown handle returns Err
engine/ccr/store_wasm.go:96
↓ 4 callersMethodInsertConfigSnapshots
InsertConfigSnapshots persists the measured config sources (evidence/export).
proxy/internal/store/config_scan.go:637
↓ 4 callersFunctionJSON
(w http.ResponseWriter, status int, body any)
shared/platform/httpx/httpx.go:35
↓ 4 callersMethodMatchMetadataRoute
(method string, path string)
proxy/providers/adapter.go:382
↓ 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 callersMethodParseCountTokens
(response []byte)
proxy/providers/adapter.go:411
↓ 4 callersFunctionPortFromListen
(listen string)
proxy/internal/runstate/runstate.go:97
↓ 4 callersFunctionPriceForRegionOrAgnostic
PriceForRegionOrAgnostic first requires an exact regional row, then permits a global row only when that row explicitly declares region_agnostic_pricin
shared/platform/catalog/catalog.go:241
↓ 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:108
↓ 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 callersFunctionValidateBaseURL
(raw string)
proxy/providers/openaicompat/openaicompat.go:460
↓ 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:843
↓ 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
← previousnext →1,201–1,300 of 12,391, ranked by callers