MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 7 callersFunctionemitTelemetryEvents
(events: Record<string, unknown>[])
packages/cli/src/index.ts:1712
↓ 7 callersFunctionencodeChatGPTRequestBody
(logical []byte, encoding chatGPTRequestEncoding)
proxy/internal/gateway/chatgpt_encoding.go:72
↓ 7 callersFunctionescapeRegExp
(s: string)
packages/cli/src/index.ts:14802
↓ 7 callersMethodevaluate
(taskFamily: string, options: DecideOptions)
packages/sdk/typescript/src/index.ts:1276
↓ 7 callersMethodevent
(self, value)
packages/middleware/python/caveman_middleware/google.py:415
↓ 7 callersFunctionexpandTilde
(p: string)
packages/cli/src/index.ts:18981
↓ 7 callersFunctionfindObjectField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:498
↓ 7 callersFunctionfirstEnvSecret
(env: NodeJS.ProcessEnv, keys: string[])
packages/cli/src/index.ts:7407
↓ 7 callersFunctiongatewayArrayElements
(body []byte, arr gatewayJSONSpan)
proxy/internal/gateway/retrieve_tool.go:272
↓ 7 callersFunctionhandleArgs
handleArgs dispatches a CLI subcommand against store, writing JSON (or raw recovered bytes) to stdout and diagnostics to stderr, and returns the proce
mem/cmd/cavemem/main.go:90
↓ 7 callersFunctionhasAnyPrefix
(s string, prefixes []string)
engine/trim2/features.go:1789
↓ 7 callersFunctionhasColorPixel
(img image.Image)
engine/pixel/transform_anthropic_density_test.go:88
↓ 7 callersFunctionhashText
(text string)
proxy/internal/store/learn.go:20
↓ 7 callersFunctionhermesConfigPath
( env: NodeJS.ProcessEnv = process.env, platform: NodeJS.Platform = process.platform, )
packages/cli/src/harnesses/hermes.ts:29
↓ 7 callersFunctionhermesHome
( env: NodeJS.ProcessEnv = process.env, platform: NodeJS.Platform = process.platform, )
packages/cli/src/harnesses/hermes.ts:12
↓ 7 callersMethodid
()
proxy/internal/store/session_source.go:21
↓ 7 callersFunctioninputs
(binding=None)
packages/sdk/python/tests/test_middleware.py:15
↓ 7 callersMethodinvoke
(self, messages, assistant_message=None, response_format=None, tools=None, tool_choice=None, run_response=None
packages/middleware/python/tests/test_behavior.py:328
↓ 7 callersFunctionisCorrupt
isCorrupt reports an error by which SQLite says the file itself is damaged.
engine/ccr/store_integrity.go:62
↓ 7 callersFunctionisJSONObject
(data []byte, span jsonsplice.Span)
proxy/providers/anthropic/breakpoint_plan.go:472
↓ 7 callersFunctionisPlainObject
(v: unknown)
packages/cli/src/index.ts:7788
↓ 7 callersFunctionisPlainRecord
(raw: unknown)
packages/cli/src/codemode.ts:221
↓ 7 callersFunctionisSelfServer
(name string, cfg ServerConfig)
mcp/codemode/stdio_upstream.go:1113
↓ 7 callersFunctionisToken
(s: unknown)
packages/sdk/typescript/src/middleware/validate.ts:35
↓ 7 callersFunctionitemsOfType
(turn codexTurn, kind string)
proxy/internal/translate/helpers_test.go:274
↓ 7 callersFunctionlearnWireEnv
learnWireEnv isolates every root learn reads: no test touches the real ~/.claude, ~/.codex, or ~/.caveman.
proxy/cmd/caveman-proxy/learn_wire_test.go:24
↓ 7 callersMethodlock
lock takes a transaction-scoped advisory lock once per key; read snapshots never lock.
proxy/internal/store/middleware_postgres.go:350
↓ 7 callersFunctionmakeAnnotatedToolCatalogAnthropic
()
proxy/internal/standalone/e2e_cost_bench_test.go:839
↓ 7 callersFunctionmanifest
(items: readonly unknown[], manifestBytes = MIDDLEWARE_DEFAULTS.manifest_bytes)
packages/middleware/typescript/src/common.ts:54
↓ 7 callersFunctionmapFile
(entries ...string)
proxy/internal/identity/identity_test.go:40
↓ 7 callersFunctionmemorySink
(kind, scope, title, class string, tokensPerTurn int, turnsPerDay float64, evidence map[string]any, suggestion
proxy/internal/store/detect_memory_health.go:331
↓ 7 callersFunctionnativeRealPath
(file: string)
packages/cli/src/index.ts:11825
↓ 7 callersFunctionnewProvider
newProvider builds a Provider over a fixed environment map and a fake clock.
shared/platform/awscreds/awscreds_test.go:40
↓ 7 callersFunctionnewStandaloneTestServer
(t *testing.T, upstream string, rc RequestContext, sink TelemetrySink)
proxy/internal/gateway/server_test.go:79
↓ 7 callersFunctionobjectStringField
(body []byte, obj jsonSpan, field string)
proxy/providers/anthropic/content_compress.go:295
↓ 7 callersFunctionobjectStringField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:475
↓ 7 callersFunctionopenaiTurnConversation
openaiTurnConversation is an OpenAI chat session of n user turns with assistant replies interleaved: turn N's live zone is turn N+1's automatically-ca
proxy/internal/gateway/prefix_stability_payg_test.go:53
↓ 7 callersFunctionopencodeConfigDir
()
installer/install.js:1542
↓ 7 callersMethodpageCols
pageCols is the column count that fills the profile's canvas width — 312 on the std canvas at cell-advance 5, 513 on the hi-res canvas, etc.
engine/pixel/density.go:211
↓ 7 callersFunctionpanel
(title: string, lines: string[])
packages/cli/src/index.ts:23972
↓ 7 callersFunctionparseJsonc
(raw: string)
packages/cli/src/index.ts:7774
↓ 7 callersFunctionparse_capabilities
§4 tolerant reader. Raises MiddlewareError('unsupported_version') only for step-1 failures.
packages/sdk/python/caveman_cloud/middleware/protocol.py:88
↓ 7 callersFunctionpassive
(reason:string)
packages/middleware/typescript/src/langchain-model.ts:62
↓ 7 callersFunctionpick
pick returns one or many by count, for titles like "1 rule loads".
proxy/internal/store/detect_memory_health.go:311
↓ 7 callersMethodplan
plan decides every warm of one idle stream up front by backward induction (optimal stopping). Warm k at k*delay costs warm and extends the cache from
proxy/internal/gateway/cache_warm_table.go:304
↓ 7 callersFunctionplanRespBody
planRespBody carries provider cache counters so the session ledger has real numbers to account.
proxy/internal/gateway/breakpoint_plan_test.go:31
↓ 7 callersFunctionpositionalAfterOptions
(values: string[], optionsWithValues: Set<string>)
packages/cli/src/index.ts:22072
↓ 7 callersFunctionpost
(path: string, body: unknown)
packages/cli/src/index.ts:23425
↓ 7 callersFunctionquoteJSON
(value string)
proxy/internal/gateway/compression_query_test.go:250
↓ 7 callersFunctionqwenConfigPath
()
packages/cli/src/index.ts:15838
↓ 7 callersFunctionqwenHomeState
()
packages/cli/src/index.ts:15796
↓ 7 callersFunctionread
(home string, port int)
proxy/internal/runstate/runstate.go:180
↓ 7 callersFunctionreadGenerationBytes
(t *testing.T, path string)
engine/ccr/store_generation_test.go:189
↓ 7 callersFunctionreleaseArtifactName
(name, goos, arch)
scripts/build-release-binaries.mjs:130
↓ 7 callersFunctionresolve_scope
Normalized Scope from a fixed value or a trusted resolver, else None (``invalid_scope``, warned once). A resolver that raises (for example a miss
packages/middleware/python/caveman_middleware/_guard.py:24
↓ 7 callersFunctionresponsesItemID
(prefix string)
proxy/internal/translate/responses_stream.go:77
↓ 7 callersMethodrestart
restart replaces the proxy process: in-memory state is gone, the durable replacement cache survives, and the engine may now compress differently.
proxy/internal/gateway/cache_prefix_invariant_test.go:439
↓ 7 callersFunctionrootObjectSpan
(body []byte)
proxy/providers/anthropic/splice.go:22
↓ 7 callersFunctionroundPct
roundPct rounds half away from zero; the old +0.5 truncation turned an exact -50% experiment delta into -49.9.
proxy/internal/store/learn_pricing.go:336
↓ 7 callersFunctionroundUSD
(v float64)
proxy/internal/store/trial_store.go:785
↓ 7 callersFunctionserveChatGPT
(srv *Server, body string, headers ...string)
proxy/internal/gateway/chatgpt_test.go:1495
↓ 7 callersFunctionsha256
(text: str)
packages/sdk/python/caveman_cloud/middleware/validate.py:12
↓ 7 callersFunctionsha256
packages/shared/contracts/conformance/run.mjs:136
↓ 7 callersFunctionsinkIDs
(plan LearnPlan)
proxy/internal/store/trial_feature_test.go:864
↓ 7 callersFunctionsleep
(ms: number)
packages/cli/src/index.ts:13627
↓ 7 callersFunctionsseLines
sseLines reads upstream lines on a goroutine so the caller can emit a ping on silence: ranging over the first result yields each line, and a nil line
proxy/internal/translate/messages_stream.go:71
↓ 7 callersFunctionstableNodePath
()
packages/cli/src/index.ts:8235
↓ 7 callersFunctionstatePath
()
browse/cmd/caveman-browse/main.go:436
↓ 7 callersMethodstorageBytes
storageBytes is the retained payload the budget counts. It reads the trigger-kept counter (see storageUsageSchema), one row, instead of summing every
engine/ccr/store_sqlite.go:751
↓ 7 callersFunctionsubBlock
(text string)
proxy/internal/gateway/subscription_live_zone_test.go:49
↓ 7 callersMethodsweep
sweep expires in batches, each its own short write transaction, for as long as a batch comes back full (more is waiting) and sweepBudget allows; every
proxy/internal/middleware/runtime.go:640
↓ 7 callersFunctiontelemetrySendable
(state: TelemetryRuntimeState)
packages/cli/src/index.ts:968
↓ 7 callersFunctiontelemetryState
()
packages/cli/src/index.ts:939
↓ 7 callersMethodthrow
(self, *args)
packages/middleware/python/caveman_middleware/llama_index.py:334
↓ 7 callersFunctiontool
()
packages/middleware/typescript/src/google.ts:38
↓ 7 callersMethodtoolResult
toolResult appends a tool call and its result.
proxy/internal/gateway/cache_prefix_invariant_test.go:277
↓ 7 callersMethodtool_search
POST the tool catalog + query to the gateway's /sdk/v1/tool-search endpoint. Returns a ToolSearchResult that includes the reduced tool list a
packages/sdk/python/caveman_cloud/core.py:692
↓ 7 callersFunctiontopFields
topFields reads a body's top-level members as raw values (sub-slices of body: nothing is copied).
proxy/internal/translate/jsonfast.go:383
↓ 7 callersFunctionunmarshalTest
(t *testing.T, b []byte, v any)
engine/pixel/transform_openai_test.go:335
↓ 7 callersFunctionvalidateCompatPath
(path, rawPath string)
proxy/providers/openaicompat/openaicompat.go:550
↓ 7 callersFunctionvalidateSessionId
(id)
src/hooks/caveman-config.js:581
↓ 7 callersFunctionvalue
(body []byte, start int)
proxy/providers/jsonsplice/jsonsplice.go:339
↓ 7 callersFunctionwarmStore
Cache warms are the proxy's own requests: spend, but never an agent request, a turn, a last-request view or an exported span.
proxy/internal/store/cache_warm_stats_test.go:16
↓ 7 callersFunctionwebsocketRequest
(t *testing.T, target string)
proxy/internal/gateway/websocket_route_test.go:26
↓ 7 callersFunctionwithHeaders
(base map[string]string, extra ...string)
proxy/internal/gateway/cache_prefix_invariant_test.go:1264
↓ 7 callersFunctionwithIntegrationLock
(agent: string, run: () => T)
packages/cli/src/index.ts:11021
↓ 7 callersFunctionwrite
(line: string)
packages/cli/src/index.ts:6504
↓ 6 callersFunctionAnthropicNative
AnthropicNative returns a Messages body bound for Anthropic's own API with every thinking block Anthropic did not mint removed (signed "caveman:…", or
proxy/internal/translate/translate.go:1144
↓ 6 callersFunctionAtlasGrayRank
AtlasGrayRank binary-searches the sorted grayscale codepoint table; -1 when absent.
engine/pixel/atlas.go:123
↓ 6 callersMethodBaseURL
BaseURL returns the configured base URL for a provider, or the supplied default.
proxy/internal/config/config.go:575
↓ 6 callersFunctionBool
(name string, fallback bool)
shared/platform/env/env.go:21
↓ 6 callersMethodBuildTrialPlan
(trialID string)
proxy/internal/store/trial_store.go:222
↓ 6 callersMethodCompatUpstreams
CompatUpstreams returns every named OpenAI-compatible upstream that the proxy mounts. The result starts with the built-in table. Then the caveman.yaml
proxy/internal/config/config.go:731
↓ 6 callersMethodCompressWithMetadata
(input []byte, query string)
engine/compressors/compressor.go:45
↓ 6 callersFunctionDecodeAndValidate
DecodeAndValidate strictly parses a catalog. Unknown YAML fields, duplicate provider/model/region rows, invalid URLs/timestamps, and unsafe prices rej
shared/platform/catalog/catalog.go:341
↓ 6 callersFunctionDensityFromEnv
DensityFromEnv reads CAVE_PIXEL_DENSITY lazily (like CAVE_PIXEL_MODELS in applicability.go — no init-time caching). Unset/empty defaults to balanced;
engine/pixel/density.go:57
↓ 6 callersFunctionDialContext
DialContext returns a DialContext function suitable for use in http.Transport.DialContext. It re-validates the resolved IP at the moment the kernel a
shared/platform/ssrf/ssrf.go:441
↓ 6 callersFunctionExtractToolCatalog
ExtractToolCatalog returns the exact serialized bytes of a request's top-level tool catalog plus a reassembler that splices replacement bytes back int
proxy/providers/toolzone.go:37
↓ 6 callersMethodFor
For returns the compressor for a content type, or (nil, false).
engine/compressors/compressor.go:77
↓ 6 callersFunctionGrade
Grade runs one grader against a subject. The default branch fails closed: an unknown or misspelled grader type is never treated as a pass.
engine/evals/graders.go:50
← previousnext →801–900 of 13,382, ranked by callers