MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 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:3970
↓ 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:6592
↓ 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:566
↓ 2 callersFunctionrun_cli
( binary_name: str, args: List[str], stdin_prompt: Optional[str] = None, extra_env: Optional[d
skills/caveman-compress/scripts/compress.py:566
↓ 2 callersMethodrun_measure
(self, snapshot: dict)
tests/test_eval_measure.py:62
↓ 2 callersFunctionrunnableCommand
()
packages/cli/src/index.ts:4022
↓ 2 callersFunctionsafeAttested
(params: LanguageModelV4CallOptions, registration?: RecoveryRegistration)
packages/middleware/typescript/src/ai-sdk.ts:133
↓ 2 callersFunctionsafeDeleteFlag
(flagPath)
src/hooks/caveman-config.js:390
↓ 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:5262
↓ 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:593
↓ 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:178
↓ 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:22598
↓ 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:14300
↓ 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:23276
↓ 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
↓ 2 callersMethodsend
(t *testing.T, action string, turn int, challenge string)
proxy/internal/middleware/acceptance_test.go:984
↓ 2 callersMethodsend
send is the one way bytes reach the agent. The first call (commit) opens the gate and sends the held head and bytes before p. An answer is JSON or SSE
proxy/internal/translate/translate.go:454
↓ 2 callersMethodsendBody
(body []byte, session string, o sendOpts)
proxy/internal/gateway/cache_prefix_invariant_test.go:471
↓ 2 callersFunctionsendChildren
(t *testing.T, srv *Server, n int, agent func(i int) string)
proxy/internal/gateway/route_cache_test.go:144
↓ 2 callersFunctionserveChat
(srv *gateway.Server, body string)
proxy/internal/store/prefix_stability_openai_e2e_test.go:87
↓ 2 callersMethodserveOne
serveOne dispatches one request with a top-level recover so a panic anywhere in dispatch (outside a tool handler, which recovers to cave_tool_panicked
mcp/server.go:218
↓ 2 callersFunctionserveStream
serveStream sends req through srv with the upstream streaming the named parts.
proxy/internal/gateway/route_test.go:444
↓ 2 callersMethodserved
(key string, last RouteLast, at time.Time, moved bool, bytes int)
proxy/internal/gateway/route.go:676
↓ 2 callersMethodserver
(t *testing.T)
proxy/internal/gateway/route_cache_test.go:116
↓ 2 callersFunctionserverRetrieveSupported
serverRetrieveSupported is the positive allowlist for wire grammars fully implemented by inject/parse/append/strip below. Unsupported routes must keep
proxy/internal/gateway/retrieve_tool.go:37
↓ 2 callersFunctionserviceTierFromObject
(obj map[string]any)
proxy/providers/adapter.go:1991
↓ 2 callersFunctionsessionProducedCommit
sessionProducedCommit reports whether any commit landed while the session was running, or shortly after it ended. Overlap is the weakest possible clai
proxy/internal/store/detect_outcomes.go:138
↓ 2 callersFunctionsessionStatePath
(claudeDir, sessionId, ext)
src/hooks/caveman-config.js:598
↓ 2 callersFunctionsessionsDir
(claudeDir)
src/hooks/caveman-config.js:590
↓ 2 callersFunctionsetBadge
(on)
extension/src/background.js:2
↓ 2 callersFunctionsetDACL
(t *testing.T, path, sddl string)
proxy/internal/securehome/securehome_windows_test.go:151
↓ 2 callersFunctionsetGlobalCapability
(key: CapabilityKey, value: CapabilityValue)
packages/cli/src/index.ts:4766
↓ 2 callersMethodsetMeta
(q querier, key, value string)
engine/ccr/store_integrity.go:193
↓ 2 callersMethodsetModelKeepingThinking
(model: NonNullable<ExtensionContext["model"]>)
packages/pi-extension/src/provider.ts:208
↓ 2 callersFunctionsetNativeOptOut
(agent: string, out: boolean)
packages/cli/src/index.ts:4472
↓ 2 callersFunctionsetRawJSON
(root map[string]json.RawMessage, key string, value any)
engine/pixel/transform_openai.go:828
↓ 2 callersFunctionsetValidProductionEnv
(t *testing.T)
shared/platform/env/env_test.go:63
↓ 2 callersFunctionsetup
(argv: string[] = [])
packages/cli/src/index.ts:3848
↓ 2 callersFunctionsha256File
(path)
packages/subagent-tax/lib/report.mjs:68
↓ 2 callersFunctionsha256File
(path: string)
packages/cli/src/index.ts:2931
↓ 2 callersFunctionsha256HexBytes
SHA-256 over raw bytes; `sha256Hex` is the UTF-8 string wrapper.
packages/sdk/typescript/src/index.ts:2444
↓ 2 callersFunctionshellCommand
(parts, platform = process.platform)
src/hooks/caveman-activate.js:546
↓ 2 callersFunctionshellEscape
(s)
installer/install.js:334
↓ 2 callersFunctionshortDate
(day: string)
packages/cli/src/learn-trends.ts:79
↓ 2 callersFunctionshortDate
shortDate renders YYYY-MM-DD as "Sep 21"; anything else passes through.
proxy/internal/store/learn_trends.go:498
↓ 2 callersFunctionshouldBootstrapWrapRuntime
(input: { local: boolean; proxyEnabled: boolean; interactive: boolean; explicitBinaryOverride: boolean
packages/cli/src/index.ts:6236
↓ 2 callersFunctionshouldBypassProxy
(target: URL, noProxy: string | null | undefined)
packages/cli/src/proxy-fetch.ts:80
↓ 2 callersFunctionshouldOpenLoginBrowser
(noBrowser: boolean, interactive = Boolean(process.stdin.isTTY))
packages/cli/src/index.ts:12789
↓ 2 callersFunctionshow3
(b []byte)
engine/compressors/zz_adversarial_probe3_test.go:12
↓ 2 callersFunctionsignBundle
* Sign an arbitrary bundle string with the fixture's published test seed, so a * test can produce a bundle that is CRYPTOGRAPHICALLY VALID and still
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:149
↓ 2 callersFunctionsignInLines
()
packages/cli/src/modules/cloud.ts:67
↓ 2 callersMethodsignedInSettings
signedInSettings is settings, waiting until deadline for the credential when routing is on and a keychain read that may bring one is still running; lo
proxy/internal/cloudlink/link.go:345
↓ 2 callersFunctionsignedReceipt
({ key, scope, seq, day, prev = "", tokensBefore = 100, tokensAfter = 70, schema = "caveman.receipt.v2", savin
packages/cli/tests/receipts.runtime.mjs:46
↓ 2 callersFunctionsigningRegion
signingRegion picks the AWS region the SigV4 scope is built for. The resolved upstream host wins so direct adapter callers cannot produce a valid sign
proxy/providers/bedrock/routing.go:385
↓ 2 callersFunctionsingleColWidthPx
(cols int)
engine/pixel/gate.go:24
↓ 2 callersFunctionsink
()
packages/sdk/typescript/tests/middleware-hardening.runtime.mjs:437
↓ 2 callersFunctionskillsRoot
(provider, { env = process.env, home = os.homedir(), cwd = process.cwd(), platform = process.platform, } = {
installer/lib/provider-skills.js:22
↓ 2 callersFunctionskipSpace
(data []byte, i int)
proxy/providers/inspect.go:136
← previousnext →3,801–3,900 of 12,391, ranked by callers