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
↓ 3 callers
Method
runtimePolicy
* A runtime-policy client for this project. * * Policies come from the project's published policy (delivered overlay), read * once per `refre
packages/sdk/typescript/src/index.ts:632
↓ 3 callers
Function
safeTerm
(value string)
proxy/internal/repointel/index.go:777
↓ 3 callers
Function
sameGroup
sameGroup reports whether two requests were in flight together. The provider may have processed either first, so the rule is checked both ways between
proxy/internal/gateway/cache_prefix_invariant_test.go:139
↓ 3 callers
Function
samePath
(a: string, b: string, platform: NodeJS.Platform = process.platform)
packages/cli/src/index.ts:2995
↓ 3 callers
Function
sameSQLiteFile
(a, b os.FileInfo)
engine/ccr/store_generation.go:77
↓ 3 callers
Function
sameSnapshot
(left, right)
installer/lib/openclaw.js:57
↓ 3 callers
Function
save
(model)
packages/cli/tests/native-enable.runtime.mjs:3425
↓ 3 callers
Method
save
save writes the counts atomically, 0600: counts per class and bin only. A path that is a symlink (or anything but a plain file) is left alone. Two pro
proxy/internal/gateway/cache_warm_table.go:229
↓ 3 callers
Function
saveDirectState
(logger *slog.Logger, state directState)
browse/cmd/caveman-browse/main.go:446
↓ 3 callers
Function
scanConfig
scanConfig reads every config-tax source for the current working directory and the user's global agent config. cwd is where `caveman learn` was invoke
proxy/internal/store/config_scan.go:213
↓ 3 callers
Function
scanJSONValue
(body []byte, start int)
proxy/providers/openai/content_compress.go:559
↓ 3 callers
Function
scanLearnSessionMetrics
scanLearnSessionMetrics is an independent small aggregation over normalized turn events. strictAfter excludes undated/equal timestamps and is used by
proxy/internal/store/learn_portfolio.go:135
↓ 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
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:224
↓ 3 callers
Function
secureLoginURL
(url: URL, allowLoopback = true)
packages/cli/src/index.ts:13069
↓ 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
Method
setup
(self)
packages/sdk/python/tests/test_middleware_transport.py:31
↓ 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:2920
↓ 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:19602
↓ 3 callers
Function
shrinkToolResult
( bridge: HookBridge, sessionId: string, event: ToolResultEvent, recovery: Pick<RecoveryClient, "verif
packages/pi-extension/src/tool-output.ts:21
↓ 3 callers
Method
signature
Canonical signature for a tool call (name + sorted-key JSON args).
packages/sdk/typescript/src/index.ts:676
↓ 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:2231
↓ 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
spinner
(out: NodeJS.WriteStream, c: Colors, animate: boolean, pad = "")
packages/cli/src/modules/onboard.ts:586
↓ 3 callers
Function
splitComponents
(components string)
proxy/internal/gateway/prefix_monitor_test.go:30
↓ 3 callers
Function
splitToolNames
(s string)
engine/evals/graders.go:458
↓ 3 callers
Function
standaloneUsageBasis
(usage providers.UsageObservation)
proxy/internal/gateway/proxy.go:2326
↓ 3 callers
Function
start
(argv: string[] = [])
packages/cli/src/index.ts:2693
↓ 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:2788
↓ 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:606
↓ 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:292
↓ 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:5149
↓ 3 callers
Function
successResponse
(id json.RawMessage, result any)
mcp/protocol.go:49
↓ 3 callers
Function
syncLocalSavings
(cfg: Config)
packages/cli/src/index.ts:13771
↓ 3 callers
Function
syncPendingLocalScan
(cfg: Config)
packages/cli/src/index.ts:13664
↓ 3 callers
Function
syncSavingsLine
(out: SyncedOutcome, local = false)
packages/cli/src/index.ts:13928
↓ 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:1099
↓ 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:641
↓ 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:631
↓ 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
trimStack
trimStack keeps first + last few frames, eliding the middle if too long. It filters out empty lines and non-stack-frame lines (message lines, blank li
engine/compressors/testreport.go:472
↓ 3 callers
Function
unwrapCodexExec
unwrapCodexExec finds the result line with the largest `output` string. A line qualifies only when it is a JSON object ending in its `output` string (
engine/codexexec.go:36
↓ 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:59
↓ 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:80
↓ 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:1649
↓ 3 callers
Function
usageSecretDir
()
packages/cli/src/index.ts:21613
↓ 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
← previous
next →
2,401–2,500 of 12,853, ranked by callers