MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 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:13890
↓ 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:14225
↓ 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:6970
↓ 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:8590
↓ 6 callersFunctiongatewayIsJSONString
(body []byte, span gatewayJSONSpan)
proxy/internal/gateway/pixel.go:684
↓ 6 callersFunctiongeminiSettingsPath
()
packages/cli/src/index.ts:18214
↓ 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:14213
↓ 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:23332
↓ 6 callersFunctionisFull
(err error)
engine/ccr/store_sqlite.go:865
↓ 6 callersFunctionisJSONObject
(data []byte, span jsonsplice.Span)
proxy/providers/anthropic/breakpoint_plan.go:376
↓ 6 callersFunctionisPlainObject
(v: unknown)
packages/cli/src/index.ts:7431
↓ 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 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:9161
↓ 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:21238
↓ 6 callersFunctionrate
(tokensPerTurn int, turnsPerDay float64)
proxy/internal/store/learn.go:1358
↓ 6 callersFunctionreadPendingNativeJournal
(agent: string)
packages/cli/src/index.ts:10672
↓ 6 callersFunctionreadProxyRuntimeState
(port: number, versionInfo: ReturnType<typeof probeProxyVersion>)
packages/cli/src/index.ts:21618
↓ 6 callersFunctionreadRawConfig
()
packages/cli/src/index.ts:22862
↓ 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:8783
↓ 6 callersMethodreject
(refused bool)
proxy/internal/gateway/route.go:122
↓ 6 callersFunctionrenderLearnPlan
( plan: LearnPlan, options: { markdown?: boolean; report?: string; diff?: LearnDiff; verbose?: boolean; al
packages/cli/src/index.ts:20289
↓ 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:170
↓ 6 callersMethodrewrap
([]byte)
engine/filewrap.go:111
↓ 6 callersFunctionrsaJWK
(kid string, key *rsa.PrivateKey)
proxy/internal/identity/oidc_test.go:51
↓ 6 callersFunctionruneLen
(s string)
engine/pixel/render.go:111
↓ 6 callersFunctionscanClaudeTranscriptBehavior
(path, relPath string, since time.Time, slugs []string, beh *behaviorScan, miner *recurringMiner)
proxy/internal/store/learn.go:1026
↓ 6 callersFunctionserveConn
(ctx context.Context, conn net.Conn, runtime *Runtime)
proxy/internal/nativeruntime/server_common.go:76
↓ 6 callersFunctionsign
sign builds a compact JWS. key is *rsa.PrivateKey, *ecdsa.PrivateKey, a []byte HMAC secret, or nil for an unsigned token.
proxy/internal/identity/oidc_test.go:62
↓ 6 callersFunctionskipJSONSpace
(body []byte, i int)
proxy/providers/anthropic/splice.go:178
↓ 6 callersFunctionspace
(body []byte, i int)
proxy/providers/jsonsplice/jsonsplice.go:294
↓ 6 callersFunctionsplitLines
Line-ending helpers shared by the line-oriented compressors. The old pattern here was `sep := "\n"; if bytes.Contains(input, "\r\n") { sep = "\r\n" }
engine/compressors/lineends.go:20
↓ 6 callersFunctionstandalonePriceForUsage
(meta providers.RequestMetadata, usage providers.UsageObservation)
proxy/internal/gateway/proxy.go:2089
↓ 6 callersFunctionstrconvItoa
(n int)
engine/pixel/factsheet.go:275
↓ 6 callersFunctionstringEnd
stringEnd is the index after the string token starting at b[i] ('"').
proxy/internal/translate/jsonfast.go:42
↓ 6 callersFunctionstripRetrieveCall
(provider, routePath string, respBody []byte)
proxy/internal/gateway/retrieve_tool.go:721
↓ 6 callersFunctionstrippedToolCatalog
(t *testing.T)
proxy/internal/gateway/toolschema_strip_test.go:43
↓ 6 callersFunctiontoolResultText
(value any)
proxy/internal/store/learn_loops.go:167
↓ 6 callersMethodusage
usage is the store's totals and Principal's, this transaction's writes included.
proxy/internal/store/middleware.go:331
↓ 6 callersFunctionvalueEnd
valueEnd is the index after the value starting at b[i] (no leading space).
proxy/internal/translate/jsonfast.go:63
↓ 6 callersFunctionwarmCredentials
()
proxy/internal/cloudlink/warm_test.go:73
↓ 6 callersMethodwarmRows
()
proxy/internal/gateway/cache_warm_test.go:221
↓ 6 callersFunctionwithCaveman
(input: T, options: CavemanOptions)
packages/middleware/typescript/src/ai-sdk.ts:224
↓ 6 callersFunctionwith_caveman_agent
Return native create_agent keyword arguments; do not run another loop. Compresses: the recovery tool is registered with the middleware. A host to
packages/middleware/python/caveman_middleware/langchain.py:278
↓ 6 callersFunctionwriteSessionMode
(claudeDir, sessionId, modeOrNull)
src/hooks/caveman-config.js:656
↓ 5 callersMethod#deadlines
()
packages/sdk/typescript/src/middleware/runtime.ts:545
↓ 5 callersMethod#http
(path: string, body: string | undefined, timeoutMs: number, signal?: AbortSignal, span?: OTelSpanLike | null)
packages/sdk/typescript/src/middleware/runtime.ts:606
↓ 5 callersMethodBaseURL
BaseURL returns the configured base URL for a provider, or the supplied default.
proxy/internal/config/config.go:474
↓ 5 callersMethodBuildLearnPlanFilteredWithRetro
BuildLearnPlanFilteredWithRetro applies a repository substring before turn events reach behavioral detectors. Config scanning intentionally remains ro
proxy/internal/store/learn.go:167
↓ 5 callersMethodBuildStatsReport
BuildStatsReport reads the request ledger only. Transcript imports are not unioned into this report: without an exact request join that would double c
proxy/internal/store/stats.go:206
← previousnext →901–1,000 of 12,391, ranked by callers