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
↓ 3 callers
Function
scanObject
(scanner interface{ Scan(...any) error })
engine/ccr/store_sqlite.go:1036
↓ 3 callers
Function
scanSkills
scanSkills reads <root>/*/SKILL.md and estimates each skill's per-turn catalog tax (its name + description frontmatter, which loads at session start —
proxy/internal/store/config_scan.go:397
↓ 3 callers
Function
scanUsage
(t *testing.T, adapter providers.Adapter, body string)
proxy/providers/openaicompat/wire_dialect_test.go:53
↓ 3 callers
Function
scanYamlFlowSpan
(lines: string[], startLineIdx: number, startCol: number)
packages/cli/src/codemode.ts:434
↓ 3 callers
Function
schema
(binding: RecoveryBinding)
packages/middleware/typescript/src/google.ts:31
↓ 3 callers
Method
scope
scope is the PrefixCache scope of family's decisions. The model is in it: geometry is resolved per reader model, and a model switch starts a new provi
proxy/internal/gateway/pixel.go:241
↓ 3 callers
Function
secureLoginURL
(url: URL, allowLoopback = true)
packages/cli/src/index.ts:13411
↓ 3 callers
Function
seedRefChain
seedRefChain builds owner A (full copy), B (full copy) and C that points to B. It returns the ids and the exact bytes.
engine/ccr/store_consolidation_blocks_test.go:149
↓ 3 callers
Function
segmentBlocks
segmentBlocks splits one text payload into candidate blocks on blank-line boundaries, preserving each block's internal bytes verbatim. The editing ski
proxy/internal/store/recurring.go:232
↓ 3 callers
Function
selectedIDs
(items []contextwindow.Selected)
engine/contextwindow/contextwindow_test.go:79
↓ 3 callers
Function
sendAuto
(t *testing.T, srv *Server, header map[string]string)
proxy/internal/gateway/route_test.go:841
↓ 3 callers
Method
serve
(w http.ResponseWriter, upstream *http.Response)
proxy/internal/translate/translate.go:485
↓ 3 callers
Function
server
(t, handler)
packages/sdk/typescript/tests/transport-security.runtime.mjs:10
↓ 3 callers
Method
server
(t *testing.T)
proxy/internal/gateway/route_pool_test.go:45
↓ 3 callers
Function
serverFiles
serverFiles writes a server certificate from ca and returns dir.
proxy/internal/identity/tls_test.go:209
↓ 3 callers
Function
setTimeout
(_ms, timeoutCb)
tests/installer/download-hardening.test.mjs:48
↓ 3 callers
Function
settleLog
(lines int)
engine/compressors/invariants_test.go:449
↓ 3 callers
Function
setupDeclined
()
packages/cli/src/modules/onboard.ts:112
↓ 3 callers
Function
setupPlatform
( os: NodeJS.Platform = process.platform, nodeArch: string = process.arch, )
packages/cli/src/index.ts:2964
↓ 3 callers
Function
sha256
(value)
packages/cli/tests/modules-index.runtime.mjs:22
↓ 3 callers
Function
should_compress
Return True if the file is natural language and should be compressed.
plugins/caveman/skills/caveman-compress/scripts/detect.py:155
↓ 3 callers
Function
shrinkHookMarkerPath
(agentId: string)
packages/cli/src/index.ts:20106
↓ 3 callers
Function
shrinkToolResult
( bridge: HookBridge, sessionId: string, event: ToolResultEvent, recovery: Pick<RecoveryClient, "verif
packages/pi-extension/src/tool-output.ts:21
↓ 3 callers
Function
signedReleaseCli
(release = pinnedRelease)
packages/cli/tests/_binary-release.mjs:25
↓ 3 callers
Function
simulateLearnPlan
(plan LearnPlan, observedTurns int, sinkIDs []string)
proxy/internal/store/learn_simulate.go:46
↓ 3 callers
Function
sinkByPrefix
(plan LearnPlan, prefix string)
proxy/internal/store/trial_feature_test.go:729
↓ 3 callers
Function
skillsUsage
()
packages/cli/src/index.ts:2250
↓ 3 callers
Function
sleep
tests/middleware-e2e/harness.mjs:17
↓ 3 callers
Function
snapshot
(home)
packages/cli/tests/_modules.mjs:117
↓ 3 callers
Function
sortedCacheControlPositions
(req any)
engine/pixel/transform_anthropic.go:1546
↓ 3 callers
Function
sourceOf
(block obj)
proxy/internal/translate/messages_in.go:122
↓ 3 callers
Function
spelled_numbers
Digits for the number words the text spells out ("three" -> "3", "twenty-five" -> "25"). Widens only what the ORIGINAL permits, never what the co
skills/caveman-compress/scripts/validate.py:332
↓ 3 callers
Function
spinner
(out: NodeJS.WriteStream, c: Colors, animate: boolean, pad = "")
packages/cli/src/modules/onboard.ts:588
↓ 3 callers
Function
splitComponents
(components string)
proxy/internal/gateway/prefix_monitor_test.go:30
↓ 3 callers
Function
splitList
(raw: string)
packages/cli/src/codemode.ts:374
↓ 3 callers
Function
splitToolNames
(s string)
engine/evals/graders.go:458
↓ 3 callers
Function
standaloneUsageBasis
(usage providers.UsageObservation)
proxy/internal/gateway/proxy.go:2634
↓ 3 callers
Method
start
start emits message_start once, before any content. A chat or Responses host reports input usage only at the end, and Claude Code reads message_start'
proxy/internal/translate/messages_stream.go:339
↓ 3 callers
Function
startMissingProxyUI
(bin: string, options = startOptions([]))
packages/cli/src/index.ts:2832
↓ 3 callers
Function
startRuntime
(bin, env = {})
tests/middleware-e2e/harness.mjs:73
↓ 3 callers
Method
state
What the client currently holds.
packages/sdk/typescript/src/index.ts:1201
↓ 3 callers
Function
statsHTMLFixture
()
proxy/internal/store/stats_report_test.go:189
↓ 3 callers
Function
stop
()
packages/cli/src/modules/onboard.ts:608
↓ 3 callers
Method
stopLocked
stopLocked cancels the entry's timer, invalidates every callback of it and lets go of the held request.
proxy/internal/gateway/cache_warm.go:192
↓ 3 callers
Function
storeTS
(at time.Time)
proxy/internal/store/cache_components_test.go:207
↓ 3 callers
Function
stream
(input, config=None, **kwargs)
packages/middleware/python/caveman_middleware/langchain.py:363
↓ 3 callers
Method
stream
(self, messages, tool_specs=None, system_prompt=None, **kwargs)
packages/middleware/python/tests/test_behavior.py:291
↓ 3 callers
Function
stripAllBootstrapBlocks
(text)
installer/lib/openclaw.js:262
↓ 3 callers
Function
stripCacheControl
stripCacheControl returns value with every cache_control member removed from the block objects it may carry: the elements of a system or tools array,
proxy/providers/anthropic/frozen.go:112
↓ 3 callers
Function
stubAgent
({ dir, name = "claude", platform = process.platform })
packages/cli/tests/harness/stub-agent.mjs:35
↓ 3 callers
Function
subagentSink
(beh behaviorScan)
proxy/internal/store/learn.go:724
↓ 3 callers
Function
subagentSpendSink
subagentSpendSink reports the share of provider-counted context that ran in sidechains. It states no opinion about whether any of it should have.
proxy/internal/store/detect_subagent_spend.go:115
↓ 3 callers
Function
subscriptionCompressEnabled
(gate: WrapGate | null)
packages/cli/src/index.ts:5201
↓ 3 callers
Function
successResponse
(id json.RawMessage, result any)
mcp/protocol.go:49
↓ 3 callers
Function
syncLocalSavings
(cfg: Config)
packages/cli/src/index.ts:14113
↓ 3 callers
Function
syncPendingLocalScan
(cfg: Config)
packages/cli/src/index.ts:14006
↓ 3 callers
Function
syncSavingsLine
(out: SyncedOutcome, local = false)
packages/cli/src/index.ts:14270
↓ 3 callers
Function
systemTokens
systemTokens are the text tokens of `system` (a string or text blocks).
proxy/internal/translate/messages_in.go:82
↓ 3 callers
Function
tabularRows
(arr []toonValue, delimiter byte)
engine/compressors/toon_encode.go:312
↓ 3 callers
Method
tagReasoning
tagReasoning wraps the encrypted_content a Responses host other than OpenAI's own API wrote into an envelope naming that host, so its reasoning goes b
proxy/internal/translate/responses.go:281
↓ 3 callers
Function
tail
tail keeps the last n bytes of text, cut on a rune boundary.
proxy/internal/cloudlink/link.go:1536
↓ 3 callers
Function
taskPolicy
(taskType string)
proxy/internal/nativeruntime/runtime.go:1100
↓ 3 callers
Function
template
(s string)
engine/trim2/features.go:1486
↓ 3 callers
Function
temporary
(prefix)
packages/cli/tests/skills-add.runtime.mjs:13
↓ 3 callers
Function
testHash
(data []byte)
engine/ccr/store_consolidation_blocks_test.go:26
↓ 3 callers
Method
textBlock
textBlock pushes a text block holding the string token text (an empty one is skipped); cache is a caller's cache_control value to keep, or nil.
proxy/internal/translate/msgbuild.go:113
↓ 3 callers
Method
thought
thought is the thought signature the call carries, "" for none.
proxy/internal/translate/messages.go:61
↓ 3 callers
Method
to_otlp
(self)
packages/sdk/python/caveman_cloud/core.py:1564
↓ 3 callers
Function
tokenizeCommand
(command)
installer/lib/settings.js:259
↓ 3 callers
Function
toolPortfolioSink
toolPortfolioSink ranks measured tool-output volume by signature. Class is behavioral: the fix is either a habit change (narrower reads, quieter comma
proxy/internal/store/detect_tool_portfolio.go:184
↓ 3 callers
Function
toolResultBlock
(id, content string)
proxy/internal/gateway/cache_prefix_invariant_test.go:217
↓ 3 callers
Function
toolSignature
toolSignature normalizes a call into a groupable shape. It deliberately discards everything specific: no full paths, no arguments, no queries. The sig
proxy/internal/store/detect_tool_portfolio.go:107
↓ 3 callers
Method
tools
Build a tool-catalog handle with server-side search via ``/sdk/v1/tool-search``. ``strategy="all"`` → ``initial`` is the whole c
packages/sdk/python/caveman_cloud/core.py:652
↓ 3 callers
Method
tools
* Build a tool-catalog handle with server-side search via /sdk/v1/tool-search. * * strategy "all" → initial = whole catalog; search() still
packages/sdk/typescript/src/index.ts:473
↓ 3 callers
Function
toonDecodeBytes
toonDecodeBytes converts TOON back to compact JSON. Malformed TOON fails closed with an error; it never emits partial or guessed JSON.
engine/cmd/caveman-engine/main.go:689
↓ 3 callers
Function
toonEncodeBytes
toonEncodeBytes converts JSON to the lossless TOON subset. It fails closed: any input that is not valid JSON, or whose shape is outside the proven rou
engine/cmd/caveman-engine/main.go:679
↓ 3 callers
Method
transform
transform recursively compresses v. When preserve is true (inside an error/message subtree) the value is kept verbatim. collapsed is set to true when
engine/compressors/json.go:112
↓ 3 callers
Function
transport
(vector, calls)
packages/sdk/python/tests/test_middleware_preflight.py:17
↓ 3 callers
Function
trendSessionsAt
(start time.Time, count int, tokens int64)
proxy/internal/store/learn_trends_test.go:12
↓ 3 callers
Function
trimCCRReference
(value string)
proxy/internal/nativeruntime/receipt.go:257
↓ 3 callers
Function
unsafeForwardHeader
(name string, nominated map[string]struct{})
proxy/internal/gateway/headers.go:34
↓ 3 callers
Function
unwrap_google
The caller's original Client/Chat behind a Caveman wrapper; anything else unchanged.
packages/middleware/python/caveman_middleware/google.py:82
↓ 3 callers
Function
upstreamFailureCode
upstreamFailureCode is the error code for an upstream attempt that returned no response: a guard refusal is named as one, so neither the client nor th
proxy/internal/gateway/proxy.go:85
↓ 3 callers
Method
usable
usable reports whether open can open an original sealed with keyID.
proxy/internal/middleware/seal.go:91
↓ 3 callers
Function
usageInt
(m map[string]any, key string, usage *UsageObservation)
proxy/providers/adapter.go:1657
↓ 3 callers
Function
usageSecretDir
()
packages/cli/src/index.ts:22117
↓ 3 callers
Function
validDigest
(value string)
proxy/internal/store/store.go:1169
↓ 3 callers
Function
validEntitlement
()
packages/cli/tests/wrap.runtime.mjs:30
↓ 3 callers
Function
validEvidenceToken
(value string, limit int)
proxy/internal/store/store.go:1194
↓ 3 callers
Function
validJSONNumber
(s string)
engine/compressors/toon_encode.go:397
↓ 3 callers
Function
validName
validName bounds a principal name; 1024 leaves room for a source prefix and an issuer URL before a 256-character claim.
proxy/internal/identity/identity.go:119
↓ 3 callers
Function
validate
(original_path: Path, compressed_path: Path)
plugins/caveman/skills/caveman-compress/scripts/validate.py:522
↓ 3 callers
Function
validateEvent
(input: unknown, now: Date = new Date())
supabase/functions/blocks-telemetry/ingest.ts:114
↓ 3 callers
Function
validateHostInput
validateHostInput rejects URL/userinfo-shaped values before they reach DNS or an error formatter. IP literals (including zoned IPv6) are handled by ne
shared/platform/ssrf/ssrf.go:311
↓ 3 callers
Function
verifiedProviderRoute
( gateway: string, api: string | undefined, provider: string, originalBaseUrl: string | undefined, publish
packages/cli/src/provider-routing.ts:73
↓ 3 callers
Function
verifyChecksumSignatureBundle
(checksums, bundle, publicKeyPEM)
scripts/sign-binary-checksums.mjs:21
↓ 3 callers
Function
verifyExtensionRoot
(root, { exact = false } = {})
extension/scripts/verify-extension-stage.mjs:79
↓ 3 callers
Method
view
view is the capabilities document and transform set a request negotiated.
proxy/internal/middleware/runtime.go:275
↓ 3 callers
Method
walkObject
walkObject iterates one JSON object, handing each member's value to descend and recording a deletion for every key in drop (nil drop deletes nothing).
engine/compressors/toolschema_annotations.go:242
↓ 3 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
← previous
next →
2,501–2,600 of 13,382, ranked by callers