MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 21 callersFunctioninvokePath
(model, action string)
proxy/providers/bedrock/bedrock_test.go:21
↓ 21 callersFunctioninvokedCommand
(legacyVerb: string, groupedTail = "")
packages/cli/src/index.ts:842
↓ 21 callersFunctionnewStore
(t *testing.T)
mem/store_test.go:11
↓ 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
↓ 20 callersMethodApplyProviderNativeTransforms
(ctx context.Context, body BodyReader, meta RequestMetadata, policy TransformPolicy)
proxy/providers/adapter.go:361
↓ 20 callersMethodCredentials
Credentials returns credentials for signing, refreshing them when they are within five minutes of expiry.
shared/platform/awscreds/awscreds.go:172
↓ 20 callersMethodInspectRequest
(ctx context.Context, body BodyReader, headers http.Header)
proxy/providers/adapter.go:360
↓ 20 callersMethodRetrieve
(handle string)
mcp/engine_tools.go:21
↓ 20 callersMethodSummary
Summary aggregates the in-memory recoveries into totals + per-type buckets.
engine/ccr/store_wasm.go:220
↓ 20 callersFunctioncanonicalMcpConfigPath
(path: string)
packages/cli/src/index.ts:15236
↓ 20 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
↓ 20 callersFunctionensure_async
Async view of either runtime type. Other objects pass through.
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:200
↓ 20 callersFunctionerrorBody
errorBody is Anthropic's 400 envelope around message.
proxy/internal/gateway/route_effort_test.go:332
↓ 20 callersFunctionisolatedCliEnv
(extra = {})
packages/cli/tests/_cli.mjs:10
↓ 20 callersFunctionnote
tests/middleware-e2e/run.mjs:26
↓ 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
↓ 20 callersMethodrun
()
tests/test_compress_concurrency.py:287
↓ 20 callersMethodrun_cmd
(self, cmd, home, extra_env=None)
tests/test_hooks.py:28
↓ 20 callersFunctionruntime_with
(peer, **options)
packages/sdk/python/tests/test_middleware_v1_1.py:116
↓ 20 callersFunctionsum
(v []float64)
proxy/internal/gateway/cache_warm_table_test.go:208
↓ 19 callersMethodMatchRoute
(method string, path string)
proxy/providers/adapter.go:352
↓ 19 callersFunctionNewJSON
NewJSON returns the default JSON/tool-output compressor.
engine/compressors/json.go:61
↓ 19 callersFunctionNewLog
NewLog returns the default log/build-output compressor.
engine/compressors/log.go:76
↓ 19 callersFunctionNewRepetition
NewRepetition returns the default repetition (run-length) compressor.
engine/compressors/repetition.go:38
↓ 19 callersMethodSaveScope
(s MiddlewareScope)
proxy/internal/store/middleware.go:290
↓ 19 callersMethodStart
Start begins reading the CLI state now, off any request: a keychain read starts here, so the first request after a start finds its credential. From he
proxy/internal/cloudlink/link.go:156
↓ 19 callersFunction_client_holding
(bundle: str)
packages/sdk/python/tests/test_runtime_policy.py:654
↓ 19 callersFunctionchatStream
(chunks ...string)
proxy/internal/translate/helpers_test.go:84
↓ 19 callersFunctioncontentHandle
(original []byte)
proxy/internal/gateway/live_zone_test.go:328
↓ 19 callersFunctioneachMiddlewareBackend
eachMiddlewareBackend runs test on SQLite, and on Postgres when CAVEMAN_TEST_POSTGRES_URL names a database the test may create schemas in. Each Postgr
proxy/internal/store/middleware_backend_test.go:29
↓ 19 callersFunctionensure
(condition: bool, message: str)
tests/verify_repo.py:43
↓ 19 callersFunctionensure_sync
Sync view of either runtime type, so sync code paths never receive coroutines. Other objects pass through.
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:195
↓ 19 callersMethodexpired
()
proxy/internal/store/learn.go:963
↓ 19 callersFunctionfetch
(_url, init)
packages/middleware/typescript/tests/drivers.mjs:27
↓ 19 callersFunctionnewPoolCase
(t *testing.T, target *RouteTarget, effort string)
proxy/internal/gateway/route_pool_test.go:161
↓ 19 callersFunctionnodeStub
(dir, name, source)
packages/cli/tests/harness/stub-bin.mjs:42
↓ 19 callersFunctionportableInvocation
(command, args, { platform = process.platform, env = process.env, execPath = process.execPath, allowBu
installer/lib/portable-process.js:104
↓ 19 callersFunctionprefixStableTransport
(turns int)
proxy/internal/gateway/prefix_stability_test.go:180
↓ 19 callersFunctionreadNativeJournal
(agent: string)
packages/cli/src/index.ts:10909
↓ 19 callersMethodstart
(self, *args, **kwargs)
packages/sdk/python/tests/test_middleware_transport.py:141
↓ 19 callersMethodtext
(delta string)
proxy/internal/translate/chat_stream.go:111
↓ 18 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
↓ 18 callersMethodRememberReplacement
RememberReplacement durably records original→replacement (nil under RawDecisionHandle records raw) and returns the AUTHORITATIVE bytes for that origin
proxy/internal/gateway/server.go:195
↓ 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 callersMethodServe
--- answers ---------------------------------------------------------------- Serve writes a 2xx upstream answer to w in the caller's grammar (streamed
proxy/internal/translate/translate.go:370
↓ 18 callersMethodWrite
(p []byte)
browse/session.go:394
↓ 18 callersMethodaclose
(self)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:151
↓ 18 callersFunctionconfigPath
()
packages/cli/src/index.ts:23381
↓ 18 callersMethodexpectedReplacement
expectedReplacement is the exact JSON-encoded string the splice must produce for a block this compressor shrank: compressed bytes, newline, CCR marker
proxy/internal/gateway/prefix_stability_test.go:119
↓ 18 callersFunctionfamily_gate
(runtime, family, adapter=None, accept=False)
packages/middleware/python/caveman_middleware/_versions.py:144
↓ 18 callersMethodinsert
(tx *sql.Tx)
engine/ccr/store_repair.go:535
↓ 18 callersFunctionisNull
isNull reports an absent or null value.
proxy/internal/translate/jsonfast.go:217
↓ 18 callersMethodowns_binding
(self, binding: RecoveryBinding | None, scope: Scope)
packages/sdk/python/caveman_cloud/middleware/runtime.py:369
↓ 18 callersFunctionrecovery_failed
A ``caveman_retrieve`` call the runtime refused (unknown or expired handle, 404/410/503) becomes the ``{"error": code}`` tool result the model rea
packages/middleware/python/caveman_middleware/_guard.py:57
↓ 18 callersMethodstate
What the client holds right now.
packages/sdk/python/caveman_cloud/core.py:2298
↓ 18 callersFunctionwarn
()
packages/cli/src/index.ts:3356
↓ 17 callersMethodFlush
Flush returns once every row recorded so far is in the sink. A reader that must see the request it follows (a session's receipt) calls it first. Witho
proxy/internal/gateway/recorder.go:192
↓ 17 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
↓ 17 callersMethodObserve
(rec RequestRecord)
proxy/internal/gateway/route.go:154
↓ 17 callersMethodRead
(p []byte)
proxy/internal/gateway/route.go:1608
↓ 17 callersFunctionRequest
Request renders the caller's body (grammar from) for upstream wire to. Same-grammar requests are fitted (model, effort, params; Messages bodies get fo
proxy/internal/translate/translate.go:152
↓ 17 callersMethodServe
Serve runs the JSON-RPC loop until in reaches EOF. Framing is line-delimited (the MCP stdio contract): one JSON message per line, each response one co
mcp/server.go:115
↓ 17 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
↓ 17 callersMethodUsage
()
proxy/providers/adapter.go:940
↓ 17 callersMethodWrite
(p []byte)
proxy/internal/gateway/route.go:1564
↓ 17 callersFunctionasJsonObject
(v: unknown)
packages/cli/src/index.ts:7750
↓ 17 callersFunctionbinOf
(a: AgentProfile)
packages/cli/src/index.ts:333
↓ 17 callersFunctioncliVersion
()
packages/cli/src/index.ts:22135
↓ 17 callersMethodencode
(self, *args, **kwargs)
tests/test_compress_safety.py:333
↓ 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:189
↓ 17 callersFunctionflush
()
packages/cli/src/codemode.ts:1212
↓ 17 callersFunctionjsLen
(s string)
engine/pixel/render.go:99
↓ 17 callersFunctionmustPayload
(t *testing.T, body []byte, rules []Rule)
shared/platform/redact/payload_test.go:11
↓ 17 callersFunctionnewPrefixStableServer
(comp Compressor, cache PrefixCache, rt *captureTransport)
proxy/internal/gateway/prefix_stability_test.go:166
↓ 17 callersFunctionobserve
(attempt: Attempt, event: 'dispatch_intent' | 'completed' | 'failed' | 'cancelled', usage: Usage | null = null
packages/middleware/typescript/src/common.ts:25
↓ 17 callersFunctionrawRequest
(t *testing.T, from, to, body string, opts Options)
proxy/internal/translate/helpers_test.go:29
↓ 17 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
↓ 17 callersFunctionrecover
(args=None, **kwargs)
packages/middleware/python/caveman_middleware/openai.py:126
↓ 17 callersMethodretrieve
(handle: string, query: string | undefined, signal: AbortSignal | undefined)
packages/pi-extension/src/recovery.ts:80
↓ 17 callersFunctionsection
(title: str)
tests/verify_repo.py:39
↓ 17 callersMethodstop
(child: ChildProcess | undefined)
packages/pi-extension/src/recovery.ts:214
↓ 17 callersFunctionstubEnv
(base, dir)
packages/cli/tests/harness/stub-bin.mjs:78
↓ 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:39
↓ 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 callersMethodIdentify
Identify resolves the request's principal from its credential alone: a bearer (Authorization: Bearer, or x-cave-api-key for static tokens) decides whe
proxy/internal/identity/identity.go:204
↓ 16 callersFunctionNew
(cfg Config)
proxy/internal/identity/identity.go:166
↓ 16 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:403
↓ 16 callersFunctionNewTerminal
NewTerminal returns the default terminal/command-output compressor.
engine/compressors/terminal.go:53
↓ 16 callersFunctionPrice
Price returns the catalog pricing for an exact provider+model pair along with the catalog version (the entry's verified_at date). When a model is not
shared/platform/catalog/catalog.go:152
↓ 16 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:433
↓ 16 callersMethodSummary
Summary returns aggregate spend across all recorded requests. The savings basis is "inferred" whenever any row carries a non-`verified` basis, which i
proxy/internal/store/store.go:997
↓ 16 callersFunction_bundle_with_policies
(policies: list[Any], **overrides: Any)
packages/sdk/python/tests/test_runtime_policy.py:638
↓ 16 callersFunctionappendComma
appendComma appends a comma unless dst ends an opening bracket.
proxy/internal/translate/jsonfast.go:300
↓ 16 callersFunctionclaudeConfigDir
(env: NodeJS.ProcessEnv = process.env)
packages/cli/src/index.ts:7893
↓ 16 callersFunctionconfig
(refreshTimeoutMs = 5000)
packages/cli/src/index.ts:23081
↓ 16 callersMethodcreate
(self, messages, *, tools=(), tool_choice="auto", json_output=None, extra_create_args={}, cancellation_token=N
packages/middleware/python/caveman_middleware/autogen.py:306
↓ 16 callersFunctiondecodeTool
(t *testing.T, raw json.RawMessage)
mcp/server_test.go:64
↓ 16 callersFunctionint64FromAny
(v any)
proxy/internal/store/usage_import.go:546
↓ 16 callersFunctionopenElem
openElem starts one more element of a JSON array being built in arr: '[' before the first, a comma before every other (the caller closes it).
proxy/internal/translate/jsonfast.go:519
↓ 16 callersFunctionparseJsonFileObject
(path: string, bytes: Buffer | null)
packages/cli/src/index.ts:8928
← previousnext →201–300 of 12,853, ranked by callers