MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 7 callersFunctionNewCDPDriver
(parent context.Context, opts CDPOptions)
browse/cdp.go:39
↓ 7 callersFunctionNewConfig
NewConfig returns the deterministic YAML, TOML, and INI compressor.
engine/compressors/config.go:40
↓ 7 callersFunctionNewServerTLS
NewServerTLS loads the files once and fails on anything unusable. clientCA is optional; with it, a client certificate is verified when presented (not
proxy/internal/identity/tls.go:37
↓ 7 callersMethodObserveSummarySince
ObserveSummarySince returns the compact observe-estimate object, optionally filtered to rows at or after an RFC3339 instant (the wrap session start).
proxy/internal/store/store.go:1061
↓ 7 callersFunctionOpenPostgresMiddleware
OpenPostgresMiddleware connects through postgresconfig: a non-loopback host needs sslmode=verify-full (checked against CAVE_POSTGRES_CA_CERT / CAVE_PO
proxy/internal/store/middleware_postgres.go:48
↓ 7 callersFunctionPrepareSQLitePath
PrepareSQLitePath creates or tightens a persistent SQLite file before the driver sees it. Recovery databases can contain prompts, credentials, and too
engine/ccr/store_sqlite.go:432
↓ 7 callersFunctionProjectAnthropic
ProjectAnthropic projects a Messages request onto the provider's current count_tokens input surface. Every proven count field is copied as its raw JSO
proxy/providers/internal/counttokens/counttokens.go:62
↓ 7 callersMethodRecordBatch
([]RequestRecord)
proxy/internal/gateway/recorder.go:12
↓ 7 callersFunctionRenderTextToTwoLayerPNGs
RenderTextToTwoLayerPNGs splits wrapped text into max-level overlay pages. Each image holds up to 2×N lines: the first N in the red layer, the next N
engine/pixel/overlay.go:189
↓ 7 callersMethodResolve
(provider string, r *http.Request)
proxy/internal/standalone/standalone.go:145
↓ 7 callersFunctionResolveGptProfile
(model string)
engine/pixel/gpt_profiles.go:53
↓ 7 callersFunctionSQLiteDSN
SQLiteDSN builds the driver DSN for path. The two pragmas are load-bearing, not tuning: this recovery store is opened once per CLI process (caveman-mc
engine/ccr/store_sqlite.go:216
↓ 7 callersMethodSafetyClass
SafetyClass is the compressor's inherent class on the S0–S4 ladder.
engine/compressors/compressor.go:26
↓ 7 callersMethodSaveOriginal
SaveOriginal is SaveOriginals for one original.
proxy/internal/store/middleware.go:382
↓ 7 callersMethodSavePlan
SavePlan stores a plan, replacing one expired by now (which Plan reported absent). A plan still live at now is never overwritten: ErrMiddlewareConflic
proxy/internal/store/middleware.go:301
↓ 7 callersMethodSetObjectLifecycle
(id string, lifecycle Lifecycle)
engine/ccr/store_wasm.go:160
↓ 7 callersFunctionShrink
Shrink compresses a tool catalog with an S4 lossy transform. It is fail-open: on any parse problem or when the result would not be smaller, it returns
shrink/shrink.go:117
↓ 7 callersMethodSource
Source reports the chain entry that last produced credentials: "env", "web_identity", "container", "imds", or "" before the first success.
shared/platform/awscreds/awscreds.go:164
↓ 7 callersMethodStream
Stream reports whether the caller asked for a streamed answer.
proxy/internal/translate/translate.go:140
↓ 7 callersFunctionToolRawText
ToolRawText wraps a raw string (e.g. recovered original bytes) as text content.
mcp/protocol.go:79
↓ 7 callersFunctionValidateHost
ValidateHost resolves host (bare hostname or IP literal) and checks all resolved addresses. Use when you have a host/port pair rather than a full URL
shared/platform/ssrf/ssrf.go:262
↓ 7 callersFunctionWrite
(home string, state State)
proxy/internal/runstate/runstate.go:142
↓ 7 callersMethodWrite
(p []byte)
proxy/internal/nativeruntime/drop_log_test.go:23
↓ 7 callersFunction_capture
(*, fail: bool = False)
packages/sdk/python/tests/test_tool_events.py:27
↓ 7 callersMethod_finish
(self, data, response, event)
packages/middleware/python/caveman_middleware/litellm.py:313
↓ 7 callersMethod_passive
(self, reason)
packages/middleware/python/caveman_middleware/llama_index.py:397
↓ 7 callersFunction_policy_number
A real finite number, or None. ``bool`` is not a number (it is an ``int`` subclass in Python, and a guard must never compare True against 1).
packages/sdk/python/caveman_cloud/core.py:1990
↓ 7 callersMethod_report
(self, reason, logical_id=None)
packages/middleware/python/caveman_middleware/litellm.py:158
↓ 7 callersMethodadd
add decides the JSON string at text. replace is the span its rendering replaces and wrap shapes the image parts for that span; only a live text may be
proxy/internal/gateway/pixel.go:178
↓ 7 callersFunctionagentNativeBundleJournalPath
(agent: "claude" | "codex", pending = false)
packages/cli/src/index.ts:3444
↓ 7 callersFunctionagentNativeCloudMcpMatches
(agent: "claude" | "codex", mcp: { command: string; args: string[] })
packages/cli/src/index.ts:3557
↓ 7 callersFunctionanthropicPixelBody
(model string, stream bool)
proxy/internal/gateway/pixel_test.go:428
↓ 7 callersFunctionappendInner
appendInner appends escaped string contents as one JSON string.
proxy/internal/translate/jsonfast.go:332
↓ 7 callersMethodassemble
Build a provider request with stable/session content above volatile. Pure client-side: no account and no network call. The hash ledger is
packages/sdk/python/caveman_cloud/core.py:425
↓ 7 callersFunctionassertNoPointers
(t *testing.T, what, content string)
mcp/retrieve_integration_test.go:97
↓ 7 callersFunctioncall
(args, input)
mem/js/index.mjs:13
↓ 7 callersFunctioncaptureSpawn
(cmd, args, opts)
installer/install.js:502
↓ 7 callersFunctioncaptureStdout
(t *testing.T, fn func())
proxy/cmd/caveman-proxy/status_test.go:223
↓ 7 callersMethodcharBudget
charBudget is the per-image character capacity of a full canvas page at this profile (rows × cols × layers). Page capacity — not the fixed std budget
engine/pixel/density.go:272
↓ 7 callersFunctioncheckedNonNegativeSum
(values ...int64)
proxy/internal/store/usage_import.go:652
↓ 7 callersFunctionclaudeRoot
Agent roots resolve local transcript/config dirs and stay env-overridable so tests never read or write a user's real agent data. After the CAVEMAN_* t
proxy/internal/store/config_scan.go:62
↓ 7 callersMethodclose
(self)
packages/sdk/python/caveman_cloud/middleware/runtime.py:810
↓ 7 callersFunctioncloudConfigPath
()
packages/cli/src/modules/config-home.ts:28
↓ 7 callersFunctioncompressGDScript
compressGDScript elides every named function body and reports whether anything changed. Headers may span several lines (a wrapped parameter list); a f
engine/compressors/code_gdscript.go:66
↓ 7 callersFunctionconfigValue
(raw: string | undefined)
packages/cli/src/index.ts:8800
↓ 7 callersFunctioncontentSHA256
(raw string)
proxy/internal/store/recurring.go:284
↓ 7 callersFunctioncorpusPage
(t *testing.T, name string)
mcp/retrieve_integration_test.go:38
↓ 7 callersFunctiondamagedStore
damagedStore builds a store whose recoveries b-tree has the damage #1149 and #1369 report: two interior cells name the same child page, so a page has
engine/ccr/store_integrity_test.go:20
↓ 7 callersMethoddecline
Native adapters use this when they pass through at wrap time (an untested framework version, a recovery tool name * conflict); `adapter` names them
packages/sdk/typescript/src/middleware/runtime.ts:527
↓ 7 callersFunctiondecodeRaw
decodeRaw unmarshals a[b] usage.RawUsage for comparison, tolerating that re-marshaling a parsed map can reorder keys (values are what matter).
proxy/providers/adapter_raw_usage_test.go:12
↓ 7 callersFunctiondie
(msg)
agents/compile.mjs:53
↓ 7 callersFunctiondiscardResponse
(response: Response)
packages/sdk/typescript/src/index.ts:2034
↓ 7 callersMethoddiscover
(deadline *behaviorDeadline)
proxy/internal/store/session_source.go:22
↓ 7 callersFunctionelides
(t *testing.T, src, mustKeep string)
engine/compressors/code_langs_test.go:11
↓ 7 callersFunctionemitTelemetryEvents
(events: Record<string, unknown>[])
packages/cli/src/index.ts:1684
↓ 7 callersFunctionencodeChatGPTRequestBody
(logical []byte, encoding chatGPTRequestEncoding)
proxy/internal/gateway/chatgpt_encoding.go:55
↓ 7 callersMethodevaluate
(taskFamily: string, options: DecideOptions)
packages/sdk/typescript/src/index.ts:1276
↓ 7 callersFunctionfindObjectField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:479
↓ 7 callersFunctionfirstEnvSecret
(env: NodeJS.ProcessEnv, keys: string[])
packages/cli/src/index.ts:7055
↓ 7 callersFunctiongatewayArrayElements
(body []byte, arr gatewayJSONSpan)
proxy/internal/gateway/retrieve_tool.go:203
↓ 7 callersFunctionhandleArgs
handleArgs dispatches a CLI subcommand against store, writing JSON (or raw recovered bytes) to stdout and diagnostics to stderr, and returns the proce
mem/cmd/cavemem/main.go:90
↓ 7 callersFunctionhasColorPixel
(img image.Image)
engine/pixel/transform_anthropic_density_test.go:88
↓ 7 callersFunctionhashText
(text string)
proxy/internal/store/learn.go:20
↓ 7 callersMethodid
()
proxy/internal/store/session_source.go:21
↓ 7 callersFunctioninputs
(binding=None)
packages/sdk/python/tests/test_middleware.py:15
↓ 7 callersMethodinvoke
(self, messages, assistant_message=None, response_format=None, tools=None, tool_choice=None, run_response=None
packages/middleware/python/tests/test_behavior.py:329
↓ 7 callersFunctionisCorrupt
isCorrupt reports an error by which SQLite says the file itself is damaged.
engine/ccr/store_integrity.go:62
↓ 7 callersFunctionisToken
(s: unknown)
packages/sdk/typescript/src/middleware/validate.ts:35
↓ 7 callersFunctionitemsOfType
(turn codexTurn, kind string)
proxy/internal/translate/helpers_test.go:274
↓ 7 callersFunctionkiloConfigPath
()
packages/cli/src/index.ts:14929
↓ 7 callersFunctionlearnWireEnv
learnWireEnv isolates every root learn reads: no test touches the real ~/.claude, ~/.codex, or ~/.caveman.
proxy/cmd/caveman-proxy/learn_wire_test.go:24
↓ 7 callersMethodlock
lock takes a transaction-scoped advisory lock once per key; read snapshots never lock.
proxy/internal/store/middleware_postgres.go:350
↓ 7 callersFunctionmanifest
(items: readonly unknown[], manifestBytes = MIDDLEWARE_DEFAULTS.manifest_bytes)
packages/middleware/typescript/src/common.ts:54
↓ 7 callersFunctionmapFile
(entries ...string)
proxy/internal/identity/identity_test.go:40
↓ 7 callersFunctionmemorySink
(kind, scope, title, class string, tokensPerTurn int, turnsPerDay float64, evidence map[string]any, suggestion
proxy/internal/store/detect_memory_health.go:331
↓ 7 callersFunctionmessageResp
(model, usage string)
proxy/internal/gateway/cache_warm_test.go:162
↓ 7 callersFunctionnativeRealPath
(file: string)
packages/cli/src/index.ts:11266
↓ 7 callersFunctionnewPrefixMonitor
()
proxy/internal/gateway/prefix_monitor.go:92
↓ 7 callersFunctionnewProvider
newProvider builds a Provider over a fixed environment map and a fake clock.
shared/platform/awscreds/awscreds_test.go:40
↓ 7 callersFunctionnewRouteRun
newRouteRun reads the labels and the session keys. The session is the caller's session id when it is exact, else the agent's own session header (a Cod
proxy/internal/gateway/route.go:443
↓ 7 callersFunctionnewStandaloneTestServer
(t *testing.T, upstream string, rc RequestContext, sink TelemetrySink)
proxy/internal/gateway/server_test.go:79
↓ 7 callersFunctionobjectStringField
(body []byte, obj jsonSpan, field string)
proxy/providers/openai/content_compress.go:456
↓ 7 callersFunctionopenaiTurnConversation
openaiTurnConversation is an OpenAI chat session of n user turns with assistant replies interleaved: turn N's live zone is turn N+1's automatically-ca
proxy/internal/gateway/prefix_stability_payg_test.go:53
↓ 7 callersMethodpageCols
pageCols is the column count that fills the profile's canvas width — 312 on the std canvas at cell-advance 5, 513 on the hi-res canvas, etc.
engine/pixel/density.go:211
↓ 7 callersFunctionpanel
(title: string, lines: string[])
packages/cli/src/index.ts:23226
↓ 7 callersFunctionparseJsonc
(raw: string)
packages/cli/src/index.ts:7417
↓ 7 callersFunctionparse_capabilities
§4 tolerant reader. Raises MiddlewareError('unsupported_version') only for step-1 failures.
packages/sdk/python/caveman_cloud/middleware/protocol.py:88
↓ 7 callersFunctionpassive
(reason:string)
packages/middleware/typescript/src/langchain-model.ts:62
↓ 7 callersFunctionpick
pick returns one or many by count, for titles like "1 rule loads".
proxy/internal/store/detect_memory_health.go:311
↓ 7 callersMethodplan
plan decides every warm of one idle stream up front by backward induction (optimal stopping). Warm k at k*delay costs warm and extends the cache from
proxy/internal/gateway/cache_warm_table.go:304
↓ 7 callersFunctionplanRespBody
planRespBody carries provider cache counters so the session ledger has real numbers to account.
proxy/internal/gateway/breakpoint_plan_test.go:31
↓ 7 callersFunctionpositionalAfterOptions
(values: string[], optionsWithValues: Set<string>)
packages/cli/src/index.ts:21322
↓ 7 callersFunctionpost
(path: string, body: unknown)
packages/cli/src/index.ts:22675
↓ 7 callersFunctionqwenConfigPath
()
packages/cli/src/index.ts:15221
↓ 7 callersFunctionqwenHomeState
()
packages/cli/src/index.ts:15179
↓ 7 callersFunctionread
(home string, port int)
proxy/internal/runstate/runstate.go:180
↓ 7 callersFunctionreadGenerationBytes
(t *testing.T, path string)
engine/ccr/store_generation_test.go:189
↓ 7 callersFunctionreleaseArtifactName
(name, goos, arch)
scripts/build-release-binaries.mjs:130
↓ 7 callersFunctionrender
(active: boolean)
packages/cli/src/modules/onboard.ts:691
↓ 7 callersFunctionresolve_scope
Normalized Scope from a fixed value or a trusted resolver, else None (``invalid_scope``, warned once). A resolver that raises (for example a miss
packages/middleware/python/caveman_middleware/_guard.py:24
← previousnext →701–800 of 12,391, ranked by callers