MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 5 callersMethodoriginals
originals counts stored original bodies (credit-only rows excluded).
proxy/internal/middleware/runtime_test.go:85
↓ 5 callersFunctionoutcomeAt
(repo string, day int, tokens int64, turns, errors int)
proxy/internal/store/detect_outcomes_test.go:9
↓ 5 callersFunctionoutcomeSink
outcomeSink groups scanned sessions by whether a commit overlapped them, and reports what each cohort cost. It emits nothing unless git could actually
proxy/internal/store/detect_outcomes.go:154
↓ 5 callersMethodpageRows
pageRows is the row count that fills the profile's canvas height.
engine/pixel/density.go:217
↓ 5 callersFunctionparseJSONTOON
(input []byte)
engine/compressors/toon_encode.go:110
↓ 5 callersFunctionparseRetrieveCall
(provider, routePath string, respBody []byte)
proxy/internal/gateway/retrieve_tool.go:461
↓ 5 callersFunctionpassiveAttempt
(runtime: MiddlewareRuntime, adapter: string, reason: string, logicalCallId: string = crypto.randomUUID())
packages/middleware/typescript/src/common.ts:107
↓ 5 callersFunctionpassthrough
()
packages/sdk/typescript/src/index.ts:1663
↓ 5 callersFunctionplanBlocks
The breakpoint planner places Anthropic prompt-cache metadata on the upstream request. cache_control is not model-visible, so this is byte-safe under
proxy/providers/anthropic/breakpoint_plan_test.go:19
↓ 5 callersMethodpreflight
Nonthrowing discovery; caller cancellation still propagates.
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:92
↓ 5 callersMethodprepare
(self, body)
packages/middleware/python/caveman_middleware/_native.py:347
↓ 5 callersFunctionprocedureSinks
procedureSinks emits at most a handful of distillation candidates, ranked by how much re-derivation they represent.
proxy/internal/store/detect_procedures.go:148
↓ 5 callersFunctionprojectId
()
packages/cli/src/index.ts:23374
↓ 5 callersFunctionproviderUsesGeminiTools
(provider, routePath string)
proxy/internal/gateway/retrieve_tool.go:410
↓ 5 callersFunctionproviderUsesOpenAITools
(provider string)
proxy/internal/gateway/retrieve_tool.go:415
↓ 5 callersFunctionquote
(t *testing.T, value string)
proxy/providers/gemini/content_compress_test.go:47
↓ 5 callersFunctionquoteHookPath
( path: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:8098
↓ 5 callersFunctionrawObject
rawObject renders a top-level body: members sorted by key, values copied as they are (each already valid JSON).
proxy/internal/translate/jsonfast.go:362
↓ 5 callersFunctionraw_server
A raw socket server: handler(conn) runs per accepted connection on its own thread.
packages/sdk/python/tests/test_middleware_transport.py:84
↓ 5 callersFunctionreadIndex
()
packages/cli/src/modules/provider-logins.ts:60
↓ 5 callersFunctionreadJson
(path: string)
packages/cli/src/learn-autopilot.ts:91
↓ 5 callersFunctionreadJson5Lenient
(path: string)
packages/cli/src/index.ts:7645
↓ 5 callersMethodrecord
Record a tool call. Raises :class:`RetryLoopError` once an identical call has repeated past the threshold. A different call resets the streak.
packages/sdk/python/caveman_cloud/core.py:93
↓ 5 callersFunctionrecoverPendingNativeInstallUnlocked
(agent: NativeAgent)
packages/cli/src/index.ts:10978
↓ 5 callersMethodrecoverTool
(args json.RawMessage)
browse/session.go:374
↓ 5 callersFunctionrecovery_args
Model-written ``caveman_retrieve`` arguments, as an object or as keywords. Anything but an object with a string ``handle`` (``None``, a list, a st
packages/middleware/python/caveman_middleware/_guard.py:67
↓ 5 callersMethodremember
remember writes a pause the person can act on (a refused key, a used-up allowance, a billing limit) to $CAVEMAN_HOME/route-state.json, where `caveman
proxy/internal/cloudlink/link.go:1444
↓ 5 callersMethodrenderStyle
renderStyle builds the RenderStyle that draws this profile. Cell advance is expressed through CellWBonus (advance − glyph width); pitch and zebra are
engine/pixel/density.go:279
↓ 5 callersFunctionrepairNativeAgent
(target: NativeAgent, { quiet = false }: { quiet?: boolean } = {})
packages/cli/src/index.ts:11769
↓ 5 callersMethodrequestContext
(parent context.Context)
browse/cdp.go:114
↓ 5 callersFunctionresolveCapabilities
({ forStart = false }: { forStart?: boolean } = {})
packages/cli/src/index.ts:4676
↓ 5 callersFunctionresolveCredentials
(meta: Partial<Config>)
packages/cli/src/index.ts:23140
↓ 5 callersMethodresponsesSignature
responsesSignature is the thinking signature that carries a Responses reasoning item's encrypted_content back to the route that wrote it.
proxy/internal/translate/messages_responses.go:30
↓ 5 callersFunctionretroExpectedCut
retroExpectedCut measures the same segments the retro pass would, through the same engine call, so the assertion is an oracle rather than a magic numb
proxy/internal/store/learn_retro_test.go:138
↓ 5 callersFunctionretroTextLine
(t *testing.T, timestamp, text string)
proxy/internal/store/learn_retro_test.go:373
↓ 5 callersFunctionretroToolResultLine
(t *testing.T, payload string)
proxy/internal/store/learn_retro_test.go:359
↓ 5 callersFunctionrunGitIn
(t *testing.T, root string, args ...string)
proxy/internal/repointel/index_test.go:16
↓ 5 callersFunctionrunPixelRender
(args []string)
engine/cmd/caveman-engine/main.go:312
↓ 5 callersMethodrun_cli
(self, args, cwd, module=False)
tests/test_compress_cli.py:15
↓ 5 callersFunctionsaveTelemetryConfig
(telemetry: TelemetryConfig)
packages/cli/src/index.ts:1126
↓ 5 callersFunctionscanJSONValue
(body []byte, start int)
proxy/providers/anthropic/splice.go:103
↓ 5 callersMethodscanSession
(ref sessionRef, since time.Time, emit func(turnEvent), deadline *behaviorDeadline)
proxy/internal/store/session_source.go:23
↓ 5 callersFunctionsend
(_)
packages/middleware/python/tests/test_behavior.py:237
↓ 5 callersFunctionserveCaptureRequest
(t *testing.T, srv *Server, path, body string)
proxy/internal/gateway/capture_test.go:79
↓ 5 callersFunctionserveLines
serveLines drives the server with raw request lines and returns the raw non-empty output lines (a JSON-RPC batch response is a single array line, so t
mcp/server_test.go:564
↓ 5 callersMethodserver
(t *testing.T)
proxy/internal/cloudlink/route_effort_test.go:107
↓ 5 callersFunctionsessionActivePath
(claudeDir, sessionId)
src/hooks/caveman-config.js:607
↓ 5 callersFunctionsetModel
setModel replaces the value of the top-level "model" string and leaves every other byte as it was. ok is false when there is no such string field.
proxy/internal/gateway/route.go:251
↓ 5 callersFunctionsha256
tests/middleware-e2e/harness.mjs:16
↓ 5 callersFunctionsharedComponents
sharedComponents is how many leading cached-prefix components every conversation of an agent shares: system and tools in a CachedPrefixInspector split
proxy/internal/gateway/raw_pin.go:307
↓ 5 callersFunctionskipValue
skipValue returns the offset just past the JSON value at i without inspecting it. The input is pre-validated, so container nesting is tracked by depth
engine/compressors/toolschema_annotations.go:327
↓ 5 callersMethodspace
()
proxy/providers/inspect.go:143
↓ 5 callersMethodspans
(body []byte)
proxy/internal/gateway/route.go:340
↓ 5 callersFunctionsplitWrappedLinesIntoReadablePages
(lines []string, maxLines, maxChars int)
engine/pixel/render.go:244
↓ 5 callersFunctionstoredModules
()
packages/cli/src/modules/apply.ts:135
↓ 5 callersMethodstreamResponse
(w http.ResponseWriter, r *http.Request, src io.Reader, stream bool, requestID string, completion streamComple
proxy/internal/gateway/proxy.go:2478
↓ 5 callersFunctionstrictNonNegativeInt
(value: unknown)
packages/sdk/typescript/src/index.ts:1985
↓ 5 callersFunctionstringOr
(v any, fallback string)
engine/pixel/history_openai.go:496
↓ 5 callersFunctionsubCachedBlock
(text string)
proxy/internal/gateway/subscription_live_zone_test.go:53
↓ 5 callersFunctiontelemetryAnonymousId
(state: TelemetryRuntimeState)
packages/cli/src/index.ts:1321
↓ 5 callersFunctiontestStore
(t *testing.T)
mem/cmd/cavemem/main_test.go:30
↓ 5 callersFunctiontmpStore
tmpStore returns a WithStorePath option pointing at a fresh per-test database file, so tests never write to the shared ~/.caveman/ccr.db.
shrink/shrink_test.go:45
↓ 5 callersFunctiontoolInputSummary
(value any)
proxy/internal/store/learn_loops.go:152
↓ 5 callersFunctionturn
(call, content)
packages/middleware/python/tests/test_behavior.py:765
↓ 5 callersFunctionunescapedKey
unescapedKey is a key as written between its quotes, decoded when it holds an escape ("r\u006fle" is "role").
proxy/internal/translate/jsonfast.go:187
↓ 5 callersFunctionunlinkRegular
(p, expectedStat)
installer/lib/openclaw.js:115
↓ 5 callersFunctionunresolvedInternalRefs
unresolvedInternalRefs resolves each local JSON Pointer from the schema resource that contains it: an embedded tool schema or the nearest subschema ca
engine/compressors/toolschema_test.go:398
↓ 5 callersFunctionunwrapInput
unwrapInput removes supported presentation wrappers in outer-to-inner order. Six layers cover known agent compositions (e.g. Claude <system-reminder>
engine/filewrap.go:199
↓ 5 callersFunctionusd
(v float64)
proxy/internal/store/observe_test.go:10
↓ 5 callersFunctionuserBlocksFromBody
(t *testing.T, body []byte)
engine/pixel/transform_anthropic_test.go:369
↓ 5 callersMethodwait
(self, operation)
packages/middleware/python/caveman_middleware/autogen.py:130
↓ 5 callersFunctionwaitForAccess
(t *testing.T, link *Link, want string)
proxy/internal/cloudlink/link_test.go:1140
↓ 5 callersFunctionwaitForRepositoryMap
(t *testing.T, store *ccr.Store, sessionID string)
proxy/internal/nativeruntime/runtime_test.go:445
↓ 5 callersMethodwaitWarms
(t *testing.T, want int32)
proxy/internal/cloudlink/warm_test.go:62
↓ 5 callersFunctionweightedInputDeltaUSD
weightedInputDeltaUSD prices a signed local delta using observed disjoint input/cache-read/5m-write/1h-write proportions. Cache mix of the removed tok
proxy/internal/gateway/stats_accounting.go:279
↓ 5 callersFunctionwithCacheKey
withCacheKey sets prompt_cache_key to the session's key when the body has none (the harness's own is never replaced).
proxy/internal/gateway/route_cache.go:50
↓ 5 callersFunctionwithCavemanOpenAITools
(client:T,options:OpenAIOptions & {protocol:'openai-chat'|'openai-responses';tools:(ChatFunction|ResponseFunct
packages/middleware/typescript/src/openai.ts:34
↓ 5 callersFunctionwithInstanceIdentity
withInstanceIdentity proves that the health listener is the generation named by its run-state file. The token is never attached to inference traffic.
proxy/cmd/caveman-proxy/main.go:511
↓ 5 callersFunctionwith_caveman_agent
Return native AssistantAgent constructor options, leaving its loop intact. Accepts the native ``tools`` list or ``workbench`` (including a workbe
packages/middleware/python/caveman_middleware/autogen.py:503
↓ 5 callersFunctionwrapNotFoundUI
(requested: string, agent?: AgentProfile)
packages/cli/src/index.ts:12962
↓ 5 callersFunctionwriteJSON
(w io.Writer, v any)
mem/cmd/cavemem/main.go:426
↓ 5 callersFunctionyamlText
(lines: string[])
packages/cli/src/index.ts:14482
↓ 4 callersMethodAgentEvidenceForBuild
AgentEvidenceForBuild returns all requests for one exact session/build/plan tuple in provider-call order. Partial or malformed identity fails closed.
proxy/internal/store/store.go:873
↓ 4 callersMethodAnalyzeTrial
AnalyzeTrial runs local-only replay checks against captured payloads, stores the resulting moves, then returns the public TrialPlan. Local never verif
proxy/internal/store/trial_store.go:199
↓ 4 callersFunctionAppendArrayElements
AppendArrayElements inserts elements immediately before an array's closing bracket. Existing bytes, whitespace, and element order remain untouched.
proxy/providers/jsonsplice/jsonsplice.go:300
↓ 4 callersMethodChoices
Choices returns the scope's choices among ids, keyed by id.
proxy/internal/store/middleware.go:303
↓ 4 callersMethodClose
()
browse/cdp.go:93
↓ 4 callersMethodEntries
Entries is the pool the logins reach for a caller speaking grammar, for agent (the x-cave-agent slug): every login's models on a wire this runtime can
proxy/internal/pool/pool.go:391
↓ 4 callersFunctionEstimateImageCount
(text string, cols, numCols, maxCharsPerImage int, rp renderParams)
engine/pixel/textprep.go:46
↓ 4 callersFunctionEvalCompressionProfitability
(text string, cols, imageCountCap, numCols int, charsPerToken, priorWarmTokens, priorWarmImageTokens float64,
engine/pixel/gate.go:101
↓ 4 callersFunctionExtractCompressible
ExtractCompressible is exported so Azure OpenAI and OpenAI-compatible adapters can reuse the identical wire grammar without changing provider identity
proxy/providers/openai/content_compress.go:47
↓ 4 callersFunctionExtractFactSheetEntries
(text string)
engine/pixel/factsheet.go:67
↓ 4 callersFunctionFitEffort
FitEffort maps an effort chosen for another model onto the levels model takes on grammar's own API (the asked model when a pool target fails): the Cla
proxy/internal/translate/effort.go:185
↓ 4 callersMethodForget
Forget deletes a memory by id and atomically repairs neighboring lineage pointers. Expired predecessors stay expired: deleting a current version means
mem/store.go:346
↓ 4 callersMethodFrozenLevers
FrozenLevers returns this session's frozen levers in a stable order, for the x-caveman-tripwire disclosure header.
proxy/internal/gateway/ledger.go:123
↓ 4 callersMethodFrozenPrefixComponents
(body []byte, meta providers.RequestMetadata)
proxy/internal/gateway/server.go:223
↓ 4 callersMethodGetMetadata
GetMetadata returns optional compressor metadata stored with a handle. A known handle with no metadata returns nil, nil; an unknown handle returns Err
engine/ccr/store_wasm.go:96
↓ 4 callersMethodInsertConfigSnapshots
InsertConfigSnapshots persists the measured config sources (evidence/export).
proxy/internal/store/config_scan.go:637
↓ 4 callersFunctionIsReadOnlyTool
IsReadOnlyTool classifies whether a downstream MCP tool is safe for read-only execution (`codemode_execute`) vs requiring `codemode_mutate` so the hos
mcp/codemode/codemode.go:74
↓ 4 callersFunctionJSON
(w http.ResponseWriter, status int, body any)
shared/platform/httpx/httpx.go:35
← previousnext →1,201–1,300 of 12,853, ranked by callers