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
truncVisible
(s: string, budget: number)
packages/cli/src/index.ts:23488
↓ 2 callers
Function
truncateForLog
(data []byte)
proxy/providers/usage_line_filter_test.go:87
↓ 2 callers
Function
truncateRunes
(s string, maxRunes int)
mcp/codemode/builtin_tools.go:871
↓ 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:692
↓ 2 callers
Function
uninstallMcpForAgent
(a: AgentProfile, serverName = "caveman")
packages/cli/src/index.ts:15033
↓ 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:12202
↓ 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
unwrapClaudeSystemReminder
unwrapClaudeSystemReminder separates a trailing Claude Code `<system-reminder>...</system-reminder>` block appended to `Read`, `Bash`, `Grep`, or `Web
engine/harness_envelopes.go:85
↓ 2 callers
Function
unwrapCodexTextExec
unwrapCodexTextExec separates Codex CLI's standard text `exec_command` / `shell_command` envelope: Chunk ID: 7ae69c Wall time: 0.1234 seconds Proc
engine/harness_envelopes.go:35
↓ 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
unwrapHermesToolJSON
(input []byte)
engine/harness_envelopes.go:391
↓ 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
unwrapOpenCodeRead
unwrapOpenCodeRead separates OpenCode's read-tool XML-style wrapper: <path>/repo/src/app.ts</path> <type>file</type> <content> 1: export function
engine/harness_envelopes.go:132
↓ 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:527
↓ 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:1420
↓ 2 callers
Function
validMcpMarkerBytes
(bytes: Buffer, agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:16726
↓ 2 callers
Function
validModelIdentifier
(modelID string)
proxy/providers/bedrock/routing.go:476
↓ 2 callers
Function
validReceiptDay
(day: unknown)
packages/cli/src/index.ts:22380
↓ 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:560
↓ 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:4742
↓ 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
↓ 2 callers
Function
verifyAgentNativeBundle
(agent: "claude" | "codex", journal: AgentNativeBundleJournal, cloudMcp: { command: string; args: string[] })
packages/cli/src/index.ts:3793
↓ 2 callers
Function
verifyChecksumSignature
(checksums: string, signature: string)
packages/cli/src/index.ts:3034
↓ 2 callers
Function
verifyObjectData
verifyObjectData checks that obj.Data still matches the content hash that PutObject enforced at write time.
engine/ccr/store.go:267
↓ 2 callers
Method
verifyOriginal
verifyOriginal refuses to reuse a choice whose original is gone: its marker would point at nothing. stored reports the middleware store's copy; a choi
proxy/internal/middleware/choices.go:135
↓ 2 callers
Function
versionedBinaryProbeTimeoutMs
()
packages/cli/src/index.ts:2846
↓ 2 callers
Function
visibleUIDTargets
(records []axRecord, all map[string]axUIDTarget)
engine/compressors/axtree.go:487
↓ 2 callers
Function
waitForSocket
(t *testing.T, path string, done <-chan error)
proxy/internal/nativeruntime/server_test.go:157
↓ 2 callers
Function
walk
(dir, base = dir, acc = [])
packages/subagent-tax/lib/report.mjs:72
↓ 2 callers
Function
walk
(dir)
packages/cli/tests/_modules.mjs:119
↓ 2 callers
Function
wantsStream
(kind, url, headers, body)
packages/subagent-tax/lib/sink.mjs:160
↓ 2 callers
Function
warmAnswerFor
(model string, tool, encoded bool)
proxy/internal/gateway/cache_warm_table_test.go:340
↓ 2 callers
Function
warmBody
warmBody is the zero-output replay of a request that just succeeded, with its cache lifetime, or nil when it must not be warmed. body is the exact byt
proxy/internal/gateway/cache_warm.go:384
↓ 2 callers
Function
warmClassKey
warmClassKey names a stream class: main or subagent, whether the last response asked for a tool, and the cache lifetime.
proxy/internal/gateway/cache_warm_table.go:124
↓ 2 callers
Function
warmCount
warmCount is how many warms a plan sends: the chain stops at its first no.
proxy/internal/gateway/cache_warm.go:698
↓ 2 callers
Method
watch
(self, sock)
packages/sdk/python/caveman_cloud/middleware/transport.py:87
↓ 2 callers
Function
webExtInvocation
(cli, sourceDir, firefox, bidiPort)
extension/scripts/firefox-e2e.mjs:86
↓ 2 callers
Function
weekName
weekName is the plain label for a week: "week of Sep 21".
proxy/internal/store/learn_trends.go:507
↓ 2 callers
Function
white
()
packages/middleware/python/caveman_middleware/_google_wire.py:10
↓ 2 callers
Function
white
()
packages/middleware/typescript/src/wire.ts:13
↓ 2 callers
Function
wholePromptComponents
wholePromptComponents is the provider-agnostic split: everything outside the conversation array as one component, then each conversation item.
proxy/internal/gateway/raw_pin.go:327
↓ 2 callers
Function
wiringChanges
(selection: ModuleSelection, agents: string[], only: ModuleId[] | undefined)
packages/cli/src/modules/apply.ts:200
↓ 2 callers
Function
withBeta
withBeta returns header with beta appended to anthropic-beta, unless it or a beta that carries it is already there.
proxy/internal/gateway/route.go:1350
↓ 2 callers
Method
withDefaults
()
proxy/internal/config/config.go:391
↓ 2 callers
Function
withDropBlock
withDropBlock asks the provider to drop thinking blocks whose prefix changed instead of refusing the request: thinking.block_binding. prefix_mismatch_
proxy/internal/gateway/route.go:1379
↓ 2 callers
Function
withInstall
(omit, fn)
tests/test_hook_missing_sibling.js:72
↓ 2 callers
Function
withKeepalive
withKeepalive answers the no-op beacon older CLIs still send. It sits OUTSIDE the gateway's inbound token gate on purpose: the beacon carries no crede
proxy/cmd/caveman-proxy/main.go:475
↓ 2 callers
Function
withNativeRecovery
(context:RecoveryContext|UnboundContext,run:()=>T)
packages/middleware/typescript/src/transport.ts:15
↓ 2 callers
Function
withOpenAIReflowNote
(header string, enabled bool)
engine/pixel/transform_openai.go:794
↓ 2 callers
Function
withOpenAIZebraNote
(header string, zebra bool)
engine/pixel/transform_openai.go:802
↓ 2 callers
Function
withOwnedMcpTransactionLock
( agent: "kilo" | "qwen", serverName: string, run: (lockedConfigPath: string) => T, )
packages/cli/src/index.ts:16990
↓ 2 callers
Function
withRequestAbort
(pending: Promise<T>, signal: AbortSignal, timeoutMs: number)
packages/sdk/typescript/src/index.ts:2050
↓ 2 callers
Function
withShutdown
withShutdown is `caveman stop` on Windows, where no signal reaches a detached process gracefully: POST /caveman/shutdown runs the same drain as SIGTER
proxy/cmd/caveman-proxy/main.go:539
↓ 2 callers
Function
with_caveman_model
Record-only: no recovery executor, so compress mode reports ``recovery_unbound``.
packages/middleware/python/caveman_middleware/llama_index.py:854
↓ 2 callers
Function
workTagValueSafe
(value: string)
packages/cli/src/index.ts:12647
↓ 2 callers
Function
workTagsOff
(value: string | undefined)
packages/cli/src/index.ts:12709
↓ 2 callers
Function
wrap
(registration?: RecoveryRegistration)
packages/middleware/typescript/src/ai-sdk.ts:229
↓ 2 callers
Function
wrapAndEchoEnvJson
(agentId, envVars, extraEnv = {}, cwd = undefined, args = [])
packages/cli/tests/wrap.runtime.mjs:264
↓ 2 callers
Function
wrapOpenAI
(client:T,options:OpenAIOptions,blocked:string|null,tools?:Tools)
packages/middleware/typescript/src/openai.ts:75
↓ 2 callers
Function
wrapRecoveryEligible
(opts: WrapOptions)
packages/cli/src/index.ts:4870
← previous
next →
4,201–4,300 of 12,853, ranked by callers