MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionexecutableCandidateNames
( name, platform = process.platform, pathExt = process.env.PATHEXT ?? ".COM;.EXE;.BAT;.CMD", )
packages/shared/binary-installer/installer.mjs:31
↓ 2 callersFunctionexecutableCandidateNames
( name, platform = process.platform, pathExt = process.env.PATHEXT ?? ".COM;.EXE;.BAT;.CMD", )
mcp/bin/binary-installer.generated.mjs:31
↓ 2 callersFunctionexistingStorePath
existingStorePath resolves path the way Open does, without creating it.
engine/ccr/store_repair.go:185
↓ 2 callersFunctionexp
exp and expmulti are math.Exp's portable code from Go's src/math/exp.go. Copyright 2009 The Go Authors. All rights reserved. Use of this source code i
engine/trim2/model.go:209
↓ 2 callersFunctionexpandHome
(p)
installer/install.js:336
↓ 2 callersFunctionexpandTilde
expandTilde mirrors Pi's expandTildePath (normalizePath with its default options): a bare "~" and a leading "~/" (or "~\\" on Windows) expand to the h
proxy/internal/store/config_scan.go:173
↓ 2 callersMethodexpireCacheComponents
expireCacheComponents deletes the lists of requests older than the retention window, and in the same transaction clears any legacy list of such a row
proxy/internal/store/cache_components.go:128
↓ 2 callersMethodexpiry
expiry slides a scope to now+retention, capped at created+max retention.
proxy/internal/middleware/runtime.go:289
↓ 2 callersFunctionexternalRuns
(selection: ModuleSelection, only: ModuleId[] | undefined, agents: string[], wiring: boolean)
packages/cli/src/modules/apply.ts:321
↓ 2 callersFunctionexternalSkillFingerprint
(target: SkillTarget)
packages/cli/src/index.ts:2484
↓ 2 callersFunctionextractAnthropicToolTexts
(t *testing.T, rawBody []byte)
proxy/internal/gateway/delta_epoch_test.go:45
↓ 2 callersFunctionextractAssistantBlockIntent
(msg map[string]any)
proxy/internal/gateway/compression_query.go:245
↓ 2 callersFunctionextractCompressionQuery
extractCompressionQuery returns the latest human text from a provider request. Tool results are deliberately skipped: they are the payload being compr
proxy/internal/gateway/compression_query.go:23
↓ 2 callersMethodextractRewritable
extractRewritable asks the adapter for the blocks compress mode may rewrite. With a durable prefix cache AND an adapter that exposes its frozen zone,
proxy/internal/gateway/proxy.go:1691
↓ 2 callersFunctionextractTools
extractTools handles the MCP ({"tools":[…]}), OpenAI (array of {function:…} or flat) and {"functions":[…]} shapes.
shrink/shrink.go:240
↓ 2 callersFunctionextract_code_blocks
Line-based fenced code block extractor. Handles ``` and ~~~ fences with variable length (CommonMark: closing fence must use same char and be
plugins/caveman/skills/caveman-compress/scripts/validate.py:141
↓ 2 callersMethodfacts
facts is what an ask reports about key's session: its previous request (age_s counted now) and the per-message latch.
proxy/internal/gateway/route.go:691
↓ 2 callersFunctionfail
(reason: string)
packages/cli/src/index.ts:23053
↓ 2 callersFunctionfail
(what: string, error: unknown)
packages/cli/src/modules/apply.ts:475
↓ 2 callersFunctionfail
(reason string)
engine/evals/graders.go:46
↓ 2 callersMethodfail
fail reports an upstream failure inside the stream and stops every later event: Anthropic's grammar has exactly one event for this, and after it a mes
proxy/internal/translate/messages_stream.go:275
↓ 2 callersFunctionfailed
(outcome: FailureOutcome)
packages/sdk/typescript/src/middleware/runtime.ts:117
↓ 2 callersFunctionfailingUpstream
failingUpstream answers each attempt with the next status, or fails the transport when statuses is nil.
proxy/internal/gateway/route_test.go:357
↓ 2 callersFunctionfailureOf
(error: unknown)
packages/sdk/typescript/src/middleware/runtime.ts:118
↓ 2 callersFunctionfakeChild
({ exitCode = null, signalCode = null, killed = false } = {})
tests/test_mcp_shrink.js:387
↓ 2 callersFunctionfakeTimers
()
tests/test_mcp_shrink.js:403
↓ 2 callersFunctionfallbackCanonicalDefault
(raw)
src/hooks/caveman-activate.js:86
↓ 2 callersFunctionfallbackRuleset
(mode, hookDir)
src/hooks/caveman-config.js:881
↓ 2 callersFunctionfalseyModelList
(v string)
engine/pixel/applicability.go:46
↓ 2 callersFunctionfeatures
(v2 bool)
proxy/internal/middleware/protocol_v11_test.go:66
↓ 2 callersFunctionfetch
(url, init)
tests/middleware-e2e/drive-ts.mjs:34
↓ 2 callersFunctionfileNameMatches
fileNameMatches deliberately tests the final path component only. Matching the whole path made a term naming any ancestor directory ("src", "internal"
proxy/internal/repointel/index.go:727
↓ 2 callersFunctionfileStamp
fileStamp changes whenever any of the files is replaced, rewritten or removed, including a Kubernetes Secret volume's atomic symlink swap.
proxy/internal/identity/identity.go:453
↓ 2 callersMethodfilename
filename is the name a document file goes under: its title, else one named after its media type.
proxy/internal/translate/messages_in.go:171
↓ 2 callersFunctionfiller
filler pads a payload past minBlockTokens (estimateTokens is bytes/4, so a block needs ~720 bytes to be a candidate at all).
proxy/internal/store/recurring_test.go:10
↓ 2 callersFunctionfinalizeAnthropicRequest
(req anthropicRequestState)
engine/pixel/transform_anthropic.go:630
↓ 2 callersFunctionfindCompressedPairs
(dirs)
src/hooks/caveman-stats.js:261
↓ 2 callersFunctionfindFirst
(n *html.Node, a atom.Atom)
engine/compressors/html.go:257
↓ 2 callersFunctionfindRepoConfigPath
(start, accept)
src/hooks/caveman-config.js:113
↓ 2 callersFunctionfinish
(result, attempt)
packages/middleware/python/caveman_middleware/openai.py:187
↓ 2 callersFunctionfinish
(event: 'completed' | 'failed' | 'cancelled')
packages/middleware/typescript/src/common.ts:149
↓ 2 callersFunctionfinish
(error)
extension/scripts/firefox-e2e.mjs:169
↓ 2 callersMethodfinish
(self, event)
packages/middleware/python/caveman_middleware/_httpx2.py:148
↓ 2 callersMethodfinish
()
proxy/internal/store/session_source.go:237
↓ 2 callersMethodfinish
()
proxy/internal/translate/messages_stream.go:426
↓ 2 callersMethodfinishRecord
finishRecord completes row (account adds the request token count) and hands it to the sink and, with observe, to the Cloud link. With a recorder that
proxy/internal/gateway/recorder.go:155
↓ 2 callersFunctionfirstNonEmptyValue
(values ...string)
proxy/internal/nativeruntime/runtime.go:1372
↓ 2 callersFunctionfirstRoleIndex
(items []any, role string)
engine/pixel/transform_openai.go:771
↓ 2 callersFunctionfirstRunScanContract
()
packages/cli/src/index.ts:6094
↓ 2 callersFunctionfirstString
(event hostEvent, keys ...string)
proxy/internal/nativehook/hook.go:428
↓ 2 callersFunctionfirstUserIndex
(messages []Message)
engine/pixel/transform_anthropic.go:1487
↓ 2 callersFunctionfixToolIDs
fixToolIDs is anthropicToolIDs on a body's members; it reports a change.
proxy/internal/translate/messages.go:462
↓ 2 callersFunctionfixedOffState
(id: OffStateID, item: { line: string; fix?: string })
packages/cli/src/index.ts:5115
↓ 2 callersFunctionfixture
(port, { runState = true, recoveryViaMcp = true } = {})
packages/pi-extension/tests/integration.runtime.mjs:55
↓ 2 callersFunctionflag
(names: string[])
packages/cli/src/index.ts:7422
↓ 2 callersFunctionflavour
(name)
packages/middleware/python/caveman_middleware/_httpx2.py:27
↓ 2 callersMethodflushAssistant
()
proxy/internal/translate/responses_in.go:685
↓ 2 callersMethodflushAttached
()
proxy/internal/translate/responses_in.go:703
↓ 2 callersFunctionfmt_pct
(x: float)
evals/measure.py:67
↓ 2 callersFunctionfoldOpenAIHistory
(info *TransformInfo, model string, plan GptCollapsePlan)
engine/pixel/transform_openai.go:452
↓ 2 callersMethodforget
()
proxy/internal/cloudlink/link.go:1456
↓ 2 callersFunctionformatCount
(value, availability)
src/hooks/caveman-stats.js:398
↓ 2 callersFunctionformatLearnProxyJSON
(raw: string, tty = !!process.stdout.isTTY)
packages/cli/src/index.ts:21287
↓ 2 callersFunctionformatMinorCurrency
(cents: unknown, currency: unknown)
packages/cli/src/index.ts:23297
↓ 2 callersFunctionformatSessionSavings
( kind: "observe" | "compress", s: ProxyObserveSummary | null, authModes: readonly string[] = [], wind
packages/cli/src/index.ts:5851
↓ 2 callersFunctionformatStats
({ outputTokens, outputAvailability, cacheReadTokens, cacheReadAvailability, turns, mode, sessionPath, compres
src/hooks/caveman-stats.js:463
↓ 2 callersFunctionformatTokens
(t)
packages/subagent-tax/lib/report.mjs:30
↓ 2 callersFunctionframingBroken
framingBroken: an "event:" line followed by another "event:" before its data, or a data line whose type differs from its event name.
proxy/internal/translate/relay_framing_test.go:28
↓ 2 callersFunctionfreePort
()
packages/cli/tests/wrap.runtime.mjs:12
↓ 2 callersMethodfreed
()
engine/ccr/store_reclaim.go:69
↓ 2 callersFunctionfreshTmpDir
()
tests/installer/e2e.dryrun.test.mjs:15
↓ 2 callersFunctionfromEnvironment
(primaryKeyEnvironment string, legacyKeyEnvironments ...string)
shared/platform/kms/kms.go:128
↓ 2 callersFunctionfrontierEdit
frontierEdit marks the last cacheable content block of the newest message with array content — the rolling tail breakpoint. It bounds every later turn
proxy/providers/anthropic/breakpoint_plan.go:267
↓ 2 callersFunctionfrozenField
(name string, value []byte)
proxy/providers/anthropic/content_compress.go:133
↓ 2 callersFunctiongate
Decision 3: whether the adapter runs. Never raises. A readable version outside the tested range skips the adapter and warns once (``unsupport
packages/middleware/python/caveman_middleware/_versions.py:82
↓ 2 callersFunctiongate
(options: CavemanMastraOptions)
packages/middleware/typescript/src/mastra.ts:35
↓ 2 callersFunctiongate
(options: CavemanOptions)
packages/middleware/typescript/src/ai-sdk.ts:29
↓ 2 callersMethodgatewayBearer
gatewayBearer is the credential for the gateway (POST /v1/route): the project key, which is all the gateway authenticates (a login token is refused th
proxy/internal/cloudlink/link.go:531
↓ 2 callersFunctiongatewayDecodeJSONString
(raw []byte)
proxy/internal/gateway/pixel.go:714
↓ 2 callersFunctiongatewayScanJSONString
(body []byte, start int)
proxy/internal/gateway/retrieve_tool.go:344
↓ 2 callersFunctiongatewayUrlFromConfigFile
()
packages/cli/src/index.ts:185
↓ 2 callersFunctiongcSessionStore
(claudeDir, opts)
src/hooks/caveman-config.js:715
↓ 2 callersFunctiongdHeaderColon
gdHeaderColon finds the colon that closes a function header: the one after the balanced parameter list and the optional `-> Type`. Quotes and `#` comm
engine/compressors/code_gdscript.go:128
↓ 2 callersFunctiongdToggleTripleQuote
gdToggleTripleQuote returns the multi-line string state after line: every `"""` or `”'` on the line flips it.
engine/compressors/code_gdscript.go:277
↓ 2 callersFunctiongeminiEnvPath
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/harnesses/gemini.ts:16
↓ 2 callersFunctiongeminiEnvSelectsAuth
(dotenv: string)
packages/cli/src/index.ts:9444
↓ 2 callersFunctiongeminiFunctionResponseText
(fr geminiFunctionResponse)
engine/pixel/transform_gemini.go:864
↓ 2 callersFunctiongeminiHasCaveman
()
installer/install.js:753
↓ 2 callersFunctiongeminiOwnEndpoint
(text: string, envPath: string, shell: boolean)
packages/cli/src/index.ts:9231
↓ 2 callersFunctiongeminiPixelBody
()
proxy/internal/gateway/pixel_test.go:447
↓ 2 callersFunctiongeminiSettingsPath
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/harnesses/gemini.ts:12
↓ 2 callersFunctiongenerateContentMeta
()
proxy/providers/gemini/prefix_stability_test.go:20
↓ 2 callersFunctiongenericIntegrationStatus
(runtimeReachable: boolean)
packages/cli/src/index.ts:12411
↓ 2 callersFunctiongenericKeychainDelete
(service: string, account: string)
packages/cli/src/index.ts:23818
↓ 2 callersFunctiongenericKeychainGet
(service: string, account: string)
packages/cli/src/index.ts:23807
↓ 2 callersFunctiongenericKeychainSet
(service: string, account: string, secret: string)
packages/cli/src/index.ts:23797
↓ 2 callersMethodgetObjectFrom
(q querier, id string)
engine/ccr/store_sqlite.go:1144
↓ 2 callersFunctiongetReinforce
(startDir)
src/hooks/caveman-config.js:232
↓ 2 callersFunctiongetSpawnOptions
(platform = process.platform)
src/mcp-servers/caveman-shrink/spawn-options.js:74
↓ 2 callersFunctiongetString
(root: unknown, path: string[])
packages/cli/src/index.ts:7903
← previousnext →3,301–3,400 of 13,382, ranked by callers