MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions13,382 in github.com/JuliusBrussee/caveman

↓ 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 callersFunctionconfig
(refreshTimeoutMs = 5000)
packages/cli/src/index.ts:23585
↓ 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 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:9030
↓ 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 callersFunctionsdk_flavour
``httpx2`` or ``httpx``: the library a provider SDK's public DefaultHttpxClient subclasses.
packages/middleware/python/caveman_middleware/_httpx2.py:21
↓ 16 callersFunctionsendChatGPTAuto
(t *testing.T, srv *Server, path string, body []byte, header map[string]string)
proxy/internal/gateway/chatgpt_auto_test.go:118
↓ 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 callersFunctionwalk
(root, directory = root)
extension/scripts/verify-extension-stage.mjs:29
↓ 16 callersFunctionwriteClaudeProject
(t *testing.T, root, slug, file string, lines []string)
proxy/internal/store/trial_feature_test.go:377
↓ 15 callersMethodCompressQuery
CompressQuery is Compress with an additional relevance query. An empty query must behave exactly like Compress.
engine/compressors/compressor.go:61
↓ 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:8908
↓ 15 callersFunctionbytesHash
(bytes: Buffer)
packages/cli/src/index.ts:8904
↓ 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 callersMethodemit
(kind string, fields map[string]any)
proxy/internal/translate/responses_stream.go:120
↓ 15 callersFunctionextract_numbers
Every numeric value in the text, thousands separators normalized away. Code blocks, inline spans, URLs and paths are deliberately NOT masked out
skills/caveman-compress/scripts/validate.py:315
↓ 15 callersFunctiongatewayHostPort
(gw = gatewayURL())
packages/cli/src/index.ts:24148
↓ 15 callersFunctionjsonArgs
(t *testing.T, v any)
browse/session_test.go:393
↓ 15 callersFunctionobjectValue
(value: unknown)
packages/cli/src/index.ts:4369
↓ 15 callersMethodpaths
(self, name=None)
packages/sdk/python/tests/test_middleware_v1_1.py:82
↓ 15 callersFunctionprintJSON
(v any)
proxy/cmd/caveman-proxy/main.go:1271
↓ 15 callersFunctionreadMcpServerMarker
(agent: string, serverName: string)
packages/cli/src/index.ts:3579
↓ 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:2877
↓ 15 callersFunctionresolveScope
(source: ScopeSource<C>, context: C)
packages/middleware/typescript/src/common.ts:93
↓ 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 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
↓ 14 callersFunctionError
(w http.ResponseWriter, r *http.Request, status int, code, message string)
shared/platform/httpx/httpx.go:41
↓ 14 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:213
↓ 14 callersFunctionNewSession
(eng *engine.Engine, driver Driver, log *slog.Logger)
browse/session.go:67
↓ 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 callersFunctionfatal
(format string, args ...any)
engine/cmd/caveman-engine/main.go:833
↓ 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:23944
↓ 14 callersFunctionmutateRawConfig
(fn: (out: Record<string, unknown>) => void)
packages/cli/src/index.ts:5270
↓ 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 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:2382
↓ 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 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 callersMethodApply
Apply selects lines by score and renders them: kept lines verbatim, one marker line per removed run.
engine/trim2/trim.go:423
↓ 13 callersMethodError
()
mem/cmd/cavemem/main_test.go:309
↓ 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 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:8028
↓ 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:1234
↓ 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:765
↓ 13 callersFunctioncyan
(s: string)
packages/cli/src/index.ts:23957
↓ 13 callersFunctionf
(x float64)
engine/trim2/features.go:1102
↓ 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:664
↓ 13 callersFunctioninArticle
inArticle wraps markup in a page the article extractor accepts.
engine/compressors/html_table_test.go:14
↓ 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 callersFunctionobjectRoot
objectRoot spans a body that is one JSON object. Unlike jsonsplice.Root it does not validate every byte again: a routed body already parsed as JSON (t
proxy/internal/gateway/route.go:1261
↓ 13 callersFunctionopen
()
mem/cmd/cavemem/main.go:116
↓ 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:24123
↓ 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:603
↓ 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
← previousnext →301–400 of 13,382, ranked by callers