Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,853 in github.com/JuliusBrussee/caveman
⨍
Functions
12,853
◇
Types & classes
1,364
↳
Endpoints
5
↓ 1 callers
Function
isChangedDiffLine
isChangedDiffLine reports whether line is an added/removed hunk line. It deliberately does NOT exclude lines whose second byte is '+'/'-'. That test
engine/compressors/diff.go:135
↓ 1 callers
Function
isChatCompletionsShape
isChatCompletionsShape reports whether root is a Chat Completions body, using the same top-level discriminators applyOutputBrevity already uses: Respo
proxy/providers/openai/stream_usage.go:81
↓ 1 callers
Function
isChatGPTEventStream
(header http.Header)
proxy/internal/gateway/chatgpt.go:729
↓ 1 callers
Function
isClaudeRuntimeHook
(command: unknown)
packages/cli/src/index.ts:11602
↓ 1 callers
Function
isCleanAnthropicToolContinuation
(body []byte, root jsonsplice.Span)
proxy/providers/turneffort.go:142
↓ 1 callers
Function
isCleanChatToolContinuation
(body []byte, root jsonsplice.Span)
proxy/providers/turneffort.go:280
↓ 1 callers
Function
isCleanResponsesToolContinuation
(body []byte, root jsonsplice.Span)
proxy/providers/turneffort.go:239
↓ 1 callers
Function
isCliEntrypoint
()
packages/cli/src/index.ts:23654
↓ 1 callers
Function
isCodeModeTool
(name: string)
packages/pi-extension/src/index.ts:380
↓ 1 callers
Function
isCommentNode
(t string)
engine/compressors/code_cgo.go:290
↓ 1 callers
Function
isContainer
isContainer reports whether an element can be a content container candidate.
engine/compressors/html.go:116
↓ 1 callers
Function
isConvention
(path string)
proxy/internal/repointel/index.go:815
↓ 1 callers
Function
isDeferredToolObject
(objBytes []byte)
proxy/providers/toolzone.go:421
↓ 1 callers
Function
isDiffExtendedHeaderLine
isDiffExtendedHeaderLine reports whether line is one of git's extended headers — the per-file metadata that sits between "diff --git" and the first hu
engine/compressors/diff.go:114
↓ 1 callers
Function
isDiffStructuralLine
(line []byte)
engine/compressors/diff.go:71
↓ 1 callers
Function
isDirectiveComment
isDirectiveComment reports whether a comment carries machine semantics and so must NOT be removed: Go magic comments (//go:build, //go:embed, //go:gen
engine/compressors/code_cgo.go:325
↓ 1 callers
Function
isDumbzoneFix
(record AppliedFixRecord)
proxy/internal/store/learn_outcomes.go:538
↓ 1 callers
Function
isDuplicateColumn
(err error)
engine/ccr/store_sqlite.go:623
↓ 1 callers
Function
isFuncLike
(t string)
engine/compressors/code_cgo.go:245
↓ 1 callers
Function
isGemini25ImageModel
(model string)
engine/image/tokens.go:262
↓ 1 callers
Function
isGemini3ImageModel
(model string)
engine/image/tokens.go:250
↓ 1 callers
Function
isGpt56
(model string)
engine/pixel/density.go:149
↓ 1 callers
Function
isGrammar
(grammar string)
proxy/internal/translate/translate.go:31
↓ 1 callers
Function
isHelpLikeInvocation
()
packages/cli/src/index.ts:1088
↓ 1 callers
Function
isHex
(c byte)
proxy/internal/translate/jsonfast.go:720
↓ 1 callers
Function
isHiResModel
(model string)
engine/pixel/density.go:123
↓ 1 callers
Function
isHomeDirectory
isHomeDirectory reports whether root is the user's home directory, which is never itself a repository: an agent invoked with cwd == home has no projec
proxy/internal/repointel/index.go:268
↓ 1 callers
Function
isIp
(host: string)
packages/sdk/typescript/src/middleware/transport.ts:8
↓ 1 callers
Function
isIp
(host: string)
packages/sdk/typescript/src/middleware/protocol.ts:152
↓ 1 callers
Function
isJSONDelimiter
(c byte)
engine/compressors/toolschema_annotations.go:388
↓ 1 callers
Function
isJSONSpaceByte
(b byte)
proxy/providers/anthropic/breakpoint_plan.go:421
↓ 1 callers
Function
isLeadingSystemOrDeveloperItem
(body []byte, span jsonsplice.Span)
proxy/providers/openai/cached_prefix.go:109
↓ 1 callers
Function
isLetterByte
(b byte)
engine/compressors/toolschema.go:369
↓ 1 callers
Function
isOpenCodeReadFooterLine
(line []byte)
engine/harness_envelopes.go:213
↓ 1 callers
Function
isPathScopedRule
(lines []string)
proxy/internal/store/detect_memory_health.go:174
↓ 1 callers
Function
isPlaceholderAuthorization
(value string)
proxy/internal/gateway/auth_fallback.go:132
↓ 1 callers
Function
isPlaceholderProviderKey
(value string)
proxy/internal/gateway/auth_fallback.go:128
↓ 1 callers
Function
isProviderlessModel
(rawValue)
installer/lib/opencode-agent.js:55
↓ 1 callers
Function
isPureSystemReminderBlock
(body []byte, blk jsonsplice.Span)
proxy/providers/turneffort.go:211
↓ 1 callers
Function
isPythonDocstring
isPythonDocstring reports whether n is a module/class docstring: an expression_statement whose sole child is a plain (non-f, non-bytes) string and whi
engine/compressors/code_cgo.go:345
↓ 1 callers
Function
isReadOnlyTool
(tool: CodeModeToolInput)
packages/middleware/typescript/src/codemode.ts:112
↓ 1 callers
Function
isRecurringFix
(record AppliedFixRecord)
proxy/internal/store/learn_outcomes.go:534
↓ 1 callers
Function
isReferenced
(q querier, id string)
engine/ccr/store_reclaim.go:307
↓ 1 callers
Function
isScorable
isScorable reports whether an element's text volume should contribute a score.
engine/compressors/html.go:106
↓ 1 callers
Function
isShortMechanicalAck
(raw string)
proxy/providers/turneffort.go:83
↓ 1 callers
Function
isSimulatableConfigSink
(sink Sink)
proxy/internal/store/learn_simulate.go:174
↓ 1 callers
Function
isSpaceByte
(b byte)
engine/compressors/toolschema.go:366
↓ 1 callers
Function
isSubset
isSubset reports whether every element of sub also appears in super.
shared/platform/catalog/catalog_test.go:225
↓ 1 callers
Function
isTextHeading
(section []byte)
engine/compressors/text.go:165
↓ 1 callers
Function
isTokenSeparator
isTokenSeparator reports whether c is a boundary between a name and a value, or between path elements, inside a candidate run. `-` is deliberately NO
shared/platform/redact/residual.go:173
↓ 1 callers
Function
isToolEnvelope
(value map[string]any)
engine/compressors/toolschema.go:167
↓ 1 callers
Function
isYYYYMMDD
(s string)
engine/image/tokens.go:203
↓ 1 callers
Function
is_generated
True when line 1 says the file is generated. Its generator rewrites it, so compressing it only spends tokens on text about to be replaced (#1350).
plugins/caveman/skills/caveman-compress/scripts/detect.py:170
↓ 1 callers
Function
is_generated
True when line 1 says the file is generated. Its generator rewrites it, so compressing it only spends tokens on text about to be replaced (#1350).
skills/caveman-compress/scripts/detect.py:170
↓ 1 callers
Function
iso
(minAgo)
tests/test_caveman_stats.js:904
↓ 1 callers
Function
isoWeekKey
(now = new Date())
packages/cli/src/index.ts:5413
↓ 1 callers
Function
isolatedEnv
()
packages/cli/tests/credentials.runtime.mjs:19
↓ 1 callers
Function
isolatedEnv
()
packages/cli/tests/harness-control-api.runtime.mjs:12
↓ 1 callers
Function
isolatedEnv
(root, extraBinDirs = [])
tests/installer/uninstall-safety.test.mjs:44
↓ 1 callers
Function
jetbrainsPluginPresent
(needle)
installer/install.js:378
↓ 1 callers
Function
jetbrainsPresent
()
installer/install.js:373
↓ 1 callers
Function
jetbrainsRoots
(home, env = process.env)
installer/lib/platform-paths.js:34
↓ 1 callers
Function
joinCatalogVersions
(versions map[string]bool)
proxy/internal/store/learn_pricing.go:300
↓ 1 callers
Function
joinContext
(parts ...string)
proxy/internal/nativeruntime/runtime.go:891
↓ 1 callers
Function
joinGptTurns
(turns []GptHistoryTurn, from, toExclusive, skip int)
engine/pixel/history_openai.go:322
↓ 1 callers
Function
joinNonEmpty
(parts []string, sep string)
engine/pixel/transform_anthropic.go:1503
↓ 1 callers
Function
joinUrl
(base: string, path: string)
packages/pi-extension/src/protocol.ts:201
↓ 1 callers
Function
joinedToolName
(namespace, name string)
proxy/internal/translate/responses.go:70
↓ 1 callers
Function
journal
()
packages/cli/tests/modules-apply.runtime.mjs:169
↓ 1 callers
Function
journal
(home)
packages/cli/tests/claude-profiles.runtime.mjs:24
↓ 1 callers
Function
journaledMcpTargetsExist
(journal: NativeJournal | null | undefined)
packages/cli/src/index.ts:8486
↓ 1 callers
Function
journalledMcpCommand
(home)
packages/cli/tests/native-enable.runtime.mjs:1883
↓ 1 callers
Function
jsString
(s string)
browse/cdp.go:423
↓ 1 callers
Function
jsToInt
(v any)
mcp/codemode/js_runner.go:532
↓ 1 callers
Function
json
(result)
packages/cli/tests/provider-logins.runtime.mjs:10
↓ 1 callers
Function
jsonCompact
(v any)
engine/pixel/transform_anthropic.go:1513
↓ 1 callers
Function
jsonDeepEqual
(a, b any)
engine/pixel/transform_gemini_test.go:446
↓ 1 callers
Function
jsonEqual
(t *testing.T, a, b []byte)
engine/cmd/caveman-engine/main_test.go:179
↓ 1 callers
Function
jsonPointerResolves
(root any, ref string)
engine/compressors/toolschema_test.go:441
↓ 1 callers
Function
jsonSchemaOf
jsonSchemaOf is a Messages format object's schema when it is a json_schema one.
proxy/internal/translate/messages_in.go:56
↓ 1 callers
Function
jsonString
(raw json.RawMessage)
proxy/providers/internal/counttokens/counttokens.go:174
↓ 1 callers
Function
jsonable
A JSON copy whose non-plain parts are placeholders for their opaque hash. Plain data serializes as before.
packages/middleware/typescript/src/common.ts:70
↓ 1 callers
Function
junitCases
junitCases renders n <testcase> rows; every tenth fails with a message colored the way test runners print it to a terminal when ansi is set.
engine/compressors/testreport_test.go:377
↓ 1 callers
Function
junitMultiSuite
()
engine/compressors/testreport_test.go:45
↓ 1 callers
Function
kb
(chars)
packages/subagent-tax/lib/report.mjs:25
↓ 1 callers
Function
keepMarker
keepMarker shapes the images that replace a whole Anthropic block. A cache_control on that block moves onto the last image: without it the provider wr
proxy/internal/gateway/pixel.go:143
↓ 1 callers
Method
keepState
keepState stores the state Cloud answered for a session key. An empty one keeps the one there (a compaction or side answer need not carry it); one ove
proxy/internal/cloudlink/link.go:1417
↓ 1 callers
Method
keepWarm
keepWarm warms every warmEvery without other contact, until warmFor after the last ask; one loop at a time.
proxy/internal/cloudlink/warm.go:79
↓ 1 callers
Function
keepsPath
(have, want)
tests/installer/shim-security.test.mjs:189
↓ 1 callers
Method
key
key returns the key for kid. A known kid never waits: a stale set refreshes in the background. An unknown kid (the issuer rotated) waits for one fetch
proxy/internal/identity/oidc.go:199
↓ 1 callers
Method
keyRefused
keyRefused reports a session whose prompt_cache_key a provider refused.
proxy/internal/gateway/route_cache.go:105
↓ 1 callers
Function
keychainDelete
()
packages/cli/src/index.ts:23273
↓ 1 callers
Function
keychainGet
()
packages/cli/src/index.ts:23269
↓ 1 callers
Method
keychainSecret
keychainSecret is the last keychain read; a read never runs on a request goroutine. refresh (cloud.json changed: a login, logout or token refresh) sta
proxy/internal/cloudlink/link.go:269
↓ 1 callers
Function
keychainSet
(token: string)
packages/cli/src/index.ts:23265
↓ 1 callers
Function
keychainSet
(id: string, secret: string)
packages/cli/src/modules/provider-logins.ts:132
↓ 1 callers
Function
killTree
(child)
packages/subagent-tax/run.mjs:134
↓ 1 callers
Function
kiloActiveOrganizationState
()
packages/cli/src/index.ts:16055
↓ 1 callers
Function
kiloConfigInDirectory
(directory: string, source: KiloConfigLocation["source"])
packages/cli/src/index.ts:15143
↓ 1 callers
Function
kiloDatabasePath
()
packages/cli/src/index.ts:16041
← previous
next →
6,001–6,100 of 12,853, ranked by callers