MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionwrapUsage
(stream: "stdout" | "stderr" = "stderr")
packages/cli/src/index.ts:6451
↓ 2 callersFunctionwrapWorkTags
(cwd = process.cwd())
packages/cli/src/index.ts:12628
↓ 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:2212
↓ 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 callersFunctionwriteGeminiCodemodeSettingsOverlay
( outDir: string, baseSystemSettingsPath: string, cmEntry: CodemodeLaunchEntry, )
packages/cli/src/codemode.ts:996
↓ 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:19492
↓ 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:14698
↓ 2 callersFunctionyamlFixture
()
engine/compressors/config_test.go:14
↓ 2 callersFunctionyamlInlineArray
(items: string[])
packages/cli/src/index.ts:14467
↓ 2 callersFunctionyamlListItemIndent
(lines: string[], keyAt: number, end: number)
packages/cli/src/index.ts:14522
↓ 2 callersFunctionyamlScopedBaseUrl
(raw: string, group: string, name: string)
packages/cli/src/index.ts:4604
↓ 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 callersFunctionApplyDeferMCPTools
ApplyDeferMCPTools marks non-core `mcp__*` tools in an Anthropic Messages wire request with `"defer_loading": true` and prepends Anthropic's native BM
proxy/providers/anthropic/defer_mcp.go:101
↓ 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:524
↓ 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:493
↓ 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 callersMethodCachedPrefixComponents
CachedPrefixComponents is the adapter form of the package function. Token count and embedding endpoints do not write prompt-cache entries.
proxy/providers/openai/cached_prefix.go:102
↓ 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 callersMethodCatalogSize
CatalogSize returns the total number of downstream tools indexed.
mcp/codemode/codemode.go:303
↓ 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 callersFunctionCompactSignature
CompactSignature renders a tool's JSON Schema as a concise TypeScript-like call signature (`server.name({a: string, b?: integer})`), ~15x smaller than
mcp/codemode/codemode.go:512
↓ 1 callersFunctionCompanionTools
CompanionTools exposes Caveman's bounded T3-Code-style structured built-in tools (`repo_batch_read`, `repo_symbol_outline`, `repo_search_code`, `pr_re
mcp/codemode/companion.go:33
↓ 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 callersMethodCompressSegment
(seg []byte)
proxy/internal/gateway/compress_panic_test.go:172
↓ 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:75
↓ 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
↓ 1 callersFunctionDecrypt
Decrypt delegates to configured environment client.
shared/platform/kms/kms.go:202
↓ 1 callersFunctionDecryptPayload
DecryptPayload unwraps an artifact data key with the dedicated payload KEK, while allowing the explicitly configured legacy secrets key during cutover
shared/platform/kms/kms.go:212
↓ 1 callersFunctionDefaultLearnReportPath
(home string)
proxy/internal/store/report.go:23
↓ 1 callersFunctionDefaultReportPath
(home, trialID string)
proxy/internal/store/report.go:16
↓ 1 callersFunctionDefaultUserDataDir
(home string)
browse/cdp.go:428
↓ 1 callersFunctionDeleteObjectField
DeleteObjectField removes one top-level member (and its single delimiting comma) from object while preserving every other byte, key order, whitespace,
proxy/providers/jsonsplice/jsonsplice.go:248
↓ 1 callersMethodDeleteQuotaProvider
(provider string)
proxy/internal/store/trial_store.go:192
↓ 1 callersFunctionDensityInkNote
DensityInkNote returns the reader instruction a caller must prepend before rendered content so the model reads the ink convention correctly: the two-l
engine/pixel/density.go:358
↓ 1 callersFunctionDereflow
(s string)
engine/pixel/render.go:134
↓ 1 callersMethodDigestSummaryLine
DigestSummaryLine is the one-line human framing the CLI prints next to the path.
proxy/internal/store/learn_digest.go:197
↓ 1 callersMethodDirectOnly
DirectOnly drops the items that ranked on metadata proximity alone. A bundle qualifies on one direct item, so the rest ride along otherwise — into the
proxy/internal/repointel/index.go:128
↓ 1 callersFunctionEmbeddedManifest
EmbeddedManifest returns the built-in fixture manifest.
engine/evals/harness.go:161
↓ 1 callersFunctionEnablementOnlyOpportunityContracts
EnablementOnlyOpportunityContracts returns a stable copy. Callers cannot mutate the package's closed vocabulary.
shared/platform/optimizers/optimizers.go:165
↓ 1 callersFunctionEncrypt
Encrypt delegates to configured environment client.
shared/platform/kms/kms.go:157
↓ 1 callersFunctionEncryptPayload
EncryptPayload wraps an artifact data key with the dedicated payload KEK.
shared/platform/kms/kms.go:166
↓ 1 callersFunctionErrorWithDetails
ErrorWithDetails writes the same envelope as Error plus a "details" object the caller can act on programmatically. Server errors are redacted exactly
shared/platform/httpx/httpx.go:49
↓ 1 callersMethodEstimateSegment
(segment []byte)
proxy/internal/gateway/server.go:141
↓ 1 callersMethodEstimateSegmentQuery
(segment []byte, query string)
proxy/internal/gateway/server.go:147
↓ 1 callersMethodEval
(ctx context.Context, expression string)
browse/session.go:34
↓ 1 callersMethodEval
(ctx context.Context, expression string)
browse/cdp.go:246
↓ 1 callersFunctionExtractFactSheetEntriesAllPages
(text string, charsPerPage int)
engine/pixel/factsheet.go:187
↓ 1 callersFunctionFactSheetTextFromEntries
(entries []FactSheetEntry)
engine/pixel/factsheet.go:243
↓ 1 callersMethodFinishTrial
(trialID string, exitCode int)
proxy/internal/store/trial_store.go:74
↓ 1 callersMethodFrozenPrefixComponents
FrozenPrefixComponents returns exact JSON value bytes that Anthropic treats as frozen context: top-level system/tools plus messages below cache floor.
proxy/providers/anthropic/content_compress.go:20
↓ 1 callersFunctionGUARD
(label: string)
packages/pi-extension/src/index.ts:152
↓ 1 callersFunctionGoogleRequestCarriesQueryCredential
GoogleRequestCarriesQueryCredential reports a caller credential supplied as a URL query parameter that this proxy does not resolve. The request alread
proxy/providers/google_credentials.go:70
↓ 1 callersMethodGrade
(context.Context, Grader, Subject)
engine/evals/quality.go:47
↓ 1 callersFunctionHERMES_ROUND_TRIPPED
(command)
packages/cli/tests/native-enable.runtime.mjs:1829
↓ 1 callersMethodInboundAuthenticated
InboundAuthenticated reports whether any inbound credential gates the listener: the shared token, or an identity source for the middleware routes (tok
proxy/internal/config/config.go:358
↓ 1 callersMethodInspectRequest
(ctx context.Context, body BodyReader, headers http.Header)
proxy/providers/adapter.go:763
↓ 1 callersFunctionIsRetiredOpportunity
IsRetiredOpportunity reports whether an optimizer id is a historical opportunity identity that must be absent from current read/proposal surfaces.
shared/platform/optimizers/optimizers.go:211
↓ 1 callersFunctionIsReviewOnlyOpportunity
IsReviewOnlyOpportunity is the common proposal/actuation boundary for all current non-actuatable observations. Continuous-improvement report ids keep
shared/platform/optimizers/optimizers.go:174
← previousnext →4,301–4,400 of 12,853, ranked by callers