MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions7,561 in github.com/JuliusBrussee/caveman

↓ 3 callersFunctionassertSupportedUpstream
( identity: HarnessAdapterIdentity, expected: string, harness: string, pkg: string, )
packages/agent/src/adapters.ts:575
↓ 3 callersFunctionassertUsage
(t *testing.T, u UsageObservation, in, out, cached, cacheCreate, reasoning int)
proxy/providers/adapter_usage_test.go:586
↓ 3 callersFunctionassistantMessage
(selected, content, stopReason, used)
packages/agent/tests/budget.runtime.mjs:64
↓ 3 callersFunctionatlasBit
(rank, row, col int)
engine/pixel/atlas.go:135
↓ 3 callersFunctionatlasGrayByte
(rank, row, col int)
engine/pixel/atlas.go:146
↓ 3 callersFunctionatomicWriteStream
(path string, write func(io.Writer) error)
cacheengine/cmd/cache-replay/main.go:457
↓ 3 callersFunctionbackendID
(n axNode)
engine/compressors/axtree.go:284
↓ 3 callersFunctionbaseReport
(basis string, scenario Scenario, target Target, qualityBasis string)
cacheengine/cachebench/simulate.go:469
↓ 3 callersFunctionbedrockCounter
(m map[string]any, keys ...string)
proxy/providers/bedrock/usage.go:467
↓ 3 callersFunctionbenchChatBody
── live-zone cost ──────────────────────────────────────────────────────────── ExtractCompressible discards every frozen block, so walking the histor
proxy/providers/openai/content_compress_test.go:174
↓ 3 callersFunctionbenchContentsBody
── live-zone cost ──────────────────────────────────────────────────────────── ExtractCompressible discards every frozen turn, so walking the history
proxy/providers/gemini/content_compress_test.go:66
↓ 3 callersFunctionbinaryInstallFilename
(name: string, os: string = process.platform)
packages/cli/src/index.ts:1942
↓ 3 callersFunctionblockAny
(block map[string]any, key string)
engine/pixel/transform_anthropic.go:1393
↓ 3 callersFunctionbm25Scores
bm25Scores scores every memory against the query and returns id → score. A memory with no query-term overlap scores 0. IDF uses the +1 smoothed form,
mem/bm25.go:51
↓ 3 callersFunctionboundedHookString
(value: unknown, max = 160)
packages/cli/src/index.ts:10080
↓ 3 callersFunctionbrevityPolicy
(flag, gate bool)
proxy/providers/openai/output_brevity_test.go:9
↓ 3 callersFunctionbuild
(args: string[])
packages/agent/src/cli.ts:697
↓ 3 callersFunctionbuildEngineEnv
()
packages/agent/src/runtime.ts:2884
↓ 3 callersMethodbuildPayload
Build the OTLP/JSON payload for the buffered spans (no network).
packages/sdk/typescript/src/index.ts:2198
↓ 3 callersFunctionbuildUserMessage
buildUserMessage renders the reflection window as <step id="…"> XML and names the target. Ids count backwards from the newest step, matching the paper
rewriter/prompt.go:83
↓ 3 callersMethodbuild_payload
Build the OTLP/JSON payload for the buffered spans (no network).
packages/sdk/python/caveman_cloud/core.py:1719
↓ 3 callersFunctionbumpPassthrough
(info *TransformInfo, reason string)
engine/pixel/transform_anthropic.go:1270
↓ 3 callersMethodcacheEpochAllows
cacheEpochAllows binds framework-frozen prefix identity to gateway transform authorization without putting prompt bytes in headers or telemetry. Legac
proxy/internal/gateway/proxy.go:678
↓ 3 callersMethodcallBoolOnNode
(ctx context.Context, target Target, fn string)
browse/cdp.go:372
↓ 3 callersFunctioncandidateSupports
(c Candidate, f Features)
proxy/routing/routing.go:610
↓ 3 callersFunctioncanonicalJSON
(value: unknown)
packages/sdk/typescript/src/index.ts:1938
↓ 3 callersFunctioncanonicalJSONValue
(input []byte)
engine/compressors/toon_decode.go:314
↓ 3 callersFunctioncaptureStdout
(t *testing.T, fn func())
engine/cmd/caveman-engine/main_test.go:139
↓ 3 callersMethodcarve
* Carve a subagent wallet out of what this meter has left. * * The whole wallet is held against the parent the moment the child is * spawned,
packages/agent/src/budget.ts:376
↓ 3 callersMethodcatalog
catalog walks the top-level value: an array of tool envelopes, or one envelope.
engine/compressors/toolschema_annotations.go:129
↓ 3 callersFunctioncatalogVersion
(verifiedAt string)
shared/platform/catalog/catalog.go:212
↓ 3 callersMethodcavePlan
* Read this project's Cave Plan machine-readably (`GET /sdk/v1/cave-plan`), * authed by the project key's `plan:read` scope. Returns the project-sc
packages/sdk/typescript/src/index.ts:593
↓ 3 callersFunctioncavemanSpanProcessor
(options: CavemanSpanProcessorOptions = {})
packages/mastra/src/index.ts:337
↓ 3 callersFunctionccrPath
(home string)
proxy/cmd/caveman-proxy/main.go:726
↓ 3 callersFunctionceilDiv
(a, b int)
engine/image/tokens.go:354
↓ 3 callersFunctionceilDiv
(a, b int)
engine/pixel/pricing.go:65
↓ 3 callersFunctioncellsFor
(cp rune, markerScale int)
engine/pixel/render.go:84
↓ 3 callersFunctioncheck
(args: string[])
packages/agent/src/cli.ts:930
↓ 3 callersFunctioncheckLock
(lock: CaveBuildLock, current: { sourceSha256: string; agentDefinitionSha256: string; contextIRSha256: s
packages/agent/src/build.ts:474
↓ 3 callersFunctioncheckedAdd
(a, b int)
proxy/providers/adapter.go:1394
↓ 3 callersFunctionclassifyTelemetryError
(error: unknown)
packages/cli/src/index.ts:765
↓ 3 callersFunctionclaudeMcpRegistration
(serverName: string)
packages/cli/src/index.ts:2290
↓ 3 callersFunctionclaudeRoot
claudeRoot / codexRoot resolve the agent config dirs, env-overridable for tests.
proxy/internal/store/config_scan.go:36
↓ 3 callersFunctionclaudeUserTurn
claudeUserTurn builds a Claude transcript user turn carrying one text block.
proxy/internal/store/trial_feature_test.go:709
↓ 3 callersFunctioncleanup
(path)
shrink/bin/binary-installer.generated.mjs:123
↓ 3 callersFunctioncloneJsonValue
(v: T)
packages/cli/src/index.ts:7383
↓ 3 callersFunctioncodeCompressor
(t *testing.T)
engine/compressors/code_test.go:12
↓ 3 callersFunctioncodexHomeDir
()
packages/cli/src/index.ts:5405
↓ 3 callersFunctioncodexHooksPath
()
packages/cli/src/index.ts:10650
↓ 3 callersFunctioncodexPathsUntil
codexPathsUntil preserves codexPaths' discovery contract while allowing the first-run behavior scan to stop a huge cold tree. Other import callers pas
proxy/internal/store/usage_import.go:162
↓ 3 callersFunctioncodexRoot
()
proxy/internal/store/config_scan.go:47
↓ 3 callersFunctioncollectDataImageStrings
(v any)
engine/pixel/transform_openai_test.go:360
↓ 3 callersFunctioncollectImageData
(blocks []any)
engine/pixel/transform_anthropic_test.go:428
↓ 3 callersFunctioncollectStringCandidate
(body []byte, span jsonSpan, out *[]spliceCandidate, allowForcedTOON bool)
proxy/providers/openai/content_compress.go:389
↓ 3 callersMethodcolsPerPage
colsPerPage is how many columns fit in a canvas of the given width at this cell advance, accounting for the glyph overhang of the final column.
engine/pixel/density.go:194
↓ 3 callersFunctioncompactLearnText
(value: string, max = 108)
packages/cli/src/index.ts:12019
↓ 3 callersMethodcompress
* Compress a payload through the Engine (`POST /sdk/v1/compress`), returning * the Engine's report. The SDK is **not** the compressor — it delegate
packages/sdk/typescript/src/index.ts:547
↓ 3 callersMethodcompress
(input []byte, query string)
engine/compressors/json.go:81
↓ 3 callersFunctioncompressUsagePayload
(t *testing.T, encoding string, body []byte)
proxy/providers/adapter_usage_test.go:524
↓ 3 callersMethodconfigTaxPerTurn
configTaxPerTurn is the token tax loaded on every turn: CLAUDE.md (user + project) + the skill catalog. Hooks/plugins are reported as counts, not fold
proxy/internal/store/config_scan.go:129
↓ 3 callersFunctioncontainsStr
(xs []string, want string)
proxy/internal/gateway/compress_test.go:295
↓ 3 callersFunctioncontainsString
(list []string, want string)
engine/pixel/factsheet_test.go:101
↓ 3 callersFunctioncontentText
(content json.RawMessage)
cacheengine/cachebench/corpus.go:726
↓ 3 callersFunctioncontextBill
(ir: ContextIR)
packages/agent/src/context-ir.ts:311
↓ 3 callersFunctioncontextIRToWire
(ir: ContextIR)
packages/agent/src/context-ir.ts:60
↓ 3 callersFunctionconvertSkillTarget
(target: SkillTarget, opts: ConvertOptions)
packages/cli/src/index.ts:1045
↓ 3 callersFunctioncount
(value: number)
packages/agent/src/code.ts:877
↓ 3 callersFunctioncreateCodingAgent
(options: CodingAgentOptions = {})
packages/agent/src/code.ts:176
↓ 3 callersFunctioncredentialsPath
()
packages/cli/src/index.ts:14536
↓ 3 callersMethoddecide
* Route one task, locally and synchronously. No network, no throw — a garbage * context, a malformed policy, or a missing bundle all resolve to a
packages/sdk/typescript/src/index.ts:1167
↓ 3 callersFunctiondecodeBedrockObject
decodeBedrockObject preserves integer lexemes as json.Number. Decoding into float64 first loses precision above 2^53 and could turn an invalid/overflo
proxy/providers/bedrock/usage.go:533
↓ 3 callersFunctiondecodeCachePointBody
(t *testing.T, body []byte)
proxy/providers/bedrock/cache_points_test.go:42
↓ 3 callersFunctiondecodeJSONString
(raw []byte)
proxy/providers/anthropic/splice.go:178
↓ 3 callersFunctiondecodeJSONString
(raw []byte)
proxy/providers/openai/content_compress.go:581
↓ 3 callersFunctiondecodeReceiptKey
(info: ReceiptPublicKey, label: string)
packages/cli/src/index.ts:13668
↓ 3 callersFunctiondeepFreeze
(value: T)
packages/agent/src/adapters.ts:608
↓ 3 callersFunctiondefaultWrapOptions
()
packages/cli/src/index.ts:3080
↓ 3 callersFunctionderiveSavings
({ byMode, model })
src/hooks/caveman-stats.js:256
↓ 3 callersFunctiondetectLearningLoops
(calls []learnToolCall, sessionRef string)
proxy/internal/store/learn_loops.go:38
↓ 3 callersFunctiondetect_file_type
Classify a file as 'natural_language', 'code', 'config', or 'unknown'. Returns: One of: 'natural_language', 'code', 'config', 'unknown'
plugins/caveman/skills/caveman-compress/scripts/detect.py:72
↓ 3 callersMethoddiagnostics
()
packages/mastra/src/index.ts:310
↓ 3 callersFunctiondie
(msg)
integrations/compile.mjs:49
↓ 3 callersFunctiondie
(message)
skills/compile.mjs:31
↓ 3 callersFunctiondie
(msg)
bin/install.js:161
↓ 3 callersFunctiondigestPath
(target)
bin/lib/owned-install.js:63
↓ 3 callersFunctiondirectiveBegin
(id: string)
packages/cli/src/index.ts:11119
↓ 3 callersFunctiondirectiveEnd
(id: string)
packages/cli/src/index.ts:11122
↓ 3 callersFunctiondirectiveMarkerPath
(id: string)
packages/cli/src/index.ts:11544
↓ 3 callersFunctiondisableNativeAgent
(target: NativeAgent)
packages/cli/src/index.ts:7093
↓ 3 callersFunctiondiscoverTargetsInRoot
(root: string, skill: string, agent?: string)
packages/cli/src/index.ts:1027
↓ 3 callersMethoddo
(ctx context.Context, endpoint string, body map[string]any, headers map[string]string)
rewriter/provider.go:172
↓ 3 callersFunctiondownloadTo
(url, dest)
bin/install.js:1093
↓ 3 callersFunctiondurationMS
durationMS computes a non-negative millisecond duration from two unix-nanos.
shared/platform/importers/importers.go:337
↓ 3 callersFunctionelidedBytesFor
elidedBytesFor returns the run size that makes summaryBudget yield exactly want, so budget-pressure tests state the budget they mean instead of a magi
engine/compressors/invariants_test.go:14
↓ 3 callersFunctionelisionNote
elisionNote is the single trailing line that tells the agent how to read a view that has had units elided. Every clause is a property the elider actua
engine/compressors/invariants.go:686
↓ 3 callersFunctionemitCompressResult
emitCompressResult preserves the engine's byte-safety contract at the CLI boundary. CCR failures are expected operational conditions: the engine has a
engine/cmd/caveman-engine/main.go:121
↓ 3 callersFunctionencodeTOON
encodeTOON returns TOON bytes with ok=true only when v is in the supported, proven-round-trip subset. Unsupported shapes return ok=false so callers ca
engine/compressors/toon_encode.go:50
↓ 3 callersFunctionencodeTOONScalar
(v toonValue, delimiter byte)
engine/compressors/toon_encode.go:348
↓ 3 callersFunctionendpointKindForPath
(path string)
proxy/providers/bedrock/routing.go:213
↓ 3 callersFunctionengineCompress
( input: Uint8Array, engineBin: string | undefined, contentType = "text", signal?: AbortSignal, )
packages/agent/src/runtime.ts:2760
← previousnext →1,001–1,100 of 7,561, ranked by callers