MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 3 callersFunctionvalidJSONNumber
(s string)
engine/compressors/toon_encode.go:397
↓ 3 callersFunctionvalidName
validName bounds a principal name; 1024 leaves room for a source prefix and an issuer URL before a 256-character claim.
proxy/internal/identity/identity.go:119
↓ 3 callersFunctionvalidate
validate returns a list of human-readable errors; an empty list means valid.
packages/shared/contracts/scripts/validate.mjs:31
↓ 3 callersFunctionvalidate
(original_path: Path, compressed_path: Path)
plugins/caveman/skills/caveman-compress/scripts/validate.py:400
↓ 3 callersFunctionvalidateEvent
(input: unknown, now: Date = new Date())
supabase/functions/blocks-telemetry/ingest.ts:114
↓ 3 callersFunctionvalidateHostInput
validateHostInput rejects URL/userinfo-shaped values before they reach DNS or an error formatter. IP literals (including zoned IPv6) are handled by ne
shared/platform/ssrf/ssrf.go:311
↓ 3 callersFunctionverifiedProviderRoute
( gateway: string, api: string | undefined, provider: string, originalBaseUrl: string | undefined, publish
packages/cli/src/provider-routing.ts:73
↓ 3 callersFunctionverifyChecksumSignatureBundle
(checksums, bundle, publicKeyPEM)
scripts/sign-binary-checksums.mjs:21
↓ 3 callersFunctionverifyExtensionRoot
(root, { exact = false } = {})
extension/scripts/verify-extension-stage.mjs:79
↓ 3 callersMethodview
view is the capabilities document and transform set a request negotiated.
proxy/internal/middleware/runtime.go:275
↓ 3 callersMethodwalkObject
walkObject iterates one JSON object, handing each member's value to descend and recording a deletion for every key in drop (nil drop deletes nothing).
engine/compressors/toolschema_annotations.go:242
↓ 3 callersFunctionwantsElisionNote
wantsElisionNote reports whether a payload that dropped elidedBytes should carry the contract line.
engine/compressors/invariants.go:807
↓ 3 callersMethodwarnDropped
(err error, mode string)
proxy/internal/standalone/standalone.go:395
↓ 3 callersFunctionwindowDays
(sinceExpr, from, to string)
proxy/internal/store/learn.go:1337
↓ 3 callersFunctionwindowsACLGrantsBroadWrite
(dacl *windows.ACL)
engine/ccr/sqlite_parent_security_windows.go:39
↓ 3 callersFunctionwindowsDeniedOpenFileReplacement
(err error)
engine/ccr/store_generation_test.go:172
↓ 3 callersFunctionwireCallID
wireCallID is safeCallID for a tool_use id handed to an Anthropic-shaped caller (Claude Code): another provider's id (e.g. OpenRouter's "functions.Bas
proxy/internal/translate/responses.go:251
↓ 3 callersFunctionwireToolName
wireToolName is the name an upstream sees for a Responses tool: the namespace and name joined, and, when that is not a valid function name, a 55-chara
proxy/internal/translate/responses.go:62
↓ 3 callersFunctionwithCavemanAgent
(input:T,options:LangChainOptions)
packages/middleware/typescript/src/langchain.ts:71
↓ 3 callersFunctionwithCavemanAnthropic
(client: T, options: AnthropicOptions)
packages/middleware/typescript/src/anthropic.ts:30
↓ 3 callersFunctionwithCavemanMastra
(agent: T, options: CavemanMastraOptions)
packages/middleware/typescript/src/mastra.ts:80
↓ 3 callersFunctionwithDropBlockConvo
withDropBlockConvo is an adaptive-thinking body asking for drop_block.
proxy/internal/gateway/route_effort_test.go:404
↓ 3 callersFunctionwithIndexLock
(fn: () => T)
packages/cli/src/modules/provider-logins.ts:75
↓ 3 callersFunctionwithModel
withModel renames the model a payload reports to shown: the top-level "model" (a Messages, chat or Responses answer, a chat chunk), message.model (mes
proxy/internal/translate/translate.go:935
↓ 3 callersFunctionwithOmitted
withOmitted is the summary a shedding budget produces: the surviving facts, then the notice stating how many entries the budget dropped. A trimmed sum
engine/compressors/invariants_test.go:25
↓ 3 callersFunctionwithPerMessageBeta
(header http.Header)
proxy/internal/gateway/route.go:1366
↓ 3 callersFunctionwithRunState
withRunState serves the two run-state endpoints: the instance identity any local caller may read, and the shutdown only the run-state file's reader ma
proxy/cmd/caveman-proxy/main.go:528
↓ 3 callersFunctionwith_caveman_google
Return a clone of a transport-configured Client whose model AFC registers recovery. The caller's client is not modified; wrapping a wrapped clien
packages/middleware/python/caveman_middleware/google.py:208
↓ 3 callersFunctionwith_caveman_model
Wrap an existing client; record-only (``recovery_unbound`` in compress mode) unless paired with the workbench.
packages/middleware/python/caveman_middleware/autogen.py:495
↓ 3 callersFunctionwith_caveman_openai
Return the same native client class with native resources and helpers. Model-only: no recovery executor is registered, so in compress mode every
packages/middleware/python/caveman_middleware/openai.py:40
↓ 3 callersFunctionwith_caveman_tools
Bundle native tools and their executor for an application-owned loop. Pass bundle.tools to bundle.model.chat_with_tools (or its native async or
packages/middleware/python/caveman_middleware/llama_index.py:861
↓ 3 callersFunctionwithoutInstallerCodexHook
(root: Record<string, unknown>)
packages/cli/src/index.ts:10289
↓ 3 callersFunctionworthEliding
worthEliding reports whether a run of dropped units should become a marker at all. A run of invariantMinElideUnits or more always is. A shorter one mu
engine/compressors/invariants.go:644
↓ 3 callersFunctionwrap
(client, runtime)
packages/middleware/python/tests/test_openai_native.py:66
↓ 3 callersFunctionwrapExternalWritesDisabled
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/index.ts:14114
↓ 3 callersMethodwrapMeasuredSince
wrapMeasuredSince sums proxy-recorded wrap activity at or after since. Nil unless at least one row booked a real compression cut or an observe-mode es
proxy/internal/store/learn.go:342
↓ 3 callersMethodwrap_model_call
(self, request, handler)
packages/middleware/python/caveman_middleware/langchain.py:240
↓ 3 callersMethodwrite
(job captureJob)
proxy/internal/gateway/capture.go:217
↓ 3 callersFunctionwriteAnthropicError
writeAnthropicError is Anthropic's error envelope with a status.
proxy/internal/translate/messages_stream.go:450
↓ 3 callersFunctionwriteEphemeralCodemodeConfig
(dir: string, servers: Record<string, CodemodeServerConfig>)
packages/cli/src/codemode.ts:963
↓ 3 callersFunctionwriteError
(w http.ResponseWriter, err error, v2 bool)
proxy/internal/middleware/http.go:308
↓ 3 callersFunctionwriteExport
(t *testing.T, body string)
proxy/internal/store/learn_reconcile_test.go:10
↓ 3 callersMethodwriteFlush
(w *bufio.Writer, resp rpcResponse)
mcp/server.go:244
↓ 3 callersFunctionwriteGeminiSessionFixture
(t *testing.T, root string, index int, block string)
proxy/internal/store/source_gemini_test.go:66
↓ 3 callersFunctionwriteIndex
(index: Index)
packages/cli/src/modules/provider-logins.ts:120
↓ 3 callersFunctionwriteJson
(path: string, value: unknown)
packages/cli/src/learn-autopilot.ts:101
↓ 3 callersFunctionwriteMcpServerMarker
(agentId: string, serverName: string, mcp: { command: string; args: string[] }, tool: string)
packages/cli/src/index.ts:17339
↓ 3 callersFunctionwriteNativeRestoration
(file: string, bytes: Buffer | null)
packages/cli/src/index.ts:11477
↓ 3 callersFunctionwriteRawConfig
(out: Record<string, unknown>)
packages/cli/src/index.ts:23112
↓ 3 callersFunctionwriteResponsesFailure
writeResponsesFailure ends a request that produced nothing: a streaming caller gets a 200 stream holding response.failed (Codex only maps context_leng
proxy/internal/translate/responses_stream.go:832
↓ 3 callersFunctionwrite_bytes_atomic
Write ``data`` to ``path`` atomically, preserving permission bits.
plugins/caveman/skills/caveman-compress/scripts/compress.py:335
↓ 3 callersFunctionwrite_bytes_atomic
Write ``data`` to ``path`` atomically, preserving permission bits.
skills/caveman-compress/scripts/compress.py:335
↓ 3 callersFunctionyellow
(s: string)
packages/cli/src/index.ts:23455
↓ 2 callersMethod#bypass
(code: string, adapter?: unknown, extra: Partial<Optimization> = {}, strict = true)
packages/sdk/typescript/src/middleware/runtime.ts:538
↓ 2 callersMethod#capabilities
Single-flight capabilities fetch: concurrent callers share one GET and each waits only on its own signal.
packages/sdk/typescript/src/middleware/runtime.ts:559
↓ 2 callersMethod#discover
(signal?: AbortSignal)
packages/sdk/typescript/src/middleware/runtime.ts:234
↓ 2 callersMethodAct
(ctx context.Context, req ActionRequest, target Target)
browse/cdp.go:160
↓ 2 callersFunctionApplyResolvedPricingRoute
ApplyResolvedPricingRoute adds pricing metadata derived from the trusted, resolved upstream URL. Client body/header hints cannot override the actual b
proxy/providers/adapter.go:159
↓ 2 callersFunctionAttachLearnTrendHistory
AttachLearnTrendHistory adds the snapshot-derived score history and sink movers from home/reports. Call it before the current plan is written so the r
proxy/internal/store/learn_trends.go:376
↓ 2 callersMethodAuthenticate
(ctx context.Context, r *http.Request)
proxy/internal/gateway/server.go:64
↓ 2 callersMethodAutoOffered
()
proxy/internal/gateway/chatgpt_auto.go:35
↓ 2 callersMethodBedrockSigningCredential
BedrockSigningCredential resolves only the configured IAM signing principal. An incoming SigV4 request has already selected IAM; a Bedrock bearer key
proxy/internal/config/config.go:608
↓ 2 callersFunctionBoundUpstreamTransport
BoundUpstreamTransport puts the connection-level bounds on an upstream transport. With no total request deadline (CAVE_GATEWAY_UPSTREAM_TIMEOUT_MS def
proxy/internal/gateway/server.go:586
↓ 2 callersFunctionBudgetFromEnv
BudgetFromEnv returns the payload budget Open applies: CAVEMAN_CCR_MAX_BYTES or DefaultMaxStorageBytes.
engine/ccr/store_repair.go:64
↓ 2 callersFunctionCachedPrefixComponents
CachedPrefixComponents splits an OpenAI Responses or Chat Completions request into the components the provider's automatic prompt cache keys on: 0. s
proxy/providers/openai/cached_prefix.go:30
↓ 2 callersMethodCallTool
(ctx context.Context, name string, args map[string]any)
mcp/codemode/builtin_tools.go:1089
↓ 2 callersFunctionCanonicalDedupKey
CanonicalDedupKey returns the inner semantic payload for duplicate-read comparison (strips volatile Codex Chunk ID / Wall time headers while preservin
engine/harness_envelopes.go:314
↓ 2 callersMethodCapabilities
Capabilities exposes the active registry, including any explicitly configured strategy. Middleware uses this authority rather than maintaining a secon
engine/engine.go:33
↓ 2 callersFunctionClassifyContent
(text string)
engine/pixel/textprep.go:62
↓ 2 callersMethodClose
Close terminates the child MCP server process cleanly.
mcp/codemode/stdio_upstream.go:242
↓ 2 callersMethodClose
Close closes any registered upstreams that implement io.Closer.
mcp/codemode/codemode.go:244
↓ 2 callersMethodClose
()
mcp/codemode/builtin_tools.go:1123
↓ 2 callersMethodCloudOff
CloudOff reports `caveman providers cloud off`: an answer sending a request through Caveman Cloud runs the asked model instead.
proxy/internal/pool/pool.go:310
↓ 2 callersMethodCompressSegment
(seg []byte)
proxy/internal/gateway/compress_panic_test.go:23
↓ 2 callersMethodCompressSegmentQuery
(segment []byte, query string)
proxy/internal/gateway/server.go:111
↓ 2 callersMethodCompressSegmentType
(segment []byte, contentType string)
proxy/internal/gateway/server.go:102
↓ 2 callersMethodCompressWithMetadata
(input []byte, query string)
engine/compressors/json_strategy.go:40
↓ 2 callersFunctionCompressionRouteMatrix
CompressionRouteMatrix is the checked-in truth table for every route family registered by the managed gateway. "supported" means both schema-aware byt
proxy/providers/compression_coverage.go:20
↓ 2 callersMethodConfigured
Configured reports whether the operator set any middleware key, in caveman.yaml or the environment: a middleware that then cannot start is a startup f
proxy/internal/config/middleware.go:133
↓ 2 callersFunctionCountVisualRows
(text string, cols int)
engine/pixel/textprep.go:20
↓ 2 callersFunctionEnablementOnlyOpportunityContractFor
EnablementOnlyOpportunityContractFor resolves an exact enablement contract. Unknown ids fail closed.
shared/platform/optimizers/optimizers.go:154
↓ 2 callersMethodEncodeTOON
(input []byte)
mcp/engine_tools.go:23
↓ 2 callersFunctionEstimateTokensForModel
EstimateTokensForModel returns documented input-image tokens only when provider, model family, and effective detail/media-resolution form a closed sup
engine/image/tokens.go:23
↓ 2 callersFunctionExplainDecision
(store *ccr.Store, decisionID string)
proxy/internal/nativeruntime/explain.go:33
↓ 2 callersMethodExportTrial
(plan TrialPlan, outDir string)
proxy/internal/store/report.go:116
↓ 2 callersMethodExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/internal/gateway/server.go:208
↓ 2 callersFunctionFamilyIndexOf
FamilyIndexOf returns the index (into Families) of the mutex family the optimizer belongs to, or -1 if the optimizer is not part of any family (its op
shared/platform/optimizers/optimizers.go:316
↓ 2 callersFunctionFamilyNameOf
FamilyNameOf returns the canonical family label for an optimizer, or "" if the optimizer is not a mutex-family member.
shared/platform/optimizers/optimizers.go:325
↓ 2 callersMethodHasNamespaces
HasNamespaces reports whether the principal may use any namespace at all.
proxy/internal/identity/identity.go:107
↓ 2 callersFunctionImpactTests
ImpactTests returns conservative local test impact from explicit test-to-source relationships plus package boundaries. It never claims dynamic coverag
proxy/internal/repointel/index.go:201
↓ 2 callersMethodImportCodex
(root, sinceExpr string)
proxy/internal/store/usage_import.go:31
↓ 2 callersMethodInsertQuotaEvents
(events []QuotaEvent)
proxy/internal/store/trial_store.go:150
↓ 2 callersFunctionIsCompressionProfitableAmortized
(text string, cols, imageCountCap, numCols int, charsPerToken float64, horizon int, priorWarmTokens, priorWarm
engine/pixel/gate.go:161
↓ 2 callersFunctionIsEnablementOnlyOpportunity
IsEnablementOnlyOpportunity reports whether an optimizer is a visible, exact-zero enablement observation with a Dismiss-only lifecycle.
shared/platform/optimizers/optimizers.go:147
↓ 2 callersFunctionIsMechanicalUserContinuation
IsMechanicalUserContinuation reports whether a Responses API request ends with a new, unanswered short mechanical continuation user prompt (e.g. "cont
proxy/providers/turneffort.go:31
↓ 2 callersFunctionIsProductionValue
IsProductionValue applies the same predicate to an injected environment value, which keeps configuration loaders testable without a second spelling.
shared/platform/runtimeenv/runtimeenv.go:21
↓ 2 callersFunctionIsSensitiveHeader
IsSensitiveHeader returns true when the header name carries credential or session material that must not appear in logs or error envelopes. It return
shared/platform/redact/redact.go:298
↓ 2 callersMethodLearnScanFilteredWithRetro
LearnScanFilteredWithRetro is LearnScanWithRetro plus pre-detection repo filtering. Durable learnings are generated only from the filtered plan.
proxy/internal/store/learn.go:402
↓ 2 callersFunctionLint
Lint measures the inferred per-tool and overall token reduction of a catalog without committing to it. Token counts use the engine's default (offline)
shrink/shrink.go:176
↓ 2 callersFunctionLoad
()
proxy/internal/nativepack/pack.go:61
← previousnext →2,501–2,600 of 12,853, ranked by callers