MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 2 callersMethodget_parameters_dict
(self)
packages/middleware/python/caveman_middleware/llama_index.py:93
↓ 2 callersFunctiongit
(...args)
packages/cli/tests/agent-registry.runtime.mjs:250
↓ 2 callersFunctiongit
(...args)
packages/cli/tests/wrap.runtime.mjs:577
↓ 2 callersFunctiongitListBudget
gitListBudget leaves the fallback walk at least as much time as git gets.
proxy/internal/repointel/index.go:280
↓ 2 callersFunctiongptBaselineImagedTokens
(systemTexts []string, originalTools, strippedTools []any, haveTools bool)
engine/pixel/transform_openai.go:483
↓ 2 callersFunctiongptCountTokens
pxpipe uses gpt-tokenizer/o200k_base here. Caveman uses engine/tokens, whose default counter uses the same offline encoding and whose fallback underco
engine/pixel/history_openai.go:338
↓ 2 callersFunctiongraderString
(g Grader)
engine/evals/graders.go:209
↓ 2 callersFunctiongrokAgentsMdPath
()
installer/install.js:1081
↓ 2 callersFunctionguardExploreAgent
(agent: string)
packages/cli/src/index.ts:1822
↓ 2 callersFunctionhandle
()
packages/middleware/python/tests/test_openai_native.py:80
↓ 2 callersMethodhandleMutate
(raw json.RawMessage)
mcp/codemode/codemode.go:657
↓ 2 callersMethodhandleSearchTools
(raw json.RawMessage)
mcp/codemode/codemode.go:417
↓ 2 callersMethodhandle_request
(self)
packages/sdk/python/tests/test_transport.py:29
↓ 2 callersMethodhandler
(conn)
packages/sdk/python/tests/test_middleware_transport.py:325
↓ 2 callersFunctionharness
(home)
packages/cli/tests/_modules.mjs:131
↓ 2 callersFunctionharnessFlags
(agents: string[])
packages/cli/src/modules/apply.ts:311
↓ 2 callersFunctionhas
(id: string)
packages/cli/src/index.ts:4061
↓ 2 callersFunctionhasCompressionOptimizer
(optimizers []string)
proxy/internal/gateway/proxy.go:2710
↓ 2 callersFunctionhasGeminiInlineData
(parts []geminiPart)
engine/pixel/transform_gemini_test.go:383
↓ 2 callersFunctionhasHTMLDeclaration
hasHTMLDeclaration reports whether trimmed opens with a document declaration or an <html> tag. It is conclusive: source code never starts this way.
engine/detect.go:186
↓ 2 callersFunctionhasHandledRole
hasHandledRole reports whether n carries a role the renderer gives its own treatment: a table or grid, or an alert, status or live region.
engine/compressors/html_structural.go:561
↓ 2 callersFunctionhasModelPrefix
hasModelPrefix reports whether model equals prefix or begins with prefix followed by a version/variant separator ('-' or '.'). This keeps "gpt-5" from
proxy/providers/openai/reasoning_effort.go:212
↓ 2 callersFunctionhasPathLine
(s string)
engine/trim2/features.go:1812
↓ 2 callersFunctionhasRetrieveTool
(body []byte)
proxy/internal/gateway/retrieve_tool.go:169
↓ 2 callersFunctionhasSink
(plan LearnPlan, id string)
proxy/internal/store/trial_feature_test.go:855
↓ 2 callersFunctionhasUnsupportedYamlToken
(text: string)
packages/cli/src/codemode.ts:511
↓ 2 callersFunctionhashOf
(token string)
proxy/internal/identity/identity_test.go:18
↓ 2 callersFunctionhashedToolName
hashedToolName is always the hashed form, also used for the second of two tools whose joined names collide (a function mcp__srv__x and namespace mcp__
proxy/internal/translate/responses.go:84
↓ 2 callersMethodheadDrift
headDrift inspects a session's anchors for an earlier request sharing the exact same first conversation message (`client[2]`) whose `system` (index 0)
proxy/internal/gateway/prefix_monitor.go:363
↓ 2 callersFunctionheadersFor
({ v11, auth = token, extra = {} })
packages/shared/contracts/conformance/run.mjs:99
↓ 2 callersFunctionheightForRows
heightForRows is the reference page height for a page holding `rows` rows at the given pitch and glyph height: 2*pad + (rows-1)*pitch + glyphH.
engine/pixel/gate.go:38
↓ 2 callersMethodheldRawByStream
heldRawByStream reports whether the longest lineage body extends was cached raw by a PAYG stream, so the server-side retrieve path must not start comp
proxy/internal/gateway/raw_pin.go:197
↓ 2 callersFunctionheldWhile
heldWhile runs first in a write transaction that stays open until the returned release is called, and second in another write transaction started once
proxy/internal/store/middleware_concurrency_test.go:15
↓ 2 callersFunctionhelperBinaryName
helperBinaryName appends .exe on Windows so exec finds the built helper.
mem/cmd/cavemem/main_test.go:22
↓ 2 callersFunctionhermesConfigDir
()
installer/install.js:1188
↓ 2 callersFunctionhermesGatewayBase
(gw: string, keptProvider: string | null)
packages/cli/src/index.ts:10826
↓ 2 callersFunctionhermesHostDerivedApiKeyEnvName
(gw: string)
packages/cli/src/index.ts:7463
↓ 2 callersFunctionhermesMcpServerConfigured
(text: string)
packages/cli/src/index.ts:15192
↓ 2 callersFunctionhermesNativePluginDir
()
packages/cli/src/index.ts:10568
↓ 2 callersFunctionhermesPluginInitPath
()
packages/cli/src/index.ts:19565
↓ 2 callersFunctionhermesPluginListContains
(text: string, listName: "enabled" | "disabled", name: string)
packages/cli/src/index.ts:19812
↓ 2 callersFunctionhermesPluginManifestPath
()
packages/cli/src/index.ts:19561
↓ 2 callersFunctionhermesPluginOwned
(text: string, owned: NativeJournal["operations"][number]["owned"])
packages/cli/src/index.ts:15206
↓ 2 callersFunctionhermesRouteLineKey
(line: string)
packages/cli/src/index.ts:10992
↓ 2 callersFunctionhermesRouteOwned
(text: string, owned: NativeJournal["operations"][number]["owned"])
packages/cli/src/index.ts:15148
↓ 2 callersFunctionhermesScalarValue
(raw: string)
packages/cli/src/index.ts:19701
↓ 2 callersFunctionhermesWithoutInlineComment
(raw: string)
packages/cli/src/index.ts:19667
↓ 2 callersFunctionhexSHA256
(data []byte)
shared/platform/awssig/awssig.go:237
↓ 2 callersFunctionhmacSHA256
(key, data []byte)
shared/platform/awssig/awssig.go:231
↓ 2 callersFunctionhook
(entry, agent, payload, env, opts = {})
packages/cli/tests/learn-autopilot.runtime.mjs:93
↓ 2 callersFunctionhookCommandTokens
(command: string)
packages/cli/src/index.ts:8316
↓ 2 callersFunctionhooksManifestIsOurs
(p)
installer/install.js:80
↓ 2 callersFunctionhostOf
(url: string | undefined)
packages/pi-extension/src/protocol.ts:137
↓ 2 callersFunctionhostShellInvocation
( executable: string, script: string | undefined, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:8270
↓ 2 callersMethodhybridTrim2
(segment []byte, engContentType string, engPassedThrough bool, engBefore, engAfter int, userQuery, richQuery s
proxy/internal/standalone/standalone.go:611
↓ 2 callersFunctionids
(entries []Entry)
proxy/internal/pool/pool_test.go:45
↓ 2 callersMethodimageBlock
imageBlock pushes an image from a URL string token (a data URI is sent as base64).
proxy/internal/translate/msgbuild.go:128
↓ 2 callersFunctionimageCount
(body []byte)
proxy/internal/gateway/cache_prefix_invariant_test.go:1725
↓ 2 callersMethodimageRowGeometry
imageRowGeometry returns the per-layer pixel rows, column count and layer count for one emitted image at this profile — the shared basis of imageLineC
engine/pixel/density.go:237
↓ 2 callersFunctionimdsStub
imdsStub serves IMDSv2 and refuses any metadata GET that arrives without the session token, so a provider that skipped the PUT cannot pass.
shared/platform/awscreds/awscreds_test.go:254
↓ 2 callersFunctionimportantLogLine
Keep the canonical regexp's word boundaries and Unicode case folding. Most plain log lines contain none of its required literals; avoid trying every r
engine/compressors/log.go:24
↓ 2 callersFunctioninclude
(label: string, path: string)
packages/cli/src/native-hook-fast.ts:285
↓ 2 callersFunctionincompleteReason
incompleteReason is the Responses incomplete reason a Messages stop reason or chat finish reason stands for ("" for a whole answer).
proxy/internal/translate/responses_stream.go:618
↓ 2 callersFunctionindent
(text: string)
packages/cli/src/modules/onboard.ts:384
↓ 2 callersFunctionindentation
(line []byte)
engine/compressors/config.go:186
↓ 2 callersFunctioninjectedContextPayload
injectedContextPayload reports whether one text payload was injected by the host or by caveman's own hook rather than written by the user. The repast
proxy/internal/store/recurring.go:82
↓ 2 callersFunctioninjectionIsInert
(p)
agents/compile.mjs:273
↓ 2 callersFunctioninsertAny
(items []any, idx int, value any)
engine/pixel/transform_openai.go:820
↓ 2 callersFunctioninsertFullCopy
insertFullCopy adds a full RepositoryMap row directly, so a test controls object_id and created_at.
engine/ccr/store_consolidation_blocks_test.go:33
↓ 2 callersFunctioninsertRequest
insertRequest writes a sanitized row through request (a transaction or a statement prepared in one) and its component list through components, which m
proxy/internal/store/store.go:469
↓ 2 callersFunctioninsideGitWorkTree
(dir)
src/hooks/cavecrew-model-overrides.js:97
↓ 2 callersFunctioninspect
Every response: JSON body, its schema (route schema on 200, error envelope otherwise), no-store, nosniff, and * Retry-After on each 429/503. A violat
packages/shared/contracts/conformance/run.mjs:86
↓ 2 callersFunctioninspectCorpus
inspectCorpus holds request bodies around every rule inspectObject relies on: grammar edges json.Valid draws, numbers a decode into any refuses, dupli
proxy/providers/inspect_test.go:16
↓ 2 callersFunctioninspectObject
inspectObject returns the map json.Unmarshal(data, &decoded) gives InspectRequest and whether that call succeeds, without decoding the conversation. O
proxy/providers/inspect.go:20
↓ 2 callersFunctioninspectOmpRegistration
(pluginDir)
installer/install.js:1396
↓ 2 callersFunctioninspectOpenAICompatible
(ctx context.Context, base providers.Base, body providers.BodyReader, headers http.Header)
proxy/providers/openaicompat/openaicompat.go:392
↓ 2 callersFunctioninstallAgentNativeBundleSkills
(agent: "claude" | "codex", journal: AgentNativeBundleJournal)
packages/cli/src/index.ts:3824
↓ 2 callersFunctioninstallManagedBlock
(file: string, begin: string, end: string, block: string)
packages/cli/src/index.ts:19252
↓ 2 callersFunctioninstallMcpForAgent
(a: AgentProfile, mcp: { command: string; args: string[] }, serverName = "caveman")
packages/cli/src/index.ts:17496
↓ 2 callersFunctioninstallMcpJson
(path: string, keyPath: string[], value: unknown)
packages/cli/src/index.ts:17668
↓ 2 callersFunctioninstallNativeVoiceSkills
(agent: NativeAgent)
packages/cli/src/index.ts:11338
↓ 2 callersFunctioninstallProxyAwareFetch
( env: NodeJS.ProcessEnv = process.env, scope: { fetch: typeof fetch } = globalThis, )
packages/cli/src/proxy-fetch.ts:378
↓ 2 callersFunctioninstallSettingsHook
(path: string, event: string, matcher: string)
packages/cli/src/index.ts:18868
↓ 2 callersFunctioninstalledFrameworkVersion
(name: string, entry = name)
packages/middleware/typescript/src/versions.ts:25
↓ 2 callersFunctioninteger
(value: Any)
packages/sdk/python/caveman_cloud/middleware/validate.py:36
↓ 2 callersFunctionintercept
(e, el, box)
extension/src/caveman.js:255
↓ 2 callersFunctioninvalidModeLine
(resolution: CapabilityResolution)
packages/cli/src/index.ts:4812
↓ 2 callersFunctioninvariantEnumValueUsable
invariantEnumValueUsable holds an enumerated value to a tighter standard than a constant: it must read as a state token, not a sentence. Anything with
engine/compressors/invariants.go:654
↓ 2 callersFunctioninvariantValueUsable
invariantValueUsable rejects values that do not belong in a one-line marker: empty, oversized, non-printable, or carrying marker syntax that a later p
engine/compressors/invariants.go:664
↓ 2 callersMethodinvocation
(args: string[])
packages/pi-extension/src/recovery.ts:144
↓ 2 callersFunctioninvoke
()
packages/cli/tests/portable-command.runtime.mjs:98
↓ 2 callersFunctioninvoke
(owner, callback)
packages/cli/tests/opencode-factory-isolation.runtime.mjs:49
↓ 2 callersMethodinvoke
(invocation: HookInvocation, event: HookEvent, input: string)
packages/pi-extension/src/lifecycle.ts:76
↓ 2 callersFunctionisAnthropicThreadContinue
(body []byte, root jsonSpan)
proxy/providers/anthropic/content_compress.go:124
↓ 2 callersFunctionisBusy
(err error)
engine/ccr/store_sqlite.go:270
↓ 2 callersFunctionisCacheableContentBlock
isCacheableContentBlock reports whether a block object can legally carry cache_control under Anthropic's Messages API (rejecting thinking, redacted_th
proxy/providers/anthropic/breakpoint_plan.go:248
↓ 2 callersFunctionisClosingPunct
(body string)
engine/trim2/features.go:1736
↓ 2 callersFunctionisCommentLine
(body string)
engine/trim2/features.go:1723
↓ 2 callersFunctionisConcreteProfile
(path)
agents/check-profile-scope.mjs:36
↓ 2 callersFunctionisDeadUpstreamConnError
isDeadUpstreamConnError reports errors that indicate a pooled upstream connection died silently (network timeout or lost HTTP/2 ping), so sibling idle
proxy/internal/gateway/proxy.go:119
← previousnext →3,401–3,500 of 13,382, ranked by callers