MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionstringEnd
(body []byte, start int)
engine/compressors/toolschema_annotations.go:362
↓ 2 callersFunctionstringMap
(raw: unknown)
packages/cli/src/codemode.ts:151
↓ 2 callersFunctionstringOf
(value any)
proxy/internal/cloudlink/link.go:447
↓ 2 callersFunctionstringifyForLines
(src any)
mcp/codemode/codemode.go:1180
↓ 2 callersFunctionstripBillingLine
(text string)
engine/pixel/transform_anthropic.go:701
↓ 2 callersFunctionstripChatEnvelopes
--- chat -> chat --------------------------------------------------------------------- stripChatEnvelopes removes from a chat body every runtime envel
proxy/internal/translate/chat_in.go:545
↓ 2 callersFunctionstripCodexCavemanMcpToml
(text: string)
packages/cli/src/index.ts:8056
↓ 2 callersFunctionstripCodexCavemanProviderToml
(text: string)
packages/cli/src/index.ts:7991
↓ 2 callersFunctionstripCodexHook
(doc, script)
installer/install.js:960
↓ 2 callersFunctionstripConverseCachePointsFromArray
(arr []byte)
proxy/providers/bedrock/cache_points.go:593
↓ 2 callersFunctionstripExternalCodexMcpTables
(toml: string)
packages/cli/src/codemode.ts:974
↓ 2 callersFunctionstripForeignThinking
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 callersFunctionstripJson5Comments
(s: string)
packages/cli/src/index.ts:7560
↓ 2 callersFunctionstripTomlComment
(line: string)
packages/cli/src/codemode.ts:248
↓ 2 callersFunctionstrippedBodies
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 callersFunctionstubControlApi
({ seatWalled = false, organization = "org-test" } = {})
packages/cli/tests/harness/stub-control-api.mjs:32
↓ 2 callersFunctionstubUpstream
()
packages/cli/tests/harness/stub-upstream.mjs:19
↓ 2 callersMethodsubmit
(_body: Record<string, unknown>, _options?: { latencyClass?: LatencyClass })
packages/sdk/typescript/src/index.ts:743
↓ 2 callersMethodsubmit
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 callersFunctionsummarizeCompressed
(pairs)
src/hooks/caveman-stats.js:234
↓ 2 callersFunctionsummarizeRowRun
summarizeRowRun describes a run of dropped table rows by their header-named columns.
engine/compressors/tabular.go:32
↓ 2 callersFunctionsummaryBudget
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 callersFunctionsupportsReasoningEffort
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 callersFunctionsupportsReasoningEffortForEndpoint
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 callersFunctionsurfaceSink
(cfg configScan)
proxy/internal/store/learn.go:748
↓ 2 callersMethodsurvival
survival is P(gap > t), uniform within a bin.
proxy/internal/gateway/cache_warm_table.go:280
↓ 2 callersFunctionsymbolParserBasis
()
proxy/internal/repointel/symbols_cgo.go:21
↓ 2 callersFunctionsyncAutoEntries
()
packages/cli/src/index.ts:4363
↓ 2 callersFunctionsyncBackHermesEphemeralHome
(outDir: string, sourceHome: string)
packages/cli/src/codemode.ts:1377
↓ 2 callersFunctionsyncLaneError
(reason: unknown)
packages/cli/src/index.ts:14047
↓ 2 callersFunctionsyncLocalPracticeFindings
(cfg: Config)
packages/cli/src/index.ts:13941
↓ 2 callersFunctionsystemTool
(name: string, env: NodeJS.ProcessEnv = process.env)
packages/cli/src/home-acl.ts:47
↓ 2 callersFunctiontaskContinuation
(text: string)
packages/pi-extension/src/lifecycle.ts:157
↓ 2 callersFunctiontaskContractContext
(taskType string)
proxy/internal/nativeruntime/runtime.go:1106
↓ 2 callersFunctiontaskLikeParams
()
engine/pixel/transform_openai_test.go:293
↓ 2 callersFunctiontaskTerms
(text: string)
packages/pi-extension/src/lifecycle.ts:142
↓ 2 callersFunctiontaskType
(text: string)
packages/pi-extension/src/lifecycle.ts:127
↓ 2 callersFunctiontelemetryAgent
()
packages/cli/src/index.ts:1297
↓ 2 callersFunctiontelemetryBody
(events: Record<string, unknown>[])
packages/cli/src/index.ts:1686
↓ 2 callersFunctiontelemetryCommandName
()
packages/cli/src/index.ts:1284
↓ 2 callersFunctiontelemetryEnvForcesOff
()
packages/cli/src/index.ts:968
↓ 2 callersFunctiontelemetryTokenDelta
()
packages/cli/src/index.ts:1530
↓ 2 callersFunctiontemporary
(t, prefix)
packages/cli/tests/openclaw-wrap.runtime.mjs:56
↓ 2 callersFunctionterminalChatGPTResponseEvent
(eventType string)
proxy/internal/gateway/chatgpt.go:899
↓ 2 callersFunctiontestKey
(keyId)
packages/cli/tests/receipts.runtime.mjs:37
↓ 2 callersFunctiontestMapObject
(session string, data []byte)
engine/ccr/store_consolidation_blocks_test.go:19
↓ 2 callersFunctiontestNow
()
engine/ccr/store_repair_test.go:249
↓ 2 callersFunctiontext
(path: string)
packages/cli/src/index.ts:9128
↓ 2 callersFunctiontextBlock
(s string)
proxy/internal/gateway/cache_prefix_invariant_test.go:211
↓ 2 callersMethodtextDelta
(open *streamItem, delta string)
proxy/internal/translate/responses_stream.go:189
↓ 2 callersFunctiontextLen
(n *html.Node)
engine/compressors/html.go:246
↓ 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 callersFunctiontoInt
(v any, fallback int)
mcp/codemode/builtin_tools.go:1153
↓ 2 callersFunctiontoStringSlice
(v any)
mcp/codemode/builtin_tools.go:1173
↓ 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:23363
↓ 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
(text: string)
packages/middleware/typescript/src/codemode.ts:126
↓ 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 callersFunctiontoolElementSortKey
(elBytes []byte)
proxy/providers/toolzone.go:388
↓ 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 callersFunctiontoolMultisetDigest
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 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:360
↓ 2 callersMethodtoolSchemaCacheScope
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 callersMethodtoolSchemaStripApplies
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 callersFunctiontoolSchemaVersionForMode
(mode string)
proxy/internal/gateway/toolschema_strip.go:35
↓ 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:2532
↓ 2 callersFunctiontransactOwnedMcpConfig
( agent: "kilo" | "qwen", serverName: string, action: "install" | "uninstall", mcp?: { command: string
packages/cli/src/index.ts:16905
↓ 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
← previousnext →4,101–4,200 of 12,853, ranked by callers