Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,853 in github.com/JuliusBrussee/caveman
⨍
Functions
12,853
◇
Types & classes
1,364
↳
Endpoints
5
↓ 2 callers
Method
headDrift
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:350
↓ 2 callers
Function
headersFor
({ v11, auth = token, extra = {} })
packages/shared/contracts/conformance/run.mjs:99
↓ 2 callers
Function
heightForRows
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 callers
Method
heldRawByStream
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 callers
Function
heldWhile
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 callers
Function
helperBinaryName
helperBinaryName appends .exe on Windows so exec finds the built helper.
mem/cmd/cavemem/main_test.go:22
↓ 2 callers
Function
hermesConfigDir
()
installer/install.js:1174
↓ 2 callers
Function
hermesGatewayBase
(gw: string, keptProvider: string | null)
packages/cli/src/index.ts:10611
↓ 2 callers
Function
hermesHostDerivedApiKeyEnvName
(gw: string)
packages/cli/src/index.ts:7324
↓ 2 callers
Function
hermesNativePluginDir
()
packages/cli/src/index.ts:10397
↓ 2 callers
Function
hermesOwnedValues
(text: string)
packages/cli/src/index.ts:14735
↓ 2 callers
Function
hermesPluginInitPath
()
packages/cli/src/index.ts:19170
↓ 2 callers
Function
hermesPluginListContains
(text: string, listName: "enabled" | "disabled", name: string)
packages/cli/src/index.ts:19336
↓ 2 callers
Function
hermesPluginManifestPath
()
packages/cli/src/index.ts:19166
↓ 2 callers
Function
hermesPluginOwned
(text: string, owned: NativeJournal["operations"][number]["owned"])
packages/cli/src/index.ts:14792
↓ 2 callers
Function
hermesRouteOwned
(text: string, owned: NativeJournal["operations"][number]["owned"])
packages/cli/src/index.ts:14759
↓ 2 callers
Function
hexSHA256
(data []byte)
shared/platform/awssig/awssig.go:237
↓ 2 callers
Function
hmacSHA256
(key, data []byte)
shared/platform/awssig/awssig.go:231
↓ 2 callers
Function
hook
(entry, agent, payload, env, opts = {})
packages/cli/tests/learn-autopilot.runtime.mjs:93
↓ 2 callers
Function
hookCommandTokens
(command: string)
packages/cli/src/index.ts:8214
↓ 2 callers
Function
hooksManifestIsOurs
(p)
installer/install.js:80
↓ 2 callers
Function
hostOf
(url: string | undefined)
packages/pi-extension/src/protocol.ts:137
↓ 2 callers
Function
hostShellInvocation
( executable: string, script: string | undefined, platform: NodeJS.Platform = process.platform, )
packages/cli/src/index.ts:8168
↓ 2 callers
Function
ids
(entries []Entry)
proxy/internal/pool/pool_test.go:45
↓ 2 callers
Method
imageBlock
imageBlock pushes an image from a URL string token (a data URI is sent as base64).
proxy/internal/translate/msgbuild.go:128
↓ 2 callers
Function
imageCount
(body []byte)
proxy/internal/gateway/cache_prefix_invariant_test.go:1725
↓ 2 callers
Method
imageRowGeometry
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 callers
Function
imdsStub
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 callers
Function
importantLogLine
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 callers
Function
include
(label: string, path: string)
packages/cli/src/native-hook-fast.ts:285
↓ 2 callers
Function
incompleteReason
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 callers
Function
indent
(text: string)
packages/cli/src/modules/onboard.ts:384
↓ 2 callers
Function
indentation
(line []byte)
engine/compressors/config.go:186
↓ 2 callers
Function
injectedContextPayload
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 callers
Function
injectionIsInert
(p)
agents/compile.mjs:273
↓ 2 callers
Function
insertAny
(items []any, idx int, value any)
engine/pixel/transform_openai.go:820
↓ 2 callers
Function
insertFullCopy
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 callers
Function
insertRequest
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 callers
Function
insideGitWorkTree
(dir)
src/hooks/cavecrew-model-overrides.js:97
↓ 2 callers
Function
inspect
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 callers
Function
inspectCorpus
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 callers
Function
inspectObject
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 callers
Function
inspectOmpRegistration
(pluginDir)
installer/install.js:1382
↓ 2 callers
Function
inspectOpenAICompatible
(ctx context.Context, base providers.Base, body providers.BodyReader, headers http.Header)
proxy/providers/openaicompat/openaicompat.go:392
↓ 2 callers
Function
installAgentNativeBundleSkills
(agent: "claude" | "codex", journal: AgentNativeBundleJournal)
packages/cli/src/index.ts:3780
↓ 2 callers
Function
installManagedBlock
(file: string, begin: string, end: string, block: string)
packages/cli/src/index.ts:18857
↓ 2 callers
Function
installMcpForAgent
(a: AgentProfile, mcp: { command: string; args: string[] }, serverName = "caveman")
packages/cli/src/index.ts:17112
↓ 2 callers
Function
installMcpJson
(path: string, keyPath: string[], value: unknown)
packages/cli/src/index.ts:17284
↓ 2 callers
Function
installNativeVoiceSkills
(agent: NativeAgent)
packages/cli/src/index.ts:11044
↓ 2 callers
Function
installProxyAwareFetch
( env: NodeJS.ProcessEnv = process.env, scope: { fetch: typeof fetch } = globalThis, )
packages/cli/src/proxy-fetch.ts:378
↓ 2 callers
Function
installSettingsHook
(path: string, event: string, matcher: string)
packages/cli/src/index.ts:18473
↓ 2 callers
Function
installedFrameworkVersion
(name: string, entry = name)
packages/middleware/typescript/src/versions.ts:25
↓ 2 callers
Function
integer
(value: Any)
packages/sdk/python/caveman_cloud/middleware/validate.py:36
↓ 2 callers
Function
intercept
(e, el, box)
extension/src/caveman.js:255
↓ 2 callers
Function
invalidModeLine
(resolution: CapabilityResolution)
packages/cli/src/index.ts:4760
↓ 2 callers
Function
invariantEnumValueUsable
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 callers
Function
invariantValueUsable
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 callers
Method
invocation
(args: string[])
packages/pi-extension/src/recovery.ts:144
↓ 2 callers
Function
invoke
()
packages/cli/tests/portable-command.runtime.mjs:98
↓ 2 callers
Function
isBusy
(err error)
engine/ccr/store_sqlite.go:270
↓ 2 callers
Function
isCacheableContentBlock
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:187
↓ 2 callers
Function
isConcreteProfile
(path)
agents/check-profile-scope.mjs:36
↓ 2 callers
Function
isEphemeralPath
(path: string)
packages/cli/src/index.ts:4046
↓ 2 callers
Function
isHash
(s: unknown)
packages/sdk/typescript/src/middleware/validate.ts:34
↓ 2 callers
Function
isInterruptError
(msg string)
mcp/codemode/js_runner.go:522
↓ 2 callers
Function
isJSONNull
isJSONNull treats an explicit null as absence: a client that sends "previous_response_id": null is starting a fresh thread, and that request is projec
proxy/providers/openai/count_tokens.go:135
↓ 2 callers
Function
isJSONSpace
(c byte)
engine/compressors/toolschema_annotations.go:384
↓ 2 callers
Function
isNotification
isNotification reports whether a request carries no usable id and therefore must never be answered. Per JSON-RPC 2.0 a notification is a request with
mcp/protocol.go:30
↓ 2 callers
Function
isOOMError
(msg string)
mcp/codemode/js_runner.go:527
↓ 2 callers
Function
isOpenCodeChatGPTSubscription
(r *http.Request)
proxy/internal/gateway/proxy.go:111
↓ 2 callers
Function
isOurs
(entry, root)
installer/lib/cursor-native.js:71
↓ 2 callers
Method
isOwnedRoute
(model: ExtensionContext["model"])
packages/pi-extension/src/provider.ts:199
↓ 2 callers
Function
isPiChatGPTSubscription
(r *http.Request, verifiedAgentPath bool)
proxy/internal/gateway/proxy.go:120
↓ 2 callers
Method
isRuntimeOrigin
Header controls are restricted to an explicitly configured, discovered runtime origin.
packages/sdk/typescript/src/middleware/runtime.ts:534
↓ 2 callers
Function
isSafeObjectKey
(key: string)
packages/cli/src/index.ts:7655
↓ 2 callers
Function
isScalar
(v toonValue)
engine/compressors/toon_encode.go:344
↓ 2 callers
Function
isTimeoutError
(error: unknown)
packages/cli/src/index.ts:3067
↓ 2 callers
Function
isVertexHost
isVertexHost guards against the endpoint being repointed at a non-Vertex host in managed mode (defense-in-depth on top of the SSRF guard). It accepts
proxy/providers/vertex/routing.go:211
↓ 2 callers
Function
isVisible
(el)
extension/src/caveman.js:83
↓ 2 callers
Function
is_sensitive_path
Heuristic denylist for files that must never be shipped to a third-party API.
plugins/caveman/skills/caveman-compress/scripts/compress.py:255
↓ 2 callers
Function
is_sensitive_path
Heuristic denylist for files that must never be shipped to a third-party API.
skills/caveman-compress/scripts/compress.py:255
↓ 2 callers
Function
isoWeekLabel
(t time.Time)
proxy/internal/store/learn_trends.go:244
↓ 2 callers
Function
isoWeekStart
(t time.Time)
proxy/internal/store/learn_trends.go:237
↓ 2 callers
Function
isolatedInstallEnv
(root)
tests/installer/e2e.freshinstall.test.mjs:67
↓ 2 callers
Method
itemEffort
itemEffort is the effort a per-message item sets, the agent's own or a mark.
proxy/internal/gateway/route.go:367
↓ 2 callers
Function
items0
(raw []byte)
proxy/internal/translate/responses_in.go:241
↓ 2 callers
Function
itoa
(n int)
engine/cmd/caveman-engine/pixel_density_test.go:264
↓ 2 callers
Function
itoa
(n int)
engine/pixel/transform_anthropic_test.go:503
↓ 2 callers
Function
itoaTest
(n int)
proxy/providers/anthropic/breakpoint_plan_test.go:37
↓ 2 callers
Function
jestMixed
Jest JSON fixtures
engine/compressors/testreport_test.go:93
↓ 2 callers
Function
joinCompatPath
joinCompatPath appends the public route's provider path to the configured base path, collapsing an overlapping segment. Ollama's documented base URL i
proxy/providers/openaicompat/openaicompat.go:104
↓ 2 callers
Function
joinCompatQuery
(baseQuery, requestQuery string)
proxy/providers/openaicompat/openaicompat.go:145
↓ 2 callers
Function
journaledRouteOrigins
(agent: string)
packages/cli/src/index.ts:286
↓ 2 callers
Function
jsonUnescape
jsonUnescape returns b with JSON string escapes resolved, or nil when b carries no backslash and the second scan would therefore be redundant. It is
shared/platform/redact/residual.go:349
↓ 2 callers
Function
keepJsoncOriginal
(path: string, text: string)
packages/cli/src/index.ts:17328
↓ 2 callers
Function
keepNumericExtrema
(rows [][]string, start int, keep []bool)
engine/compressors/tabular.go:319
↓ 2 callers
Method
keepText
keepText records that the text at key goes out as text. If another request already decided it (a concurrent fork, a lookup that failed), the store ans
proxy/internal/gateway/pixel.go:229
↓ 2 callers
Method
keepalive
keepalive proves a silent upstream alive: an SSE comment, which chat clients skip. A non-streaming caller gets nothing until the whole answer: the gat
proxy/internal/translate/chat_stream.go:96
↓ 2 callers
Method
keepalive
()
proxy/internal/translate/responses_stream.go:130
↓ 2 callers
Function
keychainDelete
(id: string)
packages/cli/src/modules/provider-logins.ts:143
← previous
next →
3,301–3,400 of 12,853, ranked by callers