MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 5 callersFunctionhasCmd
(cmd)
installer/install.js:324
↓ 5 callersFunctionhasFile
(path: string)
packages/cli/src/index.ts:2214
↓ 5 callersFunctionheartbeat
heartbeat is called on each silence tick, before a ping or keepalive.
proxy/internal/translate/translate.go:408
↓ 5 callersFunctionhome
home writes a fake credential store: an index and 0600 secret files.
proxy/internal/pool/pool_test.go:17
↓ 5 callersFunctionhookCommandBasename
(token: string)
packages/cli/src/index.ts:8367
↓ 5 callersFunctionhookEntryCommand
(entry: Record<string, unknown>)
packages/cli/src/index.ts:8310
↓ 5 callersFunctioninScope
(id: ModuleId, only: ModuleId[] | undefined)
packages/cli/src/modules/apply.ts:139
↓ 5 callersFunctioninjectRetrieveTool
(provider, routePath string, body []byte)
proxy/internal/gateway/retrieve_tool.go:52
↓ 5 callersFunctioninlineText
(n *html.Node)
engine/compressors/html_table.go:357
↓ 5 callersFunctionintPtr
(v int)
engine/pixel/transform_anthropic.go:1542
↓ 5 callersMethodis
is reports a member named name (its key decoded when it holds an escape; an escape only lengthens a key, so one no longer than name is compared as wri
proxy/internal/translate/jsonfast.go:178
↓ 5 callersFunctionisJSONArray
(data []byte, span jsonsplice.Span)
proxy/providers/bedrock/cache_points.go:304
↓ 5 callersFunctionisJSONString
(body []byte, span jsonSpan)
proxy/providers/openai/content_compress.go:647
↓ 5 callersFunctionisSelfServer
(name: string, cfg: CodemodeServerConfig)
packages/cli/src/codemode.ts:51
↓ 5 callersFunctionitoa
(n int64)
proxy/internal/gateway/server.go:860
↓ 5 callersFunctionjoinLines
joinLines is the inverse of splitLines.
engine/compressors/lineends.go:30
↓ 5 callersFunctionjson
(path)
packages/cli/tests/claude-profiles.runtime.mjs:20
↓ 5 callersFunctionjsonChars
(value)
packages/subagent-tax/lib/analyze.mjs:12
↓ 5 callersFunctionjsonResponse
(r *http.Request, status int, body string)
proxy/internal/standalone/e2e_cost_bench_test.go:678
↓ 5 callersFunctionkeepQueryRelevant
keepQueryRelevant adds the highest-scoring BM25 documents to keep. Existing force-keeps are never removed. Selection is deterministic: score descendin
engine/compressors/relevance.go:12
↓ 5 callersFunctionlabelOrDefault
(v, fallback string)
proxy/internal/gateway/proxy.go:2730
↓ 5 callersFunctionlegacyFlagPath
(claudeDir)
src/hooks/caveman-config.js:586
↓ 5 callersMethodline
(s string)
engine/compressors/html_table.go:31
↓ 5 callersMethodlines
(t *testing.T)
proxy/internal/nativeruntime/drop_log_test.go:29
↓ 5 callersFunctionloadRuleset
(mode, hookDir)
src/hooks/caveman-config.js:852
↓ 5 callersFunctionlogStoreWarning
(logger *slog.Logger, msg string, err error)
proxy/internal/store/trial_store.go:796
↓ 5 callersFunctionloopbackListen
loopbackListen reports whether addr binds only the local machine. It is the one test behind two decisions: whether a token on this listener deserves t
proxy/cmd/caveman-proxy/main.go:497
↓ 5 callersMethodmode_of
(self, session_id)
tests/test_mode_tracker.py:375
↓ 5 callersFunctionmodelsUpstream
modelsUpstream stubs a provider's read-only model catalog and records what path/method/headers the proxy forwarded.
proxy/internal/gateway/models_metadata_route_test.go:22
↓ 5 callersFunctionmustMarshalTest
(t *testing.T, v any)
engine/pixel/transform_openai_test.go:326
↓ 5 callersFunctionmustMkdir
(t *testing.T, dir string)
proxy/internal/store/detect_memory_health_test.go:29
↓ 5 callersFunctionnativeJournalPath
(agent: string)
packages/cli/src/index.ts:8889
↓ 5 callersFunctionnativeMutationsFor
(agent: NativeAgent, gw: string, mcpBinary: string | undefined, { plan = false } = {})
packages/cli/src/index.ts:11310
↓ 5 callersFunctionnativePolicyMode
()
packages/cli/src/index.ts:18104
↓ 5 callersFunctionnativeProfile
()
packages/cli/src/index.ts:18097
↓ 5 callersFunctionnewCode
newCode returns the code compressor with default options (bodies elided, comments/docstrings kept) — the historical behavior.
engine/compressors/code_cgo.go:49
↓ 5 callersFunctionnewCodeWith
newCodeWith constructs the code compressor with explicit options (used by callers/tests that want comment or docstring removal).
engine/compressors/code_cgo.go:53
↓ 5 callersFunctionnewShownModel
(src io.Reader, sent, asked string)
proxy/internal/gateway/route.go:1634
↓ 5 callersFunctionnormalizedTaskType
(value string)
proxy/internal/nativeruntime/runtime.go:1091
↓ 5 callersMethodnotify
(method: string)
packages/pi-extension/src/recovery.ts:294
↓ 5 callersFunctionobjectWith
objectWith renders o with member key's value replaced by value (appended when o has none); every other member keeps its bytes.
proxy/internal/translate/messages.go:391
↓ 5 callersMethodobserveSession
observeSession extracts every n-gram of tool signatures in the session's call order and books the output tokens the span consumed.
proxy/internal/store/detect_procedures.go:60
↓ 5 callersFunctionopenAITestOptions
(model string)
engine/pixel/transform_openai_test.go:285
↓ 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 callersFunctionparseJsoncObject
(text: string)
packages/cli/src/harnesses/shared.ts:55
↓ 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:23878
↓ 5 callersFunctionproviderUsesGeminiTools
(provider, routePath string)
proxy/internal/gateway/retrieve_tool.go:410
↓ 5 callersFunctionproviderUsesOpenAITools
(provider string)
proxy/internal/gateway/retrieve_tool.go:415
↓ 5 callersFunctionquoteHookPath
( path: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:8200
↓ 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:7784
↓ 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:11272
↓ 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:12087
↓ 5 callersMethodreply
()
proxy/internal/gateway/cache_prefix_invariant_test.go:263
↓ 5 callersMethodrequestContext
(parent context.Context)
browse/cdp.go:114
↓ 5 callersFunctionresolveCapabilities
({ forStart = false }: { forStart?: boolean } = {})
packages/cli/src/index.ts:4728
↓ 5 callersFunctionresolveCredentials
(meta: Partial<Config>)
packages/cli/src/index.ts:23644
↓ 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 callersMethodrewriteRequest
rewriteRequest is compressRequest with the new-compression veto exposed: allowNew=false still substitutes every replacement already emitted, because t
proxy/internal/gateway/proxy.go:1757
↓ 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:360
↓ 5 callersMethodrun_cli
(self, args, cwd, module=False)
tests/test_compress_cli.py:15
↓ 5 callersFunctionsaveTelemetryConfig
(telemetry: TelemetryConfig)
packages/cli/src/index.ts:1145
↓ 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 callersMethodsetup
(self)
packages/sdk/python/tests/test_middleware_transport.py:31
↓ 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
← previousnext →1,201–1,300 of 13,382, ranked by callers