MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 3 callersMethodTarget
Target is where entry's requests go: the URL, the credential and the translator options for its host. An OAuth login that is expired or needs a new si
proxy/internal/pool/pool.go:432
↓ 3 callersMethodTargetsSnapshot
()
browse/session.go:295
↓ 3 callersMethodUniqueRecentSession
UniqueRecentSession is removed-marker fallback authority. It returns a candidate only when exactly one recent native session remains plausible. Known
proxy/internal/nativeruntime/runtime.go:589
↓ 3 callersMethodUpstreamProxyFunc
UpstreamProxyFunc returns the Transport.Proxy selector for UpstreamProxy, or nil for a direct client. Load parses UpstreamProxy once and rejects bad v
proxy/internal/config/config.go:291
↓ 3 callersFunctionValidateName
(name string)
proxy/providers/openaicompat/openaicompat.go:493
↓ 3 callersFunctionValidateProduction
ValidateProduction verifies real KMS configuration without network request.
shared/platform/kms/kms.go:271
↓ 3 callersFunctionValidateRequestPath
ValidateRequestPath rejects ambiguous path encodings before adapter selection. Gateways call this with the original URL (including RawPath), while the
proxy/providers/openaicompat/openaicompat.go:540
↓ 3 callersFunctionWithUpstreamProxy
WithUpstreamProxy records the Transport.Proxy selector the upstream client will use, so an adapter can tell whether the request it is about to resolve
proxy/providers/adapter.go:47
↓ 3 callersMethodWrite
(p []byte)
proxy/internal/gateway/cache_warm.go:578
↓ 3 callersMethodWrite
(p []byte)
mcp/engine_tools.go:350
↓ 3 callersMethodWriteLearnSidecars
WriteLearnSidecars persists the current machine-readable plan plus a bounded dated history used by local learn diffs. Both states with and without mov
proxy/internal/store/report.go:41
↓ 3 callersMethod__init__
( self, cave: Cave, workflow: str, tags: dict[str, str], *, tr
packages/sdk/python/caveman_cloud/core.py:1085
↓ 3 callersMethod_admit
(key, request) to project, or a pass-through reason. Strict-mode refusals raise here.
packages/middleware/python/caveman_middleware/litellm.py:361
↓ 3 callersMethod_bypass
(self, code: str, *, adapter: str | None = None, diagnostic: bool = True, strict: bool | None = None,
packages/sdk/python/caveman_cloud/middleware/runtime.py:840
↓ 3 callersMethod_call
(self, client)
tests/test_call_claude_streaming.py:36
↓ 3 callersFunction_canonical_json
Stable compact UTF-8 JSON shared by assembly hashes and cloned output.
packages/sdk/python/caveman_cloud/core.py:1518
↓ 3 callersFunction_emit
Call a host sink; never awaited, and neither an exception nor a failing coroutine can change the call. A coroutine sink runs on the caller's even
packages/sdk/python/caveman_cloud/middleware/runtime.py:108
↓ 3 callersFunction_filelock_requirements
(extra)
packages/middleware/python/tests/test_dependency_security.py:8
↓ 3 callersMethod_forget
(self, key)
packages/middleware/python/caveman_middleware/litellm.py:134
↓ 3 callersMethod_init_workers
(self)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:33
↓ 3 callersFunction_is_hex_id
(value: Any, hex_len: int)
packages/sdk/python/caveman_cloud/core.py:1600
↓ 3 callersFunction_observe_messages
(attempt, response)
packages/middleware/python/caveman_middleware/langchain.py:163
↓ 3 callersFunction_policy_int
A bundle counter (``policy_version`` / ``sequence``), or None. JSON has one number type, so a publisher may emit ``7`` or ``7.0`` for the sam
packages/sdk/python/caveman_cloud/core.py:2139
↓ 3 callersFunction_positive
(value: Any)
packages/sdk/python/caveman_cloud/middleware/protocol.py:33
↓ 3 callersMethod_receipt
The body with its scope normalized (§9) plus its usage span attributes, or None: a receipt with an invalid scope or over limits.receipt_bytes
packages/sdk/python/caveman_cloud/middleware/runtime.py:738
↓ 3 callersMethod_request
(self, kwargs)
packages/middleware/python/caveman_middleware/litellm.py:138
↓ 3 callersMethod_request
(self, path: str, body: dict[str, Any], *, extra_headers: dict[str, str] | None = None)
packages/sdk/python/caveman_cloud/core.py:1246
↓ 3 callersMethod_run
(self, text, call_claude, validate=None)
tests/test_compress_safety.py:1091
↓ 3 callersMethod_run_fix_pass
(self, fix, fix_is_faithful=False)
tests/test_compress_safety.py:232
↓ 3 callersFunction_runtime
(endpoint, deadline_ms)
packages/middleware/python/tests/test_behavior.py:660
↓ 3 callersFunction_safe
(value: Any)
packages/sdk/python/caveman_cloud/middleware/protocol.py:37
↓ 3 callersMethod_save_attempt
(self, kwargs, attempt)
packages/middleware/python/caveman_middleware/litellm.py:209
↓ 3 callersFunction_scope
(runtime, source, ctx=None)
packages/middleware/python/caveman_middleware/pydantic_ai.py:53
↓ 3 callersMethod_session
(self, request, call_type, runtime, protocol=None)
packages/middleware/python/caveman_middleware/litellm.py:201
↓ 3 callersFunction_shutdown
(sock)
packages/sdk/python/caveman_cloud/middleware/transport.py:64
↓ 3 callersFunction_slots
(turn: int)
packages/sdk/python/tests/test_assembly.py:27
↓ 3 callersFunction_state_base_dir
Shared platform-aware base dir for caveman-compress state (backups, locks) — Windows uses %LOCALAPPDATA%, else $XDG_DATA_HOME or ~/.local/share.
plugins/caveman/skills/caveman-compress/scripts/compress.py:128
↓ 3 callersFunction_state_base_dir
Shared platform-aware base dir for caveman-compress state (backups, locks) — Windows uses %LOCALAPPDATA%, else $XDG_DATA_HOME or ~/.local/share.
skills/caveman-compress/scripts/compress.py:128
↓ 3 callersMethod_telemetry
Opt-in OpenTelemetry CLIENT span and duration histogram; the caller fills the yielded dict.
packages/sdk/python/caveman_cloud/middleware/runtime.py:678
↓ 3 callersFunction_usage
(response)
packages/middleware/python/caveman_middleware/agno.py:98
↓ 3 callersFunction_wrap
(client, *, runtime, scope, registration=None, transport=None, allow_stored_responses=False, accept=False, man
packages/middleware/python/caveman_middleware/openai.py:140
↓ 3 callersFunctionacquireClaimLock
(lockPath: string, budgetMs: number, staleMs: number, reclaimDeadOwner = false)
packages/cli/src/index.ts:1447
↓ 3 callersMethodadd
(v StatsMetrics)
proxy/internal/store/stats.go:471
↓ 3 callersFunctionaddClaudeAutoEnv
(env: Record<string, unknown>)
packages/cli/src/index.ts:4352
↓ 3 callersMethodafterTool
(request Request, response Response, allowMask bool)
proxy/internal/nativeruntime/runtime.go:1245
↓ 3 callersFunctionagentNativeBundleRemovalJournalPath
(agent: "claude" | "codex")
packages/cli/src/index.ts:3457
↓ 3 callersFunctionagentNativeCloudMcpHostAbsent
(agent: "claude" | "codex")
packages/cli/src/index.ts:3665
↓ 3 callersFunctionagentNativeSkillFiles
(agent: "claude" | "codex")
packages/cli/src/index.ts:3594
↓ 3 callersFunctionagentOwnEndpoint
(agent: string)
packages/cli/src/index.ts:9127
↓ 3 callersFunctionagentRuntimeLine
(state: "down" | "other", agents: string[])
packages/cli/src/index.ts:258
↓ 3 callersFunctionagentRuntimeState
()
packages/cli/src/index.ts:245
↓ 3 callersFunctionaggregateImportBasis
(events []UsageEvent)
proxy/internal/store/usage_import.go:91
↓ 3 callersFunctionallowlist
(envKey string, fallback []string)
proxy/providers/bedrock/routing.go:538
↓ 3 callersFunctionanchorAt
anchorAt hashes the message before position at (the first message for 0), salted per session, without its cache_control members and thinking blocks: a
proxy/internal/gateway/route.go:1201
↓ 3 callersMethodanswer
answer is the final response object: what a non-streamed caller receives (an OpenAI error body instead when the answer failed).
proxy/internal/translate/responses_stream.go:299
↓ 3 callersMethodanthropicMessagesPath
anthropicMessagesPath reports whether the request path, without the mount prefix, is the Anthropic Messages endpoint or one of its sub-paths.
proxy/providers/openaicompat/openaicompat.go:387
↓ 3 callersFunctionanthropicRawBody
anthropicRawBody builds a Claude Code shaped Anthropic request from an explicit system text and message list, so a test can control the cache floor pr
proxy/internal/gateway/prefix_monitor_test.go:194
↓ 3 callersFunctionanthropicStopReason
(finish string)
proxy/internal/translate/messages.go:232
↓ 3 callersFunctionappendCachePointEdit
(data []byte, arr jsonsplice.Span)
proxy/providers/bedrock/cache_points.go:390
↓ 3 callersFunctionappendDataURI
appendDataURI appends "data:<media>;base64,<data>" from escaped contents, the base64 copied once.
proxy/internal/translate/jsonfast.go:341
↓ 3 callersFunctionappendFieldEdit
appendFieldEdit produces the insertion that adds cache_control immediately before an object's closing brace, leaving every other byte — whitespace, ke
proxy/providers/anthropic/breakpoint_plan.go:372
↓ 3 callersMethodapply
(self, body, state, outcome)
packages/middleware/python/caveman_middleware/_native.py:323
↓ 3 callersFunctionapplyDensityFloors
applyDensityFloors clamps a profile away from the reader stall envelope: zebra pitch floors at 5 (colour buys that rung), mono pitch floors at 6, laye
engine/pixel/density.go:113
↓ 3 callersMethodapplyHeaders
(req *http.Request)
mcp/codemode/http_upstream.go:401
↓ 3 callersMethodapplyUpstreamAuthFallback
(provider string, credential providers.Credential, headers http.Header)
proxy/internal/gateway/auth_fallback.go:14
↓ 3 callersMethodarmCacheWarm
armCacheWarm plans the warm chain of the stream whose request was just answered (the exact bytes and headers that were answered, at zero output, for t
proxy/internal/gateway/cache_warm.go:629
↓ 3 callersFunctionarmSession
(day int, tokens int64, turns, errors int)
proxy/internal/store/learn_experiment_test.go:27
↓ 3 callersFunctionaskBody
askBody is the ask's JSON within askBodyMax. Escaping can grow text past it (a control byte encodes as six), so then text keeps its longest end that f
proxy/internal/cloudlink/link.go:1076
↓ 3 callersMethodassemble
* Build a provider request with stable/session slots above every volatile * slot. Pure client-side: no account and no network call. * * Stabi
packages/sdk/typescript/src/index.ts:579
↓ 3 callersFunctionassertCachedPrefixPreserved
(t testing.TB, xs []exchange)
proxy/internal/gateway/cache_prefix_invariant_test.go:103
↓ 3 callersFunctionassertFrozenPrefixByteEqual
assertFrozenPrefixByteEqual asserts the upstream body is byte-identical to the client body for every byte before the live-zone content (located by mar
proxy/internal/gateway/live_zone_test.go:316
↓ 3 callersFunctionassertNativeHooksShape
(path: string, root: Record<string, unknown>, agentId: "claude" | "codex" | "gemini")
packages/cli/src/index.ts:8386
↓ 3 callersFunctionassertNothingElided
assertNothingElided checks the property that matters: not a byte of the payload was dropped. Some compressors report ok=true while returning their inp
engine/compressors/redundancy_test.go:35
↓ 3 callersFunctionassertUsage
(t *testing.T, u UsageObservation, in, out, cached, cacheCreate, reasoning int)
proxy/providers/adapter_usage_test.go:586
↓ 3 callersMethodassert_bounded
(self, runtime, deadline_s)
packages/sdk/python/tests/test_middleware_transport.py:227
↓ 3 callersFunctionassistantMsg
(text string)
proxy/internal/gateway/prefix_monitor_test.go:205
↓ 3 callersFunctionatlasBit
(rank, row, col int)
engine/pixel/atlas.go:135
↓ 3 callersFunctionatlasGrayByte
(rank, row, col int)
engine/pixel/atlas.go:146
↓ 3 callersFunctionbackendID
(n axNode)
engine/compressors/axtree.go:284
↓ 3 callersFunctionbedrockCounter
(m map[string]any, keys ...string)
proxy/providers/bedrock/usage.go:526
↓ 3 callersMethodbegin
(kind, prefix string, item map[string]any)
proxy/internal/translate/responses_stream.go:166
↓ 3 callersFunctionbenchBody
benchBody is a caller body in grammar of about tokens tokens.
proxy/internal/translate/bench_test.go:47
↓ 3 callersFunctionbenchChatBody
── live-zone cost ──────────────────────────────────────────────────────────── ExtractCompressible discards every frozen block, so walking the histor
proxy/providers/openai/content_compress_test.go:196
↓ 3 callersFunctionbenchContentsBody
── live-zone cost ──────────────────────────────────────────────────────────── ExtractCompressible discards every frozen turn, so walking the history
proxy/providers/gemini/content_compress_test.go:66
↓ 3 callersFunctionbenchPricedUsage
()
proxy/internal/gateway/hotpath_bench_test.go:169
↓ 3 callersFunctionbinaryInstallFilename
(name, os = process.platform)
packages/shared/binary-installer/installer.mjs:74
↓ 3 callersFunctionblockAny
(block map[string]any, key string)
engine/pixel/transform_anthropic.go:1403
↓ 3 callersFunctionbm25Scores
bm25Scores scores every memory against the query and returns id → score. A memory with no query-term overlap scores 0. IDF uses the +1 smoothed form,
mem/bm25.go:51
↓ 3 callersFunctionbold
(value: string)
packages/cli/src/learn-tui.ts:31
↓ 3 callersFunctionboundedHookString
(value: unknown, max = 160)
packages/cli/src/index.ts:17844
↓ 3 callersFunctionbrevityPolicy
(flag, gate bool)
proxy/providers/openai/output_brevity_test.go:9
↓ 3 callersMethodbuildPayload
Build the OTLP/JSON payload for the buffered spans (no network).
packages/sdk/typescript/src/index.ts:2281
↓ 3 callersFunctionbuildProxy
(dir)
tests/middleware-e2e/harness.mjs:55
↓ 3 callersMethodbuild_payload
Build the OTLP/JSON payload for the buffered spans (no network).
packages/sdk/python/caveman_cloud/core.py:1752
↓ 3 callersFunctionbumpPassthrough
(info *TransformInfo, reason string)
engine/pixel/transform_anthropic.go:1280
↓ 3 callersFunctioncacheChurnSink
(sessions []cacheHygieneSession, perTurnHooks []string)
proxy/internal/store/detect_cache_hygiene.go:107
↓ 3 callersFunctioncacheComponentCutoff
(now time.Time)
proxy/internal/store/cache_components.go:154
↓ 3 callersFunctioncachePointEndpoint
Gateway telemetry keeps full request path in metadata. Direct engine callers use normalized action. Accept both without broadening supported grammars.
proxy/providers/bedrock/cache_points.go:117
↓ 3 callersFunctioncacheWarmDelay
cacheWarmDelay is Pi's refresh point: 90% of the lifetime, keeping at least ten seconds of margin. Zero means no warm.
proxy/internal/gateway/cache_warm.go:67
↓ 3 callersMethodcacheWriteTokens
()
proxy/internal/translate/messages.go:145
← previousnext →1,801–1,900 of 12,853, ranked by callers