MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions8,006 in github.com/JuliusBrussee/caveman

↓ 7 callersFunctionagentNativeCloudMcpMatches
(agent: "claude" | "codex", mcp: { command: string; args: string[] })
packages/cli/src/index.ts:2607
↓ 7 callersFunctionanthropicPayload
(text string, in, out int)
rewriter/rewriter_test.go:52
↓ 7 callersFunctionanthropicPixelBody
(model string, stream bool)
proxy/internal/gateway/pixel_test.go:428
↓ 7 callersFunctionanthropicPixelResponse
(model string)
proxy/internal/gateway/pixel_test.go:451
↓ 7 callersFunctionapplyCachePoints
( t *testing.T, body string, meta providers.RequestMetadata, policy providers.TransformPolicy, )
proxy/providers/bedrock/cache_points_test.go:22
↓ 7 callersMethodassemble
Build a provider request with stable/session content above volatile. Pure client-side: no account and no network call. The hash ledger is
packages/sdk/python/caveman_cloud/core.py:403
↓ 7 callersFunctionassertNoPointers
(t *testing.T, what, content string)
mcp/retrieve_integration_test.go:97
↓ 7 callersFunctioncallRetrieveTool
callRetrieveTool drives the caveman_retrieve tool exactly as the MCP server does: through the handler EngineTools built, with its session attached.
mcp/retrieve_integration_test.go:61
↓ 7 callersMethodcancel
Drop a reservation whose call never reached the provider.
packages/agent/src/budget.ts:424
↓ 7 callersFunctioncatalogCost
(usage: { provider: string; model: string; inputTokens: number; outputTokens: number; cacheReadToken
packages/agent/src/catalog.ts:249
↓ 7 callersFunctioncatalogSearchCeiling
( model: string, inputTokens: number, outputTokens: number, )
packages/agent/src/catalog.ts:229
↓ 7 callersFunctioncavemanBinForHook
()
packages/cli/src/index.ts:10666
↓ 7 callersFunctioncavemanInvocation
()
packages/cli/src/index.ts:11962
↓ 7 callersMethodcharBudget
charBudget is the per-image character capacity of a full canvas page at this profile (rows × cols × layers). Page capacity — not the fixed std budget
engine/pixel/density.go:272
↓ 7 callersFunctioncorpusPage
(t *testing.T, name string)
mcp/retrieve_integration_test.go:38
↓ 7 callersFunctioncountTokens
countTokens is the same inferred estimate the replay bench prices context policies with: `internal/replaybench/cost.go` takes an engine `tokens.Counte
rewriter/tokens.go:14
↓ 7 callersFunctiondecodeRaw
decodeRaw unmarshals a[b] usage.RawUsage for comparison, tolerating that re-marshaling a parsed map can reorder keys (values are what matter).
proxy/providers/adapter_raw_usage_test.go:12
↓ 7 callersMethoddispose
()
packages/agent/src/dev-loader.ts:26
↓ 7 callersMethoddo
(ctx context.Context, authorization, method, path string, body any)
shared/platform/githubapp/githubapp.go:348
↓ 7 callersFunctione2eHandle
(b []byte)
proxy/internal/store/prefix_stability_e2e_test.go:67
↓ 7 callersFunctionemitTelemetryEvents
(events: Record<string, unknown>[])
packages/cli/src/index.ts:999
↓ 7 callersMethodexport
POST buffered spans to standard OTLP/HTTP ``{base_url}/v1/traces``. Returns the gateway's JSON response (``ok`` / ``spans_accepted`` /
packages/sdk/python/caveman_cloud/core.py:1745
↓ 7 callersFunctionfirstEnvSecret
(env: NodeJS.ProcessEnv, keys: string[])
packages/cli/src/index.ts:5506
↓ 7 callersFunctionhasColorPixel
(img image.Image)
engine/pixel/transform_anthropic_density_test.go:88
↓ 7 callersFunctionisRecord
(value: unknown)
packages/agent/src/compaction.ts:497
↓ 7 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:38
↓ 7 callersMethodmeter
()
packages/agent/src/budget.ts:828
↓ 7 callersFunctionnativeIntegrationStatus
(agent: NativeAgent)
packages/cli/src/index.ts:7851
↓ 7 callersFunctionoutput
()
packages/agent/tests/framework.runtime.mjs:578
↓ 7 callersMethodpageCols
pageCols is the column count that fills the profile's canvas width — 312 on the std canvas at cell-advance 5, 513 on the hi-res canvas, etc.
engine/pixel/density.go:211
↓ 7 callersFunctionpanel
(title: string, lines: string[])
packages/cli/src/index.ts:15651
↓ 7 callersFunctionparseJsonFileObject
(path: string, bytes: Buffer | null)
packages/cli/src/index.ts:6468
↓ 7 callersFunctionpositionalAfterOptions
(values: string[], optionsWithValues: Set<string>)
packages/cli/src/index.ts:13826
↓ 7 callersFunctionprobeMcpBinary
()
packages/cli/src/index.ts:9729
↓ 7 callersFunctionreadRegularIfExists
(p)
bin/lib/openclaw.js:59
↓ 7 callersFunctionresolve
(t *testing.T, a Adapter, path string, header map[string]string)
proxy/providers/bedrock/bedrock_test.go:46
↓ 7 callersFunctionrunSpawn
(cmd, args, opts, dry)
bin/install.js:425
↓ 7 callersMethodrun_cmd
(self, cmd, home, extra_env=None)
tests/test_hooks.py:22
↓ 7 callersFunctionsinkIDs
(plan LearnPlan)
proxy/internal/store/trial_feature_test.go:864
↓ 7 callersFunctionspawnOk
(r)
bin/install.js:456
↓ 7 callersFunctionstatePath
()
browse/cmd/caveman-browse/main.go:391
↓ 7 callersFunctionsubBlock
(text string)
proxy/internal/gateway/subscription_live_zone_test.go:49
↓ 7 callersMethodtool_search
POST the tool catalog + query to the gateway's /sdk/v1/tool-search endpoint. Returns a ToolSearchResult that includes the reduced tool list a
packages/sdk/python/caveman_cloud/core.py:670
↓ 7 callersFunctionunmarshalTest
(t *testing.T, b []byte, v any)
engine/pixel/transform_openai_test.go:335
↓ 7 callersFunctionvalidate
(original_path: Path, compressed_path: Path)
skills/caveman-compress/scripts/validate.py:368
↓ 7 callersMethodwait
( self, job_id: str, *, interval_s: float = 0.5, timeout_s: float = 60
packages/sdk/python/caveman_cloud/core.py:1437
↓ 6 callersFunctionAtlasGrayRank
AtlasGrayRank binary-searches the sorted grayscale codepoint table; -1 when absent.
engine/pixel/atlas.go:123
↓ 6 callersMethodBuildTrialPlan
(trialID string)
proxy/internal/store/trial_store.go:222
↓ 6 callersMethodComplete
Complete reports whether both provider token totals were observed and all recognized counters were internally valid. Billing must not extrapolate a pl
proxy/providers/adapter.go:286
↓ 6 callersMethodCompressWithMetadata
(input []byte, query string)
engine/compressors/compressor.go:45
↓ 6 callersFunctionDefault
Default returns a registry with the engine's built-in compressors registered: JSON, log, code, diff, search-result, text, HTML, tabular, config, tool-
engine/compressors/compressor.go:90
↓ 6 callersFunctionDefaultTarget
DefaultTarget requires 97% request and token hits over at least 100 requests.
cacheengine/cachebench/types.go:38
↓ 6 callersFunctionDensityFromEnv
DensityFromEnv reads CAVE_PIXEL_DENSITY lazily (like CAVE_PIXEL_MODELS in applicability.go — no init-time caching). Unset/empty defaults to balanced;
engine/pixel/density.go:57
↓ 6 callersFunctionDialContext
DialContext returns a DialContext function suitable for use in http.Transport.DialContext. It re-validates the resolved IP at the moment the kernel a
shared/platform/ssrf/ssrf.go:372
↓ 6 callersFunctionEvaluateObserved
EvaluateObserved evaluates supplied observations without completeness claim.
cacheengine/cachebench/observed.go:151
↓ 6 callersFunctionGrade
Grade runs one grader against a subject. The default branch fails closed: an unknown or misspelled grader type is never treated as a pass.
engine/evals/graders.go:50
↓ 6 callersFunctionHandle
Handle returns the content-addressed handle for a payload without storing it.
engine/ccr/store.go:214
↓ 6 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:277
↓ 6 callersFunctionInsertTimeout
InsertTimeout is the bound for ClickHouse inserts (CLICKHOUSE_INSERT_TIMEOUT_MS, default 5s).
shared/platform/chhttp/chhttp.go:81
↓ 6 callersFunctionIsCompressionProfitable
(text string, cols, imageCountCap, numCols int, cpt, priorWarm, priorWarmImage float64, shrinkWidth bool, maxC
engine/pixel/gate.go:135
↓ 6 callersFunctionIsProduction
IsProduction is the single definition of "this process runs in production". Every refusal gate must agree on it: a CAVE_ENV of " prod" or "PROD" that
shared/platform/env/env.go:58
↓ 6 callersMethodLookupReplacement
LookupReplacement returns the exact replacement bytes previously emitted for these original bytes plus the CCR handle they disclose. An evicted or abs
proxy/internal/gateway/server.go:167
↓ 6 callersFunctionMaxFittingCols
(cols int)
engine/pixel/render.go:689
↓ 6 callersFunctionMultiColWidth
(cols, numCols int)
engine/pixel/render.go:684
↓ 6 callersMethodNativeRequest
NativeRequest reconstructs exact optimizer input captured by v2 or v3 trace. Legacy v1 traces remain readable for observation joins, but cannot drive
cacheengine/cachebench/trace.go:350
↓ 6 callersFunctionNeutralizeSentinel
(s string)
engine/pixel/render.go:137
↓ 6 callersFunctionNew
(baseURL string)
proxy/providers/azureopenai/azureopenai.go:35
↓ 6 callersFunctionNewHTTPClient
NewHTTPClient returns an *http.Client whose Transport enforces the SSRF policy at dial time. The caller may set additional fields (Timeout, etc.) on
shared/platform/ssrf/ssrf.go:452
↓ 6 callersFunctionNewHTTPReplayTransport
NewHTTPReplayTransport validates endpoints, limits, TLS, and redirect policy.
cacheengine/cachebench/replay_http.go:51
↓ 6 callersFunctionNewText
NewText returns the long text / HTML compressor.
engine/compressors/text.go:34
↓ 6 callersFunctionObjectSchema
ObjectSchema builds a JSON-Schema object for a tool's inputSchema.
mcp/protocol.go:91
↓ 6 callersMethodPickSession
PickSession makes baseline assignment reproducible from locked metadata. Candidates are ordered by action ID so config/YAML ordering cannot alter a ro
proxy/routing/benchmark.go:39
↓ 6 callersFunctionQueryTimeout
QueryTimeout is the bound for ClickHouse queries/DDL (CLICKHOUSE_QUERY_TIMEOUT_MS, default 30s).
shared/platform/chhttp/chhttp.go:86
↓ 6 callersFunctionRegionAllowed
RegionAllowed is the shared closed region validator used by adapter routing and control-plane Bedrock connection metadata.
proxy/providers/bedrock/routing.go:391
↓ 6 callersFunctionRenderTextToPNGs
(text string, cols int, style RenderStyle)
engine/pixel/render.go:635
↓ 6 callersFunctionReplaceRaw
ReplaceRaw replaces one JSON value while preserving every byte outside span. replacement must itself be valid JSON. Unlike Replace, it does not quote
proxy/providers/jsonsplice/jsonsplice.go:137
↓ 6 callersFunctionRunManifest
RunManifest replays an arbitrary manifest, reading fixture files via read. It is exported so tests can seed a deliberately-failing manifest and assert
engine/evals/harness.go:181
↓ 6 callersFunctionString
String scrubs secret material from s and returns the cleaned string along with the names of all rules that fired. The returned slice is nil when noth
shared/platform/redact/redact.go:251
↓ 6 callersFunction_cave
(agent: str)
packages/sdk/python/tests/test_assembly.py:18
↓ 6 callersFunctionadd
(path: string, ranges: LineRange[])
packages/graders/src/index.ts:798
↓ 6 callersFunctionagentDefinitionSHA256
(agent: AgentDefinition)
packages/agent/src/build.ts:560
↓ 6 callersFunctionapply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/gemini/explicit_cache_test.go:12
↓ 6 callersFunctionapplyScope
applyScope stamps the authenticated org/project onto a span and fills the honest defaults that the spans schema expects for non-null operation. It is
shared/platform/importers/importers.go:121
↓ 6 callersFunctionarrayElements
(body []byte, arr jsonSpan)
proxy/providers/anthropic/splice.go:79
↓ 6 callersFunctionbold
(s: string)
packages/cli/src/index.ts:15634
↓ 6 callersFunctionbuild
(args: string[])
packages/agent/src/cli.ts:697
↓ 6 callersFunctioncall
(args, input)
mem/js/index.mjs:13
↓ 6 callersFunctioncallCeilingCost
( denomination: BudgetDenomination, call: CallCeiling, outputTokens: number, )
packages/agent/src/budget.ts:149
↓ 6 callersFunctionchatgptTestServer
chatgptTestServer wires a Server whose /chatgpt upstream is a local stub.
proxy/internal/gateway/chatgpt_test.go:44
↓ 6 callersMethodcompressRequest
compressRequest applies S4 compression to live-zone content and re-applies the replacements it already emitted to frozen content. Each live segment is
proxy/internal/gateway/proxy.go:965
↓ 6 callersFunctionconsumeOptionalChainToken
(source: string, start: number)
packages/agent/src/source-graph.ts:700
↓ 6 callersFunctioncontentSHA256
(raw string)
proxy/internal/store/recurring.go:208
↓ 6 callersFunctiondecodePNG
(t *testing.T, raw []byte)
engine/pixel/render_density_test.go:14
↓ 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:394
↓ 6 callersFunctiondie
(msg)
agents/compile.mjs:51
↓ 6 callersFunctionerrorResponse
(id json.RawMessage, code int, msg string)
mcp/protocol.go:53
↓ 6 callersFunctionextract_inline_codes
Backtick-delimited inline spans, with fenced code blocks stripped first. Previously used a column-0-anchored regex to strip fences, which misses
skills/caveman-compress/scripts/validate.py:223
↓ 6 callersFunctionfatalJSON
(logger *slog.Logger, err error)
proxy/cmd/caveman-proxy/main.go:918
↓ 6 callersFunctionfauxAssistantMessage
(...args)
packages/agent/tests/framework.runtime.mjs:98
↓ 6 callersFunctionfields
(pairs ...string)
engine/compressors/invariants_test.go:21
← previousnext →401–500 of 8,006, ranked by callers