MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctiontextMarker
(n int)
engine/compressors/text.go:23
↓ 2 callersFunctiontextToImageBlocksAnthropic
(text string, cols int, numCols int, style RenderStyle, rp renderParams)
engine/pixel/transform_anthropic.go:1020
↓ 2 callersMethodthinking
thinking pushes the reasoning a decoded envelope block carries when route may see it (an Anthropic-signed block for Anthropic, the route's own namespa
proxy/internal/translate/msgbuild.go:204
↓ 2 callersFunctionthinkingOff
thinkingOff is thinking off as model id takes it at effort: Sonnet 5.5 only {type: between_tools} alone, at effort high or below; `disabled` where thi
proxy/internal/translate/effort.go:159
↓ 2 callersFunctionthoughtOf
thoughtOf reads a carrier made with tag: the call it rode on and the signature (base64: the last ':' ends the call id); false for anything else.
proxy/internal/translate/messages.go:79
↓ 2 callersMethodthoughts
thoughts is how the route takes the thought signatures of its tool calls back (Gemini, extra_content): the thoughtTag of what it wrote, and the stand-
proxy/internal/translate/messages.go:93
↓ 2 callersFunctiontick
()
packages/middleware/typescript/tests/runtime-fixture.mjs:61
↓ 2 callersFunctiontick
()
packages/sdk/typescript/tests/middleware-hardening.runtime.mjs:22
↓ 2 callersFunctiontilde
(path: string)
packages/cli/src/modules/apply.ts:130
↓ 2 callersMethodto_dict
(self)
packages/middleware/python/caveman_middleware/agno.py:237
↓ 2 callersMethodtoken
(value)
packages/sdk/python/caveman_cloud/middleware/runtime.py:404
↓ 2 callersFunctiontokenClaim
(token: string, key: string)
packages/cli/src/index.ts:23117
↓ 2 callersFunctiontokenEqual
tokenEqual compares a presented secret in constant time so the port cannot be used to recover the token one byte at a time.
proxy/internal/standalone/standalone.go:109
↓ 2 callersFunctiontokenHash
(token string)
proxy/internal/middleware/identity_test.go:44
↓ 2 callersFunctiontokenMapRuntime
tokenMapRuntime is the fixture runtime behind a real identity resolver: the legacy token plus a token map with the given YAML entries.
proxy/internal/middleware/identity_test.go:26
↓ 2 callersFunctiontokenUser
(t *testing.T)
proxy/internal/securehome/securehome_windows_test.go:142
↓ 2 callersFunctiontokenize
tokenize splits a unit into its word/number tokens, optionally collapsing each run of digits to "#", and reports how many tokens carry a letter.
engine/compressors/redundancy.go:186
↓ 2 callersFunctiontokenize
tokenize lowercases and splits on any non-alphanumeric rune. It is deterministic — the same text always yields the same tokens — which keeps recall re
mem/bm25.go:18
↓ 2 callersFunctiontokens
(record)
tests/installer/gemini-install.test.mjs:159
↓ 2 callersMethodtokensPerByte
tokensPerByte is the provider's input tokens per request byte in key's session, its parent's first (a forked child resends the parent's history, which
proxy/internal/gateway/route_cache.go:146
↓ 2 callersMethodtoolArgs
(call *chatCallOut, arguments string)
proxy/internal/translate/chat_stream.go:161
↓ 2 callersMethodtoolCall
toolCall opens a tool_use block the first time a chat tool index appears and streams its arguments as partial JSON after that. An upstream that sends
proxy/internal/translate/messages_stream.go:390
↓ 2 callersFunctiontoolInput
toolInput keeps arguments a model emitted as invalid JSON rather than losing them: the caller sees the raw string under `_raw`.
proxy/internal/translate/messages.go:214
↓ 2 callersFunctiontoolResultHasTwoLayerNote
toolResultHasTwoLayerNote reports whether a tool_result block carries a text block teaching the red/blue reading convention.
engine/pixel/transform_anthropic_twolayer_test.go:14
↓ 2 callersFunctiontoolResultSize
toolResultSize is the total content-text length a host would render.
mcp/server.go:359
↓ 2 callersMethodtoolSchemaCacheScope
toolSchemaCacheScope returns the suffix the strip contributes to a prefix-cache scope key. It is empty when the lever is off, so every pre-existing sc
proxy/internal/gateway/toolschema_strip.go:65
↓ 2 callersMethodtoolSchemaStripApplies
toolSchemaStripApplies is toolSchemaStripAllowed without the ledger: the strip would run here if the session's harm tripwire had not frozen it.
proxy/internal/gateway/toolschema_strip.go:52
↓ 2 callersFunctiontoolSearch
( cave: Cave, catalog: CaveTool[], query: string, options?: { maxTools?: number; context?: string; wor
packages/sdk/typescript/src/index.ts:1578
↓ 2 callersMethodtoolStart
toolStart opens a call; its index is the order calls opened in.
proxy/internal/translate/chat_stream.go:149
↓ 2 callersMethodtoolUse
toolUse pushes an assistant tool call; arguments is the call's arguments as a JSON string token (sent as the input object), or input an object already
proxy/internal/translate/msgbuild.go:177
↓ 2 callersFunctiontopMember
topMember is the value of key among the members of the object data (the last of duplicates), nil when absent or data is no object. It reads the member
proxy/internal/translate/jsonfast.go:447
↓ 2 callersMethodtraceContext
The continuity ids every provider call in this trace puts on the wire.
packages/sdk/typescript/src/index.ts:825
↓ 2 callersFunctiontraceIDFrom
(r *http.Request)
proxy/internal/gateway/proxy.go:2354
↓ 2 callersFunctiontransactOwnedMcpConfig
( agent: "kilo" | "qwen", serverName: string, action: "install" | "uninstall", mcp?: { command: string
packages/cli/src/index.ts:16659
↓ 2 callersFunctiontrendDelta
(metric: LearnTrendMetric)
packages/cli/src/learn-trends.ts:93
↓ 2 callersFunctiontrendDirection
(cur, prior float64, better string, absBand float64)
proxy/internal/store/learn_trends.go:256
↓ 2 callersFunctiontrendFmt
(v *float64, unit string)
proxy/internal/store/learn_trends.go:480
↓ 2 callersFunctiontrendMetric
(t *testing.T, trends *LearnTrends, key string)
proxy/internal/store/learn_trends_test.go:20
↓ 2 callersFunctiontrendSpark
(trends: LearnTrends, metric: LearnTrendMetric)
packages/cli/src/learn-trends.ts:58
↓ 2 callersFunctiontrendSparkSVG
trendSparkSVG draws one metric's weekly series: a polyline broken at null buckets, one dot per measured week, the compared week emphasized, and a dash
proxy/internal/store/learn_trends.go:518
↓ 2 callersFunctiontrendStore
(t *testing.T)
proxy/internal/store/detect_config_trend_test.go:10
↓ 2 callersFunctiontrimCCRReference
(value string)
proxy/internal/nativeruntime/receipt.go:257
↓ 2 callersFunctiontrimValue
trimValue is b without surrounding space, false when b is not exactly one value.
proxy/internal/translate/jsonfast.go:110
↓ 2 callersFunctiontruncVisible
(s: string, budget: number)
packages/cli/src/index.ts:23246
↓ 2 callersFunctiontruncateForLog
(data []byte)
proxy/providers/usage_line_filter_test.go:87
↓ 2 callersMethodtryLock
tryLock takes the authority's lock if no other transaction holds it.
proxy/internal/store/middleware_postgres.go:621
↓ 2 callersFunctionturns
()
packages/middleware/typescript/tests/hardening.test.mjs:312
↓ 2 callersFunctiontwoLayerNoteBlock
twoLayerNoteBlock returns the per-block reader instruction to place next to a rendered group that produced any 2-layer overlay image, or nil for singl
engine/pixel/transform_anthropic.go:102
↓ 2 callersMethodunhold
unhold forgets the model key's previous request went to: a held model that did not serve (a limit, an overload, a refusal the replay got too) is not h
proxy/internal/gateway/route.go:688
↓ 2 callersFunctionuninstallMcpForAgent
(a: AgentProfile, serverName = "caveman")
packages/cli/src/index.ts:14787
↓ 2 callersFunctionuniqStrings
(in []string)
proxy/internal/store/usage_import.go:683
↓ 2 callersFunctionuniquePath
(path: string, suffix: string)
packages/cli/src/modules/index-file.ts:52
↓ 2 callersFunctionuniqueStrings
(values: string[])
packages/cli/src/index.ts:11961
↓ 2 callersFunctionunquote
(value)
tests/installer/gemini-agents.test.mjs:38
↓ 2 callersMethodunreadable
(id string)
engine/ccr/store_repair.go:252
↓ 2 callersFunctionunsafeForwardHeader
(name string, nominated map[string]struct{})
proxy/internal/gateway/headers.go:34
↓ 2 callersFunctionunsignedThinking
--- native bodies ---------------------------------------------------------- unsignedThinking reports a thinking signature or redacted data left empty
proxy/internal/translate/translate.go:1113
↓ 2 callersFunctionuntilAborted
(promise: PromiseLike<T>, signal?: AbortSignal)
packages/sdk/typescript/src/middleware/runtime.ts:138
↓ 2 callersFunctionunwrapCodexExec
unwrapCodexExec finds the result line with the largest `output` string. A line qualifies only when it is a JSON object ending in its `output` string (
engine/codexexec.go:36
↓ 2 callersFunctionunwrapFileWrapper
unwrapFileWrapper separates a single whole-content `<file …>…</file>` wrapper from the content it decorates. It is deliberately conservative: it requi
engine/filewrap.go:31
↓ 2 callersFunctionunwrapListing
unwrapListing separates a line-number gutter from the content it decorates. When the input is not a listing it returns the input unchanged and a wrapp
engine/listing.go:25
↓ 2 callersFunctionupgradeAdvice
(name: Framework, version: string)
packages/middleware/typescript/src/compatibility.ts:31
↓ 2 callersFunctionupstreamGone
()
src/mcp-servers/caveman-shrink/shutdown.js:37
↓ 2 callersFunctionupstreamHostFor
(provider: string | undefined)
packages/pi-extension/src/protocol.ts:129
↓ 2 callersFunctionusage
(value: unknown)
packages/middleware/typescript/src/google.ts:51
↓ 2 callersFunctionusage
(value: LanguageModelV4Usage)
packages/middleware/typescript/src/ai-sdk.ts:32
↓ 2 callersMethodusageParseProvider
usageParseProvider is the provider key usage accounting parses with.
proxy/providers/adapter.go:501
↓ 2 callersFunctionusageStreamCorpus
()
proxy/providers/usage_line_filter_test.go:8
↓ 2 callersFunctionusage_for
Deterministic per-arm usage: input grows with the system prompt.
tests/test_eval_llm_run.py:40
↓ 2 callersFunctionuseKeychain
()
packages/cli/src/modules/provider-logins.ts:127
↓ 2 callersFunctionvalidDigestList
(value string, limit int)
proxy/internal/store/store.go:1181
↓ 2 callersFunctionvalidGatewayDigest
(value string)
proxy/internal/gateway/proxy.go:1327
↓ 2 callersFunctionvalidMcpMarkerBytes
(bytes: Buffer, agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:16480
↓ 2 callersFunctionvalidModelIdentifier
(modelID string)
proxy/providers/bedrock/routing.go:476
↓ 2 callersFunctionvalidReceiptDay
(day: unknown)
packages/cli/src/index.ts:22134
↓ 2 callersFunctionvalidStatsSpendUsage
A provider error prevents counterfactual savings, but complete observed billing buckets can still carry a known published-price spend estimate.
proxy/internal/gateway/stats_accounting.go:265
↓ 2 callersFunctionvalidStatsUsage
(usage providers.UsageObservation)
proxy/internal/gateway/stats_accounting.go:259
↓ 2 callersFunctionvalidText
--- text --------------------------------------------------------------------- validText is body with every invalid UTF-8 byte and every lone surrogat
proxy/internal/translate/jsonfast.go:658
↓ 2 callersFunctionvalidWarmClass
validWarmClass reports whether c is a key warmClassKey can produce.
proxy/internal/gateway/cache_warm_table.go:111
↓ 2 callersFunctionvalidYAML
(input []byte)
engine/compressors/config.go:170
↓ 2 callersFunctionvalidate
(state State, checks validators)
proxy/internal/runstate/runstate.go:206
↓ 2 callersFunctionvalidate
(pack Pack)
proxy/internal/nativepack/pack.go:91
↓ 2 callersMethodvalidate
(req OptimizeRequest, n negotiated)
proxy/internal/middleware/validate.go:34
↓ 2 callersFunctionvalidateCurrentness
(value Currentness)
engine/ccr/store.go:188
↓ 2 callersFunctionvalidateEvent
(input: unknown)
supabase/functions/cli-telemetry/ingest.ts:79
↓ 2 callersFunctionvalidateHookFields
(settings)
installer/lib/settings.js:180
↓ 2 callersFunctionvalidateHostPort
(ctx context.Context, host, port string, cfg Config)
shared/platform/ssrf/ssrf.go:266
↓ 2 callersFunctionvalidateLifecycle
(value Lifecycle)
engine/ccr/store.go:195
↓ 2 callersFunctionvalidateLocation
(region, keyID string)
shared/platform/kms/kms.go:336
↓ 2 callersFunctionvalidateMemorySize
(text string)
mem/store.go:290
↓ 2 callersFunctionvalidatePage
(value: unknown, args: RetrieveArgs, maxBytes: number)
packages/sdk/typescript/src/middleware/validate.ts:127
↓ 2 callersFunctionvalidatePathComponents
(path, rawPath string)
proxy/providers/openaicompat/openaicompat.go:515
↓ 2 callersFunctionvalidatePlan
(value: unknown, request: OptimizeRequest, inputDigest: string, caps: PlanCapabilities)
packages/sdk/typescript/src/middleware/validate.ts:82
↓ 2 callersFunctionvalidateProductionPublicURL
()
shared/platform/env/env.go:113
↓ 2 callersFunctionvalidateProductionTextSecrets
(names []string)
shared/platform/env/env.go:97
↓ 2 callersFunctionvalidateSQLiteParentSecurity
(path string, info os.FileInfo)
engine/ccr/sqlite_parent_security_posix.go:12
↓ 2 callersFunctionvalue
(key: CapabilityKey)
packages/cli/src/index.ts:4733
↓ 2 callersFunctionvalueOrQuestion
(s string)
engine/pixel/transform_anthropic.go:1496
↓ 2 callersFunctionverifiedChatGPTSubscriptionRoute
( gateway: string, api: string | undefined, provider: string, originalBaseUrl: string | undefined, publish
packages/cli/src/provider-routing.ts:61
↓ 2 callersMethodverify
(handle: string, originalText: string)
packages/pi-extension/src/recovery.ts:101
← previousnext →4,001–4,100 of 12,391, ranked by callers