MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 4 callersFunctionrewritable
rewritable returns the blocks the proxy may rewrite. An ok=false result means the adapter found nothing rewritable at all, which is the strongest form
proxy/providers/openai/recovery_exempt_test.go:16
↓ 4 callersFunctionround
tests/middleware-e2e/perf.mjs:21
↓ 4 callersMethodroundTrip
(ctx context.Context, method string, params any)
mcp/codemode/http_upstream.go:349
↓ 4 callersMethodrunRetrieveLoop
(ctx context.Context, upstream *http.Client, reqURL *url.URL, headers http.Header, reqBody, originalBody []byt
proxy/internal/gateway/retrieve_tool.go:993
↓ 4 callersFunctionrunServe
(logger *slog.Logger)
proxy/cmd/caveman-proxy/main.go:205
↓ 4 callersFunctionrunStatus
(logger *slog.Logger, args []string)
proxy/cmd/caveman-proxy/main.go:603
↓ 4 callersFunctionsafeRelative
(value)
installer/lib/owned-install.js:19
↓ 4 callersFunctionsafeTOONKey
(k string)
engine/compressors/toon_encode.go:410
↓ 4 callersFunctionsameMcpCommand
(left: { command: string; args: string[] } | null, right: { command: string; args: string[] } | null)
packages/cli/src/index.ts:3664
↓ 4 callersFunctionsaveConfig
(cfg: Config)
packages/cli/src/index.ts:23625
↓ 4 callersMethodscanBehaviorUntilForRepo
(sourceSet map[string]bool, since time.Time, cfg configScan, deadline *behaviorDeadline, repoFilter string)
proxy/internal/store/learn.go:989
↓ 4 callersFunctionscanJSONString
scanJSONString returns the end of the string starting at start: the byte after the first quote no backslash escapes. It jumps between quotes with byte
proxy/providers/anthropic/splice.go:156
↓ 4 callersFunctionscanMemory
(row rowScanner, memory *Memory)
mem/store.go:644
↓ 4 callersFunctionscopeValid
(s Scope)
proxy/internal/middleware/validate.go:30
↓ 4 callersFunctionsendCodex
sendCodex sends chatGPTRouteBody as Codex does on its ChatGPT login: no x-cave-agent, its own originator and User-Agent.
proxy/internal/gateway/chatgpt_auto_test.go:680
↓ 4 callersFunctionsendJSON
(t *testing.T, srv *gateway.Server, path string, headers map[string]string, payload any)
proxy/internal/standalone/e2e_cost_bench_test.go:1039
↓ 4 callersFunctionserviceTable
serviceTable is a long table in which one row in the middle breaches its SLO and every other row is healthy.
engine/compressors/html_table_test.go:25
↓ 4 callersFunctionsessionPrevPath
(claudeDir, sessionId)
src/hooks/caveman-config.js:611
↓ 4 callersMethodsessionStripe
sessionStripe preserves event order within one session without making unrelated coding-agent sessions spend their shared 250 ms hook budget waiting on
proxy/internal/nativeruntime/runtime.go:457
↓ 4 callersFunctionsessionTelemetryState
()
packages/cli/src/index.ts:976
↓ 4 callersMethodsession_mode
(self, session_id)
tests/test_hooks.py:591
↓ 4 callersMethodsetAttribute
(key: string, value: string | number | boolean)
packages/sdk/typescript/src/middleware/runtime.ts:19
↓ 4 callersFunctionsetString
setString sets the string at an object path, making the objects on the way (a null or non-object on the way is replaced). changed is false when the bo
proxy/internal/gateway/route.go:1284
↓ 4 callersFunctionsettle
()
packages/cli/src/modules/onboard.ts:478
↓ 4 callersFunctionsetupInstall
(json: boolean, options: { continuing?: boolean; explicit?: boolean } = {})
packages/cli/src/index.ts:3273
↓ 4 callersFunctionsetupRan
()
packages/cli/src/modules/onboard.ts:107
↓ 4 callersFunctionsetupTimeoutSeconds
()
packages/cli/src/index.ts:2955
↓ 4 callersFunctionshortHash
(v string)
proxy/internal/gateway/cache_warm.go:533
↓ 4 callersFunctionshortTempDir
(t *testing.T)
proxy/internal/nativehook/hook_unix_test.go:198
↓ 4 callersFunctionshow
(b []byte)
engine/compressors/zz_adversarial_probe_test.go:12
↓ 4 callersFunctionshow2
(b []byte)
engine/compressors/zz_adversarial_probe2_test.go:11
↓ 4 callersMethodshown
()
proxy/internal/translate/translate.go:51
↓ 4 callersFunctionsideComponentRows
sideComponentRows returns request_id -> the side-table digest list.
proxy/internal/store/cache_components_test.go:82
↓ 4 callersMethodsignature
Canonical signature for a tool call (name + sorted-key JSON args).
packages/sdk/typescript/src/index.ts:676
↓ 4 callersFunctionskipJSONSpace
(body []byte, i int)
proxy/providers/openai/content_compress.go:627
↓ 4 callersFunctionskipSpace
(body []byte, i int)
engine/compressors/toolschema_annotations.go:377
↓ 4 callersFunctionsnapshot
(arms: dict[str, list[str]])
tests/test_eval_fidelity.py:42
↓ 4 callersFunctionsplitSkillMarkdown
(bytes: Buffer)
packages/cli/src/index.ts:2180
↓ 4 callersFunctionsplitTOMLList
(s string)
mcp/codemode/stdio_upstream.go:1229
↓ 4 callersFunctionstart
(argv: string[] = [])
packages/cli/src/index.ts:2712
↓ 4 callersMethodstart
(self)
packages/middleware/python/caveman_middleware/autogen.py:449
↓ 4 callersFunctionstartSSE
(w http.ResponseWriter)
proxy/internal/translate/translate.go:918
↓ 4 callersFunctionstartSink
({ port = 0, captureDir, onCapture, verbose = false } = {})
packages/subagent-tax/lib/sink.mjs:321
↓ 4 callersFunctionstartWrapProxy
(mode: WrapRuntimeMode, mcpRecovery: boolean, toon: boolean, pixelModels: string | undefined, pixelDensity: st
packages/cli/src/index.ts:7602
↓ 4 callersFunctionstatsAssertMoney
(t *testing.T, got *float64, want float64)
proxy/internal/store/stats_test.go:45
↓ 4 callersFunctionstep
(name, fn)
tests/middleware-e2e/harness.mjs:24
↓ 4 callersMethodstoreCachePrefix
(key string, prefix []byte)
proxy/internal/standalone/e2e_cost_bench_test.go:234
↓ 4 callersFunctionstreamingResponse
streamingResponse recognizes wire streaming even when request metadata cannot (for example gzip-encoded SSE). It keys off the media type only, so a st
proxy/internal/gateway/headers.go:78
↓ 4 callersFunctionstringEnd
(body []byte, start int)
proxy/providers/jsonsplice/jsonsplice.go:375
↓ 4 callersFunctionstripAnsi
(s: string)
packages/cli/src/index.ts:23966
↓ 4 callersFunctionstripMarkedBlock
(text: string, begin: string, end: string)
packages/cli/src/index.ts:14817
↓ 4 callersFunctionstrip_llm_wrapper
r"""Strip an outer ```markdown ... ``` fence when it wraps the ENTIRE output. The wrapper is only real when the first and last fence lines are th
plugins/caveman/skills/caveman-compress/scripts/compress.py:274
↓ 4 callersFunctionstrip_llm_wrapper
r"""Strip an outer ```markdown ... ``` fence when it wraps the ENTIRE output. The wrapper is only real when the first and last fence lines are th
skills/caveman-compress/scripts/compress.py:274
↓ 4 callersMethodsubmit
( self, body: dict[str, Any], *, latency_class: str = "background", )
packages/sdk/python/caveman_cloud/core.py:1445
↓ 4 callersFunctionsyncStatePath
()
packages/cli/src/index.ts:13710
↓ 4 callersFunctiontargetPlatform
(os = process.platform, nodeArch = process.arch)
mcp/bin/binary-installer.generated.mjs:65
↓ 4 callersFunctiontelemetryConfigFromDisk
()
packages/cli/src/index.ts:996
↓ 4 callersFunctiontempDir
tests/middleware-e2e/harness.mjs:20
↓ 4 callersFunctionthesisLine
(mode, hookDir)
src/hooks/caveman-config.js:865
↓ 4 callersFunctionthoughtTag
thoughtTag starts the carrier of a tool call's thought signature in an agent's history (a redacted_thinking block's data, also inside a Codex reasonin
proxy/internal/translate/messages.go:73
↓ 4 callersFunctionthroughLink
(file: string)
packages/cli/src/index.ts:11845
↓ 4 callersFunctiontoString
--- small arg coercion helpers ---------------------------------------------
mcp/codemode/builtin_tools.go:1143
↓ 4 callersFunctiontoken
(value: Any)
packages/sdk/python/caveman_cloud/middleware/validate.py:16
↓ 4 callersFunctiontoken
(value: unknown)
packages/sdk/typescript/src/middleware/runtime.ts:119
↓ 4 callersFunctiontoken
(s string)
proxy/internal/middleware/validate.go:8
↓ 4 callersFunctiontokenUpstream
tokenUpstream stubs the provider token endpoint and records what reached it.
proxy/internal/gateway/oauth_token_route_test.go:21
↓ 4 callersMethodtoolSearch
* Directly call the gateway's /sdk/v1/tool-search endpoint with the given catalog. * Use this when you manage the catalog outside of a tools() hand
packages/sdk/typescript/src/index.ts:531
↓ 4 callersMethodtopEffort
(body []byte, root jsonsplice.Span)
proxy/internal/gateway/route.go:349
↓ 4 callersFunctiontotalCounts
(counts)
src/hooks/caveman-stats.js:141
↓ 4 callersMethodtrace
* Run `fn` inside a trace. * * The trace allocates a `traceId` (32 lowercase hex) and a root `spanId` * (16 lowercase hex) with the same RNG
packages/sdk/typescript/src/index.ts:396
↓ 4 callersFunctiontransformOpencodeAgentFrontmatter
(content, { subagent = false } = {})
installer/lib/opencode-agent.js:62
↓ 4 callersFunctiontruncate
truncate cuts text to at most n bytes on a rune boundary.
proxy/internal/cloudlink/link.go:1525
↓ 4 callersFunctiontsOrNow
(t time.Time)
proxy/internal/store/usage_import.go:506
↓ 4 callersFunctionttlAsk
()
proxy/internal/cloudlink/cache_ttl_test.go:47
↓ 4 callersFunctiontwoLayerReaderNote
twoLayerReaderNote teaches the max-level overlay convention: two interleaved text layers per image (dark-red then dark-blue), read red rows fully befo
engine/pixel/transform_anthropic.go:994
↓ 4 callersFunctionuidByName
(t *testing.T, snapshot string, name string)
browse/cdp_integration_test.go:226
↓ 4 callersFunctionunforwardedProviderHeaders
(api: string | undefined, provider: string, headers: unknown, published?: PublishedUpstreams)
packages/cli/src/provider-routing.ts:134
↓ 4 callersFunctionuniqueRequest
uniqueRequest is requestFor with its own session and segment content.
proxy/internal/middleware/hardening_test.go:27
↓ 4 callersFunctionusageLine
(id string, at time.Time, tokens int)
proxy/cmd/caveman-proxy/learn_wire_test.go:51
↓ 4 callersFunctionvalidate
validate returns a list of human-readable errors; an empty list means valid.
packages/shared/contracts/scripts/validate.mjs:31
↓ 4 callersFunctionvisit
(value, depth=0)
packages/middleware/python/caveman_middleware/_native.py:51
↓ 4 callersFunctionwaitFor
(predicate, timeoutMs = 5000)
packages/cli/tests/wrap-restart.runtime.mjs:45
↓ 4 callersFunctionwaitWebSocketDone
(t *testing.T, done <-chan struct{})
proxy/internal/gateway/websocket_route_test.go:92
↓ 4 callersFunctionwarm
warm gives a session a baseline the tripwire can measure against, with the lever recorded as active throughout.
proxy/internal/gateway/ledger_test.go:20
↓ 4 callersMethodwarm
warm sends one warm, signed in with routing on, one at a time. A warm engine ends a pause a slow, unreachable or failing Cloud caused.
proxy/internal/cloudlink/warm.go:99
↓ 4 callersMethodwarn
(message string, err error)
proxy/internal/middleware/runtime.go:705
↓ 4 callersMethodwarnDropped
(err error, mode string)
proxy/internal/standalone/standalone.go:430
↓ 4 callersMethodwire
wire is the name a declared tool was given (history calls must use the same one, collision-renamed or not); an undeclared tool gets wireToolName.
proxy/internal/translate/responses.go:118
↓ 4 callersFunctionwithCavemanOpenAI
(client:T,options:OpenAIOptions)
packages/middleware/typescript/src/openai.ts:67
↓ 4 callersMethodwith_usage
(self)
tests/test_eval_snapshot_contract.py:87
↓ 4 callersFunctionwrap
(rest: string[])
packages/cli/src/index.ts:6019
↓ 4 callersMethodwrite
(w *bufio.Writer, resp rpcResponse)
mcp/server.go:233
↓ 4 callersFunctionwriteJSON
(w http.ResponseWriter, body []byte)
proxy/internal/translate/translate.go:924
↓ 4 callersFunctionwriteKeychainConfig
(t *testing.T, home, cloud string, extra map[string]any)
proxy/internal/cloudlink/link_test.go:1128
↓ 4 callersFunctionwriteLearnSession
(t *testing.T, claudeRoot, repo, name string, lines ...string)
proxy/cmd/caveman-proxy/learn_wire_test.go:40
↓ 4 callersFunctionyamlQuote
(s: string)
packages/cli/src/index.ts:14794
↓ 4 callersFunctionzebraReaderNote
zebraReaderNote is the one-line reader instruction rendered into the page header when — and only when — the pages are inked with the zebra colour cycl
engine/pixel/transform_anthropic.go:983
↓ 3 callersMethod#endSpan
(span: OTelSpanLike | null, operation: string, start: number, attributes: Attributes, error: string | null)
packages/sdk/typescript/src/middleware/runtime.ts:594
↓ 3 callersMethod#startSpan
(operation: keyof typeof OTEL.spans)
packages/sdk/typescript/src/middleware/runtime.ts:589
↓ 3 callersFunctionAllowed
(model string)
engine/pixel/applicability.go:32
← previousnext →1,701–1,800 of 13,382, ranked by callers