MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctiontruncVisible
(s: string, budget: number)
packages/cli/src/index.ts:23488
↓ 2 callersFunctiontruncateForLog
(data []byte)
proxy/providers/usage_line_filter_test.go:87
↓ 2 callersFunctiontruncateRunes
(s string, maxRunes int)
mcp/codemode/builtin_tools.go:871
↓ 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:692
↓ 2 callersFunctionuninstallMcpForAgent
(a: AgentProfile, serverName = "caveman")
packages/cli/src/index.ts:15033
↓ 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:12202
↓ 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 callersFunctionunwrapClaudeSystemReminder
unwrapClaudeSystemReminder separates a trailing Claude Code `<system-reminder>...</system-reminder>` block appended to `Read`, `Bash`, `Grep`, or `Web
engine/harness_envelopes.go:85
↓ 2 callersFunctionunwrapCodexTextExec
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 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 callersFunctionunwrapHermesToolJSON
(input []byte)
engine/harness_envelopes.go:391
↓ 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 callersFunctionunwrapOpenCodeRead
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 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:527
↓ 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:1420
↓ 2 callersFunctionvalidMcpMarkerBytes
(bytes: Buffer, agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:16726
↓ 2 callersFunctionvalidModelIdentifier
(modelID string)
proxy/providers/bedrock/routing.go:476
↓ 2 callersFunctionvalidReceiptDay
(day: unknown)
packages/cli/src/index.ts:22380
↓ 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:560
↓ 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:4742
↓ 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
↓ 2 callersFunctionverifyAgentNativeBundle
(agent: "claude" | "codex", journal: AgentNativeBundleJournal, cloudMcp: { command: string; args: string[] })
packages/cli/src/index.ts:3793
↓ 2 callersFunctionverifyChecksumSignature
(checksums: string, signature: string)
packages/cli/src/index.ts:3034
↓ 2 callersFunctionverifyObjectData
verifyObjectData checks that obj.Data still matches the content hash that PutObject enforced at write time.
engine/ccr/store.go:267
↓ 2 callersMethodverifyOriginal
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 callersFunctionversionedBinaryProbeTimeoutMs
()
packages/cli/src/index.ts:2846
↓ 2 callersFunctionvisibleUIDTargets
(records []axRecord, all map[string]axUIDTarget)
engine/compressors/axtree.go:487
↓ 2 callersFunctionwaitForSocket
(t *testing.T, path string, done <-chan error)
proxy/internal/nativeruntime/server_test.go:157
↓ 2 callersFunctionwalk
(dir, base = dir, acc = [])
packages/subagent-tax/lib/report.mjs:72
↓ 2 callersFunctionwalk
(dir)
packages/cli/tests/_modules.mjs:119
↓ 2 callersFunctionwantsStream
(kind, url, headers, body)
packages/subagent-tax/lib/sink.mjs:160
↓ 2 callersFunctionwarmAnswerFor
(model string, tool, encoded bool)
proxy/internal/gateway/cache_warm_table_test.go:340
↓ 2 callersFunctionwarmBody
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 callersFunctionwarmClassKey
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 callersFunctionwarmCount
warmCount is how many warms a plan sends: the chain stops at its first no.
proxy/internal/gateway/cache_warm.go:698
↓ 2 callersMethodwatch
(self, sock)
packages/sdk/python/caveman_cloud/middleware/transport.py:87
↓ 2 callersFunctionwebExtInvocation
(cli, sourceDir, firefox, bidiPort)
extension/scripts/firefox-e2e.mjs:86
↓ 2 callersFunctionweekName
weekName is the plain label for a week: "week of Sep 21".
proxy/internal/store/learn_trends.go:507
↓ 2 callersFunctionwhite
()
packages/middleware/python/caveman_middleware/_google_wire.py:10
↓ 2 callersFunctionwhite
()
packages/middleware/typescript/src/wire.ts:13
↓ 2 callersFunctionwholePromptComponents
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 callersFunctionwiringChanges
(selection: ModuleSelection, agents: string[], only: ModuleId[] | undefined)
packages/cli/src/modules/apply.ts:200
↓ 2 callersFunctionwithBeta
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 callersMethodwithDefaults
()
proxy/internal/config/config.go:391
↓ 2 callersFunctionwithDropBlock
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 callersFunctionwithInstall
(omit, fn)
tests/test_hook_missing_sibling.js:72
↓ 2 callersFunctionwithKeepalive
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 callersFunctionwithNativeRecovery
(context:RecoveryContext|UnboundContext,run:()=>T)
packages/middleware/typescript/src/transport.ts:15
↓ 2 callersFunctionwithOpenAIReflowNote
(header string, enabled bool)
engine/pixel/transform_openai.go:794
↓ 2 callersFunctionwithOpenAIZebraNote
(header string, zebra bool)
engine/pixel/transform_openai.go:802
↓ 2 callersFunctionwithOwnedMcpTransactionLock
( agent: "kilo" | "qwen", serverName: string, run: (lockedConfigPath: string) => T, )
packages/cli/src/index.ts:16990
↓ 2 callersFunctionwithRequestAbort
(pending: Promise<T>, signal: AbortSignal, timeoutMs: number)
packages/sdk/typescript/src/index.ts:2050
↓ 2 callersFunctionwithShutdown
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 callersFunctionwith_caveman_model
Record-only: no recovery executor, so compress mode reports ``recovery_unbound``.
packages/middleware/python/caveman_middleware/llama_index.py:854
↓ 2 callersFunctionworkTagValueSafe
(value: string)
packages/cli/src/index.ts:12647
↓ 2 callersFunctionworkTagsOff
(value: string | undefined)
packages/cli/src/index.ts:12709
↓ 2 callersFunctionwrap
(registration?: RecoveryRegistration)
packages/middleware/typescript/src/ai-sdk.ts:229
↓ 2 callersFunctionwrapAndEchoEnvJson
(agentId, envVars, extraEnv = {}, cwd = undefined, args = [])
packages/cli/tests/wrap.runtime.mjs:264
↓ 2 callersFunctionwrapOpenAI
(client:T,options:OpenAIOptions,blocked:string|null,tools?:Tools)
packages/middleware/typescript/src/openai.ts:75
↓ 2 callersFunctionwrapRecoveryEligible
(opts: WrapOptions)
packages/cli/src/index.ts:4870
← previousnext →4,201–4,300 of 12,853, ranked by callers