MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

↓ 16 callersFunctionrecovered
(t *testing.T, r *Runtime, scope Scope, handle, principal string)
proxy/internal/middleware/acceptance_test.go:64
↓ 16 callersMethodrecovery
A schema or a look-alike object cannot create this executable binding. The scope is normalized (spec §9); an * invalid scope returns null, or raise
packages/sdk/typescript/src/middleware/runtime.ts:273
↓ 16 callersMethodsettings
settings re-reads the CLI state when cloud.json or the credentials file changed (login, logout, token refresh and `caveman on|off` all rewrite cloud.j
proxy/internal/cloudlink/link.go:214
↓ 16 callersFunctiontoStub
toStub sends every upstream request to the stub server instead.
proxy/internal/gateway/route_test.go:140
↓ 16 callersFunctionuntouched
(value)
packages/middleware/python/tests/test_behavior.py:54
↓ 16 callersMethodwait
( self, job_id: str, *, interval_s: float = 0.5, timeout_s: float = 60
packages/sdk/python/caveman_cloud/core.py:1459
↓ 16 callersFunctionwriteClaudeProject
(t *testing.T, root, slug, file string, lines []string)
proxy/internal/store/trial_feature_test.go:377
↓ 15 callersFunctionDefaultTransformOptions
(model string)
engine/pixel/types.go:152
↓ 15 callersFunctionNew
New builds a Provider from opts.
shared/platform/awscreds/awscreds.go:111
↓ 15 callersFunctionTransformAnthropic
(body []byte, opts TransformOptions)
engine/pixel/transform_anthropic.go:109
↓ 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:8806
↓ 15 callersFunctionbytesHash
(bytes: Buffer)
packages/cli/src/index.ts:8802
↓ 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 callersFunctiongatewayHostPort
(gw = gatewayURL())
packages/cli/src/index.ts:23644
↓ 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:3535
↓ 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:2833
↓ 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 callersFunctionNewSession
(eng *engine.Engine, driver Driver, log *slog.Logger)
browse/session.go:67
↓ 14 callersFunctionNewTabular
NewTabular returns the deterministic CSV, TSV, and Markdown-table compressor.
engine/compressors/tabular.go:66
↓ 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 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:23440
↓ 14 callersFunctionmutateRawConfig
(fn: (out: Record<string, unknown>) => void)
packages/cli/src/index.ts:5218
↓ 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:4316
↓ 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:2074
↓ 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 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 callersFunctionAppendObjectFields
AppendObjectFields inserts fields immediately before an object's closing brace. Existing bytes, whitespace, key order, and escapes remain untouched. C
proxy/providers/jsonsplice/jsonsplice.go:199
↓ 13 callersMethodCompressQuery
CompressQuery is Compress with an additional relevance query. An empty query must behave exactly like Compress.
engine/compressors/compressor.go:61
↓ 13 callersMethodError
()
mem/cmd/cavemem/main_test.go:309
↓ 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:189
↓ 13 callersFunctionNewServer
NewServer builds a server over the given ordered tool set. log must write to stderr (never stdout); if nil, logging is discarded. The server name is r
mcp/server.go:75
↓ 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:375
↓ 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 callersFunctionReplaceRaw
ReplaceRaw replaces one JSON value while preserving every byte outside span. replacement must itself be valid JSON. Unlike Replace, it does not quote
proxy/providers/jsonsplice/jsonsplice.go:183
↓ 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 callersFunctionappendUrlPath
(base: string, path: string)
packages/cli/src/index.ts:7889
↓ 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:746
↓ 13 callersFunctioncyan
(s: string)
packages/cli/src/index.ts:23453
↓ 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:641
↓ 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:23619
↓ 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 callersMethodError
()
mcp/codemode/codemode.go:631
↓ 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 callersFunctionObjectSchema
ObjectSchema builds a JSON-Schema object for a tool's inputSchema.
mcp/protocol.go:91
↓ 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 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
← previousnext →301–400 of 12,853, ranked by callers