MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionverifyAgentNativeBundle
(agent: "claude" | "codex", journal: AgentNativeBundleJournal, cloudMcp: { command: string; args: string[] })
packages/cli/src/index.ts:3784
↓ 2 callersFunctionverifyChecksumSignature
(checksums: string, signature: string)
packages/cli/src/index.ts:3025
↓ 2 callersFunctionverifyObjectData
verifyObjectData checks that obj.Data still matches the content hash that PutObject enforced at write time.
engine/ccr/store.go:267
↓ 2 callersMethodverifyOriginal
verifyOriginal refuses to reuse a choice whose original is gone: its marker would point at nothing. stored reports the middleware store's copy; a choi
proxy/internal/middleware/choices.go:135
↓ 2 callersFunctionversionedBinaryProbeTimeoutMs
()
packages/cli/src/index.ts:2837
↓ 2 callersFunctionvisibleUIDTargets
(records []axRecord, all map[string]axUIDTarget)
engine/compressors/axtree.go:487
↓ 2 callersFunctionwaitForSocket
(t *testing.T, path string, done <-chan error)
proxy/internal/nativeruntime/server_test.go:157
↓ 2 callersFunctionwalk
(dir, base = dir, acc = [])
packages/subagent-tax/lib/report.mjs:72
↓ 2 callersFunctionwalk
(dir)
packages/cli/tests/_modules.mjs:119
↓ 2 callersFunctionwantsStream
(kind, url, headers, body)
packages/subagent-tax/lib/sink.mjs:160
↓ 2 callersFunctionwarmAnswerFor
(model string, tool, encoded bool)
proxy/internal/gateway/cache_warm_table_test.go:340
↓ 2 callersFunctionwarmBody
warmBody is the zero-output replay of a request that just succeeded, with its cache lifetime, or nil when it must not be warmed. body is the exact byt
proxy/internal/gateway/cache_warm.go:384
↓ 2 callersFunctionwarmClassKey
warmClassKey names a stream class: main or subagent, whether the last response asked for a tool, and the cache lifetime.
proxy/internal/gateway/cache_warm_table.go:124
↓ 2 callersFunctionwarmCount
warmCount is how many warms a plan sends: the chain stops at its first no.
proxy/internal/gateway/cache_warm.go:683
↓ 2 callersMethodwatch
(self, sock)
packages/sdk/python/caveman_cloud/middleware/transport.py:87
↓ 2 callersFunctionwebExtInvocation
(cli, sourceDir, firefox, bidiPort)
extension/scripts/firefox-e2e.mjs:86
↓ 2 callersFunctionweekName
weekName is the plain label for a week: "week of Sep 21".
proxy/internal/store/learn_trends.go:507
↓ 2 callersFunctionwhite
()
packages/middleware/python/caveman_middleware/_google_wire.py:10
↓ 2 callersFunctionwhite
()
packages/middleware/typescript/src/wire.ts:13
↓ 2 callersFunctionwholePromptComponents
wholePromptComponents is the provider-agnostic split: everything outside the conversation array as one component, then each conversation item.
proxy/internal/gateway/raw_pin.go:327
↓ 2 callersFunctionwiringChanges
(selection: ModuleSelection, agents: string[], only: ModuleId[] | undefined)
packages/cli/src/modules/apply.ts:200
↓ 2 callersFunctionwithBeta
withBeta returns header with beta appended to anthropic-beta, unless it or a beta that carries it is already there.
proxy/internal/gateway/route.go:1333
↓ 2 callersMethodwithDefaults
()
proxy/internal/config/config.go:391
↓ 2 callersFunctionwithDropBlock
withDropBlock asks the provider to drop thinking blocks whose prefix changed instead of refusing the request: thinking.block_binding. prefix_mismatch_
proxy/internal/gateway/route.go:1362
↓ 2 callersFunctionwithInstall
(omit, fn)
tests/test_hook_missing_sibling.js:72
↓ 2 callersFunctionwithKeepalive
withKeepalive answers the no-op beacon older CLIs still send. It sits OUTSIDE the gateway's inbound token gate on purpose: the beacon carries no crede
proxy/cmd/caveman-proxy/main.go:475
↓ 2 callersFunctionwithNativeRecovery
(context:RecoveryContext|UnboundContext,run:()=>T)
packages/middleware/typescript/src/transport.ts:15
↓ 2 callersFunctionwithOpenAIReflowNote
(header string, enabled bool)
engine/pixel/transform_openai.go:794
↓ 2 callersFunctionwithOpenAIZebraNote
(header string, zebra bool)
engine/pixel/transform_openai.go:802
↓ 2 callersFunctionwithOwnedMcpTransactionLock
( agent: "kilo" | "qwen", serverName: string, run: (lockedConfigPath: string) => T, )
packages/cli/src/index.ts:16744
↓ 2 callersFunctionwithRequestAbort
(pending: Promise<T>, signal: AbortSignal, timeoutMs: number)
packages/sdk/typescript/src/index.ts:2050
↓ 2 callersFunctionwithShutdown
withShutdown is `caveman stop` on Windows, where no signal reaches a detached process gracefully: POST /caveman/shutdown runs the same drain as SIGTER
proxy/cmd/caveman-proxy/main.go:539
↓ 2 callersFunctionwith_caveman_model
Record-only: no recovery executor, so compress mode reports ``recovery_unbound``.
packages/middleware/python/caveman_middleware/llama_index.py:854
↓ 2 callersFunctionworkTagValueSafe
(value: string)
packages/cli/src/index.ts:12401
↓ 2 callersFunctionworkTagsOff
(value: string | undefined)
packages/cli/src/index.ts:12463
↓ 2 callersFunctionwrap
(registration?: RecoveryRegistration)
packages/middleware/typescript/src/ai-sdk.ts:229
↓ 2 callersFunctionwrapAndEchoEnvJson
(agentId, envVars, extraEnv = {}, cwd = undefined, args = [])
packages/cli/tests/wrap.runtime.mjs:264
↓ 2 callersFunctionwrapOpenAI
(client:T,options:OpenAIOptions,blocked:string|null,tools?:Tools)
packages/middleware/typescript/src/openai.ts:75
↓ 2 callersFunctionwrapRecoveryEligible
(opts: WrapOptions)
packages/cli/src/index.ts:4860
↓ 2 callersFunctionwrapUsage
(stream: "stdout" | "stderr" = "stderr")
packages/cli/src/index.ts:6367
↓ 2 callersFunctionwrapWorkTags
(cwd = process.cwd())
packages/cli/src/index.ts:12382
↓ 2 callersFunctionwriteAtomic
(path string, data []byte, mode os.FileMode)
proxy/internal/pool/pool.go:476
↓ 2 callersFunctionwriteCloudDoc
writeCloudDoc writes cloud.json for a home whose path the caller chooses, so two installs can be given the SAME path and still be told apart.
proxy/internal/cloudlink/link_test.go:1447
↓ 2 callersFunctionwriteCodexSessionFixture
(t *testing.T, root string, index int, humanBlock, toolBlock string)
proxy/internal/store/source_codex_test.go:111
↓ 2 callersFunctionwriteConvertReport
(results: ConvertResult[], title = "Caveman convert", preface: string[] = [])
packages/cli/src/index.ts:2203
↓ 2 callersFunctionwriteDarwinLinkStubs
(goroot, dir)
scripts/build-release-binaries.mjs:91
↓ 2 callersFunctionwriteDirectResult
(res mcp.ToolResult)
browse/cmd/caveman-browse/main.go:217
↓ 2 callersMethodwriteExportSpans
(f *os.File, plan TrialPlan)
proxy/internal/store/report.go:143
↓ 2 callersFunctionwriteGlobal
(home, value)
packages/cli/tests/mcp-surface.runtime.mjs:28
↓ 2 callersFunctionwriteGlobal
(home, value)
packages/cli/tests/capability-config.runtime.mjs:24
↓ 2 callersFunctionwriteIndent
(b *strings.Builder, indent int)
engine/compressors/toon_encode.go:414
↓ 2 callersFunctionwriteJSON
(w http.ResponseWriter, status int, value any)
proxy/internal/middleware/http.go:246
↓ 2 callersFunctionwriteJournal
(journalPath, journal)
installer/lib/owned-install.js:192
↓ 2 callersFunctionwriteOpenClawConfig
(path: string, cfg: JsonObject)
packages/cli/src/index.ts:19246
↓ 2 callersFunctionwriteOpenClawStub
(binDir, body = "")
packages/cli/tests/openclaw-wrap.runtime.mjs:18
↓ 2 callersFunctionwriteOpenCodeSessionFixture
(t *testing.T, root string, index int, block string)
proxy/internal/store/source_opencode_test.go:120
↓ 2 callersFunctionwritePendingCopies
(markerPath, configPath, journal)
packages/cli/tests/qwen-wrap.runtime.mjs:196
↓ 2 callersFunctionwriteSessionPrev
(claudeDir, sessionId, mode)
src/hooks/caveman-config.js:685
↓ 2 callersFunctionwriteSettingsKeepingComments
(settingsPath, settings, meta, warn)
installer/install.js:571
↓ 2 callersFunctionwriteTOONValue
(b *strings.Builder, v toonValue, name string, indent int, opt EncodeOptions)
engine/compressors/toon_encode.go:194
↓ 2 callersFunctionwriteWrapConfig
(home, wrap)
packages/cli/tests/openclaw-wrap.runtime.mjs:48
↓ 2 callersFunctionyamlChildSpan
(lines: string[], start: number, end: number, name: string)
packages/cli/src/index.ts:14452
↓ 2 callersFunctionyamlFixture
()
engine/compressors/config_test.go:14
↓ 2 callersFunctionyamlInlineArray
(items: string[])
packages/cli/src/index.ts:14221
↓ 2 callersFunctionyamlListItemIndent
(lines: string[], keyAt: number, end: number)
packages/cli/src/index.ts:14276
↓ 2 callersFunctionyamlScopedBaseUrl
(raw: string, group: string, name: string)
packages/cli/src/index.ts:4595
↓ 2 callersFunctionzeroCounts
()
packages/sdk/typescript/src/middleware/runtime.ts:115
↓ 1 callersMethod#apply
(outcome: FailureOutcome)
packages/sdk/typescript/src/middleware/runtime.ts:579
↓ 1 callersMethod#entry
The cached view, or null when absent or expired (300 s). A view that cannot be used (no allowlisted transform, or * rejected with unknown_capabilit
packages/sdk/typescript/src/middleware/runtime.ts:550
↓ 1 callersMethod#exchange
(path: string, body: string | undefined, combined: AbortSignal, span?: OTelSpanLike | null)
packages/sdk/typescript/src/middleware/runtime.ts:633
↓ 1 callersMethod#gate
Consult the breaker, then a Retry-After window, immediately before the call's first network request (spec §10).
packages/sdk/typescript/src/middleware/runtime.ts:570
↓ 1 callersMethod#optimize
Steps 5–10 of the spec §8 local order. Returns a plan outcome, or a bypass reason decided locally.
packages/sdk/typescript/src/middleware/runtime.ts:374
↓ 1 callersFunctionAPIKeyRegionAllowed
APIKeyRegionAllowed validates the independently published Bedrock API-key region inventory. Operators may narrow it without widening Runtime support.
proxy/providers/bedrock/routing.go:417
↓ 1 callersMethodAct
(ctx context.Context, req ActionRequest, target Target)
browse/session.go:33
↓ 1 callersFunctionAnalyze
100 megapixels Analyze reads only the image header for dimensions and format. It returns ok=false on anything it cannot decode or that declares an unr
engine/image/image.go:43
↓ 1 callersMethodBedrockBaseURL
BedrockBaseURL returns an explicit operator override or derives AWS's standard Runtime endpoint from BedrockRegion. Callers never need to paste a raw
proxy/internal/config/config.go:514
↓ 1 callersMethodBillingTiers
BillingTiers returns only trusted, recognized provider billing modes. Unknown values are omitted so cost accounting fails closed rather than guessing.
proxy/internal/config/config.go:483
↓ 1 callersMethodBuildExperimentReport
BuildExperimentReport compares the arms over the user's own sessions.
proxy/internal/store/learn_experiment.go:239
↓ 1 callersMethodBuildLearnDigest
BuildLearnDigest builds the export from a scan.
proxy/internal/store/learn_digest.go:107
↓ 1 callersMethodBuildLearnReconcile
BuildLearnReconcile compares an export against the scanned window.
proxy/internal/store/learn_reconcile.go:183
↓ 1 callersMethodBuildLearnSavings
BuildLearnSavings is the front door for `caveman learn savings`: build the plan (which loads the outcome ledger and re-checks every fingerprint), then
proxy/internal/store/learn_attribution.go:331
↓ 1 callersFunctionCall
Call sends one bounded host event to the shared runtime. Client adapters use same platform endpoint and 250 ms deadline as server; any transport or sc
proxy/internal/nativeruntime/server_common.go:18
↓ 1 callersMethodCapabilities
Capabilities exports the default engine registry in stable transform-ID order. Unknown safety classes fail closed by returning no capability.
engine/compressors/compressor.go:156
↓ 1 callersFunctionCavemanPlugin
(ctx)
src/plugins/opencode/plugin.js:308
↓ 1 callersMethodChoice
Choice is Choices for one id; sql.ErrNoRows when the scope has none.
proxy/internal/store/middleware.go:364
↓ 1 callersFunctionClassifyAuthMode
ClassifyAuthMode classifies the caller from header shape only. It is pure and must never log header values: token shapes are enough for policy.
proxy/internal/gateway/authmode.go:32
↓ 1 callersMethodClose
Close closes the underlying database.
proxy/internal/store/store.go:430
↓ 1 callersMethodClose
()
proxy/internal/gateway/chatgpt_auto.go:522
↓ 1 callersMethodClose
()
browse/session.go:74
↓ 1 callersMethodClose
Close releases the databases.
mem/store.go:142
↓ 1 callersMethodCompress
Compress detects the content type, routes to the matching compressor, and returns the compressed result. It is fail-closed: in record mode, when no co
engine/engine.go:72
↓ 1 callersMethodCompress
(input []byte)
engine/compressors/toon.go:18
↓ 1 callersMethodCompressSegment
(seg []byte)
proxy/internal/gateway/compress_test.go:40
↓ 1 callersMethodCompressWithMetadata
(input []byte, query string)
engine/compressors/axtree.go:40
↓ 1 callersFunctionCompressionRoutePatterns
CompressionRoutePatterns exposes the route templates derived from the same prefix/method registries MatchRoute uses. Coverage tests compare this set t
proxy/providers/gemini/gemini.go:72
↓ 1 callersFunctionCountWords
CountWords is the tokenizer-independent denominator for eval reporting. It treats contiguous letters/digits as one word and ignores punctuation.
engine/evals/words.go:7
↓ 1 callersFunctionDecideWithDetail
DecideWithDetail is Decide with explicit effective provider detail/media resolution. Ambiguous or unsupported model-detail tuples pass through.
engine/image/image.go:97
↓ 1 callersFunctionDecodeJSON
(r *http.Request, dst any, maxBytes int64)
shared/platform/httpx/httpx.go:79
↓ 1 callersFunctionDecodeJSONForTOONGrader
DecodeJSONForTOONGrader parses JSON with the same json.Number-preserving path used by the TOON compressor, then converts it to comparable JSON values.
engine/compressors/toon_decode.go:29
↓ 1 callersMethodDecodeTOON
(input []byte)
mcp/engine_tools.go:24
← previousnext →4,101–4,200 of 12,391, ranked by callers