MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 8 callersMethodopen
()
proxy/cmd/caveman-proxy/main.go:1306
↓ 8 callersMethodoptimize
(step)
packages/sdk/python/tests/test_middleware_v1_1.py:298
↓ 8 callersMethodoptimize
(self, **options)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:123
↓ 8 callersFunctionpaint
(code: string, s: string)
packages/cli/src/index.ts:23952
↓ 8 callersMethodpassive
(self, runtime, reason)
packages/middleware/python/caveman_middleware/agno.py:139
↓ 8 callersFunctionreadRegularIfExists
(p)
installer/lib/openclaw.js:63
↓ 8 callersFunctionrecord
(i int)
proxy/internal/cloudlink/link_test.go:518
↓ 8 callersMethodrecovery
(self, scope: Scope)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:101
↓ 8 callersFunctionrejectTransformed
(status int, header http.Header)
proxy/internal/gateway/cache_prefix_invariant_test.go:544
↓ 8 callersFunctionresolve
(index: int)
packages/sdk/python/tests/test_trace_continuity.py:172
↓ 8 callersFunctionresolve
(t *testing.T, rawurl string)
proxy/providers/azureopenai/azure_routing_test.go:11
↓ 8 callersFunctionretroLogPayload
--- fixtures --------------------------------------------------------------- retroLogPayload builds a repetitive tool-result body the engine can actua
proxy/internal/store/learn_retro_test.go:22
↓ 8 callersFunctionretroRepeatedBlock
retroRepeatedBlock is one paragraph heavy enough to clear minBlockTokens.
proxy/internal/store/learn_retro_test.go:31
↓ 8 callersMethodrewrap
([]byte)
engine/filewrap.go:117
↓ 8 callersFunctionrun
(extra: string[])
packages/cli/src/index.ts:4211
↓ 8 callersFunctionrun
( args: list[str], *, cwd: Path = ROOT, env: dict[str, str] | None = None, check: bool = T
tests/verify_repo.py:48
↓ 8 callersFunctionsafeCallID
safeCallID rewrites a call id another provider minted into one this upstream accepts. Deterministic, so a call and its output keep matching.
proxy/internal/translate/responses.go:230
↓ 8 callersMethodset_session_mode
(self, session_id, mode)
tests/test_hooks.py:587
↓ 8 callersFunctionsh
(command, args, { cwd = root, env = process.env, allowFail = false } = {})
tests/middleware-e2e/harness.mjs:41
↓ 8 callersFunctionspace
(body []byte, i int)
proxy/providers/jsonsplice/jsonsplice.go:389
↓ 8 callersFunctionstop
()
packages/cli/src/index.ts:6153
↓ 8 callersFunctionstreamUsageEnabled
C8 review finding 5: this optimizer adds a client-visible SSE chunk to the response (an observable effect outside what byte-safe promises), so like re
proxy/providers/openai/stream_usage_test.go:13
↓ 8 callersFunctiontoString
(v any)
engine/pixel/transform_anthropic.go:1529
↓ 8 callersFunctiontopLevelSection
(lines: string[], key: string)
packages/cli/src/index.ts:14864
↓ 8 callersFunctionusage
(value, complete=True)
packages/middleware/python/caveman_middleware/_usage.py:18
↓ 8 callersFunctionusageJSON
usageJSON is an Anthropic usage object for a 200k-token cached prefix.
proxy/internal/gateway/cache_warm_test.go:154
↓ 8 callersMethodwait
(_id: string, _options?: { intervalMs?: number; timeoutMs?: number })
packages/sdk/typescript/src/index.ts:755
↓ 8 callersFunctionwriteTree
(t *testing.T, root string, files map[string]string)
proxy/internal/repointel/index_test.go:90
↓ 7 callersMethodAllows
Allows reports whether the principal may use namespace.
proxy/internal/identity/identity.go:102
↓ 7 callersFunctionCanonicalizeToolCatalog
CanonicalizeToolCatalog deterministically sorts a serialized `tools[]` array by stable tool name while preserving the exact inner bytes of every tool
proxy/providers/toolzone.go:88
↓ 7 callersFunctionCommand
Command builds a git invocation rooted at root that the repository cannot steer. Inherited GIT_* variables are dropped so an outer environment cannot
proxy/internal/gitsafe/gitsafe.go:44
↓ 7 callersFunctionCompactSlabWhitespace
(text string)
engine/pixel/textprep.go:234
↓ 7 callersMethodCompressSegment
(segment []byte)
proxy/internal/gateway/server.go:95
↓ 7 callersFunctionDecodeTOON
DecodeTOON parses the supported TOON subset back into the JSON data model.
engine/compressors/toon_decode.go:23
↓ 7 callersFunctionDefault
Default returns a registry with the engine's built-in compressors registered: JSON, log, test-report, code, diff, search-result, text, HTML, tabular,
engine/compressors/compressor.go:90
↓ 7 callersMethodEncrypt
Encrypt delegates encryption to key manager.
shared/platform/kms/kms.go:175
↓ 7 callersFunctionExtractDedupComponents
ExtractDedupComponents computes the envelope-aware duplicate-read identity for a tool result block.
engine/harness_envelopes.go:242
↓ 7 callersFunctionExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/openai/content_compress.go:94
↓ 7 callersFunctionHandle
Handle returns the content-addressed handle for a payload without storing it.
engine/ccr/store.go:260
↓ 7 callersMethodLoadExperiment
(label string)
proxy/internal/store/learn_experiment.go:160
↓ 7 callersMethodMiddlewareUsage
(ctx context.Context)
proxy/internal/store/middleware.go:251
↓ 7 callersMethodName
()
mcp/codemode/codemode.go:159
↓ 7 callersFunctionNew
(baseURL string)
proxy/providers/azureopenai/azureopenai.go:47
↓ 7 callersFunctionNew
New constructs the Vertex adapter. baseURL is the aiplatform endpoint; in production it is a Vertex host (e.g. https://us-central1-aiplatform.googleap
proxy/providers/vertex/vertex.go:84
↓ 7 callersFunctionNewAXTree
NewAXTree returns the forced-only CDP Accessibility.getFullAXTree compressor. It emits a compact, deterministic indented view with uid handles while C
engine/compressors/axtree.go:28
↓ 7 callersFunctionNewConfig
NewConfig returns the deterministic YAML, TOML, and INI compressor.
engine/compressors/config.go:40
↓ 7 callersFunctionNewEngineCompressorWithTrimLevel
NewEngineCompressorWithTrimLevel builds the hybrid structural-Engine + embedded pure-Go trim-2 compressor at the requested trim level ("off", "conserv
proxy/internal/standalone/standalone.go:463
↓ 7 callersFunctionNewInProcessUpstream
NewInProcessUpstream creates an Upstream with the given server name.
mcp/codemode/codemode.go:173
↓ 7 callersFunctionNewServerTLS
NewServerTLS loads the files once and fails on anything unusable. clientCA is optional; with it, a client certificate is verified when presented (not
proxy/internal/identity/tls.go:37
↓ 7 callersMethodObserveSummarySince
ObserveSummarySince returns the compact observe-estimate object, optionally filtered to rows at or after an RFC3339 instant (the wrap session start).
proxy/internal/store/store.go:1061
↓ 7 callersFunctionOpenPostgresMiddleware
OpenPostgresMiddleware connects through postgresconfig: a non-loopback host needs sslmode=verify-full (checked against CAVE_POSTGRES_CA_CERT / CAVE_PO
proxy/internal/store/middleware_postgres.go:48
↓ 7 callersFunctionPrepareSQLitePath
PrepareSQLitePath creates or tightens a persistent SQLite file before the driver sees it. Recovery databases can contain prompts, credentials, and too
engine/ccr/store_sqlite.go:432
↓ 7 callersFunctionProjectAnthropic
ProjectAnthropic projects a Messages request onto the provider's current count_tokens input surface. Every proven count field is copied as its raw JSO
proxy/providers/internal/counttokens/counttokens.go:62
↓ 7 callersMethodRecordBatch
([]RequestRecord)
proxy/internal/gateway/recorder.go:12
↓ 7 callersMethodRegister
Register adds one tool to an InProcessUpstream.
mcp/codemode/codemode.go:181
↓ 7 callersFunctionRenderTextToTwoLayerPNGs
RenderTextToTwoLayerPNGs splits wrapped text into max-level overlay pages. Each image holds up to 2×N lines: the first N in the red layer, the next N
engine/pixel/overlay.go:189
↓ 7 callersMethodResolve
(provider string, r *http.Request)
proxy/internal/standalone/standalone.go:151
↓ 7 callersFunctionResolveGptProfile
(model string)
engine/pixel/gpt_profiles.go:53
↓ 7 callersFunctionSQLiteDSN
SQLiteDSN builds the driver DSN for path. The two pragmas are load-bearing, not tuning: this recovery store is opened once per CLI process (caveman-mc
engine/ccr/store_sqlite.go:216
↓ 7 callersMethodSafetyClass
SafetyClass is the compressor's inherent class on the S0–S4 ladder.
engine/compressors/compressor.go:26
↓ 7 callersMethodSaveOriginal
SaveOriginal is SaveOriginals for one original.
proxy/internal/store/middleware.go:382
↓ 7 callersMethodSavePlan
SavePlan stores a plan, replacing one expired by now (which Plan reported absent). A plan still live at now is never overwritten: ErrMiddlewareConflic
proxy/internal/store/middleware.go:301
↓ 7 callersMethodSetObjectLifecycle
(id string, lifecycle Lifecycle)
engine/ccr/store_wasm.go:160
↓ 7 callersFunctionShrink
Shrink compresses a tool catalog with an S4 lossy transform. It is fail-open: on any parse problem or when the result would not be smaller, it returns
shrink/shrink.go:117
↓ 7 callersMethodSource
Source reports the chain entry that last produced credentials: "env", "web_identity", "container", "imds", or "" before the first success.
shared/platform/awscreds/awscreds.go:164
↓ 7 callersMethodStream
Stream reports whether the caller asked for a streamed answer.
proxy/internal/translate/translate.go:140
↓ 7 callersFunctionValidateHost
ValidateHost resolves host (bare hostname or IP literal) and checks all resolved addresses. Use when you have a host/port pair rather than a full URL
shared/platform/ssrf/ssrf.go:262
↓ 7 callersFunctionWrite
(home string, state State)
proxy/internal/runstate/runstate.go:142
↓ 7 callersMethodWrite
(p []byte)
proxy/internal/nativeruntime/drop_log_test.go:23
↓ 7 callersFunction_capture
(*, fail: bool = False)
packages/sdk/python/tests/test_tool_events.py:27
↓ 7 callersMethod_finish
(self, data, response, event)
packages/middleware/python/caveman_middleware/litellm.py:313
↓ 7 callersMethod_passive
(self, reason)
packages/middleware/python/caveman_middleware/llama_index.py:397
↓ 7 callersFunction_policy_number
A real finite number, or None. ``bool`` is not a number (it is an ``int`` subclass in Python, and a guard must never compare True against 1).
packages/sdk/python/caveman_cloud/core.py:1990
↓ 7 callersMethod_report
(self, reason, logical_id=None)
packages/middleware/python/caveman_middleware/litellm.py:158
↓ 7 callersMethodadd
add decides the JSON string at text. replace is the span its rendering replaces and wrap shapes the image parts for that span; only a live text may be
proxy/internal/gateway/pixel.go:195
↓ 7 callersFunctionagentNativeBundleJournalPath
(agent: "claude" | "codex", pending = false)
packages/cli/src/index.ts:3497
↓ 7 callersFunctionagentNativeCloudMcpMatches
(agent: "claude" | "codex", mcp: { command: string; args: string[] })
packages/cli/src/index.ts:3610
↓ 7 callersFunctionanthropicPixelBody
(model string, stream bool)
proxy/internal/gateway/pixel_test.go:428
↓ 7 callersMethodanthropicWireZones
anthropicWireZones reports whether this request's compression zones follow the Anthropic Messages grammar: the mount must declare the anthropic wire d
proxy/providers/openaicompat/openaicompat.go:258
↓ 7 callersFunctionappendInner
appendInner appends escaped string contents as one JSON string.
proxy/internal/translate/jsonfast.go:332
↓ 7 callersMethodassemble
Build a provider request with stable/session content above volatile. Pure client-side: no account and no network call. The hash ledger is
packages/sdk/python/caveman_cloud/core.py:425
↓ 7 callersFunctionassertNoPointers
(t *testing.T, what, content string)
mcp/retrieve_integration_test.go:97
↓ 7 callersFunctioncall
(args, input)
mem/js/index.mjs:13
↓ 7 callersFunctioncaptureSpawn
(cmd, args, opts)
installer/install.js:502
↓ 7 callersFunctioncaptureStdout
(t *testing.T, fn func())
proxy/cmd/caveman-proxy/status_test.go:223
↓ 7 callersMethodcharBudget
charBudget is the per-image character capacity of a full canvas page at this profile (rows × cols × layers). Page capacity — not the fixed std budget
engine/pixel/density.go:272
↓ 7 callersFunctioncheckedNonNegativeSum
(values ...int64)
proxy/internal/store/usage_import.go:652
↓ 7 callersFunctionclaudeRoot
Agent roots resolve local transcript/config dirs and stay env-overridable so tests never read or write a user's real agent data. After the CAVEMAN_* t
proxy/internal/store/config_scan.go:62
↓ 7 callersMethodclose
(self)
packages/sdk/python/caveman_cloud/middleware/runtime.py:810
↓ 7 callersFunctioncloudConfigPath
()
packages/cli/src/modules/config-home.ts:28
↓ 7 callersFunctioncompressGDScript
compressGDScript elides every named function body and reports whether anything changed. Headers may span several lines (a wrapped parameter list); a f
engine/compressors/code_gdscript.go:66
↓ 7 callersFunctioncontentSHA256
(raw string)
proxy/internal/store/recurring.go:284
↓ 7 callersFunctioncorpusPage
(t *testing.T, name string)
mcp/retrieve_integration_test.go:38
↓ 7 callersFunctiondamagedStore
damagedStore builds a store whose recoveries b-tree has the damage #1149 and #1369 report: two interior cells name the same child page, so a page has
engine/ccr/store_integrity_test.go:20
↓ 7 callersMethoddecline
Native adapters use this when they pass through at wrap time (an untested framework version, a recovery tool name * conflict); `adapter` names them
packages/sdk/typescript/src/middleware/runtime.ts:527
↓ 7 callersFunctiondecodeRaw
decodeRaw unmarshals a[b] usage.RawUsage for comparison, tolerating that re-marshaling a parsed map can reorder keys (values are what matter).
proxy/providers/adapter_raw_usage_test.go:12
↓ 7 callersFunctiondie
(msg)
agents/compile.mjs:53
↓ 7 callersFunctiondiscardResponse
(response: Response)
packages/sdk/typescript/src/index.ts:2034
↓ 7 callersMethoddiscover
(deadline *behaviorDeadline)
proxy/internal/store/session_source.go:22
↓ 7 callersFunctionelides
(t *testing.T, src, mustKeep string)
engine/compressors/code_langs_test.go:11
← previousnext →701–800 of 13,382, ranked by callers