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
aggregateHistory
(historyPath, sinceMs)
src/hooks/caveman-stats.js:365
↓ 2 callers
Function
aiderCorePath
()
packages/cli/src/index.ts:10096
↓ 2 callers
Function
aiderRoot
Aider histories are project-relative and have no safe global discovery root. Keep this source disabled unless the caller explicitly supplies a scan ro
proxy/internal/store/config_scan.go:130
↓ 2 callers
Method
ainvoke
(self, *args, **kwargs)
packages/middleware/python/tests/test_behavior.py:334
↓ 2 callers
Function
alive
(pid: number)
packages/cli/src/modules/stop.ts:8
↓ 2 callers
Function
alive
(pid)
packages/cli/tests/wrap-restart.runtime.mjs:55
↓ 2 callers
Method
allow
(self, now_ms: float)
packages/sdk/python/caveman_cloud/middleware/protocol.py:168
↓ 2 callers
Method
allow
Call immediately before a call's first network request. False means bypass with `circuit_open`.
packages/sdk/typescript/src/middleware/protocol.ts:57
↓ 2 callers
Method
allowed
(toolName string)
mcp/codemode/http_upstream.go:172
↓ 2 callers
Function
allowlist
(envKey string, fallback []string)
proxy/providers/vertex/routing.go:191
↓ 2 callers
Function
allowlistedObject
(value: JSONValue, fields: Set<string>)
packages/cli/src/agent-mcp.ts:384
↓ 2 callers
Function
analyzeCapture
(record, { mcpPattern = null } = {})
packages/subagent-tax/lib/analyze.mjs:84
↓ 2 callers
Function
anchorTextLen
(n *html.Node)
engine/compressors/html.go:248
↓ 2 callers
Function
anthropicCountTokensPath
anthropicCountTokensPath recognizes the accounting route the Anthropic SDK builds on Vertex, whose model segment is a fixed literal rather than a mode
proxy/providers/vertex/routing.go:172
↓ 2 callers
Function
anthropicErrorStatus
anthropicErrorStatus is the HTTP status an in-stream Anthropic error type stands for.
proxy/internal/translate/responses_stream.go:404
↓ 2 callers
Function
anthropicMessage
(model)
packages/subagent-tax/lib/sink.mjs:170
↓ 2 callers
Function
anthropicMessagesBody
anthropicMessagesBody carries one cache_control breakpoint on the first turn, then an assistant reply, then TWO trailing user turns that sit past the
proxy/providers/openaicompat/wire_dialect_zones_test.go:20
↓ 2 callers
Function
anthropicMsg
(i int, body string)
engine/pixel/history_anthropic_test.go:113
↓ 2 callers
Function
anthropicReadTurn
(marked bool)
proxy/internal/gateway/recovery_exempt_test.go:14
↓ 2 callers
Function
anthropicRetrieveTurn
()
proxy/internal/gateway/recovery_exempt_test.go:23
↓ 2 callers
Function
anyMcpInstalled
()
packages/cli/src/index.ts:14325
↓ 2 callers
Function
anyPositiveInt64
(values ...int64)
proxy/internal/store/usage_import.go:643
↓ 2 callers
Function
anySet
(fields: Record<string, unknown>)
supabase/functions/cli-telemetry/ingest.ts:75
↓ 2 callers
Function
appendCCRMarker
(out []byte, handle string)
proxy/internal/gateway/proxy.go:2050
↓ 2 callers
Function
appendChatSchemaFormat
appendChatSchemaFormat is chat's response_format for a JSON schema.
proxy/internal/translate/messages_in.go:311
↓ 2 callers
Function
appendKey
appendKey appends `"key":` (key needs no escaping), after a comma unless dst ends an opening bracket.
proxy/internal/translate/jsonfast.go:290
↓ 2 callers
Function
appendResponsesSchemaFormat
appendResponsesSchemaFormat is Responses' text field for a JSON schema.
proxy/internal/translate/messages_in.go:655
↓ 2 callers
Function
appendThought
appendThought writes a chat tool call's extra_content: the signature it carried, else standIn on a step's first call; nothing when neither.
proxy/internal/translate/messages.go:105
↓ 2 callers
Method
apply
apply rewrites in and reports how many matches it replaced. It never mutates in; a pass with no accepted match returns the original slice. It runs tw
shared/platform/redact/payload.go:245
↓ 2 callers
Function
applyDeferMCPTools
(data []byte, decoded map[string]any)
proxy/providers/anthropic/defer_mcp.go:105
↓ 2 callers
Function
applyKiloCodemodeOverlay
( rawConfigJson: string | undefined, cmEntry: CodemodeLaunchEntry, bridgedKiloServerNames: readonly stri
packages/cli/src/codemode.ts:1067
↓ 2 callers
Function
applyModules
(plan: ModulePlan, opts: { yes: boolean; progress?: (line: string) => void; downloading?: (name: string) => vo
packages/cli/src/modules/apply.ts:467
↓ 2 callers
Function
applyNativeMutations
(agent: NativeAgent, profile: AgentProfile, mutations: NativeMutation[])
packages/cli/src/index.ts:10844
↓ 2 callers
Function
applyOpenCodeCodemodeOverlay
( rawConfigJson: string | undefined, bridgedOpenCodeServerNames: readonly string[], cmEntry: CodemodeLau
packages/cli/src/codemode.ts:1035
↓ 2 callers
Function
applyOverrides
(pluginRoot, env)
src/hooks/cavecrew-model-overrides.js:112
↓ 2 callers
Function
approxBlockBytes
(block map[string]any)
engine/pixel/transform_anthropic.go:1328
↓ 2 callers
Function
approxTokens
(b []byte)
engine/tokens/tokens.go:70
↓ 2 callers
Function
armFor
armFor returns which arm was active at a moment, if any. A session that straddles a switch belongs to the arm its START falls in: the change was in fo
proxy/internal/store/learn_experiment.go:220
↓ 2 callers
Method
array
()
proxy/providers/inspect.go:225
↓ 2 callers
Function
asTOONValue
(v any)
engine/compressors/toon_encode.go:68
↓ 2 callers
Method
as_async
Identity; lets adapters call as_async() on whichever runtime they were given.
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:61
↓ 2 callers
Method
as_sync
The underlying synchronous runtime, for sync code paths that must never receive coroutines.
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:57
↓ 2 callers
Function
asciiLower
asciiLower returns an ASCII-lowercased copy of b, used only for the needle prescreen. It never reaches the output.
shared/platform/redact/payload.go:190
↓ 2 callers
Function
asciiLowerInto
asciiLowerInto lowercases b into dst's storage, reusing it when it is large enough. Re-deriving the prescreen after a rule fires is then free of a new
shared/platform/redact/payload.go:196
↓ 2 callers
Method
assemble
assemble renders the messages array. With breakpoints, the last message and the end of the previous request (the last message before the newest assist
proxy/internal/translate/msgbuild.go:265
↓ 2 callers
Function
assertCatalogPricedBedrockUsage
(t *testing.T, usage providers.UsageObservation)
proxy/providers/bedrock/usage_test.go:497
↓ 2 callers
Function
assertGeminiFunctionResponsesFollowCalls
(t *testing.T, req geminiGenerateContent)
engine/pixel/transform_gemini_test.go:410
↓ 2 callers
Function
assertHidesChildWindows
(source, label)
packages/cli/tests/harness/hidden-window.mjs:16
↓ 2 callers
Function
assertHidesChildWindowsPython
(source, label)
packages/cli/tests/harness/hidden-window.mjs:31
↓ 2 callers
Function
assertInstallCall
(record, home, options = {})
tests/installer/gemini-install.test.mjs:193
↓ 2 callers
Function
assertManifestNamesRelease
(checksums, release)
scripts/sign-binary-checksums.mjs:36
↓ 2 callers
Function
assertOmpRoot
(root)
installer/install.js:1371
↓ 2 callers
Function
assertOnlyKeyAdded
assertOnlyKeyAdded verifies the transform is semantically additive: the decoded result equals the decoded original plus exactly the prompt_cache_key.
proxy/providers/openai/cache_key_test.go:142
↓ 2 callers
Function
assertPixelStaticSlabIntact
(t *testing.T, upstreamBody string, token string, originalRepeats int)
proxy/internal/gateway/pixel_test.go:436
↓ 2 callers
Function
assertRefsResolve
assertRefsResolve walks parsed JSON and asserts every internal JSON-Pointer $ref resolves from its own schema-resource root. This is the $ref-integrit
engine/compressors/toolschema_test.go:377
↓ 2 callers
Function
assertSessionStats
(t *testing.T, tools []Tool, requests, before, after int)
mcp/engine_tools_stats_test.go:90
↓ 2 callers
Method
assert_clean
(self, root)
tests/test_compress_hub_scan.py:58
↓ 2 callers
Function
asset
(url, timeout)
packages/shared/binary-installer/installer.mjs:87
↓ 2 callers
Function
asset
(url, timeout)
shrink/bin/binary-installer.generated.mjs:87
↓ 2 callers
Function
asset
(url, timeout)
browse/bin/binary-installer.generated.mjs:87
↓ 2 callers
Function
asset
(url, timeout)
mcp/bin/binary-installer.generated.mjs:87
↓ 2 callers
Function
at
(day: unknown, now = NOW)
supabase/functions/blocks-telemetry/ingest.test.ts:274
↓ 2 callers
Method
atLevel
atLevel keeps only the fields the data level allows.
proxy/internal/cloudlink/events.go:194
↓ 2 callers
Function
attributed
(gw, id)
packages/cli/tests/wrap.runtime.mjs:23
↓ 2 callers
Function
autoModelsFor
autoModelsFor is what an Auto ask offers Cloud for provider: nil, the provider's whole pool, except OpenAI's fixed three.
proxy/internal/gateway/route.go:194
↓ 2 callers
Function
autoOpenAIAnswer
autoOpenAIAnswer refuses an answer naming an OpenAI model outside AutoOpenAIModels (or, with noTarget, any pool entry): the fallback runs at that answ
proxy/internal/gateway/route.go:229
↓ 2 callers
Function
autopilotThrottleMs
()
packages/cli/src/learn-autopilot.ts:63
↓ 2 callers
Function
autopilotTimeoutSeconds
()
packages/cli/src/learn-autopilot.ts:68
↓ 2 callers
Method
awrap_model_call
(self, request, handler)
packages/middleware/python/caveman_middleware/langchain.py:257
↓ 2 callers
Function
awsURIEncode
awsURIEncode encodes per RFC 3986, additionally encoding "/" when encodeSlash is true (the rule for query components and non-S3 path components).
shared/platform/awssig/awssig.go:207
↓ 2 callers
Function
axLooseBool
(v any)
engine/compressors/axtree.go:633
↓ 2 callers
Function
axStateLabels
(state map[string]bool)
engine/compressors/axtree.go:543
↓ 2 callers
Function
bar
Bar anchored square at the baseline, rounded at the data end.
benchmarks/render_charts.py:80
↓ 2 callers
Function
bareModel
bareModel is a pool model id without a host prefix ("openai/gpt-6-sol").
proxy/internal/cloudlink/link.go:751
↓ 2 callers
Function
bareModelId
(id)
integrations/compile.mjs:72
↓ 2 callers
Function
base64Bytes
Standard-alphabet base64 → bytes, or null when the input is not base64.
packages/sdk/typescript/src/index.ts:1558
↓ 2 callers
Function
baseConfigPath
(base: NonNullable<ConfigFileInjection["base_config"]>)
packages/cli/src/index.ts:7690
↓ 2 callers
Method
bearer
bearer is the signed-in session's token while it is fresh (the control API takes device-login tokens on /api), else the durable project key the device
proxy/internal/cloudlink/link.go:521
↓ 2 callers
Function
bedrockObjectCompletion
(obj map[string]any)
proxy/providers/bedrock/usage.go:116
↓ 2 callers
Function
bedrockPayloadCompletion
(payload []byte)
proxy/providers/bedrock/usage.go:108
↓ 2 callers
Function
bedrockRequestID
bedrockRequestID prefers the AWS x-amzn-requestid header, falling back to the generic x-request-id.
proxy/providers/bedrock/usage.go:56
↓ 2 callers
Method
beginReasoning
Reasoning text is shown as the item's summary; it is never replayed as text. What is replayed is encrypted_content.
proxy/internal/translate/responses_stream.go:204
↓ 2 callers
Method
beginText
()
proxy/internal/translate/responses_stream.go:180
↓ 2 callers
Method
beginTool
(callID string, origin toolOrigin)
proxy/internal/translate/responses_stream.go:241
↓ 2 callers
Function
belowFloor
A stable release older than the floor: the one decline whose fix is always "upgrade".
packages/middleware/typescript/src/compatibility.ts:28
↓ 2 callers
Function
benchAnswer
benchAnswer is a short streamed answer on wire to.
proxy/internal/translate/bench_test.go:95
↓ 2 callers
Function
benchAnthropicStream
benchAnthropicStream is a canned Messages stream: start, n text deltas, the terminal usage delta and stop.
proxy/internal/gateway/hotpath_bench_test.go:95
↓ 2 callers
Function
benchFiller
(n int)
proxy/internal/translate/bench_test.go:19
↓ 2 callers
Function
benchResponsesBody
benchResponsesBody is the same shape in the responses grammar.
proxy/providers/openai/content_compress_test.go:211
↓ 2 callers
Function
benchTools
(grammar string)
proxy/internal/translate/bench_test.go:29
↓ 2 callers
Function
binaryInstallFilename
(name, os = process.platform)
mcp/bin/binary-installer.generated.mjs:74
↓ 2 callers
Function
binaryInstallManifestPath
()
packages/cli/src/index.ts:2936
↓ 2 callers
Function
binaryNeeds
(selection: ModuleSelection, only: ModuleId[] | undefined)
packages/cli/src/modules/apply.ts:231
↓ 2 callers
Method
binding
(self, request, runtime)
packages/middleware/python/caveman_middleware/langchain.py:225
↓ 2 callers
Function
bindingUntilDropBlock
bindingUntilDropBlock refuses a body with a thinking block unless it asks for drop_block.
proxy/internal/gateway/route_effort_test.go:391
↓ 2 callers
Function
blitGlyph
(fb []uint8, fbW, x, y int, cp rune, markerMask []uint8)
engine/pixel/render.go:279
↓ 2 callers
Function
blockBinding
blockBinding reports a body that sets thinking.block_binding.
proxy/internal/gateway/route.go:1392
↓ 2 callers
Function
blockBool
(block map[string]any, key string)
engine/pixel/transform_anthropic.go:1410
↓ 2 callers
Method
blockCount
blockCount is how many blocks were pushed so far.
proxy/internal/translate/msgbuild.go:39
↓ 2 callers
Function
blockIsMarked
(data []byte, span jsonsplice.Span)
proxy/providers/anthropic/breakpoint_plan.go:353
← previous
next →
2,801–2,900 of 12,853, ranked by callers