MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 6 callersFunctionbare
bare builds an Anthropic body that sets no effort.
proxy/internal/gateway/route_effort_test.go:1171
↓ 6 callersMethodbody
(i int)
proxy/internal/gateway/cache_warm_test.go:142
↓ 6 callersFunctionbuildAdapters
(cfg config.Config)
proxy/internal/standalone/standalone.go:546
↓ 6 callersFunctionbuildAttribution
(method, provenance, targetPath string)
proxy/internal/store/learn_attribution.go:200
↓ 6 callersMethodcancel
()
packages/middleware/python/caveman_middleware/autogen.py:119
↓ 6 callersFunctioncancelPending
()
extension/src/caveman.js:63
↓ 6 callersFunctioncanonicalPath
(path)
packages/cli/tests/qwen-wrap.runtime.mjs:180
↓ 6 callersFunctioncavemanBinForHook
(powershell: boolean = process.platform === "win32")
packages/cli/src/index.ts:17634
↓ 6 callersFunctionchatGPTCompressServer
(transport http.RoundTripper)
proxy/internal/gateway/chatgpt_test.go:1438
↓ 6 callersMethodcheck
(self)
packages/middleware/python/caveman_middleware/autogen.py:126
↓ 6 callersFunctionchoiceKey
choiceKey identifies a segment's persisted choice within its scope.
proxy/internal/middleware/runtime.go:314
↓ 6 callersFunctionclampEffort
clampEffort maps a requested effort onto the levels a model accepts: the level itself, else the nearest one below, else the lowest above. "none" on a
proxy/internal/translate/responses.go:356
↓ 6 callersFunctionclaudeGlobalConfigPath
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/index.ts:7897
↓ 6 callersFunctionclone
packages/middleware/typescript/tests/drivers.mjs:7
↓ 6 callersFunctioncloudTarget
()
proxy/internal/gateway/route_pool_test.go:279
↓ 6 callersFunctioncodexRoot
()
proxy/internal/store/config_scan.go:76
↓ 6 callersFunctioncodexTomlSectionName
(line: string)
packages/cli/src/index.ts:7984
↓ 6 callersFunctioncollapseAnthropicHistory
(messages []Message, profitable func(text string, cols int) bool, opts historyOptions)
engine/pixel/history_anthropic.go:363
↓ 6 callersFunctioncompiledPlanRoutes
(headers http.Header)
proxy/internal/gateway/proxy.go:1342
↓ 6 callersFunctionconfigSinksWithBehavior
(cfg configScan, beh behaviorScan, turnsPerDay float64)
proxy/internal/store/learn.go:453
↓ 6 callersFunctioncontainsType
(objects []ccr.Object, objectType ccr.ObjectType)
proxy/internal/nativeruntime/runtime_test.go:1376
↓ 6 callersFunctioncredJSON
(expiry time.Time)
shared/platform/awscreds/awscreds_test.go:60
↓ 6 callersFunctiondecodeChatGPTRequestBody
(wire []byte, contentEncoding string, limit int)
proxy/internal/gateway/chatgpt_encoding.go:25
↓ 6 callersFunctiondecodePNG
(t *testing.T, raw []byte)
engine/pixel/render_density_test.go:14
↓ 6 callersFunctiondefaultWrapOptions
()
packages/cli/src/index.ts:4843
↓ 6 callersFunctiondialContextWith
dialContextWith resolves each hostname exactly once, validates every returned address, then dials a validated IP literal. net.Transport passes hostnam
shared/platform/ssrf/ssrf.go:466
↓ 6 callersFunctiondrive
()
packages/middleware/python/tests/test_langchain_native.py:41
↓ 6 callersFunctionensureCavemanHome
()
packages/cli/src/index.ts:14136
↓ 6 callersFunctionenvelopeBlocks
envelopeBlocks are the blocks a runtime envelope (an encrypted_content string token) carries; false for anything the runtime did not write.
proxy/internal/translate/responses_in.go:338
↓ 6 callersFunctionerrorResponse
(id json.RawMessage, code int, msg string)
mcp/protocol.go:53
↓ 6 callersFunctionescapeRegExp
(s: string)
packages/cli/src/index.ts:14471
↓ 6 callersFunctioneventNames
(events []anthropicEvent)
proxy/internal/translate/helpers_test.go:129
↓ 6 callersFunctionevidenceRow
(id string, components string)
proxy/internal/store/cache_components_test.go:34
↓ 6 callersMethodexporter
* Create a one-call OTel exporter bound to this Cave's gateway config. * * The exporter ships spans to the gateway's OTLP endpoint * (`POST {
packages/sdk/typescript/src/index.ts:459
↓ 6 callersFunctionfetch
(target)
installer/install.js:2097
↓ 6 callersFunctionfinish
()
packages/cli/src/index.ts:7183
↓ 6 callersMethodflush
Alias for `export()`, matching common OTel exporter naming.
packages/sdk/typescript/src/index.ts:2344
↓ 6 callersFunctionfsyncParentDirectory
(path: string)
packages/cli/src/index.ts:8831
↓ 6 callersFunctiongatewayIsJSONString
(body []byte, span gatewayJSONSpan)
proxy/internal/gateway/pixel.go:684
↓ 6 callersFunctiongeminiSettingsPath
()
packages/cli/src/index.ts:18460
↓ 6 callersFunctionhasArg
(args []string, name string)
proxy/cmd/caveman-proxy/main.go:1241
↓ 6 callersFunctionhash
(s string)
proxy/internal/middleware/validate.go:19
↓ 6 callersFunctionhermesConfigPath
()
packages/cli/src/index.ts:14459
↓ 6 callersFunctionhintRecovery
(runtime: MiddlewareRuntime, adapter: string, entry: string, use: string)
packages/middleware/typescript/src/common.ts:139
↓ 6 callersFunctionhumanTokens
humanTokens compacts a token count for the big stat numbers: 21.7M, 855k. Exact values stay in tooltips and the JSON sidecar.
proxy/internal/store/report.go:500
↓ 6 callersFunctionin_range
Whether a stable public version satisfies `low <= installed < high`. Range eligibility does not prove compatibility. Upstream API changes still
packages/middleware/python/caveman_middleware/_versions.py:51
↓ 6 callersFunctionisExecutable
(p: string)
packages/cli/src/index.ts:23574
↓ 6 callersFunctionisFull
(err error)
engine/ccr/store_sqlite.go:865
↓ 6 callersFunctionisJSONObject
(data []byte, span jsonsplice.Span)
proxy/providers/bedrock/cache_points.go:300
↓ 6 callersFunctionisJSONObject
(data []byte, span jsonsplice.Span)
proxy/providers/anthropic/breakpoint_plan.go:411
↓ 6 callersFunctionisPlainObject
(v: unknown)
packages/cli/src/index.ts:7649
↓ 6 callersFunctionitems
items reads an array value (nil for anything else).
proxy/internal/translate/jsonfast.go:220
↓ 6 callersFunctionkeychainHome
keychainHome is a signed-in CLI state whose secret lives in the keychain.
proxy/internal/cloudlink/link_test.go:1121
↓ 6 callersMethodleaf
leaf issues a certificate and returns its PEM certificate and key.
proxy/internal/identity/tls_test.go:51
↓ 6 callersMethodlinesPerPage
linesPerPage is how many text rows fit in a canvas of the given height at this pitch: (H - 2*pad - glyphH)/pitch + 1.
engine/pixel/density.go:179
↓ 6 callersFunctionliveEngine
liveEngine is the real engine over a real (in-memory) CCR store — the same pairing the wrap runtime uses.
mcp/retrieve_integration_test.go:49
↓ 6 callersFunctionloadAtlas
()
engine/pixel/atlas.go:61
↓ 6 callersFunctionmappedPaths
(repoMap Map)
proxy/internal/repointel/index_test.go:103
↓ 6 callersFunctionmaskDecision
maskDecision runs a tool output through afterTool exactly as the hook does and reports whether the output was replaced by a pointer.
proxy/internal/nativeruntime/mask_elidable_test.go:35
↓ 6 callersFunctionmaskRuntime
Mask what cannot be summarized in place; elide what can. These pin the boundary between the two mechanisms. Before it existed they collided: the ship
proxy/internal/nativeruntime/mask_elidable_test.go:23
↓ 6 callersFunctionmergeDropped
(dst map[rune]int, src map[rune]int)
engine/pixel/transform_anthropic.go:1477
↓ 6 callersFunctionmessageContentBlocks
(content any)
engine/pixel/transform_anthropic.go:1361
↓ 6 callersFunctionmessages
()
packages/middleware/python/tests/test_langchain_native.py:16
↓ 6 callersFunctionmustInsertObjectRow
(t *testing.T, db *sql.DB, id string, typ ObjectType, session string, lifecycle Lifecycle, created time.Time,
engine/ccr/store_reclaim_test.go:35
↓ 6 callersFunctionnewBreakpointPlanServer
(t *testing.T, adapter providers.Adapter, rt *captureTransport, cfg Config)
proxy/internal/gateway/breakpoint_plan_test.go:37
↓ 6 callersFunctionnewPoolCaseMode
newPoolCaseMode runs the pool case in mode ("" record; "compress" without a compressor rewrites nothing but gets the cache mechanics).
proxy/internal/gateway/route_pool_test.go:167
↓ 6 callersFunctionnewSocketFreeCompressServerWithConfig
(adapter providers.Adapter, comp Compressor, rt *captureTransport, creds CredentialResolver, cfg Config)
proxy/internal/gateway/live_zone_test.go:105
↓ 6 callersFunctionnewWarmGateway
(t *testing.T, status int, engine string)
proxy/internal/cloudlink/warm_test.go:32
↓ 6 callersFunctionnormalizeBlock
normalizeBlock is the internal grouping key (lowercase, digit-run masked, whitespace collapsed) so the same block with trivial numeric/whitespace drif
proxy/internal/store/recurring.go:277
↓ 6 callersFunctionnormalizeEchoText
(text string)
proxy/internal/store/detect_sections.go:36
↓ 6 callersMethodobserve
observe records one gap of class; negative means the stream never came back.
proxy/internal/gateway/cache_warm_table.go:157
↓ 6 callersFunctionopenEvidenceStore
(t *testing.T)
proxy/internal/store/cache_components_test.go:48
↓ 6 callersFunctionopenFixture
(t *testing.T, dir, mode string)
proxy/internal/middleware/runtime_test.go:32
↓ 6 callersMethodopenai
(self, upstream_key: str | None = None)
packages/sdk/python/caveman_cloud/core.py:597
↓ 6 callersMethodopenai
(config: { upstreamKey?: string } = {})
packages/sdk/typescript/src/index.ts:400
↓ 6 callersFunctionopenaiAdapter
Zone tagging for the cross-turn prefix fix. OpenAI caches long prompt prefixes automatically, so a message this proxy compressed while it was the live
proxy/providers/openai/prefix_stability_test.go:18
↓ 6 callersFunctionopencodeConfigDir
()
packages/cli/src/index.ts:9402
↓ 6 callersMethodoptimize
(self, *, scope: Scope, adapter: Adapter, candidates: Sequence[Candidate], manifest: Sequence[dict],
packages/sdk/python/caveman_cloud/middleware/runtime.py:435
↓ 6 callersMethodpack
POST context candidates to ``/sdk/v1/context/pack``. On transport or malformed-report failure, returns every caller-owned item with z
packages/sdk/python/caveman_cloud/core.py:970
↓ 6 callersMethodpage
(self, value: Any, options: dict[str, Any])
packages/sdk/python/caveman_cloud/core.py:1349
↓ 6 callersFunctionpathExists
(target)
installer/lib/owned-install.js:9
↓ 6 callersFunctionprefixCacheKey
prefixCacheKey binds replacement to semantic plan/transform scope. Same bytes selected for a different locked transform must never replay an older win
proxy/internal/store/prefix_cache.go:157
↓ 6 callersMethodpreflight
Nonthrowing startup discovery, including strict mode. Caller cancellation * still propagates. Sends no candidate content or provider request.
packages/sdk/typescript/src/middleware/runtime.ts:244
↓ 6 callersFunctionprepareLangChain
(messages:BaseMessage[], options:LangChainOptions, config?:RunnableConfig, binding?:RecoveryBinding|null, pref
packages/middleware/typescript/src/langchain-model.ts:59
↓ 6 callersMethodprobs
probs is the class's return-time distribution: the defaults, pulled toward what this proxy has seen as its own observations accumulate.
proxy/internal/gateway/cache_warm_table.go:257
↓ 6 callersFunctionproxyBin
()
packages/cli/src/index.ts:21484
↓ 6 callersFunctionquoteJSON
(value string)
proxy/internal/gateway/compression_query_test.go:196
↓ 6 callersFunctionrate
(tokensPerTurn int, turnsPerDay float64)
proxy/internal/store/learn.go:1358
↓ 6 callersFunctionreadPendingNativeJournal
(agent: string)
packages/cli/src/index.ts:10913
↓ 6 callersFunctionreadProxyRuntimeState
(port: number, versionInfo: ReturnType<typeof probeProxyVersion>)
packages/cli/src/index.ts:21864
↓ 6 callersFunctionreadRawConfig
()
packages/cli/src/index.ts:23108
↓ 6 callersMethodready
()
packages/pi-extension/src/recovery.ts:76
↓ 6 callersFunctionrecordModeChange
(claudeDir, newMode, sessionId)
src/hooks/caveman-config.js:761
↓ 6 callersMethodrecordSpan
* Buffer a span, mapping GenAI fields to `gen_ai.*` attributes. * Returns the OTelSpan (with generated ids) so callers can chain child spans * v
packages/sdk/typescript/src/index.ts:2225
↓ 6 callersFunctionrecovery
Wrap-time recovery binding, or None for an unusable scope. Never raises (Decision 3): strict mode reports ``invalid_scope`` from the request path
packages/middleware/python/caveman_middleware/_guard.py:45
↓ 6 callersMethodrefuseDamaged
()
engine/ccr/store_integrity.go:84
↓ 6 callersFunctionrefuseOwnEndpoint
(agent: NativeAgent, key: string, value: unknown, file?: string)
packages/cli/src/index.ts:9024
↓ 6 callersFunctionrenderLearnPlan
( plan: LearnPlan, options: { markdown?: boolean; report?: string; diff?: LearnDiff; verbose?: boolean; al
packages/cli/src/index.ts:20535
↓ 6 callersFunctionresolve
(t *testing.T, a Adapter, path string)
proxy/providers/vertex/vertex_test.go:44
↓ 6 callersFunctionretrieveTool
retrieveTool returns the exact original for a handle; an unknown handle is a fail-closed tool error carrying a cave_snake_code (PRD §11.4). Every requ
mcp/engine_tools.go:176
← previousnext →901–1,000 of 12,853, ranked by callers