MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions9,729 in github.com/JuliusBrussee/caveman

↓ 15 callersFunctioncontentHandle
(original []byte)
proxy/internal/gateway/live_zone_test.go:328
↓ 15 callersFunctionensure
(condition: bool, message: str)
tests/verify_repo.py:38
↓ 15 callersFunctionjsonArgs
(t *testing.T, v any)
browse/session_test.go:393
↓ 15 callersFunctionnote
tests/middleware-e2e/run.mjs:26
↓ 15 callersFunctionobserve
(attempt: Attempt, event: 'dispatch_intent' | 'completed' | 'failed' | 'cancelled', usage: Usage | null = null
packages/middleware/typescript/src/common.ts:25
↓ 15 callersFunctionreadMcpServerMarker
(agent: string, serverName: string)
packages/cli/src/index.ts:2869
↓ 15 callersFunctionresolveScope
(source: ScopeSource<C>, context: C)
packages/middleware/typescript/src/common.ts:93
↓ 15 callersFunctionwithRuntime
(t *testing.T, f fixture, change func(*Config))
proxy/internal/middleware/protocol_v11_test.go:107
↓ 15 callersFunctionwriteClaudeProject
(t *testing.T, root, slug, file string, lines []string)
proxy/internal/store/trial_feature_test.go:377
↓ 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 callersMethodWrite
(p []byte)
browse/session.go:394
↓ 14 callersMethod_file_with
(self, dirpath: Path, text: str)
tests/test_compress_safety.py:26
↓ 14 callersMethodas_async
Cached bounded async view; close() releases its owned worker pools.
packages/sdk/python/caveman_cloud/middleware/runtime.py:294
↓ 14 callersFunctionbinOf
(a: AgentProfile)
packages/cli/src/index.ts:141
↓ 14 callersFunctioncliVersion
()
packages/cli/src/index.ts:18312
↓ 14 callersFunctionconfig
()
packages/cli/src/index.ts:19254
↓ 14 callersFunctioncyan
(s: string)
packages/cli/src/index.ts:19606
↓ 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 callersFunctioninstalled_version
(name)
packages/middleware/python/caveman_middleware/_versions.py:20
↓ 14 callersFunctionint64FromAny
(v any)
proxy/internal/store/usage_import.go:546
↓ 14 callersFunctioninteractive
()
packages/cli/src/index.ts:19593
↓ 14 callersFunctionisolatedCliEnv
(extra = {})
packages/cli/tests/_cli.mjs:10
↓ 14 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/vertex/vertex_test.go:16
↓ 14 callersFunctionprintJSON
(v any)
proxy/cmd/caveman-proxy/main.go:1159
↓ 14 callersFunctionrecovery_name_conflict
A host tool already owns ``caveman_retrieve``: recovery stays off for this registration. Reported through ``decline()`` so hosts get the ``on_dia
packages/middleware/python/caveman_middleware/_guard.py:76
↓ 14 callersFunctionsdk_flavour
``httpx2`` or ``httpx``: the library a provider SDK's public DefaultHttpxClient subclasses.
packages/middleware/python/caveman_middleware/_httpx2.py:21
↓ 14 callersFunctionwarnOnce
(adapter: unknown, reason: unknown, message?: string)
packages/sdk/typescript/src/middleware/protocol.ts:180
↓ 13 callersMethodPassedThrough
PassedThrough reports whether the call returned the input unchanged.
engine/result.go:72
↓ 13 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:118
↓ 13 callersFunctionResolveDensity
ResolveDensity maps a reader model and requested level to a render profile. Fail-closed rules: an unrecognised model resolves to conservative geometry
engine/pixel/density.go:84
↓ 13 callersFunctionRoundUSD
RoundUSD matches the Decimal128(10) storage scale used by ClickHouse. Six decimal places zeroed legitimate sub-micro costs (for example one GPT-5.4 na
shared/platform/cost/cost.go:58
↓ 13 callersFunctionapplyAtEndpoint
(t *testing.T, body, endpoint string, policy providers.TransformPolicy)
proxy/providers/openai/cache_key_test.go:21
↓ 13 callersFunctionargFlag
(args []string, name, fallback string)
proxy/cmd/caveman-proxy/main.go:1122
↓ 13 callersFunctionbearer
(token string)
proxy/internal/identity/identity_test.go:30
↓ 13 callersFunctioncandidates
(n=1, size=400)
packages/sdk/python/tests/test_middleware_v1_1.py:102
↓ 13 callersFunctioncommaInt
commaInt renders 1234567 as "1,234,567"; shared by the template and the TLDR.
proxy/internal/store/report.go:258
↓ 13 callersFunctioncommandUsage
(suffix: string)
packages/cli/src/index.ts:387
↓ 13 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:109
↓ 13 callersFunctionflush
()
packages/cli/tests/native-enable.runtime.mjs:1125
↓ 13 callersFunctionmanifest
Digest the longest head of ``items`` inside the byte/item budget (``manifest_window``); never bypass for size. None only for structurally unusable
packages/middleware/python/caveman_middleware/_native.py:83
↓ 13 callersFunctionnarrowToQuery
narrowToQuery splits stored content into whole units, BM25-ranks them against the query, and returns the relevant ones in their original order, markin
engine/retrieve_query.go:59
↓ 13 callersFunctionnewPAYGPrefixServer
newPAYGPrefixServer builds the PAYG compress session the probe used: a BYOK key (so the request classifies payg), MCP recovery (so the marker-only pat
proxy/internal/gateway/prefix_stability_payg_test.go:29
↓ 13 callersFunctionnodeStub
(dir, name, source)
packages/cli/tests/harness/stub-bin.mjs:42
↓ 13 callersMethodpaths
(self, name=None)
packages/sdk/python/tests/test_middleware_v1_1.py:82
↓ 13 callersFunctionpayghTransport
(turns int, resp string)
proxy/internal/gateway/prefix_stability_payg_test.go:43
↓ 13 callersFunctionplural
(n int, noun string)
proxy/internal/store/report.go:598
↓ 13 callersMethodrecovery
Owned caveman_retrieve binding, or None for an unusable scope (raises invalid_scope in strict mode).
packages/sdk/python/caveman_cloud/middleware/runtime.py:349
↓ 13 callersFunctionruntimeOn
runtimeOn is a compress-mode runtime over s with the fixtures' identity.
proxy/internal/middleware/postgres_test.go:196
↓ 13 callersFunctionsection
(title: str)
tests/verify_repo.py:34
↓ 13 callersFunctionstubEnv
(base, dir)
packages/cli/tests/harness/stub-bin.mjs:78
↓ 13 callersMethodwarn
(message string, err error)
proxy/internal/middleware/runtime.go:705
↓ 13 callersFunctionwithOwner
(attempt: Attempt, fn: () => T)
packages/middleware/typescript/src/common.ts:23
↓ 12 callersMethodCompressQuery
CompressQuery is Compress with an additional relevance query. An empty query must behave exactly like Compress.
engine/compressors/compressor.go:61
↓ 12 callersFunctionInt
(name string, fallback int)
shared/platform/env/env.go:33
↓ 12 callersFunctionManagedConfig
ManagedConfig returns a Config with ManagedMode enabled and no allowlist.
shared/platform/ssrf/ssrf.go:159
↓ 12 callersFunctionMeasureContentCols
(text string, maxCols, markerScale int)
engine/pixel/render.go:174
↓ 12 callersFunctionNewSession
(eng *engine.Engine, driver Driver, log *slog.Logger)
browse/session.go:67
↓ 12 callersFunctionPayload
Payload scrubs a captured request or response body and returns the redacted bytes plus the evidence of what was removed. On ANY error it returns a ni
shared/platform/redact/payload.go:474
↓ 12 callersFunctionSelfHostedConfig
SelfHostedConfig returns a Config with ManagedMode disabled and the given allowlist.
shared/platform/ssrf/ssrf.go:163
↓ 12 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:787
↓ 12 callersFunction_cave
()
packages/sdk/python/tests/test_trace_continuity.py:27
↓ 12 callersFunction_drive
(family, runtime, scope, **options)
packages/middleware/python/tests/test_behavior.py:536
↓ 12 callersFunction_loaded_client
A client holding the fixture bundle (signature verified against the pin).
packages/sdk/python/tests/test_runtime_policy.py:124
↓ 12 callersMethodactivate
(self, payload=None, extra_env=None, timeout=30)
tests/test_hooks.py:263
↓ 12 callersFunctionapply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/anthropic/cache_breakpoints_test.go:16
↓ 12 callersFunctioncachePointsEnabled
()
proxy/providers/bedrock/cache_points_test.go:15
↓ 12 callersFunctioncapturePixelUpstream
(t *testing.T, response string)
proxy/internal/gateway/pixel_test.go:56
↓ 12 callersFunctioneachStore
eachStore runs test on SQLite and, when CAVEMAN_TEST_POSTGRES_URL is set, on a fresh Postgres schema.
proxy/internal/middleware/postgres_test.go:141
↓ 12 callersMethodexport
* POST buffered spans to standard OTLP/HTTP `{baseURL}/v1/traces`. * Returns ExportTraceServiceResponse JSON. No-op when nothing is buffered.
packages/sdk/typescript/src/index.ts:2307
↓ 12 callersFunctionfamilyTokens
(retro *LearnRetro, id string)
proxy/internal/store/learn_retro_test.go:156
↓ 12 callersFunctionframework_import_failed
Raise for an adapter module whose framework import failed. An installed distribution outside the tested range names its version and the range
packages/middleware/python/caveman_middleware/_versions.py:125
↓ 12 callersFunctionguard
(runtime: MiddlewareRuntime, adapter: string, signal: AbortSignal | null | undefined, work: () => T | Promis
packages/middleware/typescript/src/guard.ts:6
↓ 12 callersFunctionnewClock
()
shared/platform/awscreds/awscreds_test.go:25
↓ 12 callersFunctionnewEngine
(t *testing.T)
engine/engine_test.go:31
↓ 12 callersFunctionnewPixelTestServer
(t *testing.T, upstream string, mode string, adapter providers.Adapter, sink TelemetrySink, comp Compressor, r
proxy/internal/gateway/pixel_test.go:43
↓ 12 callersFunctionopen
()
mem/cmd/cavemem/main.go:89
↓ 12 callersFunctionportableInvocation
(command, args, { platform = process.platform, env = process.env, execPath = process.execPath, allowBu
bin/lib/portable-process.js:48
↓ 12 callersFunctionpredictPath
predictPath builds a native Vertex prediction path under the /vertex prefix.
proxy/providers/vertex/vertex_test.go:22
↓ 12 callersMethodpreflight
Nonthrowing discovery, even in strict mode; sends no candidate content.
packages/sdk/python/caveman_cloud/middleware/runtime.py:331
↓ 12 callersMethodready
(self)
packages/sdk/python/caveman_cloud/middleware/runtime.py:324
↓ 12 callersMethodreport
(reason: string)
packages/middleware/typescript/src/mcp.ts:67
↓ 12 callersFunctionresolveGoBin
(name: string, envVar: string)
packages/cli/src/index.ts:2329
↓ 12 callersFunctionscanSessionSourceUntil
(source sessionSource, since time.Time, slugs []string, beh *behaviorScan, miner *recurringMiner, deadline *be
proxy/internal/store/session_source.go:322
↓ 12 callersMethodsnapshotTool
(args json.RawMessage)
browse/session.go:136
↓ 12 callersMethodstop
(child: ChildProcess | undefined)
packages/pi-extension/src/recovery.ts:183
↓ 12 callersFunctionwalk
(root, directory = root)
extension/scripts/verify-extension-stage.mjs:29
↓ 12 callersFunctionwarn_once
Log one WARNING per (adapter, reason) per process (bounded); returns whether it logged. The line carries only `adapter=<id or ->` and `reason=<co
packages/sdk/python/caveman_cloud/middleware/protocol.py:350
↓ 12 callersFunctionwriteRetroClaudeSessions
writeRetroClaudeSessions lays down `sessions` transcripts, each with `usageTurns` provider-counted assistant turns, one unique tool result, and `repea
proxy/internal/store/learn_retro_test.go:44
↓ 12 callersFunctionwriteRetroTranscript
writeRetroTranscript writes one transcript from raw JSONL lines.
proxy/internal/store/learn_retro_test.go:334
↓ 11 callersMethodCountTokensRequest
CountTokensRequest projects the ORIGINAL request. ok=false means no baseline call may be issued.
proxy/providers/adapter.go:377
↓ 11 callersFunctionElements
(body []byte, array Span)
proxy/providers/jsonsplice/jsonsplice.go:64
↓ 11 callersFunctionFactSheetText
(source string, maxChars int)
engine/pixel/factsheet.go:268
↓ 11 callersFunctionHashPayload
HashPayload returns the lowercase hex SHA-256 of a request body, as required for the X-Amz-Content-Sha256 header and the canonical request.
shared/platform/awssig/awssig.go:120
↓ 11 callersFunctionNew
(cfg Config)
proxy/internal/middleware/runtime.go:122
↓ 11 callersFunctionNewTabular
NewTabular returns the deterministic CSV, TSV, and Markdown-table compressor.
engine/compressors/tabular.go:67
← previousnext →201–300 of 9,729, ranked by callers