Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,853 in github.com/JuliusBrussee/caveman
⨍
Functions
12,853
◇
Types & classes
1,364
↳
Endpoints
5
↓ 2 callers
Function
stringEnd
(body []byte, start int)
engine/compressors/toolschema_annotations.go:362
↓ 2 callers
Function
stringMap
(raw: unknown)
packages/cli/src/codemode.ts:151
↓ 2 callers
Function
stringOf
(value any)
proxy/internal/cloudlink/link.go:447
↓ 2 callers
Function
stringifyForLines
(src any)
mcp/codemode/codemode.go:1180
↓ 2 callers
Function
stripBillingLine
(text string)
engine/pixel/transform_anthropic.go:701
↓ 2 callers
Function
stripChatEnvelopes
--- chat -> chat --------------------------------------------------------------------- stripChatEnvelopes removes from a chat body every runtime envel
proxy/internal/translate/chat_in.go:545
↓ 2 callers
Function
stripCodexCavemanMcpToml
(text: string)
packages/cli/src/index.ts:8056
↓ 2 callers
Function
stripCodexCavemanProviderToml
(text: string)
packages/cli/src/index.ts:7991
↓ 2 callers
Function
stripCodexHook
(doc, script)
installer/install.js:960
↓ 2 callers
Function
stripConverseCachePointsFromArray
(arr []byte)
proxy/providers/bedrock/cache_points.go:593
↓ 2 callers
Function
stripExternalCodexMcpTables
(toml: string)
packages/cli/src/codemode.ts:974
↓ 2 callers
Function
stripForeignThinking
stripForeignThinking makes a conversation that visited another provider sendable to the Messages host `route` again. Anthropic rejects a thinking bloc
proxy/internal/translate/messages.go:286
↓ 2 callers
Function
stripJson5Comments
(s: string)
packages/cli/src/index.ts:7560
↓ 2 callers
Function
stripTomlComment
(line: string)
packages/cli/src/codemode.ts:248
↓ 2 callers
Function
strippedBodies
strippedBodies counts upstream requests that carried the stripped catalog. The stripper itself runs once per catalog: later requests re-send its memoi
proxy/internal/gateway/breakpoint_plan_test.go:271
↓ 2 callers
Function
stubControlApi
({ seatWalled = false, organization = "org-test" } = {})
packages/cli/tests/harness/stub-control-api.mjs:32
↓ 2 callers
Function
stubUpstream
()
packages/cli/tests/harness/stub-upstream.mjs:19
↓ 2 callers
Method
submit
(_body: Record<string, unknown>, _options?: { latencyClass?: LatencyClass })
packages/sdk/typescript/src/index.ts:743
↓ 2 callers
Method
submit
submit queues row, then finishes it with account on its own goroutine. It reports false once the recorder is closed; the caller finishes inline.
proxy/internal/gateway/recorder.go:56
↓ 2 callers
Function
summarizeCompressed
(pairs)
src/hooks/caveman-stats.js:234
↓ 2 callers
Function
summarizeRowRun
summarizeRowRun describes a run of dropped table rows by their header-named columns.
engine/compressors/tabular.go:32
↓ 2 callers
Function
summaryBudget
summaryBudget is how many bytes of summary a run that dropped elidedBytes may buy: a quarter of them, never under invariantMinBudget so a small anomal
engine/compressors/invariants.go:622
↓ 2 callers
Function
supportsReasoningEffort
supportsReasoningEffort reports whether an OpenAI model belongs to a current reasoning family. Only reasoning models accept this parameter; setting it
proxy/providers/openai/reasoning_effort.go:157
↓ 2 callers
Function
supportsReasoningEffortForEndpoint
supportsReasoningEffortForEndpoint keeps the existing reasoning-family capability check while excluding Pro variants whose current model contracts do
proxy/providers/openai/reasoning_effort.go:180
↓ 2 callers
Function
surfaceSink
(cfg configScan)
proxy/internal/store/learn.go:748
↓ 2 callers
Method
survival
survival is P(gap > t), uniform within a bin.
proxy/internal/gateway/cache_warm_table.go:280
↓ 2 callers
Function
symbolParserBasis
()
proxy/internal/repointel/symbols_cgo.go:21
↓ 2 callers
Function
syncAutoEntries
()
packages/cli/src/index.ts:4363
↓ 2 callers
Function
syncBackHermesEphemeralHome
(outDir: string, sourceHome: string)
packages/cli/src/codemode.ts:1377
↓ 2 callers
Function
syncLaneError
(reason: unknown)
packages/cli/src/index.ts:14047
↓ 2 callers
Function
syncLocalPracticeFindings
(cfg: Config)
packages/cli/src/index.ts:13941
↓ 2 callers
Function
systemTool
(name: string, env: NodeJS.ProcessEnv = process.env)
packages/cli/src/home-acl.ts:47
↓ 2 callers
Function
taskContinuation
(text: string)
packages/pi-extension/src/lifecycle.ts:157
↓ 2 callers
Function
taskContractContext
(taskType string)
proxy/internal/nativeruntime/runtime.go:1106
↓ 2 callers
Function
taskLikeParams
()
engine/pixel/transform_openai_test.go:293
↓ 2 callers
Function
taskTerms
(text: string)
packages/pi-extension/src/lifecycle.ts:142
↓ 2 callers
Function
taskType
(text: string)
packages/pi-extension/src/lifecycle.ts:127
↓ 2 callers
Function
telemetryAgent
()
packages/cli/src/index.ts:1297
↓ 2 callers
Function
telemetryBody
(events: Record<string, unknown>[])
packages/cli/src/index.ts:1686
↓ 2 callers
Function
telemetryCommandName
()
packages/cli/src/index.ts:1284
↓ 2 callers
Function
telemetryEnvForcesOff
()
packages/cli/src/index.ts:968
↓ 2 callers
Function
telemetryTokenDelta
()
packages/cli/src/index.ts:1530
↓ 2 callers
Function
temporary
(t, prefix)
packages/cli/tests/openclaw-wrap.runtime.mjs:56
↓ 2 callers
Function
terminalChatGPTResponseEvent
(eventType string)
proxy/internal/gateway/chatgpt.go:899
↓ 2 callers
Function
testKey
(keyId)
packages/cli/tests/receipts.runtime.mjs:37
↓ 2 callers
Function
testMapObject
(session string, data []byte)
engine/ccr/store_consolidation_blocks_test.go:19
↓ 2 callers
Function
testNow
()
engine/ccr/store_repair_test.go:249
↓ 2 callers
Function
text
(path: string)
packages/cli/src/index.ts:9128
↓ 2 callers
Function
textBlock
(s string)
proxy/internal/gateway/cache_prefix_invariant_test.go:211
↓ 2 callers
Method
textDelta
(open *streamItem, delta string)
proxy/internal/translate/responses_stream.go:189
↓ 2 callers
Function
textLen
(n *html.Node)
engine/compressors/html.go:246
↓ 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
Function
toInt
(v any, fallback int)
mcp/codemode/builtin_tools.go:1153
↓ 2 callers
Function
toStringSlice
(v any)
mcp/codemode/builtin_tools.go:1173
↓ 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:23363
↓ 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
(text: string)
packages/middleware/typescript/src/codemode.ts:126
↓ 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
toolElementSortKey
(elBytes []byte)
proxy/providers/toolzone.go:388
↓ 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
toolMultisetDigest
toolMultisetDigest hashes the sorted multiset of tool names inside a cached `tools` component (either bare JSON or 8-byte big-endian length-prefixed f
proxy/internal/gateway/prefix_monitor.go:389
↓ 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:360
↓ 2 callers
Method
toolSchemaCacheScope
toolSchemaCacheScope returns the suffix the strip/shrink contributes to a prefix-cache scope key. It is empty when the lever is off, so every pre-exis
proxy/internal/gateway/toolschema_strip.go:82
↓ 2 callers
Method
toolSchemaStripApplies
toolSchemaStripApplies is toolSchemaStripAllowed without the ledger: the rewrite would run here if the session's harm tripwire had not frozen it.
proxy/internal/gateway/toolschema_strip.go:60
↓ 2 callers
Function
toolSchemaVersionForMode
(mode string)
proxy/internal/gateway/toolschema_strip.go:35
↓ 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:2532
↓ 2 callers
Function
transactOwnedMcpConfig
( agent: "kilo" | "qwen", serverName: string, action: "install" | "uninstall", mcp?: { command: string
packages/cli/src/index.ts:16905
↓ 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
← previous
next →
4,101–4,200 of 12,853, ranked by callers