MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions9,380 in github.com/JuliusBrussee/caveman

↓ 23 callersMethodsend
(self, prompt)
tests/test_mode_tracker.py:39
↓ 23 callersFunctionturnText
(n int)
proxy/internal/gateway/prefix_stability_test.go:152
↓ 22 callersMethodBuildLearnPlanWithRetro
BuildLearnPlanWithRetro is BuildLearnPlan plus the opt-in retrospective pass. With retro disabled the two are the same code path and the same output b
proxy/internal/store/learn.go:156
↓ 22 callersMethodExtractStabilizable
(body []byte, meta providers.RequestMetadata)
proxy/providers/azureopenai/content_compress_test.go:29
↓ 22 callersFunctionNew
(baseURL string)
proxy/providers/gemini/gemini.go:82
↓ 22 callersFunction_refresh_with
(client: RuntimePolicyClient, payload: Any, captured: list[dict[str, Any]] | None = None)
packages/sdk/python/tests/test_runtime_policy.py:107
↓ 22 callersMethodcreate
(self, body: dict[str, Any], *, latency_class: str | None = None, tool_session_id: str | None = None)
packages/sdk/python/caveman_cloud/core.py:1335
↓ 22 callersFunctionplain
(value: unknown)
packages/middleware/typescript/src/common.ts:35
↓ 22 callersMethodrecovery
A schema or a look-alike object cannot create this executable binding.
packages/sdk/typescript/src/middleware/runtime.ts:100
↓ 21 callersMethodCompress
(input []byte, opts engine.Options)
mcp/engine_tools.go:16
↓ 21 callersFunctionDefault
Default returns the engine's shared default counter: the o200k_base BPE tokenizer (the GPT-4o-family encoding), used across every content type. If the
engine/tokens/tokens.go:92
↓ 21 callersMethodWrite
(p []byte)
proxy/providers/adapter.go:750
↓ 21 callersFunction_make_cave
()
packages/sdk/python/tests/test_runtime_policy.py:79
↓ 21 callersFunctioninvokedAs
()
packages/cli/src/index.ts:467
↓ 21 callersFunctioninvokedCommand
(legacyVerb: string, groupedTail = "")
packages/cli/src/index.ts:472
↓ 21 callersFunctionportableInvocation
(command, args, { platform = process.platform, env = process.env, execPath = process.execPath, } = {})
bin/lib/portable-process.js:48
↓ 21 callersFunctionrunCli
(argv, options = {})
packages/cli/tests/_cli.mjs:58
↓ 21 callersMethodruntime_policy
A local runtime-policy client for this project. The client pulls the project's published policy bundle (``GET /sdk/v1/runtime-policy`
packages/sdk/python/caveman_cloud/core.py:892
↓ 21 callersFunctionstableStringify
(value: unknown)
packages/agent/src/context-ir.ts:334
↓ 20 callersMethodBuildLearnPlan
BuildLearnPlan is the front-door analyzer: scan config + real history, compute the detectors, the Cave Score, rank by daily-equivalent magnitude, and
proxy/internal/store/learn.go:150
↓ 20 callersMethodCredentials
Credentials returns credentials for signing, refreshing them when they are within five minutes of expiry.
shared/platform/awscreds/awscreds.go:172
↓ 20 callersFunctionField
(body []byte, object Span, name string)
proxy/providers/jsonsplice/jsonsplice.go:30
↓ 20 callersMethodName
()
proxy/providers/adapter.go:342
↓ 20 callersFunctioncanonicalMcpConfigPath
(path: string)
packages/cli/src/index.ts:11049
↓ 20 callersMethodexporter
Create a one-call OTel exporter bound to this Cave's gateway config. The exporter ships spans to the gateway's OTLP endpoint (``POST
packages/sdk/python/caveman_cloud/core.py:633
↓ 20 callersFunctioninvokePath
(model, action string)
proxy/providers/bedrock/bedrock_test.go:21
↓ 20 callersFunctionrun
run drives the server with the given JSON-RPC request lines and returns the decoded responses plus whatever the server logged (which must be empty on
mcp/server_test.go:32
↓ 19 callersMethodMatchRoute
(method string, path string)
proxy/providers/adapter.go:343
↓ 19 callersFunctionNewRepetition
NewRepetition returns the default repetition (run-length) compressor.
engine/compressors/repetition.go:38
↓ 19 callersFunction_client_holding
(bundle: str)
packages/sdk/python/tests/test_runtime_policy.py:654
↓ 19 callersFunctionnewFixture
(t *testing.T)
proxy/internal/middleware/runtime_test.go:55
↓ 19 callersFunctiontool
( options: ToolOptions<TSchema, unknown> | StandardToolOptions<unknown, unknown, unknown> | Standard
packages/agent/src/primitives.ts:123
↓ 19 callersFunctionwrapMode
(gw = gatewayURL())
packages/cli/src/index.ts:5720
↓ 18 callersFunctionNewLog
NewLog returns the default log/build-output compressor.
engine/compressors/log.go:76
↓ 18 callersFunctionParse
Parse dispatches to the per-format parser. An unknown/misspelled format returns an error (fail-closed) — it never silently passes through. On any par
shared/platform/importers/importers.go:71
↓ 18 callersFunctionResidualRisk
ResidualRisk reports which residual-risk classes a body still exhibits AFTER a Payload pass. An empty result means the body cleared the screen; it doe
shared/platform/redact/residual.go:94
↓ 18 callersFunctioncall
(t *testing.T, r *Runtime, path string, body any, principal string)
proxy/internal/middleware/runtime_test.go:82
↓ 18 callersFunctioncavemanBin
(name: string, envVar: string)
packages/cli/src/index.ts:10438
↓ 18 callersMethodexecute
(arguments=None, **_native_options)
packages/middleware/python/caveman_middleware/mcp.py:56
↓ 18 callersFunctionfindAgent
(requested: string)
packages/cli/src/index.ts:148
↓ 18 callersFunctiongatewayURL
()
packages/cli/src/index.ts:113
↓ 18 callersFunctionnewStore
(t *testing.T)
mem/store_test.go:11
↓ 18 callersMethodstate
What the client holds right now.
packages/sdk/python/caveman_cloud/core.py:2287
↓ 17 callersMethodError
()
proxy/internal/gateway/prefix_stability_test.go:78
↓ 17 callersMethodGetObject
(id string)
engine/ccr/store_wasm.go:135
↓ 17 callersMethodInspectRequest
(ctx context.Context, body BodyReader, headers http.Header)
proxy/providers/adapter.go:351
↓ 17 callersFunctionconfigPath
()
packages/cli/src/index.ts:18551
↓ 17 callersFunctionestimateTokens
estimateTokens is the project's inferred token heuristic (bytes/4), matching the usage importer's roughJSONSize/4 convention. Conservative, determinis
proxy/internal/store/config_scan.go:108
↓ 17 callersMethodexpired
()
proxy/internal/store/learn.go:870
↓ 17 callersFunctionjsLen
(s string)
engine/pixel/render.go:98
↓ 17 callersFunctionmustPayload
(t *testing.T, body []byte, rules []Rule)
shared/platform/redact/payload_test.go:11
↓ 17 callersFunctionnewRecurringMiner
()
proxy/internal/store/recurring.go:98
↓ 17 callersMethodowns_binding
(self, binding: RecoveryBinding | None, scope: Scope)
packages/sdk/python/caveman_cloud/middleware/runtime.py:98
↓ 17 callersFunctionprice
(input, output float64)
proxy/routing/routing_test.go:568
↓ 17 callersMethodreport
(reason: string)
packages/middleware/typescript/src/mcp.ts:57
↓ 16 callersFunctionCandidateActionID
CandidateActionID is a delimiter-safe, stable identity for the complete provider/model/effort tuple. Sixteen digest bytes are enough for compact telem
proxy/routing/routing.go:710
↓ 16 callersMethodDetect
Detect classifies a payload into a content type. It is deterministic and fail-open: anything it is not confident about is "text", which routes to a co
engine/detect.go:43
↓ 16 callersFunctionEngineTools
EngineTools returns the five Caveman compression tools bound to eng. log may be nil. This is the tool set the caveman-mcp binary serves.
mcp/engine_tools.go:35
↓ 16 callersFunctionEstimateUSD
EstimateUSD prices already-classified billable token buckets. Token counts must be disjoint: InputTokens is uncached input; CachedInputTokens is cache
shared/platform/cost/cost.go:38
↓ 16 callersFunctionInt
(name string, fallback int)
shared/platform/env/env.go:33
↓ 16 callersFunction_bundle_with_policies
(policies: list[Any], **overrides: Any)
packages/sdk/python/tests/test_runtime_policy.py:638
↓ 16 callersFunctionaccept
accept returns the reject reason, or "" when the rewrite may be used. Check order is: shape, then saving, then fidelity. The saving check runs before
rewriter/gate.go:111
↓ 16 callersFunctionauto
()
packages/agent/src/primitives.ts:10
↓ 16 callersFunctioncodexHomeDir
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/index.ts:6132
↓ 16 callersFunctiondecode
(t *testing.T, b []byte)
proxy/providers/openai/cache_key_test.go:31
↓ 16 callersFunctiondecodeTool
(t *testing.T, raw json.RawMessage)
mcp/server_test.go:64
↓ 16 callersFunctionoptimizeOK
(t *testing.T, r *Runtime, req OptimizeRequest)
proxy/internal/middleware/runtime_test.go:95
↓ 16 callersFunctionopts
()
shared/platform/importers/importers_test.go:48
↓ 15 callersFunctionDefaultTransformOptions
(model string)
engine/pixel/types.go:152
↓ 15 callersFunctionNew
New builds a Provider from opts.
shared/platform/awscreds/awscreds.go:111
↓ 15 callersFunctionNewToolSchema
NewToolSchema returns the tool-schema / tool-catalog compressor. It is selected by forcing the "toolschema" content type (engine.Options.Type); Detect
engine/compressors/toolschema.go:86
↓ 15 callersMethodRetrieve
(handle string)
mcp/engine_tools.go:17
↓ 15 callersFunctionRoot
(body []byte)
proxy/providers/jsonsplice/jsonsplice.go:21
↓ 15 callersMethodSimulate
Simulate runs the same detect → route → compress → count pipeline as Compress but stores NOTHING (no CCR Put) and makes no network call: a pure dry-ru
engine/engine.go:157
↓ 15 callersFunctionTransformAnthropic
(body []byte, opts TransformOptions)
engine/pixel/transform_anthropic.go:109
↓ 15 callersFunctionasJsonObject
(v: unknown)
packages/cli/src/index.ts:5967
↓ 15 callersFunctioncapsWithContext
(contextTokens float64, keys ...string)
proxy/routing/routing_test.go:584
↓ 15 callersFunctionclose
()
packages/agent/tests/claude.runtime.mjs:265
↓ 15 callersFunctioncontentHandle
(original []byte)
proxy/internal/gateway/live_zone_test.go:328
↓ 15 callersFunctionjsonArgs
(t *testing.T, v any)
browse/session_test.go:393
↓ 15 callersFunctionobserve
(attempt: Attempt, event: 'dispatch_intent' | 'completed' | 'failed' | 'cancelled', usage: Usage | null = null
packages/middleware/typescript/src/common.ts:21
↓ 15 callersFunctionreadMcpServerMarker
(agent: string, serverName: string)
packages/cli/src/index.ts:2639
↓ 15 callersMethodrecord_span
Buffer a span, mapping GenAI fields to ``gen_ai.*`` attributes. Returns the :class:`OTelSpan` (with generated ids) so callers can chain
packages/sdk/python/caveman_cloud/core.py:1661
↓ 15 callersFunctionrun
(agentId, configJson, tag)
packages/cli/tests/wrap.runtime.mjs:850
↓ 15 callersMethodsearch
Search the full catalog via the gateway's ``/sdk/v1/tool-search`` endpoint. Returns a :class:`ToolSearchResult` with the reduced tool list
packages/sdk/python/caveman_cloud/core.py:1372
↓ 14 callersFunctionError
Error removes transport URLs from *url.Error values, including wrapped and joined errors, then applies String redaction. URLs can carry opaque or perc
shared/platform/redact/redact.go:335
↓ 14 callersFunctionNewJSON
NewJSON returns the default JSON/tool-output compressor.
engine/compressors/json.go:60
↓ 14 callersFunctionNewNamed
NewNamed builds a dedicated OpenAI-compatible upstream mounted at compat/<name>/. The provider enum intentionally stays openai_compatible so usage/cos
proxy/providers/openaicompat/openaicompat.go:331
↓ 14 callersMethodRecall
Recall returns the memories most relevant to query, ranked by BM25, filtered by the threshold, and compressed for injection. It fails toward no recall
mem/store.go:411
↓ 14 callersMethodUsage
()
proxy/providers/adapter.go:791
↓ 14 callersMethod_file_with
(self, dirpath: Path, text: str)
tests/test_compress_safety.py:26
↓ 14 callersFunctionbinOf
(a: AgentProfile)
packages/cli/src/index.ts:139
↓ 14 callersFunctionbytesHash
(bytes: Buffer)
packages/cli/src/index.ts:6808
↓ 14 callersFunctionconfig
()
packages/cli/src/index.ts:18278
↓ 14 callersFunctioncyan
(s: string)
packages/cli/src/index.ts:18627
↓ 14 callersFunctionfatal
(format string, args ...any)
engine/cmd/caveman-engine/main.go:764
↓ 14 callersMethodget
Get returns the exact original bytes for a handle, or ErrNotFound.
engine/ccr/store_sqlite.go:566
↓ 14 callersFunctionint64FromAny
(v any)
proxy/internal/store/usage_import.go:549
↓ 14 callersFunctionmatches_framework
Pure version check for adapters retaining a passive per-call delegate. Each pin is `(distribution, minimum, exclusive_maximum)`.
packages/middleware/python/caveman_middleware/_versions.py:49
↓ 14 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/vertex/vertex_test.go:16
← previousnext →101–200 of 9,380, ranked by callers