MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionresponsesServerMode
(t *testing.T, mode string, cloud CloudLink, respond func(body []byte) (int, string))
proxy/internal/gateway/route_effort_responses_test.go:24
↓ 2 callersFunctionrestartChallenge
(t *testing.T)
proxy/internal/middleware/acceptance_test.go:807
↓ 2 callersFunctionrestoreAgentNativeBundleSkills
(skills: AgentNativeBundleSkill[])
packages/cli/src/index.ts:3600
↓ 2 callersFunctionrestoreAgentNativeCloudMcp
(agent: "claude" | "codex", previous: { command: string; args: string[] } | null)
packages/cli/src/index.ts:3612
↓ 2 callersMethodrestoreCurrentModel
(ctx: ExtensionContext)
packages/pi-extension/src/provider.ts:215
↓ 2 callersFunctionrestoreNativeJournalFiles
(journal: NativeJournal | undefined, allClaudeProfiles = false)
packages/cli/src/index.ts:11683
↓ 2 callersFunctionrestoreNativeOperation
(operation: NativeJournal["operations"][number])
packages/cli/src/index.ts:11261
↓ 2 callersFunctionresultFor
(artifact, id = profile.id)
tests/installer/agent-registry-drift.test.mjs:43
↓ 2 callersMethodretrieve
(self, scope, **args)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:136
↓ 2 callersFunctionretrieveFailureResponse
(kind, message string)
proxy/internal/gateway/retrieve_tool.go:913
↓ 2 callersFunctionretroScanClaudeFile
retroScanClaudeFile reads one Claude Code transcript: provider-counted usage, recurring blocks, and tool-result payloads for the engine.
proxy/internal/store/learn_retro.go:633
↓ 2 callersFunctionretroSessionPathsUntil
retroSessionPathsUntil makes discovery part of the pass budget. A truncated discovery returns every complete path found before expiry and marks the re
proxy/internal/store/learn_retro.go:561
↓ 2 callersFunctionretroStreamCutTokens
retroStreamCutTokens weights one file's tool-output and repeated-block cuts together by later provider-counted turns of the same transcript. Combining
proxy/internal/store/learn_retro.go:338
↓ 2 callersFunctionretroStreamFileKey
(source, relPath string)
proxy/internal/store/learn_retro.go:323
↓ 2 callersFunctionretroUsageLineSized
retroUsageLineSized is retroUsageLine with an explicit provider-counted size, for exercising the residency cap.
proxy/internal/store/learn_retro_test.go:355
↓ 2 callersFunctionrewritable
rewritable returns the blocks the proxy may rewrite. An ok=false result means the adapter found nothing rewritable at all, which is the strongest form
proxy/providers/gemini/recovery_exempt_test.go:16
↓ 2 callersFunctionrewritableZones
rewritableZones is the single definition of Gemini's rewrite zones, shared by ExtractCompressible (live only) and ExtractStabilizable (live + frozen),
proxy/providers/gemini/content_compress.go:100
↓ 2 callersFunctionrewritableZones
rewritableZones is the single definition of OpenAI's rewrite zones, shared by ExtractCompressible (live only) and ExtractStabilizable (live + frozen),
proxy/providers/openai/content_compress.go:127
↓ 2 callersFunctionrewriteHermesCodemodeYaml
(sourceYaml: string, cmEntry: CodemodeLaunchEntry)
packages/cli/src/codemode.ts:1162
↓ 2 callersFunctionrgba8
(img image.Image, x, y int)
engine/pixel/golden_test.go:164
↓ 2 callersFunctionroughJSONSize
(v any)
proxy/internal/store/usage_import.go:663
↓ 2 callersFunctionroundUSDCents
roundUSDCents rounds a dollar figure to cents. Local sums of already-cent-rounded rows can carry float noise; this keeps the reported figure honest to
proxy/internal/store/store.go:1136
↓ 2 callersFunctionrouteForApi
(gateway: string, api: string | undefined, provider?: string, originalBaseUrl?: string, compatUpstreams?: Read
packages/pi-extension/src/protocol.ts:188
↓ 2 callersFunctionrouteState
(now = new Date())
packages/cli/src/modules/cloud.ts:102
↓ 2 callersFunctionroutedAttemptFailed
routedAttemptFailed: the routed model's answer, accepted with a 2xx/3xx, reported a provider error event or broke upstream before the provider reporte
proxy/internal/gateway/route.go:134
↓ 2 callersFunctionroutingPause
(product: CloudProduct | undefined)
packages/cli/src/modules/cloud.ts:112
↓ 2 callersFunctionrowFields
rowFields pairs a table row with its header, in column order. A row whose header cell is empty contributes nothing for that column: an unnamed field c
engine/compressors/invariants.go:735
↓ 2 callersFunctionrpc
(id, method, params)
packages/cli/tests/agent-mcp.runtime.mjs:5
↓ 2 callersFunctionrpcError
(id: JSONValue | undefined, code: number, message: string)
packages/cli/src/agent-mcp.ts:612
↓ 2 callersFunctionrun
(command, args, cwd = directory)
packages/middleware/typescript/tests/consumer.mjs:17
↓ 2 callersFunctionrun
(argv, env, input = undefined, cwd = undefined)
packages/cli/tests/native-enable.runtime.mjs:98
↓ 2 callersFunctionrun
(fx, args, env = fx.env)
packages/cli/tests/opencode-config-dir.runtime.mjs:49
↓ 2 callersFunctionrun
(args, env, { stdin = "", holdStdin = false } = {})
packages/cli/tests/learn-autopilot.runtime.mjs:75
↓ 2 callersFunctionrun
(agentId, configJson, tag)
packages/cli/tests/wrap.runtime.mjs:1000
↓ 2 callersFunctionrun
(argv, env)
packages/cli/tests/login-private.runtime.mjs:23
↓ 2 callersFunctionrun
(label, command, args, options = {})
scripts/test-windows-compat.mjs:15
↓ 2 callersFunctionrun
(command, args, env)
scripts/build-release-binaries.mjs:169
↓ 2 callersFunctionrunCli
(fx, argv, gw, extraEnv = {})
packages/cli/tests/codex-subscription-wrap.runtime.mjs:104
↓ 2 callersFunctionrunDirect
(logger *slog.Logger, args []string)
browse/cmd/caveman-browse/main.go:135
↓ 2 callersMethodrunExecute
(raw json.RawMessage, allowWrites bool)
mcp/codemode/codemode.go:646
↓ 2 callersFunctionrunHook
(item, cwd, extraEnv = {})
tests/hooks/codex-sessionstart.test.mjs:41
↓ 2 callersFunctionrunLockingConsumer
(t *testing.T, request lockingConsumerRequest)
engine/ccr/store_locking_test.go:72
↓ 2 callersFunctionrunManifest
(ctx context.Context, m Manifest, read func(name string) ([]byte, error), quality *QualityOptions)
engine/evals/harness.go:207
↓ 2 callersFunctionrunManifestWithSystem
(ctx context.Context, m Manifest, read func(name string) ([]byte, error), system TransformRunner, quality *Qua
engine/evals/harness.go:217
↓ 2 callersFunctionrunOnboarding
(options: OnboardOptions, launching?: AgentProfile, offerLaunch = false)
packages/cli/src/index.ts:3979
↓ 2 callersFunctionrunState
(home, port)
packages/cli/tests/wrap-restart.runtime.mjs:101
↓ 2 callersFunctionrunVersion
runVersion prints the version, or with --json {version, schema, capabilities}: the shape every caveman binary answers so the CLI can probe what a buil
engine/cmd/caveman-engine/main.go:49
↓ 2 callersFunctionrunVersion
runVersion prints the version, or with --json {version, schema, capabilities}: the shape every caveman binary answers so the CLI can probe what a buil
shrink/cmd/caveman-shrink/main.go:32
↓ 2 callersFunctionrunVersion
runVersion prints the version, or with --json {version, schema, capabilities}: the shape every caveman binary answers so the CLI can probe what a buil
browse/cmd/caveman-browse/main.go:80
↓ 2 callersFunctionrunWrapped
(bin: string, cmdArgs: string[], agent?: AgentProfile, opts: WrapOptions = { mode: "compress", noProxy: false,
packages/cli/src/index.ts:6686
↓ 2 callersFunctionrun_cli
( binary_name: str, args: List[str], stdin_prompt: Optional[str] = None, extra_env: Optional[d
plugins/caveman/skills/caveman-compress/scripts/compress.py:576
↓ 2 callersFunctionrun_cli
( binary_name: str, args: List[str], stdin_prompt: Optional[str] = None, extra_env: Optional[d
skills/caveman-compress/scripts/compress.py:576
↓ 2 callersMethodrun_measure
(self, snapshot: dict)
tests/test_eval_measure.py:62
↓ 2 callersFunctionrunnableCommand
()
packages/cli/src/index.ts:4031
↓ 2 callersFunctionrunner
(npm, { preinstalled, agents = ["claude"], cache = "_npx/abc123", mark = "_npx", caveHome } = {})
packages/cli/tests/setup-from-runner.runtime.mjs:22
↓ 2 callersFunctionsafeAttested
(params: LanguageModelV4CallOptions, registration?: RecoveryRegistration)
packages/middleware/typescript/src/ai-sdk.ts:133
↓ 2 callersFunctionsafeDeleteFlag
(flagPath)
src/hooks/caveman-config.js:390
↓ 2 callersMethodsafeEngineCall
safeEngineCall runs one engine transform for one segment and converts a panic into a decline. The engine is a separate product reached through the Com
proxy/internal/gateway/proxy.go:1490
↓ 2 callersFunctionsafeIntFloat
(v float64)
engine/pixel/gpt_profiles.go:155
↓ 2 callersFunctionsafeJSONText
(v any)
engine/pixel/history_openai.go:345
↓ 2 callersFunctionsalvageByKey
salvageByKey lists every key the table's own index holds and calls fetch for each one no earlier pass reached.
engine/ccr/store_repair.go:495
↓ 2 callersMethodsame
(b sqliteGeneration)
engine/ccr/store_generation.go:94
↓ 2 callersFunctionsameFile
(left, right)
installer/lib/openclaw.js:49
↓ 2 callersFunctionsameImmutableObject
sameImmutableObject compares fields PutObject promises never to change. CreatedAt is assigned at first storage, while currentness and lifecycle have e
engine/ccr/store.go:174
↓ 2 callersFunctionsameScalarKind
Scalars of the same kind only; a type mismatch is false, never coerced.
packages/sdk/typescript/src/index.ts:1467
↓ 2 callersFunctionsanitizeCaptureID
sanitizeCaptureID keeps a request id usable as a filename. An id is proxy-generated, but it reaches this function as a string and a path separator in
proxy/internal/gateway/capture.go:289
↓ 2 callersFunctionsanitizeHookResponse
(raw: unknown)
packages/pi-extension/src/protocol.ts:48
↓ 2 callersFunctionsanitizeRequestRecord
sanitizeRequestRecord is the persistence boundary's own validation of a row.
proxy/internal/store/store.go:575
↓ 2 callersMethodsaveIf
saveIf is Save under the index lock. When keep is set, the save happens only while the login is still listed and keep accepts its current secret (a ba
proxy/internal/pool/pool.go:237
↓ 2 callersFunctionsaveWrapEntitlement
(entitlement: unknown)
packages/cli/src/index.ts:5272
↓ 2 callersFunctionscaleToLong
(w, h, long int)
engine/image/image.go:205
↓ 2 callersMethodscanBehaviorForRepo
(sourceSet map[string]bool, since time.Time, cfg configScan, repoFilter string)
proxy/internal/store/learn.go:971
↓ 2 callersFunctionscanClaudeTranscriptBehaviorUntil
(path, relPath string, since time.Time, slugs []string, beh *behaviorScan, miner *recurringMiner, deadline *be
proxy/internal/store/learn.go:1030
↓ 2 callersFunctionscanHooks
scanHooks returns the total hook count plus the matcher/command labels of the hooks configured on PER-TURN events. The labels are candidates for a cac
proxy/internal/store/config_scan.go:525
↓ 2 callersFunctionscanJSONString
(body []byte, start int)
proxy/providers/openai/content_compress.go:607
↓ 2 callersFunctionscanMCPConfigs
(cwd, croot, globalPath string)
proxy/internal/store/config_scan.go:302
↓ 2 callersFunctionscanOneSessionUntil
(source sessionSource, ref sessionRef, since time.Time, slugs []string, beh *behaviorScan, miner *recurringMin
proxy/internal/store/session_source.go:363
↓ 2 callersFunctionscanSkillBody
(id, body, surfaces)
skills/verbs-gate.mjs:164
↓ 2 callersFunctionscanSymbols
(ctx context.Context, _ string, language string, raw []byte)
proxy/internal/repointel/symbols_cgo.go:23
↓ 2 callersMethodschema
schema walks one JSON Schema object, dropping annotation keywords and descending only through allowlisted schema positions.
engine/compressors/toolschema_annotations.go:183
↓ 2 callersFunctionscope
tests/middleware-e2e/perf.mjs:40
↓ 2 callersFunctionscopeFromConfig
(config:RunnableConfig, namespace:string)
packages/middleware/typescript/src/langchain-model.ts:25
↓ 2 callersFunctionscopeKey
(scope: Scope)
packages/sdk/typescript/src/middleware/validate.ts:38
↓ 2 callersFunctionscreenBytes
screenBytes accumulates the classes scan exhibits into found. It skips any class already flagged, so the second (unescaped) pass costs nothing once th
shared/platform/redact/residual.go:123
↓ 2 callersFunctionscript
(name, body)
packages/cli/tests/_modules.mjs:41
↓ 2 callersFunctionsddl
(t *testing.T, path string)
proxy/internal/securehome/securehome_windows_test.go:188
↓ 2 callersFunctionsdkDecode
sdkDecode runs a stream through an SSE decoder the way the agents' SDKs do: a blank line dispatches when an event name or data is set, an event's data
proxy/internal/translate/review_regressions_test.go:395
↓ 2 callersFunctionsdkSnippet
()
packages/cli/src/index.ts:22844
↓ 2 callersFunctionsealingData
(authority, digest string)
proxy/internal/middleware/seal.go:76
↓ 2 callersFunctionsecretPath
(id: string)
packages/cli/src/modules/provider-logins.ts:56
↓ 2 callersFunctionsectionHasChildKey
(lines: string[], section: { start: number; end: number }, key: string)
packages/cli/src/index.ts:14546
↓ 2 callersFunctionsecureSQLiteFile
(path string, create bool)
engine/ccr/store_sqlite.go:493
↓ 2 callersFunctionseedLostCCRChoice
seedLostCCRChoice stores what a protocol 1.0 runtime left for req's first segment in alice's scope: a choice whose original CCR no longer holds.
proxy/internal/middleware/hardening_test.go:300
↓ 2 callersFunctionseedRows
seedRows bulk-loads rows straight into both tables, bypassing the write path under test, the way a weeks-old home accumulates them.
engine/ccr/store_budget_scale_test.go:49
↓ 2 callersFunctionsegmentMarkdownSections
(text string)
proxy/internal/store/detect_sections.go:148
↓ 2 callersFunctionselect
(session, None) to project, (None, reason) to pass through, or (None, None) for an endpoint that is never an LLM call (embeddings, files, ...)
packages/middleware/python/caveman_middleware/openai.py:160
↓ 2 callersFunctionselectLeaves
(wire: WireJSON, protocol: Protocol)
packages/middleware/typescript/src/provider-leaves.ts:7
↓ 2 callersFunctionselectMenu
(title: string, items: { label: string; hint?: string }[])
packages/cli/src/index.ts:23518
↓ 2 callersMethodselected
(self, call: ToolSelection)
packages/middleware/python/caveman_middleware/llama_index.py:207
↓ 2 callersFunctionsend
(code, obj)
packages/cli/tests/sync.runtime.mjs:470
← previousnext →3,901–4,000 of 12,853, ranked by callers