MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 9 callersFunctionrunSpawn
(cmd, args, opts, dry)
installer/install.js:476
↓ 9 callersMethodrun_main
(self, fake: FakeClaude, env: dict[str, str] | None = None)
tests/test_eval_llm_run.py:101
↓ 9 callersFunctionruntimeFixture
({ retrieveError, ...options } = {})
packages/middleware/typescript/tests/runtime-fixture.mjs:14
↓ 9 callersFunctionsendMessages
(t *testing.T, srv *Server, header map[string]string)
proxy/internal/gateway/route_test.go:148
↓ 9 callersFunctionskipSpace
(b []byte, i int)
proxy/internal/translate/jsonfast.go:34
↓ 9 callersFunctionsseData
sseData is the payload of one `data:` line, false for any other line.
proxy/internal/translate/messages_stream.go:173
↓ 9 callersMethodstart
()
proxy/internal/translate/chat_stream.go:104
↓ 9 callersFunctionstartGenerationProcess
(t *testing.T, path string)
engine/ccr/store_generation_test.go:112
↓ 9 callersFunctiontimestampFromObject
(obj map[string]any)
proxy/internal/store/usage_import.go:493
↓ 9 callersFunctionupdate
(effort string)
proxy/internal/gateway/route_effort_responses_test.go:78
↓ 9 callersFunctionwholeBody
(b []byte)
proxy/internal/gateway/capture.go:148
↓ 9 callersFunctionwith_caveman_openai_tools
Bind real application dispatch without introducing a second scheduler. ``protocol`` is ``openai-chat`` or ``openai-responses``. ``tools`` contain
packages/middleware/python/caveman_middleware/openai.py:76
↓ 9 callersFunctionyamlLines
(text: string)
packages/cli/src/index.ts:14475
↓ 8 callersFunctionAnthropicImageTokens
AnthropicImageTokens returns the Anthropic input-token cost of a w×h image under tier, without the safety margin (callers apply ImageCostSafetyMargin)
engine/pixel/pricing.go:42
↓ 8 callersMethodCachedPrefixComponents
(body []byte, meta providers.RequestMetadata)
proxy/internal/gateway/server.go:216
↓ 8 callersMethodCallTool
(ctx context.Context, name string, args map[string]any)
mcp/codemode/codemode.go:146
↓ 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 callersFunctionNewCDPDriver
(parent context.Context, opts CDPOptions)
browse/cdp.go:39
↓ 8 callersFunctionNewDiff
NewDiff returns the unified-diff compressor.
engine/compressors/diff.go:24
↓ 8 callersFunctionNewHTML
NewHTML returns the default HTML article extractor.
engine/compressors/html.go:38
↓ 8 callersMethodPlanCacheBreakpoints
(body []byte, meta providers.RequestMetadata, payg bool)
proxy/internal/gateway/breakpoint_plan.go:36
↓ 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 callersMethodSanitizeAndMapHeaders
(ctx context.Context, req *http.Request, credential Credential, _ *url.URL)
proxy/providers/adapter.go:621
↓ 8 callersMethodStop
()
proxy/internal/gateway/cache_warm_test.go:36
↓ 8 callersMethodValid
Valid reports whether ServerConfig names either a stdio command or a remote HTTP(S) URL.
mcp/codemode/stdio_upstream.go:44
↓ 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:19037
↓ 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:7659
↓ 8 callersFunctiondetectCodexWrapAuthMode
()
packages/cli/src/index.ts:7975
↓ 8 callersFunctionfindModule
(id: string)
packages/cli/src/modules/registry.ts:126
↓ 8 callersFunctiongeminiConfigDir
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/index.ts:7903
↓ 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:11257
↓ 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:8276
↓ 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:14173
↓ 8 callersFunctionmessageResp
(model, usage string)
proxy/internal/gateway/cache_warm_test.go:163
↓ 8 callersFunctionnativeHooksDocument
(agentId: "claude" | "codex" | "gemini", includeShrink: boolean, base: Record<string, unknown> = {}, includeRe
packages/cli/src/index.ts:8322
↓ 8 callersFunctionnativeIntegrationStatus
(agent: NativeAgent, { probe = true }: { probe?: boolean } = {})
packages/cli/src/index.ts:11829
↓ 8 callersFunctionnewInvariantHarness
(t testing.TB)
proxy/internal/gateway/cache_prefix_invariant_test.go:425
↓ 8 callersFunctionnewPrefixMonitor
()
proxy/internal/gateway/prefix_monitor.go:98
↓ 8 callersFunctionnewRouteRun
newRouteRun reads the labels and the session keys. The session is the caller's session id when it is exact, else the agent's own session header (a Cod
proxy/internal/gateway/route.go:447
↓ 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:23448
↓ 8 callersFunctionparseJsonRelaxed
(rawText: string)
packages/cli/src/codemode.ts:80
↓ 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
(extra: string[])
packages/cli/src/index.ts:4158
↓ 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
← previousnext →601–700 of 12,853, ranked by callers