MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 2 callersFunctionmessageText
messageText joins a message's text blocks with "\n"; a string content is one block. ok is false when no block has any non-space text; tool reports a t
proxy/internal/cloudlink/link.go:1051
↓ 2 callersFunctionmessageZones
messageZones parses a request into its message spans plus the set of message indexes that form the live zone. It is the single definition of "live" sh
proxy/providers/anthropic/content_compress.go:210
↓ 2 callersFunctionmessages
(input)
packages/middleware/python/caveman_middleware/langchain.py:313
↓ 2 callersFunctionmessagesFinish
messagesFinish completes a Messages body built for a Messages host: model, max_tokens, the effort as fitted thinking plus output_config, the structure
proxy/internal/translate/msgbuild.go:307
↓ 2 callersFunctionmessagesSchemaFormat
messagesSchemaFormat is output_config.format for a JSON schema.
proxy/internal/translate/msgbuild.go:364
↓ 2 callersFunctionmessagesToHistorySegments
(messages []Message, upToExclusive int, fromInclusive int)
engine/pixel/history_anthropic.go:195
↓ 2 callersFunctionmiddlewareUsageRows
middlewareUsageRows is every row's principal, counted and size, for recomputing the counters from scratch.
proxy/internal/store/middleware.go:102
↓ 2 callersMethodmiddlewareWrite
(ctx context.Context, fn func(*sql.Tx) error)
proxy/internal/store/middleware.go:502
↓ 2 callersMethodmigrateCacheComponentBatch
migrateCacheComponentBatch handles the next cacheComponentBatchRows ids above the mark in one transaction: a non-empty legacy list of a row inside the
proxy/internal/store/cache_components.go:83
↓ 2 callersMethodmigrateCacheComponents
migrateCacheComponents moves every legacy list above the mark, batch by batch, until none is left or ctx ends. It is idempotent and safe to stop at an
proxy/internal/store/cache_components.go:61
↓ 2 callersFunctionmk
tests/test_mcp_shrink.js:482
↓ 2 callersFunctionmockFetch
Queue one or more responses; each is `{status?, body}` or an Error to throw.
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:49
↓ 2 callersFunctionmodelAllowed
(modelID string)
proxy/providers/bedrock/routing.go:431
↓ 2 callersFunctionmodelFromGeminiPath
(path string)
proxy/internal/standalone/e2e_cost_bench_test.go:688
↓ 2 callersMethodmodelTurn
modelTurn reports an item a model turn produced or answered: an assistant message, and on Responses reasoning, a tool call or its output, a compaction
proxy/internal/gateway/route.go:399
↓ 2 callersFunctionmoduleChoice
(state: ModuleState)
packages/cli/src/modules/status.ts:21
↓ 2 callersFunctionmovedOwnedMcpRemovalBlocked
(agent: "kilo" | "qwen", serverName: string, marker: McpServerMarker)
packages/cli/src/index.ts:15299
↓ 2 callersFunctionmustRawJSON
(value any)
engine/pixel/transform_openai.go:832
↓ 2 callersMethodname
(contentEncoding string)
proxy/internal/gateway/route.go:1571
↓ 2 callersFunctionnamesAuto
namesAuto reports a JSON body whose top-level "model" is Auto.
proxy/internal/gateway/route.go:171
↓ 2 callersFunctionnativeBackupBytes
(operation: NativeJournal["operations"][number])
packages/cli/src/index.ts:11208
↓ 2 callersFunctionnativeBinaryProbe
(name: string)
packages/cli/src/index.ts:8968
↓ 2 callersFunctionnativeCapabilityReport
(agent: NativeAgent, components: NativeComponents, versionStatus: ReturnType<typeof nativeVersionStatus>)
packages/cli/src/index.ts:8719
↓ 2 callersFunctionnativeDigestObject
(value: unknown)
packages/cli/src/index.ts:17850
↓ 2 callersFunctionnativeHistory
nativeHistory removes from a request bound for the harness's own provider the reasoning another host produced in this conversation (a pool request's t
proxy/internal/gateway/route_pool.go:240
↓ 2 callersFunctionnativeHookCommand
(agentId: string)
packages/cli/src/index.ts:8184
↓ 2 callersFunctionnativeHookInvocation
( executable: string, fastHook: string, agentId: string, executableIsProxy: boolean, platform: NodeJ
packages/cli/src/index.ts:8107
↓ 2 callersFunctionnativeHostProbe
(agent: AgentProfile)
packages/cli/src/index.ts:8959
↓ 2 callersFunctionnativeMiddleware
(options: CavemanOptions, blocked: Blocked, registration?: RecoveryRegistration)
packages/middleware/typescript/src/ai-sdk.ts:75
↓ 2 callersFunctionnativeOwnEndpoint
(agent: NativeAgent)
packages/cli/src/index.ts:9033
↓ 2 callersFunctionnativeRepairFix
(agent: NativeAgent)
packages/cli/src/index.ts:10254
↓ 2 callersFunctionnearest
(directory: string, name: string, levels: number, nested: boolean)
packages/middleware/typescript/src/versions.ts:12
↓ 2 callersFunctionneedsCompress
()
packages/shared/contracts/conformance/run.mjs:240
↓ 2 callersFunctionnestedCapabilityValue
(doc: Record<string, unknown>, key: CapabilityKey)
packages/cli/src/index.ts:4557
↓ 2 callersFunctionnewCave
()
packages/sdk/typescript/tests/runtime-policy.runtime.mjs:68
↓ 2 callersFunctionnewChatServer
(st gateway.PrefixCache, comp gateway.Compressor, rt *e2eChatTransport)
proxy/internal/store/prefix_stability_openai_e2e_test.go:74
↓ 2 callersFunctionnewDialer
(cfg Config)
shared/platform/ssrf/ssrf.go:445
↓ 2 callersFunctionnewFilteredUpstream
(inner Upstream, include, exclude []string)
mcp/codemode/http_upstream.go:155
↓ 2 callersFunctionnewKey
(t *testing.T)
proxy/internal/middleware/hardening_test.go:45
↓ 2 callersFunctionnewLoggingTokenGatedServer
newLoggingTokenGatedServer is the same server with its warnings captured, for the tests that assert on what a rejection discloses.
proxy/internal/standalone/auth_token_test.go:34
↓ 2 callersFunctionnewMCPRecoveryTestServer
(t *testing.T, upstream string, sink TelemetrySink, comp Compressor)
proxy/internal/gateway/compress_test.go:765
↓ 2 callersFunctionnewPiSessionSource
newPiSessionSource resolves Pi's session tree location from the environment. The source dir is disabled (zero value) when no root can be resolved.
proxy/internal/store/source_pi.go:27
↓ 2 callersFunctionnewPixelCacheServer
(adapter providers.Adapter, rt *captureTransport, cache PrefixCache)
proxy/internal/gateway/pixel_test.go:463
↓ 2 callersFunctionnewRecorder
(write func([]finishedRecord), logger *slog.Logger)
proxy/internal/gateway/recorder.go:48
↓ 2 callersFunctionnewSQLiteMiddlewareTx
(ctx context.Context, tx *sql.Tx)
proxy/internal/store/middleware.go:472
↓ 2 callersMethodnewTraceId
A fresh 16-byte (32-hex) trace id.
packages/sdk/typescript/src/index.ts:2211
↓ 2 callersFunctionnextCall
nextCall reports a chunk at a known index that starts another call: a name with no id after the open call's arguments are whole.
proxy/internal/translate/messages_stream.go:422
↓ 2 callersFunctionnextDevicePollIntervalMs
(currentMs: number, errorCode?: string)
packages/device-auth/src/index.ts:27
↓ 2 callersFunctionnextDevicePollIntervalMs
(currentMs: number, errorCode?: string)
packages/cli/src/device-auth.generated.ts:28
↓ 2 callersFunctionnextFreePort
(port: number)
packages/cli/src/index.ts:278
↓ 2 callersFunctionnextPatch
(version)
tests/installer/agent-registry-drift.test.mjs:15
↓ 2 callersMethodnext_attempt
(self, request)
packages/middleware/python/caveman_middleware/_httpx2.py:35
↓ 2 callersMethodnoUpdates
noUpdates reports a Responses body OpenAI takes no configuration_update in: automatic truncation or compaction (context_management), or multi-agent mo
proxy/internal/gateway/route.go:411
↓ 2 callersFunctionnodeMeetsFloor
(executable)
installer/install.js:548
↓ 2 callersFunctionnoisy
(lines = 150, tag = '')
packages/shared/contracts/conformance/run.mjs:143
↓ 2 callersFunctionnoisyLog
()
engine/compressors/log_test.go:12
↓ 2 callersFunctionnoisyText
noisyText is text an encoder shrinks only a few times over, so an encoded body stays over a small CAVE_MAX_REQUEST_BYTES while its first zstd block st
proxy/internal/gateway/chatgpt_auto_test.go:274
↓ 2 callersFunctionnonEmpty
(v, fallback string)
proxy/internal/store/trial_store.go:751
↓ 2 callersFunctionnonEmptyString
(v: unknown)
packages/cli/src/index.ts:7944
↓ 2 callersFunctionnonEmptyStrings
(values []string)
engine/pixel/transform_openai.go:810
↓ 2 callersFunctionnoopLog
()
installer/lib/openclaw.js:496
↓ 2 callersFunctionnormMode
(mode)
extension/src/directive.js:49
↓ 2 callersFunctionnormalizeMetadata
(comp compressors.Compressor, meta compressors.Metadata, info safety.Info)
engine/engine.go:225
↓ 2 callersFunctionnormalizeModeArg
(arg)
src/hooks/caveman-parse.js:173
↓ 2 callersFunctionnormalizeRecoveryHandle
(value: unknown)
packages/pi-extension/src/protocol.ts:82
↓ 2 callersFunctionnormalizeSpanId
A caller-supplied span id, canonicalized to lowercase, or a fresh valid id.
packages/sdk/typescript/src/index.ts:2410
↓ 2 callersFunctionnormalizeTraceId
* A caller-supplied trace id, canonicalized to lowercase, or a fresh one when * it is not exactly 32 hex characters and non-zero. An invalid id is ne
packages/sdk/typescript/src/index.ts:2404
↓ 2 callersFunctionnormalizeWorkflowSlug
Mirror of the gateway's validLabel (security.go): lowercase [a-z0-9_-], * 1-96 chars. Uppercase input is lowercased rather than rejected; anything
packages/cli/src/index.ts:6445
↓ 2 callersMethodnormalized
()
engine/result.go:36
↓ 2 callersFunctionnormalizedContentEncoding
(value string)
proxy/providers/adapter.go:973
↓ 2 callersFunctionnormalizedRelative
(root, target)
extension/scripts/verify-extension-stage.mjs:25
↓ 2 callersFunctionnotSmallerOverhead
notSmallerOverhead declares a recovery tool costing more than any saving.
proxy/internal/middleware/protocol_v11_test.go:160
↓ 2 callersMethodnoteUnauthorized
noteUnauthorized counts and logs one rejection; see rejectUnauthorized.
proxy/internal/gateway/server.go:800
↓ 2 callersFunctionnotification
(method, params)
packages/cli/tests/agent-mcp.runtime.mjs:14
↓ 2 callersFunctionnudgeLine
(fresh: Fresh[])
packages/cli/src/learn-autopilot.ts:214
↓ 2 callersFunctionnum
(v: unknown)
packages/cli/src/index.ts:13722
↓ 2 callersFunctionnumberFixtureJSON
(t *testing.T, value any)
engine/pixel/transform_numbers_test.go:37
↓ 2 callersFunctionnumericLeaves
numericLeaves records every numeric leaf value in v keyed by its dotted path ("" for a scalar-number element root). Arrays nested inside an element ar
engine/compressors/json.go:317
↓ 2 callersFunctionobject
(value: unknown)
packages/cli/src/openclaw-provider-compat.ts:13
↓ 2 callersFunctionobjectArg
(value: unknown)
packages/cli/src/agent-mcp.ts:379
↓ 2 callersFunctionobjectAt
objectAt reads the object starting at b[i] into dst and returns its end.
proxy/internal/translate/jsonfast.go:478
↓ 2 callersFunctionobjectKVs
objectKVs reads the members of the object b (one trimmed value) into dst.
proxy/internal/translate/jsonfast.go:120
↓ 2 callersFunctionobjectOf
(value: unknown)
packages/cli/src/modules/apply.ts:126
↓ 2 callersMethodobserve
(self, receipt: dict)
packages/sdk/python/caveman_cloud/middleware/runtime.py:753
↓ 2 callersMethodobserve
Observations never block response delivery and cannot create verified savings.
packages/sdk/typescript/src/middleware/runtime.ts:473
↓ 2 callersMethodobserveBlocks
(rootKind, relPath string, jsonlLine int, ts string, blocks []blockCandidate, side bool)
proxy/internal/store/recurring.go:303
↓ 2 callersFunctionobserveStaticTagChurn
(sessionKey string, tagContents map[string]string)
engine/pixel/transform_anthropic.go:890
↓ 2 callersFunctionobserveStream
(stream: ReadableStream<T>, attempt: Attempt, getUsage: (event: T) => Usage | null, signal?: AbortSignal)
packages/middleware/typescript/src/common.ts:146
↓ 2 callersMethodobserveTurn
(tokens int, side bool)
proxy/internal/store/detect_subagent_spend.go:42
↓ 2 callersFunctionobservedJSON
(response: HttpResponse, onValue: (value: unknown) => void, onError: () => void)
packages/middleware/typescript/src/google.ts:146
↓ 2 callersFunctionoffToNull
(mode)
src/hooks/caveman-config.js:618
↓ 2 callersFunctionompPluginDir
()
installer/install.js:1367
↓ 2 callersFunctiononAllowlist
onAllowlist reports membership. When prefix is true an entry matches as a prefix of value (for versioned model ids); otherwise it is an exact match.
proxy/providers/vertex/routing.go:182
↓ 2 callersFunctiononboard
(opts: OnboardOptions, deps: OnboardDeps)
packages/cli/src/modules/onboard.ts:123
↓ 2 callersFunctiononly
(value, keys)
packages/middleware/python/caveman_middleware/_native.py:111
↓ 2 callersFunctiononly
(value: unknown, keys: readonly string[])
packages/middleware/typescript/src/provider-leaves.ts:11
↓ 2 callersFunctiononlyKeys
(value: Record<string, unknown>, keys: readonly string[])
packages/middleware/typescript/src/ai-sdk.ts:38
↓ 2 callersFunctiononlyModelChanged
onlyModelChanged: sent is original with nothing but the model swapped, so a refusal the original bytes then got past is the routed model's. With compr
proxy/internal/gateway/route.go:142
↓ 2 callersMethodopenAICacheCalc
(provider, model string, root map[string]any)
proxy/internal/standalone/e2e_cost_bench_test.go:538
↓ 2 callersFunctionopenAIChatImagePart
(img RenderedImage)
engine/pixel/transform_openai.go:499
← previousnext →3,501–3,600 of 12,853, ranked by callers