MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions7,561 in github.com/JuliusBrussee/caveman

↓ 7 callersFunctiongatewayHostPort
(gw = gatewayURL())
packages/cli/src/index.ts:14851
↓ 7 callersFunctionhasColorPixel
(img image.Image)
engine/pixel/transform_anthropic_density_test.go:88
↓ 7 callersFunctionhumanTokens
(n: number)
packages/cli/src/index.ts:3506
↓ 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:7165
↓ 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:14673
↓ 7 callersFunctionparseJsonFileObject
(path: string, bytes: Buffer | null)
packages/cli/src/index.ts:5850
↓ 7 callersFunctionportListening
(host: string, port: number)
packages/cli/src/index.ts:14828
↓ 7 callersFunctionpositionalAfterOptions
(values: string[], optionsWithValues: Set<string>)
packages/cli/src/index.ts:12857
↓ 7 callersFunctionreadNativeJournal
(agent: string)
packages/cli/src/index.ts:6739
↓ 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:411
↓ 7 callersMethodrun_cmd
(self, cmd, home, extra_env=None)
tests/test_hooks.py:14
↓ 7 callersFunctionspawnOk
(r)
bin/install.js:442
↓ 7 callersFunctionstatePath
()
browse/cmd/caveman-browse/main.go:356
↓ 7 callersFunctionsubBlock
(text string)
proxy/internal/gateway/subscription_live_zone_test.go:49
↓ 7 callersFunctiontelemetryState
()
packages/cli/src/index.ts:496
↓ 7 callersFunctiontimestampFromObject
(obj map[string]any)
proxy/internal/store/usage_import.go:494
↓ 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 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 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 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:400
↓ 6 callersFunctionNewHTTPReplayTransport
NewHTTPReplayTransport validates endpoints, limits, TLS, and redirect policy.
cacheengine/cachebench/replay_http.go:51
↓ 6 callersFunctionNewTerminal
NewTerminal returns the default terminal/command-output compressor.
engine/compressors/terminal.go:53
↓ 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 callersFunctionSelfHostedConfig
SelfHostedConfig returns a Config with ManagedMode disabled and the given allowlist.
shared/platform/ssrf/ssrf.go:130
↓ 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 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:14656
↓ 6 callersFunctioncall
(args, input)
mem/js/index.mjs:13
↓ 6 callersFunctioncallCeilingCost
( denomination: BudgetDenomination, call: CallCeiling, outputTokens: number, )
packages/agent/src/budget.ts:149
↓ 6 callersMethodcancel
Drop a reservation whose call never reached the provider.
packages/agent/src/budget.ts:424
↓ 6 callersFunctionchatgptTestServer
chatgptTestServer wires a Server whose /chatgpt upstream is a local stub.
proxy/internal/gateway/chatgpt_test.go:44
↓ 6 callersFunctioncompactMeta
(v map[string]any)
proxy/internal/store/usage_import.go:669
↓ 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:915
↓ 6 callersFunctionconsumeOptionalChainToken
(source: string, start: number)
packages/agent/src/source-graph.ts:700
↓ 6 callersFunctiondecodePNG
(t *testing.T, raw []byte)
engine/pixel/render_density_test.go:14
↓ 6 callersFunctiondie
(msg)
agents/compile.mjs:45
↓ 6 callersFunctionemitTelemetryEvents
(events: Record<string, unknown>[])
packages/cli/src/index.ts:755
↓ 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:97
↓ 6 callersFunctionfatalJSON
(logger *slog.Logger, err error)
proxy/cmd/caveman-proxy/main.go:848
↓ 6 callersFunctionfauxAssistantMessage
(...args)
packages/agent/tests/framework.runtime.mjs:98
↓ 6 callersFunctionfields
(pairs ...string)
engine/compressors/invariants_test.go:21
↓ 6 callersFunctionfindObjectField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:440
↓ 6 callersFunctiongatewayArrayElements
(body []byte, arr gatewayJSONSpan)
proxy/internal/gateway/retrieve_tool.go:184
↓ 6 callersFunctiongatewayIsJSONString
(body []byte, span gatewayJSONSpan)
proxy/internal/gateway/pixel.go:547
↓ 6 callersFunctiongrade
(grader: Grader, value: unknown, deps: GradeDeps = {})
packages/graders/src/index.ts:1686
↓ 6 callersFunctionisJSONObject
(data []byte, span jsonsplice.Span)
proxy/providers/anthropic/breakpoint_plan.go:376
↓ 6 callersFunctionkillProcessTree
( child, platform = process.platform, taskkill = spawnSync, kill = process.kill, graceMs = 1500, )
agents/delegate/portable-process.mjs:54
↓ 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 callersFunctionmcpServerMarkerPath
(agentId: string, serverName: string)
packages/cli/src/index.ts:8966
↓ 6 callersFunctionmergeDropped
(dst map[rune]int, src map[rune]int)
engine/pixel/transform_anthropic.go:1467
↓ 6 callersFunctionmessageContentBlocks
(content any)
engine/pixel/transform_anthropic.go:1351
↓ 6 callersFunctionmutateRawConfig
(fn: (out: Record<string, unknown>) => void)
packages/cli/src/index.ts:3428
↓ 6 callersFunctionnewBreakpointPlanServer
(t *testing.T, adapter providers.Adapter, rt *captureTransport, cfg Config)
proxy/internal/gateway/breakpoint_plan_test.go:37
↓ 6 callersFunctionnext
(value?: unknown)
packages/agent/src/runtime.ts:1036
↓ 6 callersFunctionobjectStringField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:417
↓ 6 callersFunctionobjectValue
(value: unknown)
packages/cli/src/index.ts:2840
↓ 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 callersFunctionopenaiTurnConversation
openaiTurnConversation is an OpenAI chat session of n user turns with assistant replies interleaved: turn N's live zone is turn N+1's automatically-ca
proxy/internal/gateway/prefix_stability_payg_test.go:53
↓ 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:948
↓ 6 callersFunctionpathExists
(target)
bin/lib/owned-install.js:9
← previousnext →401–500 of 7,561, ranked by callers