MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 2 callersMethodkill
Latch this client onto the baseline path immediately and locally. Takes effect on the very next :meth:`decide`; no network round-trip and
packages/sdk/python/caveman_cloud/core.py:2282
↓ 2 callersFunctionkiloConfigLocation
()
packages/cli/src/index.ts:15157
↓ 2 callersFunctionkiloConfigPaths
( workspaceDir: string, homeDir: string, env: NodeJS.ProcessEnv, trustWorkspace = false, )
packages/cli/src/codemode.ts:753
↓ 2 callersFunctionkiloMcpEntry
(mcp: { command: string; args: string[] })
packages/cli/src/index.ts:15179
↓ 2 callersFunctionkit
(base, ...args)
tests/middleware-e2e/harness.mjs:106
↓ 2 callersFunctionkitResult
(result)
tests/middleware-e2e/harness.mjs:108
↓ 2 callersFunctionknownSkillSlugs
recordClaudeStructuredSkillUse recognizes Claude Code's explicit skill-use surfaces. The caller still runs the raw substring guard after this parser s
proxy/internal/store/learn.go:1040
↓ 2 callersFunctionlastPixelRenderSummary
lastPixelRenderSummary decodes the JSONL stream `pixel render` prints and returns the trailing summary object (the one with "summary":true).
engine/cmd/caveman-engine/pixel_density_test.go:17
↓ 2 callersFunctionlatestMessageQuery
(raw any, allowedBlockTypes map[string]bool)
proxy/internal/gateway/compression_query.go:50
↓ 2 callersFunctionlaunchDirectChrome
(logger *slog.Logger, port int)
browse/cmd/caveman-browse/main.go:308
↓ 2 callersFunctionlearnClassLabel
(klass: string)
packages/cli/src/index.ts:20227
↓ 2 callersFunctionlearnDiffText
(diff: LearnDiff | undefined)
packages/cli/src/index.ts:20442
↓ 2 callersFunctionlearnEmpty
(plan: LearnPlan)
packages/cli/src/index.ts:20209
↓ 2 callersFunctionlearnEvidenceNumber
(sink: LearnSink, key: string)
packages/cli/src/index.ts:20295
↓ 2 callersFunctionlearnMeasuredPrefixSuffix
(sink: LearnSink | undefined)
packages/cli/src/index.ts:20300
↓ 2 callersFunctionlearnMemoryHealthLine
(plan: LearnPlan)
packages/cli/src/index.ts:20342
↓ 2 callersFunctionlearnMoveBody
(move: LearnTuiMove)
packages/cli/src/learn-tui.ts:42
↓ 2 callersFunctionlearnNoScoreYet
(sessions: number)
packages/cli/src/index.ts:20216
↓ 2 callersFunctionlearnProtectedText
(sink: LearnSink)
packages/cli/src/index.ts:20490
↓ 2 callersFunctionlearnProvenanceLabel
(provenance: string)
packages/cli/src/index.ts:20912
↓ 2 callersFunctionlearnReportOpener
( report: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:20792
↓ 2 callersFunctionlearnRetroOptions
(args []string)
proxy/cmd/caveman-proxy/main.go:1028
↓ 2 callersFunctionlearnScoreBar
(score: number, width = 24)
packages/cli/src/learn-tui.ts:36
↓ 2 callersFunctionlearnSinkPositionals
(args []string)
proxy/cmd/caveman-proxy/main.go:1013
↓ 2 callersFunctionlearnSourceLine
(plan: LearnPlan, sessions: number)
packages/cli/src/index.ts:20429
↓ 2 callersFunctionlearnSparkline
(series: (number | null)[])
packages/cli/src/learn-trends.ts:46
↓ 2 callersFunctionlearnTimeoutSeconds
()
packages/cli/src/index.ts:20704
↓ 2 callersFunctionlearnUsage
()
packages/cli/src/index.ts:20986
↓ 2 callersFunctionlearningLoopSinks
(loops []learningLoop)
proxy/internal/store/learn_loops.go:187
↓ 2 callersFunctionleaveHomeAclAlone
(home: string, seen: { names: string[]; resolved: string; link: boolean })
packages/cli/src/home-acl.ts:35
↓ 2 callersFunctionleaves
(body: dict, protocol: str)
packages/middleware/python/caveman_middleware/_native.py:107
↓ 2 callersFunctionledgerCSV
--- end-to-end through the compressors ---
engine/compressors/invariants_test.go:440
↓ 2 callersFunctionlegacyConfigPath
()
packages/cli/src/modules/config-home.ts:18
↓ 2 callersFunctionlegend
(c, x, y, labels)
benchmarks/render_charts.py:89
↓ 2 callersFunctionlevelParams
(level DensityLevel, tier PixelTier)
engine/pixel/density.go:99
↓ 2 callersFunctionlineFields
lineFields reads one line of a line-oriented payload as whatever it is: a complete JSON object (an NDJSON event stream — webhook deliveries, audit eve
engine/compressors/invariants.go:691
↓ 2 callersFunctionlinkReadOnlyError
(link: string, target: string)
packages/cli/src/index.ts:8827
↓ 2 callersFunctionlistFiles
listFiles prefers git's own ignore rules over any name list we could write: a dependency tree the project installs (node_modules, .pixi/envs, .venv, a
proxy/internal/repointel/index.go:252
↓ 2 callersFunctionlisten
(server, scheme = "http")
packages/cli/tests/proxy-fetch.runtime.mjs:37
↓ 2 callersMethodliveZoneConfigured
liveZoneConfigured is every live-zone condition except the recovery proof, which a request may carry in its own (possibly still encoded) body.
proxy/internal/gateway/server.go:473
↓ 2 callersMethodload
(current, legacy, credentials string, refreshKeychain bool)
proxy/internal/cloudlink/link.go:358
↓ 2 callersFunctionloadBootstrapSnippet
(repoRoot)
installer/lib/openclaw.js:214
↓ 2 callersFunctionloadCurrentCatalog
loadCurrentCatalog decodes current.yaml through the same strict validator the runtime uses, so a probe test mutates exactly the rows the gateway would
shared/platform/catalog/catalog_test.go:244
↓ 2 callersFunctionloadDirectState
(logger *slog.Logger)
browse/cmd/caveman-browse/main.go:484
↓ 2 callersFunctionloadJournal
(journalPath, integration)
installer/lib/owned-install.js:103
↓ 2 callersFunctionloadModuleIndex
()
packages/cli/src/modules/index-file.ts:71
↓ 2 callersFunctionloadSurfaces
({ skillsDir, cliDir })
skills/verbs-gate.mjs:42
↓ 2 callersFunctionload_snapshot
Read and validate one snapshot before a consumer reports from it.
evals/snapshot_contract.py:115
↓ 2 callersFunctionloadedClient
(response, options = {})
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:93
↓ 2 callersFunctionloaderControlKey
(key)
agents/compile.mjs:103
↓ 2 callersFunctionloads
Strict JSON, read as JSON.parse reads it: NaN/Infinity are rejected and integral numbers are ints.
packages/sdk/python/caveman_cloud/middleware/protocol.py:83
↓ 2 callersFunctionlocalScanUploadFromRetro
(retro: LearnRetro, scannedAt: Date)
packages/cli/src/index.ts:13383
↓ 2 callersFunctionlocalTurnEffortSessionKey
localTurnEffortSessionKey ensures every conversation using cache-safe local per-message marks has a stable session key for byte-identical mark replay
proxy/internal/gateway/local_turn_effort.go:124
↓ 2 callersFunctionlockPath
()
packages/cli/src/modules/index-file.ts:99
↓ 2 callersFunctionlogfmtFields
logfmtFields extracts the `key=value` tokens of one log line, in order.
engine/compressors/invariants.go:707
↓ 2 callersFunctionloginBrowserOpener
( url: string, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:13026
↓ 2 callersFunctionlooksLikeLog
(input []byte)
engine/detect.go:216
↓ 2 callersFunctionlooksLikeSSE
looksLikeSSE reports whether a response body prefix opens as an SSE stream: a field line (`event:`, `data:`, `id:`, `retry:`) or a comment (`:`). A JS
proxy/internal/gateway/chatgpt.go:684
↓ 2 callersFunctionlookup
(whole, name)
installer/install.js:1180
↓ 2 callersFunctionlookupField
(obj: unknown, path: string)
packages/middleware/typescript/src/codemode.ts:211
↓ 2 callersMethodlookupPrice
(provider, model string)
proxy/internal/standalone/e2e_cost_bench_test.go:144
↓ 2 callersFunctionmain
()
shrink/cmd/caveman-shrink/main.go:44
↓ 2 callersFunctionmakeAnnotatedToolCatalogGemini
()
proxy/internal/standalone/e2e_cost_bench_test.go:922
↓ 2 callersFunctionmakeAnnotatedToolCatalogOpenAI
()
proxy/internal/standalone/e2e_cost_bench_test.go:892
↓ 2 callersFunctionmakeChalk
(noColor)
installer/install.js:205
↓ 2 callersFunctionmakeResponsesDeferPayload
(mcpCount int, withSearch bool)
proxy/providers/openai/defer_mcp_test.go:13
↓ 2 callersFunctionmakeSession
(dir, lines)
tests/test_caveman_stats.js:34
↓ 2 callersFunctionmakeStubAXTree
(extraNoise int)
mcp/codemode/stdio_js_builtin_test.go:802
↓ 2 callersFunctionmakeVerboseSystemPrompt
()
proxy/internal/standalone/e2e_cost_bench_test.go:829
↓ 2 callersFunctionmanifest_window
§11: the largest head length k with k <= max_items and sum(sizes[:k]) <= max_bytes.
packages/sdk/python/caveman_cloud/middleware/protocol.py:235
↓ 2 callersFunctionmantleActionAllowed
(path string)
proxy/providers/bedrock/routing.go:227
↓ 2 callersFunctionmanualThinking
manualThinking: only extended (manual, `enabled`) thinking requires the final assistant tool turn to start with a thinking block; adaptive relaxes tha
proxy/internal/translate/messages.go:425
↓ 2 callersMethodmapped
mapped builds the JWT or certificate principal prefix+value. globs from the credential win; otherwise the token map entry of that name supplies them.
proxy/internal/identity/identity.go:314
↓ 2 callersFunctionmarkEstimate
markEstimate tells the agent message_start's input_tokens is an estimate.
proxy/internal/translate/messages_stream.go:554
↓ 2 callersFunctionmarkerMAC
(key []byte, encodedSessionID string)
proxy/internal/nativeruntime/marker.go:139
↓ 2 callersMethodmatchAdapter
(r *http.Request)
proxy/internal/gateway/proxy.go:2060
↓ 2 callersFunctionmatches_framework
Pure version check for adapters retaining a passive per-call delegate. Each pin is `(distribution, minimum, exclusive_maximum)`.
packages/middleware/python/caveman_middleware/_versions.py:66
↓ 2 callersFunctionmaxRetrieveResponseBytes
()
proxy/internal/gateway/retrieve_tool.go:938
↓ 2 callersFunctionmaybeReflowOpenAI
(text string, enabled bool)
engine/pixel/transform_openai.go:784
↓ 2 callersFunctionmaybeReflowText
(text string, enabled bool)
engine/pixel/transform_anthropic.go:947
↓ 2 callersFunctionmaybeSpawnAutopilot
(cliPath = join(dirname(fileURLToPath(import.meta.url)), "index.js"))
packages/cli/src/learn-autopilot.ts:177
↓ 2 callersFunctionmaybeWarnHermesMissingKey
(agent: AgentProfile | undefined, gw = gatewayURL())
packages/cli/src/index.ts:7304
↓ 2 callersFunctionmcpMarkerBytes
(mcp: { command: string; args: string[] }, tool: string, configPath?: string)
packages/cli/src/index.ts:16716
↓ 2 callersFunctionmcpPendingJournalPath
(agent: "kilo" | "qwen", serverName: string)
packages/cli/src/index.ts:16707
↓ 2 callersFunctionmcpSurfaceMode
(value: CapabilityValue)
packages/cli/src/index.ts:4548
↓ 2 callersFunctionmcpSurfaceSink
(cfg configScan, existing []Sink)
proxy/internal/store/detect_mcp_tax.go:10
↓ 2 callersFunctionmeaningfulTokenReduction
(before, after int)
engine/image/image.go:146
↓ 2 callersMethodmeasuredPrefix
()
proxy/internal/store/learn.go:134
↓ 2 callersFunctionmedianAndScale
medianAndScale returns the median and a robust scale (MAD) of xs, falling back to the standard deviation when the MAD is zero (≥ half the values ident
engine/compressors/json.go:421
↓ 2 callersMethodmedianContext
()
proxy/internal/store/learn.go:115
↓ 2 callersFunctionmemTools
memTools maps the store onto cavemem MCP tools, reusing the mcp framing. Every result is labeled inferred.
mem/cmd/cavemem/main.go:138
↓ 2 callersMethodmemoryByID
(id string)
mem/store.go:665
↓ 2 callersFunctionmemoryProjectRoot
memoryProjectRoot is the directory Claude Code keys auto memory on: the git repository, with every worktree folded into its main checkout (per the doc
proxy/internal/store/detect_memory_health.go:131
↓ 2 callersFunctionmerge
(src: Record<string, CodemodeServerConfig>)
packages/cli/src/codemode.ts:839
↓ 2 callersFunctionmergeAliasValue
(current int, found bool, next int, usage *UsageObservation)
proxy/providers/adapter.go:1681
↓ 2 callersFunctionmergeAnthropicCustomHeader
(raw: string | undefined, name: string, value: string | undefined)
packages/cli/src/index.ts:12682
↓ 2 callersFunctionmergeBedrockUsage
mergeBedrockUsage reads usage from the Bedrock shapes (camelCase converse, snake_case anthropic-invoke, nested metadata/message.usage) and merges the
proxy/providers/bedrock/usage.go:298
↓ 2 callersFunctionmergeBehaviorScan
(dst, src *behaviorScan)
proxy/internal/store/learn.go:1142
↓ 2 callersFunctionmergeHermesConfigEdits
(editedYaml: string, originalYaml: string)
packages/cli/src/codemode.ts:1277
↓ 2 callersFunctionmergeUsage
mergeUsage reads every usage-bearing sub-object reachable from obj and merges cumulative stream counters with a max rule. Each object is normalized to
proxy/providers/adapter.go:1272
← previousnext →3,401–3,500 of 12,853, ranked by callers