MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

↓ 4 callersFunctionnewProcedureMiner
()
proxy/internal/store/detect_procedures.go:54
↓ 4 callersFunctionnewReadActivityTracker
()
proxy/internal/store/detect_reread.go:42
↓ 4 callersFunctionnewSSEWriter
(w http.ResponseWriter)
proxy/internal/translate/messages_stream.go:36
↓ 4 callersFunctionnewSessionEventConsumer
(sourceID string, ref sessionRef, slugs []string, behavior *behaviorScan, miner *recurringMiner)
proxy/internal/store/session_source.go:104
↓ 4 callersFunctionnewSocketFreeCompressServer
(adapter providers.Adapter, comp Compressor, rt *captureTransport, creds CredentialResolver)
proxy/internal/gateway/live_zone_test.go:101
↓ 4 callersFunctionnewTokenTestServer
(upstream string, auth Authenticator, sink TelemetrySink)
proxy/internal/gateway/oauth_token_route_test.go:38
↓ 4 callersFunctionobject
(value: unknown)
packages/cli/src/native-hook-fast.ts:86
↓ 4 callersMethodobservation
()
proxy/internal/store/detect_cache_hygiene.go:69
↓ 4 callersFunctionobserveSame
observeSame feeds the monitor one request whose client and forwarded components are the same comma-separated list, all of it cached.
proxy/internal/gateway/prefix_monitor_test.go:17
↓ 4 callersFunctionoidcResolver
(t *testing.T, i *idp, c *clock, oidc OIDC, tokenMapFile string)
proxy/internal/identity/oidc_test.go:91
↓ 4 callersFunctiononAllowlist
onAllowlist reports membership. When prefix is true an entry matches as a prefix of value (for versioned model ids); otherwise it is an exact match.
proxy/providers/bedrock/routing.go:529
↓ 4 callersFunctionopaqueID
opaqueID: a translated answer's id is the runtime's own (prefix plus 24 hex), never one naming the upstream's.
proxy/internal/translate/helpers_test.go:301
↓ 4 callersFunctionopenAIEfforts
openAIEfforts are the reasoning efforts an OpenAI model takes: the catalog's when it lists the model, else the set every current one takes.
proxy/internal/translate/effort.go:210
↓ 4 callersFunctionopenAIMustJSON
(value any)
engine/pixel/transform_openai.go:836
↓ 4 callersFunctionopenAIPixelResponse
()
proxy/internal/gateway/pixel_test.go:455
↓ 4 callersMethodopenGate
(gateway: string, ctx: ExtensionContext, compatUpstreams?: Readonly<Record<string, string>>, providerUpstreams
packages/pi-extension/src/provider.ts:37
↓ 4 callersFunctionopenRouterTarget
()
proxy/internal/gateway/route_cache_test.go:24
↓ 4 callersFunctionopencodeConfigPath
()
packages/cli/src/index.ts:9167
↓ 4 callersFunctionorAnswer
(provider string, cached int)
proxy/internal/gateway/route_cache_test.go:32
↓ 4 callersFunctionownedMcpConfigPlan
( agent: "kilo" | "qwen", path: string, loaded: { bytes: Buffer | null; exists: boolean }, after: Buff
packages/cli/src/index.ts:15013
↓ 4 callersMethodpageWidthPx
pageWidthPx is the pixel width of a page `cols` columns wide: 2*pad + cols*advance + max(0, glyphW-advance).
engine/pixel/density.go:200
↓ 4 callersFunctionparallelSessionScan
parallelSessionScan bounds file-level concurrency to available Go schedulers. Each worker owns its parser state; results merge later in sorted path or
proxy/internal/store/session_source.go:374
↓ 4 callersFunctionparseModeChange
(promptRaw, options)
src/hooks/caveman-parse.js:209
↓ 4 callersFunctionparseModelPath
parseModelPath extracts the model id and action from a bedrock-runtime path of the form /bedrock/model/{modelId}/{action}. The model id may itself con
proxy/providers/bedrock/routing.go:331
↓ 4 callersFunctionparseUsageExport
parseUsageExport reads a provider usage CSV into billed tokens per model.
proxy/internal/store/learn_reconcile.go:134
↓ 4 callersFunctionparseWrapEntitlement
(raw: unknown)
packages/cli/src/index.ts:5143
↓ 4 callersFunctionpatched
(doc, patches)
packages/sdk/python/tests/test_middleware_v1_1.py:40
↓ 4 callersFunctionplan_for
A valid 1.1 plan replacing every sent segment behind a recovery marker.
packages/sdk/python/tests/test_middleware_v1_1.py:56
↓ 4 callersFunctionportHeldByOther
(host: string, port: number, version = probeProxyVersion())
packages/cli/src/index.ts:191
↓ 4 callersFunctionpostgresSchema
postgresSchema returns CAVEMAN_TEST_POSTGRES_URL pointed at a fresh schema, dropped when t ends. Skipped when the variable is unset.
proxy/internal/middleware/postgres_test.go:48
↓ 4 callersFunctionpracticeIDForSink
cache_churn, reread_waste, compaction_churn, cross_provider, and mcp_surface remain unmapped: they are observations, not actionable practice families.
proxy/internal/store/practice_mapping.go:26
↓ 4 callersFunctionprefixModel
prefixModel spans the value of the top-level "model" string in the head of a JSON object (quotes included). ok is false when the head ends first or ho
proxy/internal/gateway/chatgpt_auto.go:412
↓ 4 callersMethodprepare_async
(self, body)
packages/middleware/python/caveman_middleware/_native.py:356
↓ 4 callersFunctionprobeVersionedBinary
(binary: string, requiredCapability: string)
packages/cli/src/index.ts:2848
↓ 4 callersFunctionprocedureCalls
(steps [][2]string, tokens int)
proxy/internal/store/detect_procedures_test.go:8
↓ 4 callersFunctionproseLines
proseLines reports, per line, whether it is prose: outside code fences and a leading YAML frontmatter block.
proxy/internal/store/detect_memory_health.go:289
↓ 4 callersFunctionproviderClient
(cave: Cave, provider: string, prefix: string, upstreamKey?: string)
packages/sdk/typescript/src/index.ts:2075
↓ 4 callersFunctionproviderUsesGeminiTools
(provider, routePath string)
proxy/internal/gateway/retrieve_tool.go:341
↓ 4 callersFunctionproviderUsesResponsesTools
(provider, routePath string)
proxy/internal/gateway/retrieve_tool.go:337
↓ 4 callersFunctionproxyExec
(proxyArgs: string[], env: NodeJS.ProcessEnv, quiet: boolean)
packages/cli/src/index.ts:21247
↓ 4 callersMethodpublish
(keys ...map[string]string)
proxy/internal/identity/oidc_test.go:45
↓ 4 callersFunctionpublishedForwardHeadersOf
(raw: unknown)
packages/cli/src/provider-routing.ts:125
↓ 4 callersFunctionpublishedUpstreamsOf
(raw: unknown)
packages/cli/src/provider-routing.ts:28
↓ 4 callersFunctionquickCheck
quickCheck runs PRAGMA quick_check. It returns nil for an intact database, else the first findings.
engine/ccr/store_integrity.go:35
↓ 4 callersFunctionquote
(value: string)
packages/cli/src/modules/provider-logins.ts:133
↓ 4 callersFunctionqwenMcpEntryMatches
(value: unknown, mcp: { command: string; args: string[] })
packages/cli/src/index.ts:15229
↓ 4 callersFunctionrandomHex
(nBytes: number)
packages/sdk/typescript/src/index.ts:2390
↓ 4 callersMethodraw
Escape hatch: POST a raw body to ``{prefix}{path}`` through the gateway with the standard Caveman headers. Mirrors the TS provider cli
packages/sdk/python/caveman_cloud/core.py:1321
↓ 4 callersFunctionrawForm
rawForm reports whether x is one of the invariant's exceptions: a raw retry, or a PAYG stream that had to go out raw.
proxy/internal/gateway/cache_prefix_invariant_test.go:151
↓ 4 callersFunctionreadLock
()
packages/cli/src/modules/index-file.ts:105
↓ 4 callersFunctionreadPasses
readPasses runs each query and hands every row to visit until the query ends or fails; a failure ends only that pass.
engine/ccr/store_repair.go:428
↓ 4 callersFunctionreadQwenJsonObject
(path: string)
packages/cli/src/index.ts:15261
↓ 4 callersFunctionreadStdin
()
packages/cli/src/index.ts:21371
↓ 4 callersFunctionreadStrictMcpJsonRoot
(path: string)
packages/cli/src/index.ts:14954
↓ 4 callersFunctionreadWrapEntitlement
()
packages/cli/src/index.ts:5163
↓ 4 callersFunctionread_json
(path: Path)
tests/verify_repo.py:79
↓ 4 callersMethodready
(self)
packages/sdk/python/caveman_cloud/middleware/async_runtime.py:89
↓ 4 callersMethodready
Prime capability discovery during app startup, outside the first model call. Raises a refused endpoint or invalid * option, and in strict mode a fr
packages/sdk/typescript/src/middleware/runtime.ts:230
↓ 4 callersFunctionreasonPolicy
(code: string)
packages/sdk/typescript/src/middleware/protocol.ts:10
↓ 4 callersMethodrecord
* Record a tool call. Throws {@link RetryLoopError} once an identical call has * repeated past the threshold. A different call resets the streak.
packages/sdk/typescript/src/index.ts:690
↓ 4 callersMethodrecordChatGPT
(rc RequestContext, r *http.Request, requestID, traceID, endpoint string, start time.Time, status int, errCode
proxy/internal/gateway/chatgpt.go:406
↓ 4 callersMethodrefresh
Fetch the current bundle. Never raises; keeps last-known-good. A transport failure, a bad signature, an unknown schema version, or a
packages/sdk/python/caveman_cloud/core.py:2313
↓ 4 callersMethodrefresh
* Fetch and verify the current bundle (`GET /sdk/v1/runtime-policy`). * * Never throws: a transport error, a bad signature, an unknown schema
packages/sdk/typescript/src/index.ts:1111
↓ 4 callersFunctionregionFromHost
(host string)
proxy/providers/bedrock/routing.go:397
↓ 4 callersFunctionrejectingCloud
rejectingCloud is a fakeCloud whose Reject does what the link's does: the rest of the ask runs the asked model.
proxy/internal/gateway/route_test.go:800
↓ 4 callersMethodrelease
release hands the arena back; the builder is not used after it.
proxy/internal/translate/msgbuild.go:79
↓ 4 callersFunctionreleaseManifest
(named = pinnedRelease)
packages/cli/tests/_binary-release.mjs:19
↓ 4 callersFunctionrenderLiveZonePNGs
(text string, opts pixel.TransformOptions)
proxy/internal/gateway/pixel.go:593
↓ 4 callersMethodreply
()
proxy/internal/gateway/cache_prefix_invariant_test.go:263
↓ 4 callersMethodreport
Report an applied native view, or null when the adapter retained originals. * optimize() only prepares a plan. Adapters call this after validating
packages/sdk/typescript/src/middleware/runtime.ts:301
↓ 4 callersFunctionrepositoryKey
(session Session)
proxy/internal/nativeruntime/runtime.go:886
↓ 4 callersFunctionresolveActiveMode
(claudeDir, sessionId)
src/hooks/caveman-config.js:624
↓ 4 callersFunctionresolveLangChainScope
(source:LangChainScope,config?:RunnableConfig)
packages/middleware/typescript/src/langchain-model.ts:33
↓ 4 callersFunctionresolveWrapGate
( entitlement: WrapEntitlement | null | undefined, now: Date, requestedMode: WrapRuntimeMode, )
packages/cli/src/index.ts:5112
↓ 4 callersMethodresponse
(status string)
proxy/internal/translate/responses_stream.go:138
↓ 4 callersFunctionretrieveArgs
(handle, query string)
mcp/engine_tools_retrieve_test.go:64
↓ 4 callersFunctionretryOnBusy
(fn func() error, maxWait time.Duration, now func() time.Time, sleep func(time.Duration))
engine/ccr/store_sqlite.go:246
↓ 4 callersFunctionreversed
(obj)
packages/cli/tests/native-enable.runtime.mjs:1366
↓ 4 callersFunctionrewritable
rewritable returns the blocks the proxy may rewrite. An ok=false result means the adapter found nothing rewritable at all, which is the strongest form
proxy/providers/openai/recovery_exempt_test.go:16
↓ 4 callersFunctionround
tests/middleware-e2e/perf.mjs:21
↓ 4 callersMethodrunRetrieveLoop
(ctx context.Context, upstream *http.Client, reqURL *url.URL, headers http.Header, reqBody, originalBody []byt
proxy/internal/gateway/retrieve_tool.go:924
↓ 4 callersFunctionrunStatus
(logger *slog.Logger, args []string)
proxy/cmd/caveman-proxy/main.go:595
↓ 4 callersFunctionsafeRelative
(value)
installer/lib/owned-install.js:19
↓ 4 callersFunctionsafeTOONKey
(k string)
engine/compressors/toon_encode.go:410
↓ 4 callersFunctionsameMcpCommand
(left: { command: string; args: string[] } | null, right: { command: string; args: string[] } | null)
packages/cli/src/index.ts:3611
↓ 4 callersFunctionsaveConfig
(cfg: Config)
packages/cli/src/index.ts:22875
↓ 4 callersMethodscanBehaviorUntilForRepo
(sourceSet map[string]bool, since time.Time, cfg configScan, deadline *behaviorDeadline, repoFilter string)
proxy/internal/store/learn.go:989
↓ 4 callersFunctionscanJSONString
scanJSONString returns the end of the string starting at start: the byte after the first quote no backslash escapes. It jumps between quotes with byte
proxy/providers/anthropic/splice.go:156
↓ 4 callersFunctionscanMemory
(row rowScanner, memory *Memory)
mem/store.go:644
↓ 4 callersFunctionscopeValid
(s Scope)
proxy/internal/middleware/validate.go:30
↓ 4 callersFunctionsendCodex
sendCodex sends chatGPTRouteBody as Codex does on its ChatGPT login: no x-cave-agent, its own originator and User-Agent.
proxy/internal/gateway/chatgpt_auto_test.go:680
↓ 4 callersFunctionsessionPrevPath
(claudeDir, sessionId)
src/hooks/caveman-config.js:611
↓ 4 callersMethodsessionStripe
sessionStripe preserves event order within one session without making unrelated coding-agent sessions spend their shared 250 ms hook budget waiting on
proxy/internal/nativeruntime/runtime.go:456
↓ 4 callersFunctionsessionTelemetryState
()
packages/cli/src/index.ts:948
↓ 4 callersMethodsession_mode
(self, session_id)
tests/test_hooks.py:591
↓ 4 callersMethodsetAttribute
(key: string, value: string | number | boolean)
packages/sdk/typescript/src/middleware/runtime.ts:19
↓ 4 callersFunctionsetString
setString sets the string at an object path, making the objects on the way (a null or non-object on the way is replaced). changed is false when the bo
proxy/internal/gateway/route.go:1237
↓ 4 callersFunctionsettle
()
packages/cli/src/modules/onboard.ts:478
↓ 4 callersFunctionsetupInstall
(json: boolean, options: { continuing?: boolean; explicit?: boolean } = {})
packages/cli/src/index.ts:3220
↓ 4 callersFunctionsetupRan
()
packages/cli/src/modules/onboard.ts:107
← previousnext →1,501–1,600 of 12,391, ranked by callers