MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions8,033 in github.com/JuliusBrussee/caveman

↓ 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 callersFunctiondie
(msg)
agents/compile.mjs:53
↓ 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:1015
↓ 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 callersFunctionfindObjectField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:474
↓ 7 callersFunctionfirstEnvSecret
(env: NodeJS.ProcessEnv, keys: string[])
packages/cli/src/index.ts:5614
↓ 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 callersFunctionkiloConfigPath
()
packages/cli/src/index.ts:10795
↓ 7 callersMethodmeter
()
packages/agent/src/budget.ts:828
↓ 7 callersFunctionnativeIntegrationStatus
(agent: NativeAgent)
packages/cli/src/index.ts:8338
↓ 7 callersFunctionobjectStringField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:451
↓ 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:18398
↓ 7 callersFunctionparseJsonFileObject
(path: string, bytes: Buffer | null)
packages/cli/src/index.ts:6863
↓ 7 callersFunctionpositionalAfterOptions
(values: string[], optionsWithValues: Set<string>)
packages/cli/src/index.ts:16520
↓ 7 callersFunctionprobeMcpBinary
()
packages/cli/src/index.ts:10326
↓ 7 callersFunctionqwenConfigPath
()
packages/cli/src/index.ts:11087
↓ 7 callersFunctionqwenHomeState
()
packages/cli/src/index.ts:11045
↓ 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 callersFunctionroundPct
(v float64)
proxy/internal/store/learn_pricing.go:333
↓ 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 callersMethodset_session_mode
(self, session_id, mode)
tests/test_hooks.py:284
↓ 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 callersFunctionvalidateSessionId
(id)
src/hooks/caveman-config.js:412
↓ 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 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
↓ 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 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 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 callersMethodLoadExperiment
(label string)
proxy/internal/store/learn_experiment.go:160
↓ 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 callersFunctionNeutralizeSentinel
(s string)
engine/pixel/render.go:137
↓ 6 callersFunctionNew
(baseURL string)
proxy/providers/azureopenai/azureopenai.go:35
↓ 6 callersFunctionNew
()
shared/platform/cacheguard/cacheguard.go:67
↓ 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 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 callersMethodRead
(p []byte)
proxy/internal/gateway/chatgpt.go:379
↓ 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 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 callersMethodSign
Sign computes the SigV4 signature for req against the given payload and sets the Authorization, X-Amz-Date, X-Amz-Content-Sha256 (and, when present, X
shared/platform/awssig/awssig.go:65
↓ 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 callersFunctionabortError
()
packages/cli/src/proxy-fetch.ts:113
↓ 6 callersFunctionadd
( spec: Omit<ContextSegment, "provenanceDigest" | "tokenCount" | "bodyHandle" | "opaque"> & { opaque?: boo
packages/agent/src/context-ir.ts:154
↓ 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 callersFunctionarrayElements
(body []byte, arr jsonSpan)
proxy/providers/openai/content_compress.go:516
↓ 6 callersFunctionbuild
(args: string[])
packages/agent/src/cli.ts:697
↓ 6 callersFunctionbuildAttribution
(method, provenance, targetPath string)
proxy/internal/store/learn_attribution.go:197
↓ 6 callersFunctioncall
(args, input)
mem/js/index.mjs:13
↓ 6 callersFunctioncallCeilingCost
( denomination: BudgetDenomination, call: CallCeiling, outputTokens: number, )
packages/agent/src/budget.ts:149
↓ 6 callersFunctioncanonicalPath
(path)
packages/cli/tests/qwen-wrap.runtime.mjs:180
↓ 6 callersFunctionchatgptTestServer
chatgptTestServer wires a Server whose /chatgpt upstream is a local stub.
proxy/internal/gateway/chatgpt_test.go:44
↓ 6 callersFunctioncheckedNonNegativeSum
(values ...int64)
proxy/internal/store/usage_import.go:655
↓ 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:993
↓ 6 callersFunctionconsumeOptionalChainToken
(source: string, start: number)
packages/agent/src/source-graph.ts:700
↓ 6 callersFunctioncontainsType
(objects []ccr.Object, objectType ccr.ObjectType)
proxy/internal/nativeruntime/runtime_test.go:1406
↓ 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 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:969
↓ 6 callersFunctionfauxAssistantMessage
(...args)
packages/agent/tests/framework.runtime.mjs:98
↓ 6 callersFunctionfields
(pairs ...string)
engine/compressors/invariants_test.go:21
↓ 6 callersFunctionfinish
()
packages/cli/src/index.ts:5529
← previousnext →401–500 of 8,033, ranked by callers