MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 5 callersFunctioneveryNamespace
(name string)
proxy/internal/middleware/runtime_test.go:61
↓ 5 callersFunctionextract_code_blocks
Line-based fenced code block extractor. Handles ``` and ~~~ fences with variable length (CommonMark: closing fence must use same char and be
skills/caveman-compress/scripts/validate.py:68
↓ 5 callersFunctionfactory
(*args, **kwargs)
packages/middleware/python/caveman_middleware/agno.py:561
↓ 5 callersMethodfetch
()
proxy/internal/identity/oidc.go:140
↓ 5 callersFunctionfileFingerprint
(path string)
proxy/internal/store/detect_memory_health.go:308
↓ 5 callersFunctionfillWithObjects
fillWithObjects inserts rows from next until the page cap refuses one, and returns the ids that went in.
engine/ccr/store_reclaim_test.go:44
↓ 5 callersMethodfinish
(self)
packages/middleware/python/caveman_middleware/google.py:414
↓ 5 callersFunctionfitOpenAIEffort
fitOpenAIEffort is clampEffort for an OpenAI-shaped upstream, where no effort field means the model's default: "none" on a model without it is its low
proxy/internal/translate/messages_in.go:671
↓ 5 callersFunctiongatewayObjectStringField
(body []byte, obj gatewayJSONSpan, field string)
proxy/internal/gateway/pixel.go:672
↓ 5 callersFunctiongatewaySkipJSONSpace
(body []byte, i int)
proxy/internal/gateway/retrieve_tool.go:290
↓ 5 callersFunctiongeminiAdapter
Zone tagging for the cross-turn prefix fix. Gemini caches repeated prompt prefixes implicitly, so a turn this proxy compressed while it was the live z
proxy/providers/gemini/prefix_stability_test.go:18
↓ 5 callersFunctiongeminiTurnConversation
(userTexts ...string)
proxy/internal/gateway/prefix_stability_payg_test.go:76
↓ 5 callersFunctionget
get issues an unauthenticated GET, for the probe routes that stay open.
proxy/internal/standalone/auth_token_test.go:51
↓ 5 callersFunctionglyphs
()
packages/cli/src/modules/onboard.ts:573
↓ 5 callersFunctiongreen
(s: string)
packages/cli/src/index.ts:23212
↓ 5 callersFunctionguardSync
(runtime: MiddlewareRuntime, adapter: string, work: () => T, fallback: () => T, wrapping = false)
packages/middleware/typescript/src/guard.ts:20
↓ 5 callersFunctionhandler
(projected)
packages/middleware/python/tests/test_behavior.py:915
↓ 5 callersFunctionhasCmd
(cmd)
installer/install.js:324
↓ 5 callersFunctionhasFile
(path: string)
packages/cli/src/index.ts:2186
↓ 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:8047
↓ 5 callersFunctionhookEntryCommand
(entry: Record<string, unknown>)
packages/cli/src/index.ts:7990
↓ 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 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 callersFunctionisJSONString
(body []byte, span jsonSpan)
proxy/providers/openai/content_compress.go:628
↓ 5 callersFunctionitoa
(n int64)
proxy/internal/gateway/server.go:802
↓ 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 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:2244
↓ 5 callersFunctionlegacyFlagPath
(claudeDir)
src/hooks/caveman-config.js:586
↓ 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:489
↓ 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:20
↓ 5 callersFunctionmustJSONGemini
(t *testing.T, v any)
engine/pixel/transform_gemini_test.go:365
↓ 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:8546
↓ 5 callersFunctionnativeMutationsFor
(agent: NativeAgent, gw: string, mcpBinary: string | undefined, { plan = false } = {})
packages/cli/src/index.ts:10775
↓ 5 callersFunctionnativePolicyMode
()
packages/cli/src/index.ts:17474
↓ 5 callersFunctionnativeProfile
()
packages/cli/src/index.ts:17467
↓ 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:1577
↓ 5 callersFunctionnormalizedTaskType
(value string)
proxy/internal/nativeruntime/runtime.go:1090
↓ 5 callersMethodnotify
(method: string)
packages/pi-extension/src/recovery.ts:294
↓ 5 callersFunctionobjectStringField
(body []byte, obj jsonSpan, field string)
proxy/providers/anthropic/content_compress.go:259
↓ 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 callersMethodobserve
observe records one gap of class; negative means the stream never came back.
proxy/internal/gateway/cache_warm_table.go:157
↓ 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 callersFunctionparseRetrieveCall
(provider, routePath string, respBody []byte)
proxy/internal/gateway/retrieve_tool.go:392
↓ 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:23128
↓ 5 callersFunctionproviderUsesOpenAITools
(provider string)
proxy/internal/gateway/retrieve_tool.go:346
↓ 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:7880
↓ 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:7427
↓ 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:10737
↓ 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:11528
↓ 5 callersMethodrequestContext
(parent context.Context)
browse/cdp.go:114
↓ 5 callersFunctionresolveCapabilities
({ forStart = false }: { forStart?: boolean } = {})
packages/cli/src/index.ts:4667
↓ 5 callersFunctionresolveCredentials
(meta: Partial<Config>)
packages/cli/src/index.ts:22894
↓ 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:1117
↓ 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
← previousnext →1,101–1,200 of 12,391, ranked by callers