MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 3 callersMethodarmCacheWarm
armCacheWarm plans the warm chain of the stream whose request was just answered (the exact bytes and headers that were answered, at zero output, for t
proxy/internal/gateway/cache_warm.go:614
↓ 3 callersFunctionarmSession
(day int, tokens int64, turns, errors int)
proxy/internal/store/learn_experiment_test.go:27
↓ 3 callersFunctionaskBody
askBody is the ask's JSON within askBodyMax. Escaping can grow text past it (a control byte encodes as six), so then text keeps its longest end that f
proxy/internal/cloudlink/link.go:1076
↓ 3 callersMethodassemble
* Build a provider request with stable/session slots above every volatile * slot. Pure client-side: no account and no network call. * * Stabi
packages/sdk/typescript/src/index.ts:579
↓ 3 callersFunctionassertCachedPrefixPreserved
(t testing.TB, xs []exchange)
proxy/internal/gateway/cache_prefix_invariant_test.go:103
↓ 3 callersFunctionassertFrozenPrefixByteEqual
assertFrozenPrefixByteEqual asserts the upstream body is byte-identical to the client body for every byte before the live-zone content (located by mar
proxy/internal/gateway/live_zone_test.go:316
↓ 3 callersFunctionassertNativeHooksShape
(path: string, root: Record<string, unknown>, agentId: "claude" | "codex" | "gemini")
packages/cli/src/index.ts:8168
↓ 3 callersFunctionassertNothingElided
assertNothingElided checks the property that matters: not a byte of the payload was dropped. Some compressors report ok=true while returning their inp
engine/compressors/redundancy_test.go:35
↓ 3 callersFunctionassertUsage
(t *testing.T, u UsageObservation, in, out, cached, cacheCreate, reasoning int)
proxy/providers/adapter_usage_test.go:586
↓ 3 callersMethodassert_bounded
(self, runtime, deadline_s)
packages/sdk/python/tests/test_middleware_transport.py:215
↓ 3 callersFunctionassistantMsg
(text string)
proxy/internal/gateway/prefix_monitor_test.go:205
↓ 3 callersFunctionatlasBit
(rank, row, col int)
engine/pixel/atlas.go:135
↓ 3 callersFunctionatlasGrayByte
(rank, row, col int)
engine/pixel/atlas.go:146
↓ 3 callersFunctionbackendID
(n axNode)
engine/compressors/axtree.go:284
↓ 3 callersFunctionbedrockCounter
(m map[string]any, keys ...string)
proxy/providers/bedrock/usage.go:526
↓ 3 callersMethodbegin
(kind, prefix string, item map[string]any)
proxy/internal/translate/responses_stream.go:166
↓ 3 callersFunctionbenchBody
benchBody is a caller body in grammar of about tokens tokens.
proxy/internal/translate/bench_test.go:47
↓ 3 callersFunctionbenchChatBody
── live-zone cost ──────────────────────────────────────────────────────────── ExtractCompressible discards every frozen block, so walking the histor
proxy/providers/openai/content_compress_test.go:196
↓ 3 callersFunctionbenchContentsBody
── live-zone cost ──────────────────────────────────────────────────────────── ExtractCompressible discards every frozen turn, so walking the history
proxy/providers/gemini/content_compress_test.go:66
↓ 3 callersFunctionbenchPricedUsage
()
proxy/internal/gateway/hotpath_bench_test.go:169
↓ 3 callersFunctionbinaryInstallFilename
(name, os = process.platform)
packages/shared/binary-installer/installer.mjs:74
↓ 3 callersFunctionblockAny
(block map[string]any, key string)
engine/pixel/transform_anthropic.go:1403
↓ 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 callersFunctionbold
(value: string)
packages/cli/src/learn-tui.ts:31
↓ 3 callersFunctionboundedHookString
(value: unknown, max = 160)
packages/cli/src/index.ts:17598
↓ 3 callersFunctionbrevityPolicy
(flag, gate bool)
proxy/providers/openai/output_brevity_test.go:9
↓ 3 callersMethodbuildPayload
Build the OTLP/JSON payload for the buffered spans (no network).
packages/sdk/typescript/src/index.ts:2281
↓ 3 callersFunctionbuildProxy
(dir)
tests/middleware-e2e/harness.mjs:55
↓ 3 callersMethodbuild_payload
Build the OTLP/JSON payload for the buffered spans (no network).
packages/sdk/python/caveman_cloud/core.py:1752
↓ 3 callersFunctionbumpPassthrough
(info *TransformInfo, reason string)
engine/pixel/transform_anthropic.go:1280
↓ 3 callersFunctioncacheChurnSink
(sessions []cacheHygieneSession, perTurnHooks []string)
proxy/internal/store/detect_cache_hygiene.go:107
↓ 3 callersFunctioncacheComponentCutoff
(now time.Time)
proxy/internal/store/cache_components.go:154
↓ 3 callersFunctioncacheWarmDelay
cacheWarmDelay is Pi's refresh point: 90% of the lifetime, keeping at least ten seconds of margin. Zero means no warm.
proxy/internal/gateway/cache_warm.go:67
↓ 3 callersMethodcacheWriteTokens
()
proxy/internal/translate/messages.go:145
↓ 3 callersMethodcachedTokens
cachedTokens is the prompt tokens read from the provider's cache, in either usage dialect.
proxy/internal/translate/messages.go:138
↓ 3 callersFunctioncachedUserMsg
(text string)
proxy/internal/gateway/prefix_monitor_test.go:201
↓ 3 callersFunctioncall
(loop)
packages/middleware/python/tests/test_openai_native.py:75
↓ 3 callersMethodcall
(self, messages, tools=None, callbacks=None, available_functions=None, from_task=None, from_agent=None, respon
packages/middleware/python/tests/test_behavior.py:378
↓ 3 callersMethodcall
()
packages/sdk/python/tests/test_middleware_transport.py:296
↓ 3 callersMethodcall
(method: string, params: Record<string, unknown>, signal: AbortSignal | undefined, timeoutMs = CALL_TIMEOUT_MS
packages/pi-extension/src/recovery.ts:261
↓ 3 callersFunctioncallAccountingTool
(t *testing.T, tools []Tool, name string, args json.RawMessage)
mcp/engine_tools_stats_test.go:79
↓ 3 callersMethodcallBoolOnNode
(ctx context.Context, target Target, fn string)
browse/cdp.go:372
↓ 3 callersMethodcancel
(self, job_id: str)
packages/sdk/python/caveman_cloud/core.py:1456
↓ 3 callersFunctioncanonicalJSON
(value: unknown)
packages/sdk/typescript/src/index.ts:1955
↓ 3 callersFunctioncanonicalJSONValue
(input []byte)
engine/compressors/toon_decode.go:314
↓ 3 callersFunctioncanonicalOwnedMcpMarkerPath
(agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:13931
↓ 3 callersFunctioncapStrings
(v []string)
proxy/internal/store/detect_memory_health.go:648
↓ 3 callersFunctioncapabilityInputValue
(key: CapabilityKey, value: unknown)
packages/cli/src/index.ts:4514
↓ 3 callersFunctioncaptureStdout
(t *testing.T, fn func())
engine/cmd/caveman-engine/main_test.go:139
↓ 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:305
↓ 3 callersFunctioncaveHome
()
packages/cli/src/index.ts:23079
↓ 3 callersFunctioncavememRun
(memArgs: string[], opts: { soft?: boolean; stdin?: boolean } = {})
packages/cli/src/index.ts:21023
↓ 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:85
↓ 3 callersFunctionchatEnvelopes
chatEnvelopes are the runtime envelopes (string tokens) an assistant message's reasoning_details carry.
proxy/internal/translate/chat_in.go:65
↓ 3 callersFunctionchatgptLoginBody
chatgptLoginBody fits a Responses body to the Sign in with ChatGPT preview: store false, stream true (a non-streaming caller gets the answer assembled
proxy/internal/translate/translate.go:327
↓ 3 callersFunctioncheckAddr
checkAddr returns an error if addr is in any blocked range. host is the original hostname (or IP literal) used for allowlist matching. At dial time h
shared/platform/ssrf/ssrf.go:329
↓ 3 callersMethodcheckGeneration
checkGeneration runs with mu held. A detected generation change is terminal for this Store. A fresh process must open the restored/current database; p
engine/ccr/store_generation.go:136
↓ 3 callersFunctioncheckProfileScope
({ base, head, cwd = process.cwd() })
agents/check-profile-scope.mjs:44
↓ 3 callersFunctioncheckedAdd
(a, b int)
proxy/providers/adapter.go:1707
↓ 3 callersFunctionclassifyTelemetryError
(error: unknown)
packages/cli/src/index.ts:1719
↓ 3 callersFunctionclassify_failure
§6 client classification. Outcomes derive from error.code, never the status alone.
packages/sdk/python/caveman_cloud/middleware/protocol.py:134
↓ 3 callersFunctionclaudeMcpRegistration
(serverName: string)
packages/cli/src/index.ts:3536
↓ 3 callersFunctionclaudeOffProxyLane
(...envs: Record<string, unknown>[])
packages/cli/src/index.ts:4336
↓ 3 callersFunctionclaudeStructuredSkillReferences
(obj map[string]any)
proxy/internal/store/source_claude.go:238
↓ 3 callersFunctionclaudeUserTurn
claudeUserTurn builds a Claude transcript user turn carrying one text block.
proxy/internal/store/trial_feature_test.go:709
↓ 3 callersFunctionclaude_bin
Resolve the CLI through PATHEXT. npm installs it as claude.CMD on Windows and CreateProcess does not apply PATHEXT, so a bare "claude" raises
evals/llm_run.py:111
↓ 3 callersFunctioncleanup
(path)
shrink/bin/binary-installer.generated.mjs:127
↓ 3 callersFunctionclearSessionPrev
(claudeDir, sessionId)
src/hooks/caveman-config.js:698
↓ 3 callersFunctionclientIp
(headers: Headers)
supabase/functions/cli-telemetry/ingest.ts:243
↓ 3 callersFunctionclip
(text: string, width: number)
packages/cli/src/modules/onboard.ts:580
↓ 3 callersMethodcloseBlock
()
proxy/internal/translate/messages_stream.go:366
↓ 3 callersFunctioncloudMe
()
packages/cli/src/modules/cloud.ts:34
↓ 3 callersFunctioncmpOrString
(value, fallback string)
proxy/internal/translate/chat_stream.go:266
↓ 3 callersFunctioncodeCompressor
(t *testing.T)
engine/compressors/code_test.go:12
↓ 3 callersFunctioncodeOutcome
(code: string, status = 0, retryAfterMs: number | null = null)
packages/sdk/typescript/src/middleware/protocol.ts:28
↓ 3 callersFunctioncodexCallType
(typeName string)
proxy/internal/store/source_codex.go:228
↓ 3 callersFunctioncodexHooksTrusted
()
packages/cli/src/index.ts:10072
↓ 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:159
↓ 3 callersFunctioncodexToolName
(payload map[string]any)
proxy/internal/store/source_codex.go:232
↓ 3 callersFunctioncollectDataImageStrings
(v any)
engine/pixel/transform_openai_test.go:360
↓ 3 callersFunctioncollectImageData
(blocks []any)
engine/pixel/transform_anthropic_test.go:428
↓ 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 callersFunctioncommandRunEventOnce
(exitClass: TelemetryExitClass, errorClass?: TelemetryErrorClass)
packages/cli/src/index.ts:1566
↓ 3 callersMethodcommit
commit sends what was held and passes everything after it straight on.
proxy/internal/translate/translate.go:443
↓ 3 callersFunctioncompactLearnText
(value: string, max = 108)
packages/cli/src/index.ts:20062
↓ 3 callersMethodcompactionObservation
()
proxy/internal/store/detect_reread.go:103
↓ 3 callersFunctioncompleteUsageForPricing
()
proxy/internal/gateway/pricing_semantics_test.go:17
↓ 3 callersMethodcompletion
(self, *, scope, **kwargs)
packages/middleware/python/caveman_middleware/litellm.py:442
↓ 3 callersMethodcompress
Compress a payload through the Engine (``POST /sdk/v1/compress``). The SDK is **not** the compressor — it delegates to the Engine and maps
packages/sdk/python/caveman_cloud/core.py:778
↓ 3 callersMethodcompress
(input []byte, query string)
engine/compressors/json.go:83
↓ 3 callersFunctioncompressUsagePayload
(t *testing.T, encoding string, body []byte)
proxy/providers/adapter_usage_test.go:524
↓ 3 callersMethodconfigTrendRows
configTrendRows reads per-file first and last observations inside the window. A file with a single observation has no trend and is omitted rather than
proxy/internal/store/detect_config_trend.go:51
↓ 3 callersFunctionconfigTurnsPerDay
configTurnsPerDay is the turn rate of the sessions that actually load one config file: Claude Code reads CLAUDE.md and the Claude root's skills, Codex
proxy/internal/store/learn.go:518
↓ 3 callersFunctionconfirmLearnNudge
(token: string)
packages/cli/src/learn-autopilot.ts:388
↓ 3 callersFunctioncontainsAny
(value string, terms []string)
proxy/internal/repointel/index.go:827
↓ 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
← previousnext →1,801–1,900 of 12,391, ranked by callers