Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
7,561 in github.com/JuliusBrussee/caveman
⨍
Functions
7,561
◇
Types & classes
842
↓ 4 callers
Function
logStoreWarning
(logger *slog.Logger, msg string, err error)
proxy/internal/store/trial_store.go:794
↓ 4 callers
Function
lowerBuildContext
(root: string, definition: AgentDefinition, input?: string)
packages/agent/src/cli.ts:1081
↓ 4 callers
Function
messageText
(message: AgentMessage)
packages/agent/src/compaction.ts:421
↓ 4 callers
Function
messagesToAny
(messages []Message)
engine/pixel/transform_anthropic_test.go:440
↓ 4 callers
Function
metadataBool
(v bool)
engine/compressors/compressor.go:48
↓ 4 callers
Function
nativeJournalPath
(agent: string)
packages/cli/src/index.ts:5818
↓ 4 callers
Function
newClient
(t *testing.T, server *httptest.Server, allowed ...string)
shared/platform/kms/kms_test.go:20
↓ 4 callers
Function
newRetrieveSession
()
mcp/engine_tools.go:362
↓ 4 callers
Function
newSocketFreeCompressServer
(adapter providers.Adapter, comp Compressor, rt *captureTransport, creds CredentialResolver)
proxy/internal/gateway/live_zone_test.go:101
↓ 4 callers
Function
newStandaloneTestServer
(t *testing.T, upstream string, rc RequestContext, sink TelemetrySink)
proxy/internal/gateway/server_test.go:79
↓ 4 callers
Function
newStoreEngine
()
mcp/engine_tools_antistorm_test.go:57
↓ 4 callers
Function
normalizeRunBudget
(budget: RunBudget)
packages/agent/src/budget.ts:90
↓ 4 callers
Function
normalizedProfile
(profile Profile)
cacheengine/engine.go:304
↓ 4 callers
Function
onAllowlist
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/bedrock/routing.go:509
↓ 4 callers
Method
onEnd
(span: MastraSpanLike)
packages/mastra/src/index.ts:307
↓ 4 callers
Method
onStart
(span: MastraSpanLike, parentContext?: unknown)
packages/mastra/src/index.ts:306
↓ 4 callers
Function
openAIMustJSON
(value any)
engine/pixel/transform_openai.go:843
↓ 4 callers
Method
openai
(self, upstream_key: str | None = None)
packages/sdk/python/caveman_cloud/core.py:575
↓ 4 callers
Method
page
(self, value: Any, options: dict[str, Any])
packages/sdk/python/caveman_cloud/core.py:1327
↓ 4 callers
Method
pageWidthPx
pageWidthPx is the pixel width of a page `cols` columns wide: 2*pad + cols*advance + max(0, glyphW-advance).
engine/pixel/density.go:200
↓ 4 callers
Function
parseRetrieveCall
(provider, routePath string, respBody []byte)
proxy/internal/gateway/retrieve_tool.go:361
↓ 4 callers
Function
passthrough
()
packages/sdk/typescript/src/index.ts:1652
↓ 4 callers
Function
post
(path: string, body: unknown)
packages/cli/src/index.ts:14155
↓ 4 callers
Function
prefixTokens
(segments []PrefixSegment)
cacheengine/cachebench/simulate.go:352
↓ 4 callers
Function
probeProxyVersion
()
packages/cli/src/index.ts:13078
↓ 4 callers
Function
probeVersionedBinary
(binary: string, requiredCapability: string)
packages/cli/src/index.ts:1872
↓ 4 callers
Function
providerClient
(cave: Cave, provider: string, prefix: string, upstreamKey?: string)
packages/sdk/typescript/src/index.ts:2006
↓ 4 callers
Function
providerUsesGeminiTools
(provider, routePath string)
proxy/internal/gateway/retrieve_tool.go:322
↓ 4 callers
Function
providerUsesResponsesTools
(provider, routePath string)
proxy/internal/gateway/retrieve_tool.go:318
↓ 4 callers
Function
proxyExec
(proxyArgs: string[], env: NodeJS.ProcessEnv, quiet: boolean)
packages/cli/src/index.ts:12782
↓ 4 callers
Function
quote
(value string)
proxy/providers/jsonsplice/jsonsplice.go:253
↓ 4 callers
Function
randomHex
(nBytes: number)
packages/sdk/typescript/src/index.ts:2304
↓ 4 callers
Function
rate
(tokensPerTurn int, turnsPerDay float64)
proxy/internal/store/learn.go:930
↓ 4 callers
Function
read
(home string, port int)
proxy/internal/runstate/runstate.go:129
↓ 4 callers
Function
readPendingNativeJournal
(agent: string)
packages/cli/src/index.ts:6743
↓ 4 callers
Function
readQuotedSpecifier
( source: string, start: number, path: string, )
packages/agent/src/source-graph.ts:644
↓ 4 callers
Function
readRawConfig
()
packages/cli/src/index.ts:14334
↓ 4 callers
Function
readSourceMember
( source: string, start: number, path: string, )
packages/agent/src/source-graph.ts:579
↓ 4 callers
Function
readWrapEntitlement
()
packages/cli/src/index.ts:3399
↓ 4 callers
Method
recordCall
(call: ReceiptCall)
packages/agent/src/budget.ts:585
↓ 4 callers
Method
refresh
Fetch the current bundle. Never raises; keeps last-known-good. A transport failure, a bad signature, an unknown schema version, or a
packages/sdk/python/caveman_cloud/core.py:2280
↓ 4 callers
Method
refresh
* Fetch and verify the current bundle (`GET /sdk/v1/runtime-policy`). * * Never throws: a transport error, a bad signature, an unknown schema
packages/sdk/typescript/src/index.ts:1106
↓ 4 callers
Function
regionFromHost
(host string)
proxy/providers/bedrock/routing.go:377
↓ 4 callers
Function
rejectInternalRunOptions
(options: RunOptions)
packages/agent/src/runtime.ts:4998
↓ 4 callers
Method
release
* Release a further tranche. Throws when it would breach `max`: this is * pre-flight validation at a developer-controlled checkpoint, so the caller
packages/agent/src/budget.ts:323
↓ 4 callers
Function
renderLiveZonePNGs
(text string, opts pixel.TransformOptions)
proxy/internal/gateway/pixel.go:456
↓ 4 callers
Function
requireJudgeText
(raw: unknown)
packages/graders/src/index.ts:1497
↓ 4 callers
Function
requireStringList
(raw: unknown, allowBlank = false)
packages/graders/src/index.ts:984
↓ 4 callers
Function
resolveCredentials
(meta: Partial<Config>)
packages/cli/src/index.ts:14365
↓ 4 callers
Function
resolveGatewayURL
(explicit: string | undefined)
packages/agent/src/runtime.ts:5033
↓ 4 callers
Function
resolveWrapGate
( entitlement: WrapEntitlement | null | undefined, now: Date, requestedMode: WrapRuntimeMode, )
packages/cli/src/index.ts:3346
↓ 4 callers
Function
resultText
(t *testing.T, r ToolResult)
mcp/engine_tools_antistorm_test.go:70
↓ 4 callers
Function
retrieveArgs
(handle, query string)
mcp/engine_tools_antistorm_test.go:65
↓ 4 callers
Function
rewritable
rewritable returns the blocks the proxy may rewrite. An ok=false result means the adapter found nothing rewritable at all, which is the strongest form
proxy/providers/openai/recovery_exempt_test.go:16
↓ 4 callers
Function
rootExecutionContext
( definition: AgentDefinition, maxCostUsd?: number, options: Pick<RunOptions, "budget" | "breakers" | "m
packages/agent/src/runtime.ts:767
↓ 4 callers
Function
ruleOverheadPerTurn
()
src/hooks/caveman-stats.js:29
↓ 4 callers
Function
run
( args: list[str], *, cwd: Path = ROOT, env: dict[str, str] | None = None, check: bool = T
tests/verify_repo.py:33
↓ 4 callers
Function
runAgentInternal
( definition: AgentDefinition, input: string, options: InternalRunOptions, )
packages/agent/src/runtime.ts:967
↓ 4 callers
Method
runRetrieveLoop
(ctx context.Context, upstream *http.Client, reqURL *url.URL, headers http.Header, reqBody, originalBody []byt
proxy/internal/gateway/retrieve_tool.go:852
↓ 4 callers
Function
safeRelative
(value)
bin/lib/owned-install.js:19
↓ 4 callers
Function
safeTOONKey
(k string)
engine/compressors/toon_encode.go:410
↓ 4 callers
Function
sameMcpCommand
(left: { command: string; args: string[] } | null, right: { command: string; args: string[] } | null)
packages/cli/src/index.ts:2365
↓ 4 callers
Function
saveConfig
(cfg: Config)
packages/cli/src/index.ts:14347
↓ 4 callers
Function
scanMemory
(row rowScanner, memory *Memory)
mem/store.go:622
↓ 4 callers
Function
selfSignedCert
── TLS ─────────────────────────────────────────────────────────────────────── The query pool is memoised (one shared set of warm connections per pro
shared/platform/chhttp/chhttp_test.go:143
↓ 4 callers
Function
serveConn
(ctx context.Context, conn net.Conn, runtime *Runtime)
proxy/internal/nativeruntime/server_common.go:73
↓ 4 callers
Function
settle
(run: ProcessRun)
packages/agent/src/code.ts:511
↓ 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
Function
skipJSONSpace
(body []byte, i int)
proxy/providers/anthropic/splice.go:166
↓ 4 callers
Function
skipJSONSpace
(body []byte, i int)
proxy/providers/openai/content_compress.go:569
↓ 4 callers
Function
skipSpace
(body []byte, i int)
engine/compressors/toolschema_annotations.go:372
↓ 4 callers
Function
sourceSyntaxError
(path: string, cause?: unknown)
packages/agent/src/source-graph.ts:773
↓ 4 callers
Function
space
(body []byte, i int)
proxy/providers/jsonsplice/jsonsplice.go:246
↓ 4 callers
Function
splitSkillMarkdown
(bytes: Buffer)
packages/cli/src/index.ts:1194
↓ 4 callers
Function
startSink
({ port = 0, captureDir, onCapture, verbose = false } = {})
packages/subagent-tax/lib/sink.mjs:321
↓ 4 callers
Function
stripAnsi
(s: string)
packages/cli/src/index.ts:14667
↓ 4 callers
Function
stripMarkedBlock
(text: string, begin: string, end: string)
packages/cli/src/index.ts:9113
↓ 4 callers
Function
stripRetrieveCall
(provider, routePath string, respBody []byte)
proxy/internal/gateway/retrieve_tool.go:649
↓ 4 callers
Function
textContent
(n *html.Node)
engine/compressors/html.go:231
↓ 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:526
↓ 4 callers
Function
topLevelSection
(lines: string[], key: string)
packages/cli/src/index.ts:9132
↓ 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:391
↓ 4 callers
Function
tsOrNow
(t time.Time)
proxy/internal/store/usage_import.go:507
↓ 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:984
↓ 4 callers
Function
uidByName
(t *testing.T, snapshot string, name string)
browse/cdp_integration_test.go:226
↓ 4 callers
Function
usd
(v float64)
proxy/internal/store/observe_test.go:10
↓ 4 callers
Function
validIdentity
(value string, maximum int, allowEmpty bool)
cacheengine/validation.go:8
↓ 4 callers
Function
validPrefix
(prefix []PrefixSegment)
cacheengine/cachebench/simulate.go:104
↓ 4 callers
Function
validate
(original_path: Path, compressed_path: Path)
skills/caveman-compress/scripts/validate.py:181
↓ 4 callers
Function
validateObservationRecords
(records []ObservationRecord)
cacheengine/cachebench/observed.go:193
↓ 4 callers
Function
validateReplayEvidence
(record ReplayEvidenceRecord)
cacheengine/cachebench/replay.go:863
↓ 4 callers
Function
value
(body []byte, start int)
proxy/providers/jsonsplice/jsonsplice.go:196
↓ 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
Function
wrapNotFoundUI
(requested: string, agent?: AgentProfile)
packages/cli/src/index.ts:7874
↓ 4 callers
Function
yamlLines
(text: string)
packages/cli/src/index.ts:9102
↓ 4 callers
Function
yamlQuote
(s: string)
packages/cli/src/index.ts:9090
↓ 4 callers
Function
yamlText
(lines: string[])
packages/cli/src/index.ts:9109
↓ 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:973
↓ 3 callers
Function
Accept
Accept reports whether rewritten may replace original under threshold theta, and the reject reason when it may not. It is a pure function of its argum
rewriter/gate.go:94
← previous
next →
801–900 of 7,561, ranked by callers