MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 8 callersMethodDecrypt
Decrypt unwraps versioned KMS envelope. Metadata can choose only validated key identity under configured provider; it can never choose host or token.
shared/platform/kms/kms.go:222
↓ 8 callersMethodDelete
Delete revokes an authority and purges all of it in this one transaction: Revoke plus PurgeBatch until nothing is left. sessions/delete commits the re
proxy/internal/store/middleware.go:710
↓ 8 callersFunctionEvidence
Evidence ranks task-specific paths from an already-built repository map. It remains deterministic and performs no filesystem, network, or model work.
proxy/internal/repointel/index.go:194
↓ 8 callersMethodExpire
Expire reclaims one default-sized batch (see ExpireBatch).
proxy/internal/store/middleware.go:358
↓ 8 callersMethodHasDirectEvidence
HasDirectEvidence reports whether the bundle earned the right to be shown to a model: at least one ranked item matched a task term in its own path or
proxy/internal/repointel/index.go:122
↓ 8 callersMethodHistory
History returns the complete oldest-to-newest supersession chain containing id. Broken/cyclic lineage is rejected rather than returning partial histor
mem/store.go:299
↓ 8 callersMethodInspect
(input Input)
shared/platform/cacheguard/cacheguard.go:85
↓ 8 callersFunctionLookup
Lookup returns the Info for a class. The second return is false for an unknown class — callers fail closed (treat an unknown class as unsafe to run).
engine/safety/safety.go:53
↓ 8 callersFunctionNewDiff
NewDiff returns the unified-diff compressor.
engine/compressors/diff.go:24
↓ 8 callersFunctionNewEngineCompressor
NewEngineCompressor builds the engine-backed compressor over a CCR store. The engine shares that store, so a handle returned by StoreOriginal resolves
proxy/internal/standalone/standalone.go:414
↓ 8 callersFunctionNewHTML
NewHTML returns the default HTML article extractor.
engine/compressors/html.go:38
↓ 8 callersFunctionRenderChunkToPNG
(text string, cols int, style RenderStyle, maxHeightPx int, slotText string)
engine/pixel/render.go:424
↓ 8 callersFunctionRenderTextToPNGsMultiCol
(text string, cols, numCols int)
engine/pixel/render.go:774
↓ 8 callersMethodRetrieveQuery
(handle, query string)
mcp/engine_tools.go:22
↓ 8 callersMethodSanitizeAndMapHeaders
(ctx context.Context, req *http.Request, credential Credential, _ *url.URL)
proxy/providers/adapter.go:595
↓ 8 callersMethodStop
()
proxy/internal/gateway/cache_warm_test.go:35
↓ 8 callersFunctionStripToolSchemaAnnotations
StripToolSchemaAnnotations removes the annotationDropKeys keywords from a serialized tool catalog (the provider `tools` array) and returns ok=false wi
engine/compressors/toolschema_annotations.go:97
↓ 8 callersFunctionToolText
ToolText wraps a value as a single JSON text content item (the agent receives JSON it can parse).
mcp/protocol.go:70
↓ 8 callersFunctionValidPrice
ValidPrice rejects catalog rows whose numeric fields could create negative or non-finite billing. Zero rates remain valid for non-applicable token cla
shared/platform/cost/cost.go:91
↓ 8 callersFunctionWrapLines
(text string, cols, markerScale int)
engine/pixel/render.go:195
↓ 8 callersFunction_cave
()
packages/sdk/python/tests/test_tool_events.py:46
↓ 8 callersFunction_fake_client
Anthropic client whose messages.stream() yields one text block.
tests/test_call_claude_streaming.py:20
↓ 8 callersFunction_scope
(runtime, source, context=None, adapter="llama-index")
packages/middleware/python/caveman_middleware/llama_index.py:56
↓ 8 callersFunctionadd
(text:unknown,pi:number|null)
packages/middleware/typescript/src/langchain-model.ts:75
↓ 8 callersMethodapply
(model: ExtensionContext["model"], ctx: ExtensionContext)
packages/pi-extension/src/provider.ts:64
↓ 8 callersFunctionarrayElements
(body []byte, arr jsonSpan)
proxy/providers/anthropic/splice.go:79
↓ 8 callersMethodassert
()
proxy/internal/gateway/cache_prefix_invariant_test.go:1677
↓ 8 callersFunctionautopilotPaths
()
packages/cli/src/learn-autopilot.ts:48
↓ 8 callersMethodcanvas
--- Page geometry derived from a render profile --------------------------- A page is drawn as: rows advance by PitchY with an 8px-tall glyph, so the
engine/pixel/density.go:170
↓ 8 callersFunctioncavemanHome
()
packages/cli/src/modules/config-home.ts:10
↓ 8 callersFunctioncavemanInvocation
()
packages/cli/src/index.ts:18791
↓ 8 callersFunctionchatGPTTurn
(texts ...string)
proxy/internal/gateway/chatgpt_test.go:1450
↓ 8 callersMethodchunk
chunk writes one stream chunk with delta (a JSON object) and finish; content commits the gate.
proxy/internal/translate/chat_stream.go:60
↓ 8 callersMethodclone
()
proxy/internal/gateway/cache_prefix_invariant_test.go:257
↓ 8 callersFunctioncompactMeta
(v map[string]any)
proxy/internal/store/usage_import.go:668
↓ 8 callersFunctioncontentBlocks
(content any)
engine/pixel/transform_anthropic.go:1365
↓ 8 callersFunctioncopySafeResponseHeaders
(dst, src http.Header)
proxy/internal/gateway/headers.go:61
↓ 8 callersFunctioncreation
The session ledger is the accounting the harm tripwire reads, and the freeze registry every lever consults. Its contract: bounded, session-scoped, one
proxy/internal/gateway/ledger_test.go:14
↓ 8 callersFunctioncurrentSelection
()
packages/cli/src/modules/apply.ts:143
↓ 8 callersMethoddb
db opens the fixture's middleware store directly, for assertions and faults.
proxy/internal/middleware/runtime_test.go:74
↓ 8 callersFunctiondeepMerge
(base: unknown, overlay: unknown)
packages/cli/src/index.ts:7441
↓ 8 callersFunctiondetectCodexWrapAuthMode
()
packages/cli/src/index.ts:7757
↓ 8 callersFunctionfindModule
(id: string)
packages/cli/src/modules/registry.ts:126
↓ 8 callersFunctiongeminiConfigDir
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/index.ts:7685
↓ 8 callersFunctiongenPNG
(t *testing.T, w, h int)
engine/image/image_test.go:13
↓ 8 callersFunctiongutterLines
gutterLines renders content the way a coding agent's read tool prints a file.
engine/listing_test.go:11
↓ 8 callersFunctionheaders
( cave: Cave, workflow: str, upstream_key: str | None = None, latency_class: str | None = None
packages/sdk/python/caveman_cloud/core.py:1479
↓ 8 callersFunctionheaders
(cave: Cave, workflow: string, upstreamKey?: string, hint?: Record<string, unknown>, trace?: TraceContext)
packages/sdk/typescript/src/index.ts:2166
↓ 8 callersFunctionidentity
(parts ...string)
proxy/internal/middleware/runtime.go:283
↓ 8 callersFunctionisRecord
(value: unknown)
packages/sdk/typescript/src/index.ts:1398
↓ 8 callersFunctionjsonBytes
(root: Record<string, unknown>, like?: Buffer | null)
packages/cli/src/index.ts:11016
↓ 8 callersFunctionjsonText
--- the simulated client ---------------------------------------------------------
proxy/internal/gateway/cache_prefix_invariant_test.go:206
↓ 8 callersFunctionkeepNonRedundant
keepNonRedundant guarantees that every distinct kind of content in a payload survives an elision at least once. A unit about to be dropped is kept whe
engine/compressors/redundancy.go:39
↓ 8 callersFunctionlearnJSON
(t *testing.T, out any, args ...string)
proxy/cmd/caveman-proxy/learn_wire_test.go:56
↓ 8 callersFunctionmanagedHookIdentity
(command: string)
packages/cli/src/index.ts:8058
↓ 8 callersMethodmark
mark is where the next block starts in the arena.
proxy/internal/translate/msgbuild.go:88
↓ 8 callersFunctionmcpServerMarkerPath
(agentId: string, serverName: string)
packages/cli/src/index.ts:13927
↓ 8 callersFunctionnativeHooksDocument
(agentId: "claude" | "codex" | "gemini", includeShrink: boolean, base: Record<string, unknown> = {}, includeRe
packages/cli/src/index.ts:8104
↓ 8 callersFunctionnativeIntegrationStatus
(agent: NativeAgent, { probe = true }: { probe?: boolean } = {})
packages/cli/src/index.ts:11588
↓ 8 callersFunctionnewInvariantHarness
(t testing.TB)
proxy/internal/gateway/cache_prefix_invariant_test.go:425
↓ 8 callersFunctionnewSessionLedger
()
proxy/internal/gateway/ledger.go:100
↓ 8 callersFunctionnewWarmTable
(path string)
proxy/internal/gateway/cache_warm_table.go:58
↓ 8 callersFunctionnow
()
packages/sdk/typescript/src/middleware/runtime.ts:87
↓ 8 callersMethodopen
()
proxy/cmd/caveman-proxy/main.go:1298
↓ 8 callersMethodoptimize
(step)
packages/sdk/python/tests/test_middleware_v1_1.py:298
↓ 8 callersMethodoptimize
(self, **options)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:123
↓ 8 callersFunctionpaint
(code: string, s: string)
packages/cli/src/index.ts:23206
↓ 8 callersMethodpassive
(self, runtime, reason)
packages/middleware/python/caveman_middleware/agno.py:139
↓ 8 callersFunctionreadRegularIfExists
(p)
installer/lib/openclaw.js:63
↓ 8 callersFunctionrecord
(i int)
proxy/internal/cloudlink/link_test.go:518
↓ 8 callersMethodrecovery
(self, scope: Scope)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:101
↓ 8 callersFunctionrejectTransformed
(status int, header http.Header)
proxy/internal/gateway/cache_prefix_invariant_test.go:544
↓ 8 callersFunctionresolve
(t *testing.T, a Adapter, path string, header map[string]string)
proxy/providers/bedrock/bedrock_test.go:46
↓ 8 callersFunctionresolve
(t *testing.T, rawurl string)
proxy/providers/azureopenai/azure_routing_test.go:11
↓ 8 callersFunctionretroLogPayload
--- fixtures --------------------------------------------------------------- retroLogPayload builds a repetitive tool-result body the engine can actua
proxy/internal/store/learn_retro_test.go:22
↓ 8 callersFunctionretroRepeatedBlock
retroRepeatedBlock is one paragraph heavy enough to clear minBlockTokens.
proxy/internal/store/learn_retro_test.go:31
↓ 8 callersFunctionrun
( args: list[str], *, cwd: Path = ROOT, env: dict[str, str] | None = None, check: bool = T
tests/verify_repo.py:48
↓ 8 callersFunctionsafeCallID
safeCallID rewrites a call id another provider minted into one this upstream accepts. Deterministic, so a call and its output keep matching.
proxy/internal/translate/responses.go:230
↓ 8 callersMethodset_session_mode
(self, session_id, mode)
tests/test_hooks.py:587
↓ 8 callersFunctionsh
(command, args, { cwd = root, env = process.env, allowFail = false } = {})
tests/middleware-e2e/harness.mjs:41
↓ 8 callersFunctionstop
()
packages/cli/src/index.ts:6047
↓ 8 callersFunctionstreamUsageEnabled
C8 review finding 5: this optimizer adds a client-visible SSE chunk to the response (an observable effect outside what byte-safe promises), so like re
proxy/providers/openai/stream_usage_test.go:13
↓ 8 callersFunctiontoString
(v any)
engine/pixel/transform_anthropic.go:1529
↓ 8 callersFunctiontopLevelSection
(lines: string[], key: string)
packages/cli/src/index.ts:14287
↓ 8 callersFunctionusage
(value, complete=True)
packages/middleware/python/caveman_middleware/_usage.py:19
↓ 8 callersMethodwait
(_id: string, _options?: { intervalMs?: number; timeoutMs?: number })
packages/sdk/typescript/src/index.ts:755
↓ 8 callersFunctionwriteTree
(t *testing.T, root string, files map[string]string)
proxy/internal/repointel/index_test.go:90
↓ 7 callersMethodAllows
Allows reports whether the principal may use namespace.
proxy/internal/identity/identity.go:102
↓ 7 callersFunctionCommand
Command builds a git invocation rooted at root that the repository cannot steer. Inherited GIT_* variables are dropped so an outer environment cannot
proxy/internal/gitsafe/gitsafe.go:44
↓ 7 callersFunctionCompactSlabWhitespace
(text string)
engine/pixel/textprep.go:234
↓ 7 callersMethodCompressSegment
(segment []byte)
proxy/internal/gateway/server.go:95
↓ 7 callersFunctionDecodeTOON
DecodeTOON parses the supported TOON subset back into the JSON data model.
engine/compressors/toon_decode.go:23
↓ 7 callersMethodEncrypt
Encrypt delegates encryption to key manager.
shared/platform/kms/kms.go:175
↓ 7 callersFunctionExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/openai/content_compress.go:92
↓ 7 callersFunctionHandle
Handle returns the content-addressed handle for a payload without storing it.
engine/ccr/store.go:260
↓ 7 callersFunctionIsRecoveryToolName
IsRecoveryToolName reports whether a tool call is a caveman recovery call. It exists so every adapter agrees on one definition. A tool_result produce
proxy/providers/adapter.go:456
↓ 7 callersMethodLoadExperiment
(label string)
proxy/internal/store/learn_experiment.go:160
↓ 7 callersMethodMiddlewareUsage
(ctx context.Context)
proxy/internal/store/middleware.go:251
↓ 7 callersFunctionNew
New constructs the Bedrock adapter. baseURL is the bedrock-runtime endpoint; in production it is the regional endpoint (https://bedrock-runtime.<regio
proxy/providers/bedrock/bedrock.go:34
↓ 7 callersFunctionNewAXTree
NewAXTree returns the forced-only CDP Accessibility.getFullAXTree compressor. It emits a compact, deterministic indented view with uid handles while C
engine/compressors/axtree.go:28
← previousnext →601–700 of 12,391, ranked by callers