Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
13,382 in github.com/JuliusBrussee/caveman
⨍
Functions
13,382
◇
Types & classes
1,416
↳
Endpoints
5
↓ 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
upgradeWebSocket
(t *testing.T, w http.ResponseWriter, r *http.Request)
proxy/internal/gateway/websocket_route_test.go:58
↓ 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:1473
↓ 2 callers
Function
validMcpMarkerBytes
(bytes: Buffer, agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:17110
↓ 2 callers
Function
validModelIdentifier
(modelID string)
proxy/providers/bedrock/routing.go:476
↓ 2 callers
Function
validReceiptDay
(day: unknown)
packages/cli/src/index.ts:22884
↓ 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
validateWebSocketOpening
(w http.ResponseWriter, r *http.Request)
proxy/internal/gateway/websocket_route.go:111
↓ 2 callers
Function
validateYamlStructure
(text: string)
packages/cli/src/harnesses/shared.ts:113
↓ 2 callers
Function
value
(key: CapabilityKey)
packages/cli/src/index.ts:4794
↓ 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:3837
↓ 2 callers
Function
verifyChecksumSignature
(checksums: string, signature: string)
packages/cli/src/index.ts:3078
↓ 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:2890
↓ 2 callers
Function
visibleUIDTargets
(records []axRecord, all map[string]axUIDTarget)
engine/compressors/axtree.go:487
↓ 2 callers
Function
waitForFile
(path, message)
packages/cli/tests/start-lifecycle.runtime.mjs:66
↓ 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
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:704
↓ 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:1380
↓ 2 callers
Method
withDefaults
()
proxy/internal/config/config.go:410
↓ 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:1409
↓ 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:483
↓ 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:17374
↓ 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:547
↓ 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:12989
↓ 2 callers
Function
workTagsOff
(value: string | undefined)
packages/cli/src/index.ts:13051
↓ 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:4922
↓ 2 callers
Function
wrapUsage
(stream: "stdout" | "stderr" = "stderr")
packages/cli/src/index.ts:6503
↓ 2 callers
Function
wrapWorkTags
(cwd = process.cwd())
packages/cli/src/index.ts:12970
↓ 2 callers
Function
writeAtomic
(path string, data []byte, mode os.FileMode)
proxy/internal/pool/pool.go:476
↓ 2 callers
Function
writeCloudDoc
writeCloudDoc writes cloud.json for a home whose path the caller chooses, so two installs can be given the SAME path and still be told apart.
proxy/internal/cloudlink/link_test.go:1447
↓ 2 callers
Function
writeCodexSessionFixture
(t *testing.T, root string, index int, humanBlock, toolBlock string)
proxy/internal/store/source_codex_test.go:111
↓ 2 callers
Function
writeConvertReport
(results: ConvertResult[], title = "Caveman convert", preface: string[] = [])
packages/cli/src/index.ts:2231
↓ 2 callers
Function
writeDarwinLinkStubs
(goroot, dir)
scripts/build-release-binaries.mjs:91
↓ 2 callers
Function
writeDirectResult
(res mcp.ToolResult)
browse/cmd/caveman-browse/main.go:217
↓ 2 callers
Method
writeExportSpans
(f *os.File, plan TrialPlan)
proxy/internal/store/report.go:143
↓ 2 callers
Function
writeGeminiCodemodeSettingsOverlay
( outDir: string, baseSystemSettingsPath: string, cmEntry: CodemodeLaunchEntry, )
packages/cli/src/codemode.ts:1415
↓ 2 callers
Function
writeGlobal
(home, value)
packages/cli/tests/mcp-surface.runtime.mjs:28
↓ 2 callers
Function
writeGlobal
(home, value)
packages/cli/tests/capability-config.runtime.mjs:24
↓ 2 callers
Function
writeIndent
(b *strings.Builder, indent int)
engine/compressors/toon_encode.go:414
↓ 2 callers
Function
writeJSON
(w http.ResponseWriter, status int, value any)
proxy/internal/middleware/http.go:246
← previous
next →
4,401–4,500 of 13,382, ranked by callers