Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,391 in github.com/JuliusBrussee/caveman
⨍
Functions
12,391
◇
Types & classes
1,304
↳
Endpoints
5
↓ 2 callers
Function
textMarker
(n int)
engine/compressors/text.go:23
↓ 2 callers
Function
textToImageBlocksAnthropic
(text string, cols int, numCols int, style RenderStyle, rp renderParams)
engine/pixel/transform_anthropic.go:1020
↓ 2 callers
Method
thinking
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 callers
Function
thinkingOff
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 callers
Function
thoughtOf
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 callers
Method
thoughts
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 callers
Function
tick
()
packages/middleware/typescript/tests/runtime-fixture.mjs:61
↓ 2 callers
Function
tick
()
packages/sdk/typescript/tests/middleware-hardening.runtime.mjs:22
↓ 2 callers
Function
tilde
(path: string)
packages/cli/src/modules/apply.ts:130
↓ 2 callers
Method
to_dict
(self)
packages/middleware/python/caveman_middleware/agno.py:237
↓ 2 callers
Method
token
(value)
packages/sdk/python/caveman_cloud/middleware/runtime.py:404
↓ 2 callers
Function
tokenClaim
(token: string, key: string)
packages/cli/src/index.ts:23117
↓ 2 callers
Function
tokenEqual
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 callers
Function
tokenHash
(token string)
proxy/internal/middleware/identity_test.go:44
↓ 2 callers
Function
tokenMapRuntime
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 callers
Function
tokenUser
(t *testing.T)
proxy/internal/securehome/securehome_windows_test.go:142
↓ 2 callers
Function
tokenize
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 callers
Function
tokenize
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 callers
Function
tokens
(record)
tests/installer/gemini-install.test.mjs:159
↓ 2 callers
Method
tokensPerByte
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 callers
Method
toolArgs
(call *chatCallOut, arguments string)
proxy/internal/translate/chat_stream.go:161
↓ 2 callers
Method
toolCall
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 callers
Function
toolInput
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 callers
Function
toolResultHasTwoLayerNote
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 callers
Function
toolResultSize
toolResultSize is the total content-text length a host would render.
mcp/server.go:359
↓ 2 callers
Method
toolSchemaCacheScope
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 callers
Method
toolSchemaStripApplies
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 callers
Function
toolSearch
( cave: Cave, catalog: CaveTool[], query: string, options?: { maxTools?: number; context?: string; wor
packages/sdk/typescript/src/index.ts:1578
↓ 2 callers
Method
toolStart
toolStart opens a call; its index is the order calls opened in.
proxy/internal/translate/chat_stream.go:149
↓ 2 callers
Method
toolUse
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 callers
Function
topMember
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 callers
Method
traceContext
The continuity ids every provider call in this trace puts on the wire.
packages/sdk/typescript/src/index.ts:825
↓ 2 callers
Function
traceIDFrom
(r *http.Request)
proxy/internal/gateway/proxy.go:2354
↓ 2 callers
Function
transactOwnedMcpConfig
( agent: "kilo" | "qwen", serverName: string, action: "install" | "uninstall", mcp?: { command: string
packages/cli/src/index.ts:16659
↓ 2 callers
Function
trendDelta
(metric: LearnTrendMetric)
packages/cli/src/learn-trends.ts:93
↓ 2 callers
Function
trendDirection
(cur, prior float64, better string, absBand float64)
proxy/internal/store/learn_trends.go:256
↓ 2 callers
Function
trendFmt
(v *float64, unit string)
proxy/internal/store/learn_trends.go:480
↓ 2 callers
Function
trendMetric
(t *testing.T, trends *LearnTrends, key string)
proxy/internal/store/learn_trends_test.go:20
↓ 2 callers
Function
trendSpark
(trends: LearnTrends, metric: LearnTrendMetric)
packages/cli/src/learn-trends.ts:58
↓ 2 callers
Function
trendSparkSVG
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 callers
Function
trendStore
(t *testing.T)
proxy/internal/store/detect_config_trend_test.go:10
↓ 2 callers
Function
trimCCRReference
(value string)
proxy/internal/nativeruntime/receipt.go:257
↓ 2 callers
Function
trimValue
trimValue is b without surrounding space, false when b is not exactly one value.
proxy/internal/translate/jsonfast.go:110
↓ 2 callers
Function
truncVisible
(s: string, budget: number)
packages/cli/src/index.ts:23246
↓ 2 callers
Function
truncateForLog
(data []byte)
proxy/providers/usage_line_filter_test.go:87
↓ 2 callers
Method
tryLock
tryLock takes the authority's lock if no other transaction holds it.
proxy/internal/store/middleware_postgres.go:621
↓ 2 callers
Function
turns
()
packages/middleware/typescript/tests/hardening.test.mjs:312
↓ 2 callers
Function
twoLayerNoteBlock
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 callers
Method
unhold
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 callers
Function
uninstallMcpForAgent
(a: AgentProfile, serverName = "caveman")
packages/cli/src/index.ts:14787
↓ 2 callers
Function
uniqStrings
(in []string)
proxy/internal/store/usage_import.go:683
↓ 2 callers
Function
uniquePath
(path: string, suffix: string)
packages/cli/src/modules/index-file.ts:52
↓ 2 callers
Function
uniqueStrings
(values: string[])
packages/cli/src/index.ts:11961
↓ 2 callers
Function
unquote
(value)
tests/installer/gemini-agents.test.mjs:38
↓ 2 callers
Method
unreadable
(id string)
engine/ccr/store_repair.go:252
↓ 2 callers
Function
unsafeForwardHeader
(name string, nominated map[string]struct{})
proxy/internal/gateway/headers.go:34
↓ 2 callers
Function
unsignedThinking
--- native bodies ---------------------------------------------------------- unsignedThinking reports a thinking signature or redacted data left empty
proxy/internal/translate/translate.go:1113
↓ 2 callers
Function
untilAborted
(promise: PromiseLike<T>, signal?: AbortSignal)
packages/sdk/typescript/src/middleware/runtime.ts:138
↓ 2 callers
Function
unwrapCodexExec
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 callers
Function
unwrapFileWrapper
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 callers
Function
unwrapListing
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 callers
Function
upgradeAdvice
(name: Framework, version: string)
packages/middleware/typescript/src/compatibility.ts:31
↓ 2 callers
Function
upstreamGone
()
src/mcp-servers/caveman-shrink/shutdown.js:37
↓ 2 callers
Function
upstreamHostFor
(provider: string | undefined)
packages/pi-extension/src/protocol.ts:129
↓ 2 callers
Function
usage
(value: unknown)
packages/middleware/typescript/src/google.ts:51
↓ 2 callers
Function
usage
(value: LanguageModelV4Usage)
packages/middleware/typescript/src/ai-sdk.ts:32
↓ 2 callers
Method
usageParseProvider
usageParseProvider is the provider key usage accounting parses with.
proxy/providers/adapter.go:501
↓ 2 callers
Function
usageStreamCorpus
()
proxy/providers/usage_line_filter_test.go:8
↓ 2 callers
Function
usage_for
Deterministic per-arm usage: input grows with the system prompt.
tests/test_eval_llm_run.py:40
↓ 2 callers
Function
useKeychain
()
packages/cli/src/modules/provider-logins.ts:127
↓ 2 callers
Function
validDigestList
(value string, limit int)
proxy/internal/store/store.go:1181
↓ 2 callers
Function
validGatewayDigest
(value string)
proxy/internal/gateway/proxy.go:1327
↓ 2 callers
Function
validMcpMarkerBytes
(bytes: Buffer, agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:16480
↓ 2 callers
Function
validModelIdentifier
(modelID string)
proxy/providers/bedrock/routing.go:476
↓ 2 callers
Function
validReceiptDay
(day: unknown)
packages/cli/src/index.ts:22134
↓ 2 callers
Function
validStatsSpendUsage
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 callers
Function
validStatsUsage
(usage providers.UsageObservation)
proxy/internal/gateway/stats_accounting.go:259
↓ 2 callers
Function
validText
--- text --------------------------------------------------------------------- validText is body with every invalid UTF-8 byte and every lone surrogat
proxy/internal/translate/jsonfast.go:658
↓ 2 callers
Function
validWarmClass
validWarmClass reports whether c is a key warmClassKey can produce.
proxy/internal/gateway/cache_warm_table.go:111
↓ 2 callers
Function
validYAML
(input []byte)
engine/compressors/config.go:170
↓ 2 callers
Function
validate
(state State, checks validators)
proxy/internal/runstate/runstate.go:206
↓ 2 callers
Function
validate
(pack Pack)
proxy/internal/nativepack/pack.go:91
↓ 2 callers
Method
validate
(req OptimizeRequest, n negotiated)
proxy/internal/middleware/validate.go:34
↓ 2 callers
Function
validateCurrentness
(value Currentness)
engine/ccr/store.go:188
↓ 2 callers
Function
validateEvent
(input: unknown)
supabase/functions/cli-telemetry/ingest.ts:79
↓ 2 callers
Function
validateHookFields
(settings)
installer/lib/settings.js:180
↓ 2 callers
Function
validateHostPort
(ctx context.Context, host, port string, cfg Config)
shared/platform/ssrf/ssrf.go:266
↓ 2 callers
Function
validateLifecycle
(value Lifecycle)
engine/ccr/store.go:195
↓ 2 callers
Function
validateLocation
(region, keyID string)
shared/platform/kms/kms.go:336
↓ 2 callers
Function
validateMemorySize
(text string)
mem/store.go:290
↓ 2 callers
Function
validatePage
(value: unknown, args: RetrieveArgs, maxBytes: number)
packages/sdk/typescript/src/middleware/validate.ts:127
↓ 2 callers
Function
validatePathComponents
(path, rawPath string)
proxy/providers/openaicompat/openaicompat.go:515
↓ 2 callers
Function
validatePlan
(value: unknown, request: OptimizeRequest, inputDigest: string, caps: PlanCapabilities)
packages/sdk/typescript/src/middleware/validate.ts:82
↓ 2 callers
Function
validateProductionPublicURL
()
shared/platform/env/env.go:113
↓ 2 callers
Function
validateProductionTextSecrets
(names []string)
shared/platform/env/env.go:97
↓ 2 callers
Function
validateSQLiteParentSecurity
(path string, info os.FileInfo)
engine/ccr/sqlite_parent_security_posix.go:12
↓ 2 callers
Function
value
(key: CapabilityKey)
packages/cli/src/index.ts:4733
↓ 2 callers
Function
valueOrQuestion
(s string)
engine/pixel/transform_anthropic.go:1496
↓ 2 callers
Function
verifiedChatGPTSubscriptionRoute
( gateway: string, api: string | undefined, provider: string, originalBaseUrl: string | undefined, publish
packages/cli/src/provider-routing.ts:61
↓ 2 callers
Method
verify
(handle: string, originalText: string)
packages/pi-extension/src/recovery.ts:101
← previous
next →
4,001–4,100 of 12,391, ranked by callers