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
↓ 1 callers
Function
call_openai_compat
POST to any OpenAI-compatible /chat/completions (Ollama, llama.cpp, vLLM, LM Studio). Standard library only, so no new dependency.
skills/caveman-compress/scripts/compress.py:796
↓ 1 callers
Function
call_opencode_cli
(prompt: str)
plugins/caveman/skills/caveman-compress/scripts/compress.py:736
↓ 1 callers
Function
call_opencode_cli
(prompt: str)
skills/caveman-compress/scripts/compress.py:736
↓ 1 callers
Function
callerKeepsGeminiSharp
(fn func(KeepSharpBlock) bool, block KeepSharpBlock)
engine/pixel/transform_gemini.go:1127
↓ 1 callers
Function
calls
()
tests/installer/antigravity-cli.test.mjs:43
↓ 1 callers
Function
cancel
()
packages/sdk/typescript/src/middleware/transport.ts:85
↓ 1 callers
Method
cancel
()
packages/sdk/typescript/src/middleware/runtime.ts:612
↓ 1 callers
Function
cancel_after_start
()
packages/middleware/python/tests/test_behavior.py:856
↓ 1 callers
Function
cancelled
(out: NodeJS.WriteStream, c: Colors)
packages/cli/src/modules/onboard.ts:555
↓ 1 callers
Function
candidateLooksLikeSecret
candidateLooksLikeSecret vets a candidate run for the shape of secret material by taking it apart on separator boundaries and scoring each segment. S
shared/platform/redact/residual.go:227
↓ 1 callers
Function
canonical
(raw string)
proxy/internal/translate/wire_gaps_test.go:156
↓ 1 callers
Method
canonicalAnthropicPrefix
canonicalAnthropicPrefix builds deterministic bytes for each Anthropic component (tools, system, messages[]) stripped of cache_control, returning tota
proxy/internal/standalone/e2e_cost_bench_test.go:258
↓ 1 callers
Method
canonicalBedrockConversePrefix
(root map[string]any)
proxy/internal/standalone/e2e_cost_bench_test.go:314
↓ 1 callers
Function
canonicalDir
canonicalDir resolves symlinks so a config path reached through a link ($PWD form, /tmp vs /private/tmp) matches the resolved cwd a transcript records
proxy/internal/store/learn.go:567
↓ 1 callers
Function
canonicalHeaderSet
canonicalHeaderSet builds the canonical headers block and the signed-headers list. Host plus every AWS-owned x-amz-* and x-amzn-* header present on th
shared/platform/awssig/awssig.go:130
↓ 1 callers
Function
canonicalHeaderValue
canonicalHeaderValue applies AWS SigV4's Trimall rule: leading/trailing whitespace is removed and every sequential whitespace run becomes one ASCII sp
shared/platform/awssig/awssig.go:161
↓ 1 callers
Method
canonicalOpenAIPrefix
(root map[string]any)
proxy/internal/standalone/e2e_cost_bench_test.go:510
↓ 1 callers
Function
canonicalQuery
canonicalQuery returns the query string sorted by key with each key and value URI-encoded, per the SigV4 canonical query rules.
shared/platform/awssig/awssig.go:187
↓ 1 callers
Function
canonicalToolSignature
(name, input string)
proxy/internal/store/learn_loops.go:103
↓ 1 callers
Function
canonicalURI
canonicalURI follows the non-S3 SigV4 path rules: normalize dot segments and repeated slashes, then URI-encode the escaped wire path again. This inclu
shared/platform/awssig/awssig.go:170
↓ 1 callers
Function
canonicalize
(value)
packages/cli/tests/receipts.runtime.mjs:31
↓ 1 callers
Function
canonicalizeGeminiToolCatalog
(raw []byte, elems []jsonsplice.Span)
proxy/providers/toolzone.go:221
↓ 1 callers
Function
canonicalizeNamespaceTools
(elBytes []byte)
proxy/providers/toolzone.go:364
↓ 1 callers
Function
capRunes
capRunes truncates s to at most maxBytes bytes without splitting a UTF-8 rune, so the compressor never emits a U+FFFD replacement character into the m
engine/compressors/toolschema.go:376
↓ 1 callers
Method
capabilities
(self)
packages/middleware/python/caveman_middleware/autogen.py:178
↓ 1 callers
Function
capabilityDisplayValue
(value: CapabilityValue)
packages/cli/src/index.ts:4767
↓ 1 callers
Function
capabilityProjectGroups
()
packages/cli/src/index.ts:5079
↓ 1 callers
Function
capabilitySourcesForStatus
()
packages/cli/src/index.ts:21906
↓ 1 callers
Function
capped
(v float64, max int)
proxy/internal/store/learn.go:1365
↓ 1 callers
Function
capture
(model, options = {})
packages/pi-extension/tests/provider-compat.runtime.mjs:56
↓ 1 callers
Function
captureStderr
(fn)
packages/cli/tests/config-file-injection.runtime.mjs:58
↓ 1 callers
Function
captureStderr
(t *testing.T, fn func())
engine/cmd/caveman-engine/main_test.go:159
↓ 1 callers
Method
captureTestImpact
(request Request, changedPath string)
proxy/internal/nativeruntime/runtime.go:1362
↓ 1 callers
Function
carriesToolResult
(body []byte, message jsonsplice.Span)
proxy/internal/gateway/route.go:1240
↓ 1 callers
Function
caseFolded
caseFolded reports whether raw, decoded into t, holds at any depth an object key that is not a field's exact JSON name but matches one case-insensitiv
proxy/internal/middleware/presence.go:88
↓ 1 callers
Function
cave
()
packages/sdk/typescript/tests/context-pack.runtime.mjs:13
↓ 1 callers
Function
cave
()
packages/sdk/typescript/tests/tool-events.runtime.mjs:26
↓ 1 callers
Function
cave
(agent)
packages/sdk/typescript/tests/assembly.runtime.mjs:13
↓ 1 callers
Function
caveHome
()
packages/cli/src/learn-autopilot.ts:40
↓ 1 callers
Function
caveHome
caveHome resolves and creates ~/.caveman, honoring CAVEMAN_HOME.
engine/cmd/caveman-engine/main.go:770
↓ 1 callers
Function
cavePlan
(cave: Cave)
packages/sdk/typescript/src/index.ts:1969
↓ 1 callers
Function
cavecrewAgentFiles
()
tests/installer/gemini-agents.test.mjs:24
↓ 1 callers
Function
caveman
(...argv)
packages/cli/tests/setup-real.e2e.mjs:32
↓ 1 callers
Function
caveman
(version)
tests/installer/ps1-pipe.test.mjs:107
↓ 1 callers
Function
caveman
(version)
tests/installer/shim-security.test.mjs:109
↓ 1 callers
Function
cavemanBinForHostShell
()
packages/cli/src/index.ts:17642
↓ 1 callers
Function
cavemanHookCommands
(settings, event, marker)
tests/installer/e2e.freshinstall.test.mjs:224
↓ 1 callers
Function
cavemannifyImportedSkill
(bytes: Buffer)
packages/cli/src/index.ts:2277
↓ 1 callers
Function
cavememSupersedeStdin
()
packages/cli/src/index.ts:21293
↓ 1 callers
Function
ccrPath
()
engine/cmd/caveman-engine/main.go:762
↓ 1 callers
Function
centralHeader
(name, bytes, checksum, offset)
extension/scripts/build-extension-zip.mjs:76
↓ 1 callers
Function
changePointBudget
changePointBudget bounds the number of accepted change-point splits.
engine/compressors/json.go:302
↓ 1 callers
Function
changePointSeams
changePointSeams finds up to maxSplits regime shifts in y via deterministic binary segmentation (a CUSUM split per segment, largest segment first), an
engine/compressors/json.go:535
↓ 1 callers
Function
changedExternalSkillTargets
( roots: ExternalSkillRoot[], before: Map<string, string>, )
packages/cli/src/index.ts:2497
↓ 1 callers
Function
charge
(size)
packages/middleware/python/caveman_middleware/_native.py:45
↓ 1 callers
Method
charsPerPage
charsPerPage is the character capacity of a full canvas page at this profile.
engine/pixel/density.go:205
↓ 1 callers
Function
chart_skill
(c)
benchmarks/render_charts.py:98
↓ 1 callers
Function
chart_wrap
(c)
benchmarks/render_charts.py:140
↓ 1 callers
Method
chat
(self, messages, **kwargs)
packages/middleware/python/caveman_middleware/llama_index.py:648
↓ 1 callers
Function
chatAnswerFailed
chatAnswerFailed reports a 200 chat body that is no completion: an error envelope, no choice, or no JSON at all.
proxy/internal/translate/messages.go:224
↓ 1 callers
Function
chatCallerEffort
chatCallerEffort is the effort a chat caller's body goes with: Options' own, else the caller's when the upstream spells effort otherwise than it came
proxy/internal/translate/translate.go:237
↓ 1 callers
Function
chatChoiceFromResponses
(raw json.RawMessage, bridge toolBridge)
proxy/internal/translate/responses_in.go:489
↓ 1 callers
Function
chatContentToHistoryText
(content any)
engine/pixel/history_openai.go:534
↓ 1 callers
Function
chatFile
chatFile is a Responses input_file (or a chat file part's file object) as a chat file part.
proxy/internal/translate/responses_in.go:793
↓ 1 callers
Function
chatFinish
chatFinish is the chat finish_reason a Messages stop reason stands for.
proxy/internal/translate/chat_stream.go:274
↓ 1 callers
Function
chatFormatFromResponses
chatFormatFromResponses carries `text.format` (codex exec --output-schema) as response_format.
proxy/internal/translate/responses_in.go:502
↓ 1 callers
Method
chatGPTAuto
chatGPTAuto serves one POST naming Auto on the agent's own login: a turn (/responses) runs the model and effort Cloud picks among AutoOpenAIModels, an
proxy/internal/gateway/chatgpt_auto.go:164
↓ 1 callers
Function
chatGPTAutoBody
chatGPTAutoBody returns the request body when it names Auto, decoded when the agent compressed it (Codex sends zstd). tooLarge is a body that decodes
proxy/internal/gateway/chatgpt_auto.go:143
↓ 1 callers
Method
chatGPTAutoDoor
chatGPTAutoDoor serves a /chatgpt POST whose head names Auto. A body that fits CAVE_MAX_REQUEST_BYTES and decodes whole goes through chatGPTAuto; a bi
proxy/internal/gateway/chatgpt_auto.go:551
↓ 1 callers
Method
chatGPTAutoModels
chatGPTAutoModels forwards GET /models and appends Auto to the catalog. The answer is asked for uncompressed and without a conditional: a cached catal
proxy/internal/gateway/chatgpt_auto.go:46
↓ 1 callers
Function
chatGPTRequestHashComplete
(fullyRead bool, contentLength int64, capture *cappedBuffer, tracker *eofTrackingReader)
proxy/internal/gateway/chatgpt.go:614
↓ 1 callers
Function
chatGPTRequestWantsStream
(wire []byte, contentEncoding string, truncated, complete bool)
proxy/internal/gateway/chatgpt.go:624
↓ 1 callers
Function
chatGPTSSEPrefixIsTerminal
(frame []byte)
proxy/internal/gateway/chatgpt.go:873
↓ 1 callers
Function
chatHistorySynthetic
(plan GptCollapsePlan)
engine/pixel/transform_openai.go:517
↓ 1 callers
Function
chatMessageToGptTurn
(msg any, idx int)
engine/pixel/history_openai.go:421
↓ 1 callers
Function
chatMessagesBody
--- chat -> Anthropic Messages ---------------------------------------------------- chatMessagesBody is a chat body translated for a Messages host. Th
proxy/internal/translate/chat_in.go:85
↓ 1 callers
Function
chatMeta
()
proxy/providers/openai/prefix_stability_test.go:20
↓ 1 callers
Function
chatPartsToBlocks
chatPartsToBlocks pushes a user message's parts as Anthropic blocks; audio, which Claude does not take, is refused.
proxy/internal/translate/chat_in.go:231
↓ 1 callers
Function
chatReasoning
chatReasoning maps Anthropic's thinking onto OpenRouter's reasoning parameter. An explicit budget is a budget; "adaptive" has no number, so it becomes
proxy/internal/translate/messages_in.go:328
↓ 1 callers
Function
chatRecoveryCallIDs
chatRecoveryCallIDs collects the tool_call ids of every caveman recovery call in the chat grammar, so the tool message answering one can be left alone
proxy/providers/openai/content_compress.go:286
↓ 1 callers
Function
chatResponsesBody
--- chat -> Responses ----------------------------------------------------------------- chatResponsesBody is a chat body translated for a Responses ho
proxy/internal/translate/chat_in.go:317
↓ 1 callers
Function
chatToolChoice
(choice obj)
proxy/internal/translate/messages_in.go:365
↓ 1 callers
Function
chatTools
chatTools renders Anthropic tools as chat functions; server tools (run by Anthropic's own API, nothing to forward) are refused.
proxy/internal/translate/messages_in.go:340
↓ 1 callers
Function
chatZones
(body []byte, root jsonSpan, liveOnly bool)
proxy/providers/openai/content_compress.go:146
↓ 1 callers
Method
chat_with_tools
(self, tools, user_msg=None, chat_history=None, **kwargs)
packages/middleware/python/tests/test_behavior.py:490
↓ 1 callers
Method
chatgpt
chatgpt is the ChatGPT-subscription Codex route. It preserves the agent's OAuth headers and streams responses unchanged. An entitled local compress ru
proxy/internal/gateway/chatgpt.go:55
↓ 1 callers
Function
chatgptTarget
()
proxy/internal/gateway/route_pool_test.go:355
↓ 1 callers
Function
checkAtlasLengths
(name string, cps, offsets []uint32, wide []uint8)
engine/pixel/atlas.go:78
↓ 1 callers
Function
checkConformancePins
(agentsById)
agents/compile.mjs:472
↓ 1 callers
Function
checkIDToken
checkIDToken checks the id_token's issuer, audience (the issued or the requested client id), nonce and expiry.
proxy/internal/pool/chatgpt.go:302
↓ 1 callers
Function
checkNodeVersion
()
installer/install.js:233
↓ 1 callers
Function
checkPlan
(value: unknown, request: OptimizeRequest, inputDigest: string, caps: PlanCapabilities)
packages/sdk/typescript/src/middleware/validate.ts:86
↓ 1 callers
Function
checkProfileInstallPins
(agentsById)
agents/compile.mjs:451
↓ 1 callers
Method
checkRecoveryBudget
(q querier, handle string, newBytes int64)
engine/ccr/store_sqlite.go:724
↓ 1 callers
Function
checkWslWindowsNode
()
installer/install.js:215
↓ 1 callers
Function
check_review_markers
Refuse a catalog that still carries an unreviewed sync proposal. YAML comments are invisible to the parsed rows, so this reads the raw file:
shared/provider-catalog/validate_catalog.py:172
↓ 1 callers
Function
checkedProduct
(a, b int64)
proxy/internal/store/learn_simulate.go:205
↓ 1 callers
Function
checkedSum
(a, b int64)
proxy/internal/store/learn_simulate.go:212
↓ 1 callers
Function
checkedUsageAdd
(a, b int)
proxy/internal/gateway/retrieve_tool.go:715
↓ 1 callers
Function
choose
(input: NodeJS.ReadStream, out: NodeJS.WriteStream, c: Colors, rows: [string, string][], found: FoundKeyChoice
packages/cli/src/modules/onboard.ts:763
← previous
next →
4,901–5,000 of 12,853, ranked by callers