Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,391 in github.com/JuliusBrussee/caveman
⨍
Functions
12,391
◇
Types & classes
1,304
↳
Endpoints
5
↓ 4 callers
Function
setupTimeoutSeconds
()
packages/cli/src/index.ts:2902
↓ 4 callers
Function
shortHash
(v string)
proxy/internal/gateway/cache_warm.go:527
↓ 4 callers
Function
shortTempDir
(t *testing.T)
proxy/internal/nativehook/hook_unix_test.go:198
↓ 4 callers
Function
show
(b []byte)
engine/compressors/zz_adversarial_probe_test.go:12
↓ 4 callers
Function
show2
(b []byte)
engine/compressors/zz_adversarial_probe2_test.go:11
↓ 4 callers
Method
shown
()
proxy/internal/translate/translate.go:51
↓ 4 callers
Function
sideComponentRows
sideComponentRows returns request_id -> the side-table digest list.
proxy/internal/store/cache_components_test.go:82
↓ 4 callers
Function
skipJSONSpace
(body []byte, i int)
proxy/providers/openai/content_compress.go:608
↓ 4 callers
Function
skipSpace
(body []byte, i int)
engine/compressors/toolschema_annotations.go:372
↓ 4 callers
Function
snapshot
(arms: dict[str, list[str]])
tests/test_eval_fidelity.py:42
↓ 4 callers
Function
splitSkillMarkdown
(bytes: Buffer)
packages/cli/src/index.ts:2152
↓ 4 callers
Method
start
(self)
packages/middleware/python/caveman_middleware/autogen.py:449
↓ 4 callers
Function
startSSE
(w http.ResponseWriter)
proxy/internal/translate/translate.go:918
↓ 4 callers
Function
startSink
({ port = 0, captureDir, onCapture, verbose = false } = {})
packages/subagent-tax/lib/sink.mjs:321
↓ 4 callers
Function
startWrapProxy
(mode: WrapRuntimeMode, mcpRecovery: boolean, toon: boolean, pixelModels: string | undefined, pixelDensity: st
packages/cli/src/index.ts:7245
↓ 4 callers
Function
statsAssertMoney
(t *testing.T, got *float64, want float64)
proxy/internal/store/stats_test.go:45
↓ 4 callers
Function
step
(name, fn)
tests/middleware-e2e/harness.mjs:24
↓ 4 callers
Function
streamingResponse
streamingResponse recognizes wire streaming even when request metadata cannot (for example gzip-encoded SSE). It keys off the media type only, so a st
proxy/internal/gateway/headers.go:78
↓ 4 callers
Function
stripAnsi
(s: string)
packages/cli/src/index.ts:23220
↓ 4 callers
Function
stripMarkedBlock
(text: string, begin: string, end: string)
packages/cli/src/index.ts:14240
↓ 4 callers
Method
submit
( self, body: dict[str, Any], *, latency_class: str = "background", )
packages/sdk/python/caveman_cloud/core.py:1445
↓ 4 callers
Function
syncStatePath
()
packages/cli/src/index.ts:13122
↓ 4 callers
Function
targetPlatform
(os = process.platform, nodeArch = process.arch)
mcp/bin/binary-installer.generated.mjs:65
↓ 4 callers
Function
telemetryConfigFromDisk
()
packages/cli/src/index.ts:968
↓ 4 callers
Function
tempDir
tests/middleware-e2e/harness.mjs:20
↓ 4 callers
Function
textContent
(n *html.Node)
engine/compressors/html.go:231
↓ 4 callers
Function
thesisLine
(mode, hookDir)
src/hooks/caveman-config.js:865
↓ 4 callers
Function
thoughtTag
thoughtTag starts the carrier of a tool call's thought signature in an agent's history (a redacted_thinking block's data, also inside a Codex reasonin
proxy/internal/translate/messages.go:73
↓ 4 callers
Function
throughLink
(file: string)
packages/cli/src/index.ts:11286
↓ 4 callers
Function
token
(value: Any)
packages/sdk/python/caveman_cloud/middleware/validate.py:16
↓ 4 callers
Function
token
(value: unknown)
packages/sdk/typescript/src/middleware/runtime.ts:119
↓ 4 callers
Function
token
(s string)
proxy/internal/middleware/validate.go:8
↓ 4 callers
Function
tokenUpstream
tokenUpstream stubs the provider token endpoint and records what reached it.
proxy/internal/gateway/oauth_token_route_test.go:21
↓ 4 callers
Method
tool
(name: string, options: ToolOptions, fn: () => Promise<T> | T)
packages/sdk/typescript/src/index.ts:798
↓ 4 callers
Method
toolSearch
* Directly call the gateway's /sdk/v1/tool-search endpoint with the given catalog. * Use this when you manage the catalog outside of a tools() hand
packages/sdk/typescript/src/index.ts:531
↓ 4 callers
Function
totalCounts
(counts)
src/hooks/caveman-stats.js:141
↓ 4 callers
Method
trace
* Run `fn` inside a trace. * * The trace allocates a `traceId` (32 lowercase hex) and a root `spanId` * (16 lowercase hex) with the same RNG
packages/sdk/typescript/src/index.ts:396
↓ 4 callers
Function
transformOpencodeAgentFrontmatter
(content, { subagent = false } = {})
installer/lib/opencode-agent.js:62
↓ 4 callers
Function
truncate
truncate cuts text to at most n bytes on a rune boundary.
proxy/internal/cloudlink/link.go:1525
↓ 4 callers
Function
tsOrNow
(t time.Time)
proxy/internal/store/usage_import.go:506
↓ 4 callers
Function
ttlAsk
()
proxy/internal/cloudlink/cache_ttl_test.go:47
↓ 4 callers
Function
twoLayerReaderNote
twoLayerReaderNote teaches the max-level overlay convention: two interleaved text layers per image (dark-red then dark-blue), read red rows fully befo
engine/pixel/transform_anthropic.go:994
↓ 4 callers
Function
uidByName
(t *testing.T, snapshot string, name string)
browse/cdp_integration_test.go:226
↓ 4 callers
Function
unforwardedProviderHeaders
(api: string | undefined, provider: string, headers: unknown, published?: PublishedUpstreams)
packages/cli/src/provider-routing.ts:134
↓ 4 callers
Function
uniqueRequest
uniqueRequest is requestFor with its own session and segment content.
proxy/internal/middleware/hardening_test.go:27
↓ 4 callers
Function
usageLine
(id string, at time.Time, tokens int)
proxy/cmd/caveman-proxy/learn_wire_test.go:51
↓ 4 callers
Function
visit
(value, depth=0)
packages/middleware/python/caveman_middleware/_native.py:51
↓ 4 callers
Function
waitFor
(predicate, timeoutMs = 5000)
packages/cli/tests/wrap-restart.runtime.mjs:45
↓ 4 callers
Function
warm
warm gives a session a baseline the tripwire can measure against, with the lever recorded as active throughout.
proxy/internal/gateway/ledger_test.go:20
↓ 4 callers
Method
warm
warm sends one warm, signed in with routing on, one at a time. A warm engine ends a pause a slow, unreachable or failing Cloud caused.
proxy/internal/cloudlink/warm.go:99
↓ 4 callers
Method
warn
(message string, err error)
proxy/internal/middleware/runtime.go:705
↓ 4 callers
Method
wire
wire is the name a declared tool was given (history calls must use the same one, collision-renamed or not); an undeclared tool gets wireToolName.
proxy/internal/translate/responses.go:118
↓ 4 callers
Function
withCavemanOpenAI
(client:T,options:OpenAIOptions)
packages/middleware/typescript/src/openai.ts:67
↓ 4 callers
Method
with_usage
(self)
tests/test_eval_snapshot_contract.py:87
↓ 4 callers
Function
wrap
(rest: string[])
packages/cli/src/index.ts:5918
↓ 4 callers
Method
write
(w *bufio.Writer, resp rpcResponse)
mcp/server.go:232
↓ 4 callers
Function
writeJSON
(w http.ResponseWriter, body []byte)
proxy/internal/translate/translate.go:924
↓ 4 callers
Function
writeKeychainConfig
(t *testing.T, home, cloud string, extra map[string]any)
proxy/internal/cloudlink/link_test.go:1128
↓ 4 callers
Function
writeLearnSession
(t *testing.T, claudeRoot, repo, name string, lines ...string)
proxy/cmd/caveman-proxy/learn_wire_test.go:40
↓ 4 callers
Function
yamlQuote
(s: string)
packages/cli/src/index.ts:14217
↓ 4 callers
Function
yamlScalarAfterKey
(lines: string[], index: number)
packages/cli/src/index.ts:14355
↓ 4 callers
Function
zebraReaderNote
zebraReaderNote is the one-line reader instruction rendered into the page header when — and only when — the pages are inked with the zebra colour cycl
engine/pixel/transform_anthropic.go:983
↓ 3 callers
Method
#endSpan
(span: OTelSpanLike | null, operation: string, start: number, attributes: Attributes, error: string | null)
packages/sdk/typescript/src/middleware/runtime.ts:594
↓ 3 callers
Method
#startSpan
(operation: keyof typeof OTEL.spans)
packages/sdk/typescript/src/middleware/runtime.ts:589
↓ 3 callers
Function
Allowed
(model string)
engine/pixel/applicability.go:32
↓ 3 callers
Function
AllowedModelBases
()
engine/pixel/applicability.go:13
↓ 3 callers
Method
BedrockRegion
BedrockRegion resolves the source/signing region from trusted operator configuration. A provider-specific YAML value wins, followed by Caveman's expli
proxy/internal/config/config.go:497
↓ 3 callers
Function
BrowserTools
(s *Session)
browse/session.go:81
↓ 3 callers
Method
BuildLearnSimulationFiltered
(cwd string, sources []string, sinceExpr string, sinkIDs []string, repoFilter string)
proxy/internal/store/learn_simulate.go:38
↓ 3 callers
Function
CachedPrefixComponents
CachedPrefixComponents splits a Messages request into what the provider's prompt cache keys on — system, tools, then every message, each with cache_co
proxy/providers/anthropic/content_compress.go:68
↓ 3 callers
Method
CapabilityManifest
CapabilityManifest returns canonical compact JSON. RegistrySHA256 hashes the ordered capabilities only, avoiding a self-referential digest.
engine/compressors/compressor.go:189
↓ 3 callers
Function
Certificates
Certificates parses every certificate in the PEM bundle at path. The bundle is parsed block by block instead of via CertPool.AppendCertsFromPEM, whic
shared/platform/cabundle/cabundle.go:51
↓ 3 callers
Function
ChatNative
ChatNative returns a chat body bound for a chat host's own API with the runtime's reasoning envelopes (and the reasoning text they came with) removed;
proxy/internal/translate/chat_in.go:587
↓ 3 callers
Method
CheckIntegrity
CheckIntegrity runs PRAGMA quick_check on a separate read-only connection, so the store's own connection keeps serving while the whole file is read. A
engine/ccr/store_integrity.go:106
↓ 3 callers
Method
CheckIntegrityOnce
CheckIntegrityOnce checks the store unless the same build already found it intact. A new release therefore checks an older store once, on its first st
engine/ccr/store_integrity.go:129
↓ 3 callers
Method
CompatCredential
CompatCredential returns the key of one named OpenAI-compatible upstream. The second result is false if no built-in entry and no configured entry has
proxy/internal/config/config.go:645
↓ 3 callers
Function
ComputeFrozenCount
ComputeFrozenCount returns the first mutable message index. It mirrors headroom's cache-control floor: the highest message index whose content block c
proxy/providers/anthropic/frozen.go:17
↓ 3 callers
Method
Config
Config is the listener's tls.Config: TLS 1.2 or later, and in TLS 1.2 only forward-secret AEAD suites (TLS 1.3 suites are all of that kind already).
proxy/internal/identity/tls.go:50
↓ 3 callers
Function
ContextWindowTokens
ContextWindowTokens returns the provider-declared context window from an exact provider+model catalog match. Regional rows must agree; missing, malfor
shared/platform/catalog/catalog.go:62
↓ 3 callers
Method
CreditOriginal
CreditOriginal counts identical content once inside an authenticated session scope, without storing it or merging document/source identities or grants
proxy/internal/store/middleware.go:389
↓ 3 callers
Function
DecodeBody
DecodeBody decodes a bounded side-copy of a provider body by its Content-Encoding (identity, gzip, deflate, zstd), both sides capped at limit; ok is f
proxy/providers/adapter.go:958
↓ 3 callers
Function
DefaultLearnJSONPath
(home string)
proxy/internal/store/report.go:27
↓ 3 callers
Function
DetectVolatile
DetectVolatile returns content-blind pattern kind and byte offset only. It never copies matching values into traces or errors.
shared/platform/cacheguard/cacheguard.go:173
↓ 3 callers
Method
ExpireBatch
ExpireBatch reclaims one batch of at most limit rows per kind, and reports how many rows it touched and whether any kind filled its batch.
proxy/internal/store/middleware.go:319
↓ 3 callers
Function
ExtractFactSheetTokens
(text string)
engine/pixel/factsheet.go:58
↓ 3 callers
Function
ExtractToolCatalog
ExtractToolCatalog returns the exact serialized bytes of a request's top-level tool catalog plus a reassembler that splices replacement bytes back int
proxy/providers/toolzone.go:25
↓ 3 callers
Function
Find
Find is the registry row for id.
proxy/internal/pool/pool.go:99
↓ 3 callers
Method
FindTaskDecision
(decisionID string)
engine/ccr/store_wasm.go:202
↓ 3 callers
Method
Flush
()
proxy/internal/translate/translate.go:436
↓ 3 callers
Method
IdleSnapshot
IdleSnapshot exposes lifecycle only; no session identifiers leave runtime.
proxy/internal/nativeruntime/runtime.go:579
↓ 3 callers
Method
ImportClaude
(root, sinceExpr string)
proxy/internal/store/usage_import.go:64
↓ 3 callers
Function
InspectStore
InspectStore reads path over a read-only connection and never creates it. check also runs PRAGMA quick_check, which reads the whole file.
engine/ccr/store_repair.go:78
↓ 3 callers
Function
IsBlocked
IsBlocked reports whether err (or anything it wraps, such as the *url.Error an http.Client returns) is a guard refusal rather than a network failure.
shared/platform/ssrf/ssrf.go:35
↓ 3 callers
Function
IsEnvelope
IsEnvelope reports whether blob uses versioned KMS envelope format.
shared/platform/kms/kms.go:154
↓ 3 callers
Function
IsReportProjectionOnlyOpportunity
IsReportProjectionOnlyOpportunity identifies observations admitted by the dedicated report API but excluded from Cave Plan, scoring, proposals, and ev
shared/platform/optimizers/optimizers.go:91
↓ 3 callers
Function
LoadKeyring
LoadKeyring parses base64 32-byte keys from inline (comma or newline separated) or, when inline is empty, from the file at path. Both empty means no e
proxy/internal/middleware/seal.go:41
↓ 3 callers
Function
MarkRawUsageIncomplete
MarkRawUsageIncomplete stamps RawUsage when a parser has just zeroed a typed counter because the stream ended without its terminal usage event. Witho
proxy/providers/adapter.go:1430
↓ 3 callers
Method
MultiPrincipal
MultiPrincipal reports that callers can be principals other than the operator.
proxy/internal/identity/identity.go:193
↓ 3 callers
Function
NewMiddleware
NewMiddleware builds the framework middleware runtime over state (SQLite or Postgres), resolving callers through ids. Its mode is middleware.mode, els
proxy/internal/standalone/middleware.go:31
↓ 3 callers
Function
NewSearchResult
NewSearchResult returns the line-oriented search-result compressor.
engine/compressors/searchresult.go:29
← previous
next →
1,601–1,700 of 12,391, ranked by callers