MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 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 callersFunctionTransformAnthropic
(body []byte, opts TransformOptions)
engine/pixel/transform_anthropic.go:109
↓ 15 callersMethodWrite
(p []byte)
browse/session.go:394
↓ 15 callersMethodactivate
(self, payload=None, extra_env=None, timeout=30)
tests/test_hooks.py:566
↓ 15 callersFunctionatomicWriteFile
(path: string, bytes: Buffer, mode = 0o600)
packages/cli/src/index.ts:8565
↓ 15 callersFunctionbytesHash
(bytes: Buffer)
packages/cli/src/index.ts:8561
↓ 15 callersFunctionconfigTokenCount
configTokenCount uses the engine's offline o200k tokenizer when available. The byte estimate remains an explicit deterministic fallback; callers alway
proxy/internal/store/config_scan.go:200
↓ 15 callersFunctiondecode
(t *testing.T, b []byte)
proxy/providers/openai/cache_key_test.go:31
↓ 15 callersFunctionflush
()
packages/cli/tests/native-enable.runtime.mjs:2642
↓ 15 callersFunctiongatewayHostPort
(gw = gatewayURL())
packages/cli/src/index.ts:23410
↓ 15 callersFunctionjsonArgs
(t *testing.T, v any)
browse/session_test.go:393
↓ 15 callersFunctionprintJSON
(v any)
proxy/cmd/caveman-proxy/main.go:1263
↓ 15 callersFunctionreadMcpServerMarker
(agent: string, serverName: string)
packages/cli/src/index.ts:3526
↓ 15 callersFunctionrecover
(args=None, **kwargs)
packages/middleware/python/caveman_middleware/openai.py:126
↓ 15 callersFunctionrequestAccounting
requestAccounting records request-local counterfactual evidence only after a successful response. JSON keys and string escapes are normalized on both
proxy/internal/gateway/stats_accounting.go:33
↓ 15 callersFunctionresolveGoBin
(name: string, envVar: string)
packages/cli/src/index.ts:2824
↓ 15 callersFunctionresolveScope
(source: ScopeSource<C>, context: C)
packages/middleware/typescript/src/common.ts:93
↓ 15 callersFunctionsendChatGPTAuto
(t *testing.T, srv *Server, path string, body []byte, header map[string]string)
proxy/internal/gateway/chatgpt_auto_test.go:118
↓ 15 callersFunctionsignedIn
(t *testing.T, cloud string)
proxy/internal/cloudlink/pool_test.go:53
↓ 15 callersFunctionwithRuntime
(t *testing.T, f fixture, change func(*Config))
proxy/internal/middleware/protocol_v11_test.go:107
↓ 14 callersFunctionInt
(name string, fallback int)
shared/platform/env/env.go:33
↓ 14 callersFunctionNewTabular
NewTabular returns the deterministic CSV, TSV, and Markdown-table compressor.
engine/compressors/tabular.go:66
↓ 14 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
↓ 14 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
↓ 14 callersMethodWrite
(p []byte)
proxy/internal/gateway/route.go:1537
↓ 14 callersMethodas_async
Cached bounded async view; close() releases its owned worker pools.
packages/sdk/python/caveman_cloud/middleware/runtime.py:294
↓ 14 callersFunctiondetect_file_type
Classify a file as 'natural_language', 'code', 'config', or 'unknown'. Returns: One of: 'natural_language', 'code', 'config', 'unknown'
skills/caveman-compress/scripts/detect.py:90
↓ 14 callersMethodemit
(kind string, fields map[string]any)
proxy/internal/translate/responses_stream.go:120
↓ 14 callersFunctionfatal
(format string, args ...any)
engine/cmd/caveman-engine/main.go:785
↓ 14 callersFunctionfiller
filler is a block big enough to be a compression candidate.
proxy/internal/gateway/cache_prefix_invariant_test.go:222
↓ 14 callersFunctioninstalled_version
(name)
packages/middleware/python/caveman_middleware/_versions.py:20
↓ 14 callersFunctioninteractive
()
packages/cli/src/index.ts:23198
↓ 14 callersFunctionmutateRawConfig
(fn: (out: Record<string, unknown>) => void)
packages/cli/src/index.ts:5208
↓ 14 callersFunctionnewAdapter
(t *testing.T)
proxy/providers/vertex/vertex_test.go:16
↓ 14 callersFunctionnewSubscriptionCompressServer
(comp Compressor, rt *captureTransport, cfg Config)
proxy/internal/gateway/subscription_live_zone_test.go:33
↓ 14 callersFunctionobjectValue
(value: unknown)
packages/cli/src/index.ts:4307
↓ 14 callersMethodrecord
record prices the request from the catalog and writes one truthful row to the sink. Standalone savings are always labeled "inferred".
proxy/internal/gateway/proxy.go:1896
↓ 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 callersFunctionscanSessionSourceUntil
(source sessionSource, since time.Time, slugs []string, beh *behaviorScan, miner *recurringMiner, deadline *be
proxy/internal/store/session_source.go:326
↓ 14 callersFunctionsdk_flavour
``httpx2`` or ``httpx``: the library a provider SDK's public DefaultHttpxClient subclasses.
packages/middleware/python/caveman_middleware/_httpx2.py:21
↓ 14 callersFunctionshould_compress
Return True if the file is natural language and should be compressed.
skills/caveman-compress/scripts/detect.py:155
↓ 14 callersMethodsignedIn
()
proxy/internal/cloudlink/link.go:193
↓ 14 callersFunctiontoStub
toStub sends every upstream request to the stub server instead.
proxy/internal/gateway/route_test.go:140
↓ 14 callersMethodwarn
(msg string, args ...any)
proxy/internal/gateway/recorder.go:135
↓ 14 callersFunctionwarnOnce
(adapter: unknown, reason: unknown, message?: string)
packages/sdk/typescript/src/middleware/protocol.ts:180
↓ 14 callersFunctionwithStore
(s *Store, fn func() (T, error))
engine/ccr/store_generation.go:166
↓ 13 callersMethodCompressQuery
CompressQuery is Compress with an additional relevance query. An empty query must behave exactly like Compress.
engine/compressors/compressor.go:61
↓ 13 callersMethodLookupReplacement
LookupReplacement returns the exact replacement bytes previously emitted for these original bytes plus the CCR handle they disclose, or (nil, RawDecis
proxy/internal/gateway/server.go:180
↓ 13 callersMethodNewUsageScanner
NewUsageScanner returns a sink that the proxy tees the upstream response through. It captures usage from both whole-body (non-stream) and SSE/JSONL (s
proxy/providers/adapter.go:371
↓ 13 callersMethodPassedThrough
PassedThrough reports whether the call returned the input unchanged.
engine/result.go:72
↓ 13 callersFunctionRelay
Relay is the Reply for an upstream that speaks the caller's grammar and was sent the caller's own bytes (the Caveman Cloud gateway): its answer goes t
proxy/internal/translate/translate.go:746
↓ 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 callersFunctionSelfHostedConfig
SelfHostedConfig returns a Config with ManagedMode disabled and the given allowlist.
shared/platform/ssrf/ssrf.go:183
↓ 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:1226
↓ 13 callersFunctionbearer
(token string)
proxy/internal/identity/identity_test.go:30
↓ 13 callersFunctionbool
(raw: Raw, key: string)
supabase/functions/cli-telemetry/ingest.ts:61
↓ 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:737
↓ 13 callersFunctioncyan
(s: string)
packages/cli/src/index.ts:23211
↓ 13 callersMethodflush
flush returns once every row submitted before it is written.
proxy/internal/gateway/recorder.go:79
↓ 13 callersMethodget
get returns key's session, making it when create is set; the caller holds mu.
proxy/internal/gateway/route.go:637
↓ 13 callersMethodlast
(path string)
proxy/internal/gateway/route_pool_test.go:124
↓ 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 callersFunctionopen
()
mem/cmd/cavemem/main.go:116
↓ 13 callersMethodpaths
(self, name=None)
packages/sdk/python/tests/test_middleware_v1_1.py:82
↓ 13 callersMethodpause
pause stops asking for d; asks meanwhile answer with what.
proxy/internal/cloudlink/link.go:1468
↓ 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 callersFunctionportListening
(host: string, port: number)
packages/cli/src/index.ts:23385
↓ 13 callersFunctionpostResponses
(t *testing.T, srv *Server, body string)
proxy/internal/gateway/route_effort_responses_test.go:52
↓ 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 callersFunctionrelease
Stable releases only, deliberately: a prerelease (`7.1.0-canary.3`) is outside every range, reports * `unsupported_version`, and runs only with `acce
packages/middleware/typescript/src/versions.ts:54
↓ 13 callersMethodresult
result applies the recurrence + weight thresholds and returns entries ordered deterministically (by total recurring weight, then fingerprint).
proxy/internal/store/recurring.go:356
↓ 13 callersFunctionruntimeOn
runtimeOn is a compress-mode runtime over s with the fixtures' identity.
proxy/internal/middleware/postgres_test.go:196
↓ 13 callersFunctionsay
(line: string)
packages/cli/src/modules/onboard.ts:601
↓ 13 callersMethodsend
(self, prompt, session_id)
tests/test_mode_tracker.py:358
↓ 13 callersFunctionspawnOk
(r)
installer/install.js:512
↓ 13 callersFunctiontok
tok is raw when it is a string token, else "" (a missing id or name).
proxy/internal/translate/jsonfast.go:527
↓ 13 callersMethoduser
user appends a user turn.
proxy/internal/gateway/cache_prefix_invariant_test.go:270
↓ 13 callersFunctionvalidate_inline_codes
(orig, comp, result)
skills/caveman-compress/scripts/validate.py:365
↓ 13 callersFunctionwithOwner
(attempt: Attempt, fn: () => T)
packages/middleware/typescript/src/common.ts:23
↓ 12 callersFunctionManagedConfig
ManagedConfig returns a Config with ManagedMode enabled and no allowlist.
shared/platform/ssrf/ssrf.go:179
↓ 12 callersFunctionMeasureContentCols
(text string, maxCols, markerScale int)
engine/pixel/render.go:175
↓ 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 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:114
↓ 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 callersMethod_write
(self, dirpath, name, body)
tests/test_detect.py:69
↓ 12 callersFunctionaddLogin
addLogin writes a provider login the way `caveman providers add` does, on the file store.
proxy/internal/cloudlink/pool_test.go:20
↓ 12 callersFunctionanthropicEvents
(t *testing.T, body string)
proxy/internal/translate/helpers_test.go:104
↓ 12 callersFunctionappendJoined
appendJoined appends one JSON string holding prefix, then the string tokens (raw JSON string tokens) joined by sep (already escaped, e.g. `\n`), witho
proxy/internal/translate/jsonfast.go:311
↓ 12 callersFunctionappendUrlPath
(base: string, path: string)
packages/cli/src/index.ts:7671
↓ 12 callersFunctionapply
(t *testing.T, body string, policy providers.TransformPolicy)
proxy/providers/anthropic/cache_breakpoints_test.go:16
↓ 12 callersMethodarm
arm records a stream's last request (class, start) for the table and, when req is not nil, keeps its cache entry warm by req.plan. startedAt is when t
proxy/internal/gateway/cache_warm.go:235
← previousnext →301–400 of 12,391, ranked by callers