MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 5 callersFunctionblockedf
(format string, args ...any)
shared/platform/ssrf/ssrf.go:29
↓ 5 callersMethodbody
()
proxy/internal/gateway/cache_prefix_invariant_test.go:287
↓ 5 callersFunctionbuildLearnSpend
buildLearnSpend prices the accumulated buckets. Returns nil when nothing priceable was measured — an empty spend card is worse than none.
proxy/internal/store/learn_pricing.go:185
↓ 5 callersMethodcall
(event: HookEvent, payload: Record<string, unknown>)
packages/pi-extension/src/lifecycle.ts:61
↓ 5 callersMethodcall
(ctx context.Context, region, keyID, operation string, input, output any)
shared/platform/kms/kms.go:346
↓ 5 callersFunctioncanonicalTestPath
(path)
packages/cli/tests/kilo-wrap.runtime.mjs:101
↓ 5 callersFunctioncapabilities
(t *testing.T, r *Runtime, features string)
proxy/internal/middleware/protocol_v11_test.go:91
↓ 5 callersFunctionchat
(message, finish_reason = 'stop')
packages/middleware/typescript/tests/hardening.test.mjs:302
↓ 5 callersFunctionchatGPTRequestHeaders
chatGPTRequestHeaders preserves OAuth/account and ordinary application headers while removing proxy-private and hop-by-hop fields.
proxy/internal/gateway/headers.go:49
↓ 5 callersFunctionchatGPTRouteServer
chatGPTRouteServer is a record-mode ChatGPT route served by rt.
proxy/internal/gateway/chatgpt_auto_test.go:671
↓ 5 callersFunctionchatgptCompressServer
chatgptCompressServer wires the /chatgpt route with live-zone compression available; recovery toggles the out-of-band CAVEMAN_RECOVERY=mcp stamp.
proxy/internal/gateway/chatgpt_test.go:1187
↓ 5 callersFunctionchatgptProxyLogLine
(t *testing.T, logs *bytes.Buffer)
proxy/internal/gateway/chatgpt_test.go:1203
↓ 5 callersFunctioncheck
(schemaName, value, label)
packages/shared/contracts/scripts/validate-schemas.mjs:93
↓ 5 callersFunctioncheck
(ok: boolean)
supabase/functions/blocks-telemetry/ingest.ts:44
↓ 5 callersFunctionchromeHealthy
(endpoint string)
browse/cmd/caveman-browse/main.go:289
↓ 5 callersFunctionclaimRuntimePort
(say: (line: string) => void = (line) => process.stderr.write(`${line}\n`))
packages/cli/src/modules/apply.ts:457
↓ 5 callersFunctionclearAWSEnv
clearAWSEnv leaves only the chain source the test wires; a developer's own AWS_* exports would otherwise take precedence and the assertions would pass
proxy/internal/standalone/bedrock_chain_test.go:37
↓ 5 callersMethodclick
(ctx context.Context, x, y float64)
browse/cdp.go:353
↓ 5 callersFunctioncloneJsonValue
(v: T)
packages/cli/src/index.ts:12174
↓ 5 callersFunctioncodexTomlLines
(text: string)
packages/cli/src/index.ts:10202
↓ 5 callersFunctioncommaCount
(value: number)
packages/cli/src/index.ts:20237
↓ 5 callersFunctioncommandHasPath
(command: string)
packages/cli/src/index.ts:23578
↓ 5 callersFunctioncommitOn
commitOn commits w when it is a gate.
proxy/internal/translate/translate.go:475
↓ 5 callersFunctioncomponentList
(n int, seed byte)
proxy/internal/store/cache_components_test.go:25
↓ 5 callersMethodcompressRequest
compressRequest applies S4 compression to live-zone content and re-applies the replacements it already emitted to frozen content. Each live segment is
proxy/internal/gateway/proxy.go:1675
↓ 5 callersMethodconfigTaxPerTurn
configTaxPerTurn is the statically measured token tax loaded on every turn: CLAUDE.md (user + project) + the user skill catalog. Hooks/plugins are rep
proxy/internal/store/config_scan.go:362
↓ 5 callersFunctionconfigTrendSink
configTrendSink names what grew. Paths ARE included here, unlike in the digest: this sink is for the user's own eyes and a growth finding without the
proxy/internal/store/detect_config_trend.go:107
↓ 5 callersFunctionconfigured_model
(default_model: Optional[str] = None)
plugins/caveman/skills/caveman-compress/scripts/compress.py:565
↓ 5 callersFunctionconfigured_model
(default_model: Optional[str] = None)
skills/caveman-compress/scripts/compress.py:565
↓ 5 callersFunctioncrSuffix
crSuffix returns the CR a synthesized line needs so it matches the endings the rest of the document uses.
engine/compressors/lineends.go:46
↓ 5 callersMethoddecline
Pass through at wrap time (an untested framework version, a recovery tool name conflict) without content or I/O. Takes any catalog reason (an
packages/sdk/python/caveman_cloud/middleware/runtime.py:827
↓ 5 callersFunctiondecode
(t *testing.T, b []byte)
proxy/providers/anthropic/cache_breakpoints_test.go:26
↓ 5 callersFunctiondecodeRequestJSON
decodeRequestJSON preserves numeric lexemes inside dynamic provider fields. A float64 round trip changes large integer tool arguments/schema constrain
engine/pixel/transform_anthropic.go:592
↓ 5 callersFunctiondie
(msg)
installer/install.js:195
↓ 5 callersFunctioneffortInForce
effortInForce is the effort the bytes sent run at: the newest per-message mark (an Anthropic system message, a Responses configuration_update), else t
proxy/internal/gateway/route.go:1298
↓ 5 callersFunctionenableNative
(argv: string[], { quiet = false }: { quiet?: boolean } = {})
packages/cli/src/index.ts:11099
↓ 5 callersFunctionencodedBody
encodedBody compresses a request body the way an agent would send it; "raw-deflate" is a deflate stream without the zlib wrapper, which some clients s
proxy/internal/gateway/chatgpt_auto_test.go:250
↓ 5 callersMethodenv
(name string)
shared/platform/awscreds/awscreds.go:277
↓ 5 callersMethodevent
(self, value)
packages/middleware/python/caveman_middleware/google.py:392
↓ 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:359
↓ 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:23454
↓ 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:2195
↓ 5 callersFunctionheartbeat
heartbeat is called on each silence tick, before a ping or keepalive.
proxy/internal/translate/translate.go:408
↓ 5 callersFunctionhermesHome
(env: NodeJS.ProcessEnv = process.env, platform: NodeJS.Platform = process.platform)
packages/cli/src/index.ts:14442
↓ 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:8265
↓ 5 callersFunctionhookEntryCommand
(entry: Record<string, unknown>)
packages/cli/src/index.ts:8208
↓ 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 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:642
↓ 5 callersFunctionisSelfServer
(name: string, cfg: CodemodeServerConfig)
packages/cli/src/codemode.ts:51
↓ 5 callersFunctionitoa
(n int64)
proxy/internal/gateway/server.go:811
↓ 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:2422
↓ 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:8787
↓ 5 callersFunctionnativeMutationsFor
(agent: NativeAgent, gw: string, mcpBinary: string | undefined, { plan = false } = {})
packages/cli/src/index.ts:11016
↓ 5 callersFunctionnativePolicyMode
()
packages/cli/src/index.ts:17720
↓ 5 callersFunctionnativeProfile
()
packages/cli/src/index.ts:17713
↓ 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:1604
↓ 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 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
← previousnext →1,101–1,200 of 12,853, ranked by callers