Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QodeXcli/QodeX
/ functions
Functions
2,011 in github.com/QodeXcli/QodeX
⨍
Functions
2,011
◇
Types & classes
769
↳
Endpoints
3
↓ 14 callers
Method
send
Send a JSON-RPC message (request, response, or notification).
src/mcp/transport.ts:23
↓ 14 callers
Function
stripModuleSyntax
(src: string)
src/artifacts/preview.ts:73
↓ 13 callers
Function
buildPdf
(blocks: PdfBlock[])
src/cli/pdf-lite.ts:74
↓ 13 callers
Function
buildPreviewHtml
(type: ArtifactType, content: string)
src/artifacts/preview.ts:183
↓ 13 callers
Function
card
(label: string, value: string, accent: string)
src/cli/dashboard.ts:48
↓ 13 callers
Function
check
(name: string, cond: boolean)
test/prompt-tiering.test.ts:11
↓ 13 callers
Function
chunk
(file: string, text: string, startLine = 1, endLine = 10)
test/retrieval-embed-resilience.test.ts:11
↓ 13 callers
Function
cosineSim
(a: number[], b: number[])
src/context/retrieval.ts:167
↓ 13 callers
Function
dedupeFinalAgainstStreamed
(rawFinal: string, streamedThisTurn: string)
src/cli/modes/final-dedupe.ts:35
↓ 13 callers
Function
hexToRgb
(hex: string)
src/cli/prompts/gradient.tsx:18
↓ 13 callers
Function
isAuthorized
(platform: Platform, userId: string, allow: AllowConfig)
src/bot/auth.ts:18
↓ 13 callers
Function
proxyFetch
(input: string | URL, init?: RequestInit)
src/utils/proxy-fetch.ts:104
↓ 13 callers
Function
rankEpisodes
(query: string, episodes: Episode[], opts: RankOptions = {})
src/context/episodic-memory.ts:107
↓ 12 callers
Function
allow
(cond: string)
src/tools/shell/code-run.ts:109
↓ 12 callers
Function
buildServerEntry
(spec: McpServerSpec, opts: AddServerOptions = {})
src/mcp/config-writer.ts:47
↓ 12 callers
Function
canOpenBrowser
(env: NodeJS.ProcessEnv = process.env, platform: string = process.platform)
src/artifacts/open-browser.ts:20
↓ 12 callers
Function
check
(name: string, cond: boolean)
test/explain-stream-error.test.ts:8
↓ 12 callers
Method
check
* Pure gate decision for ONE existing file about to be mutated. * `currentMtimeMs` is the file's mtime on disk right now (caller stats it). * No
src/agent/read-ledger.ts:95
↓ 12 callers
Function
detectLanguage
(filePath: string)
src/tools/ast/parser.ts:32
↓ 12 callers
Function
detectStacksFromText
(text: string)
src/llm/prompts/stack-profiles.ts:200
↓ 12 callers
Function
feed
(m: SkillManifest, v: string, runs: Array<{ success: boolean; tokens?: number; durationMs?: number }>)
test/skill-versioning-ucb.test.ts:8
↓ 12 callers
Method
handleMessage
(msg: any)
src/mcp/client.ts:192
↓ 12 callers
Function
initManifest
(skillId: string, author: 'human' | 'machine', confidence = 50, nowIso = '')
src/skills/learning/skill-versioning.ts:73
↓ 12 callers
Function
isHighCapacityModel
(modelId: string)
src/llm/prompts/system.ts:58
↓ 12 callers
Function
lastText
(sent: { text: string }[])
test/bot-commands.test.ts:25
↓ 12 callers
Method
listRecentSessions
(limit = 20, cwd?: string)
src/session/store.ts:259
↓ 12 callers
Function
moveSelection
(current: number, keyName: string | undefined, len: number)
src/setup/prompt.ts:55
↓ 12 callers
Function
readCall
(id: string, path: string, extra: Record<string, unknown> = {})
test/read-cache.test.ts:5
↓ 12 callers
Function
readResult
(id: string, content: string)
test/read-cache.test.ts:12
↓ 12 callers
Method
record
(outputTokens: number, latencyMs: number, draftActive: boolean)
src/llm/speculative.ts:142
↓ 12 callers
Function
renderApproachDiffs
(query: string, matches: ApproachMatch[], opts: { topK?: number } = {})
src/context/approach-diff.ts:122
↓ 12 callers
Function
setSubAgentRunner
(runner: SubAgentRunner | null)
src/tools/builtin/task.ts:69
↓ 12 callers
Function
statusOf
(err: any)
src/utils/retry.ts:72
↓ 12 callers
Function
stripThinkingForDisplay
(text: string)
src/llm/thinking.ts:89
↓ 12 callers
Function
withCacheBreakpoints
( systemText: string, messages: any[], tools: any[] | undefined, systemBoundary?: number, )
src/llm/providers/anthropic.ts:33
↓ 12 callers
Function
withStats
(m: SkillManifest, v: string, exec: number, succ: number)
test/skill-versioning.test.ts:7
↓ 11 callers
Function
analyzeMessages
( sessionId: string, messages: Message[], opts: AnalyzeOptions, )
src/diagnostics/token-analyzer.ts:119
↓ 11 callers
Function
buildSystemPrompt
(ctx: SystemPromptContext)
src/llm/prompts/system.ts:63
↓ 11 callers
Function
countTokens
(text: string | null | undefined)
src/utils/tokenizer.ts:92
↓ 11 callers
Function
fakeTransport
Fake transport that also captures the native command-menu registration.
test/bot-commands.test.ts:7
↓ 11 callers
Function
getArtifact
(cwd: string, id: string, version?: number)
src/artifacts/store.ts:229
↓ 11 callers
Function
has
(t: string)
src/tools/web/seo-audit-logic.ts:159
↓ 11 callers
Function
hasDep
(pkg: any, name: string)
src/tools/frontend/detect-stack.ts:165
↓ 11 callers
Function
inject
(text: string)
test/bot-commands.test.ts:19
↓ 11 callers
Function
inspectOutput
(text: string, hadToolCalls: boolean)
src/agent/output-guardrail.ts:63
↓ 11 callers
Function
parseReceipt
(output: string)
src/schedule/receipt.ts:36
↓ 11 callers
Function
parseSkill
( raw: string, name: string, dir: string, origin: SkillSpec['origin'], )
src/skills/loader.ts:106
↓ 11 callers
Function
pickDominantSkill
( results: Array<{ name: string; score: number; strong?: number }>, opts: { minScore?: number; dominance?:
src/skills/registry.ts:267
↓ 11 callers
Function
redactValue
(key: string, value: unknown)
src/utils/redact.ts:8
↓ 11 callers
Function
refreshSkillRegistry
()
src/skills/registry.ts:18
↓ 11 callers
Function
routeSkillVersion
(manifest: SkillManifest, opts: RouteOptions = {})
src/skills/learning/skill-versioning.ts:180
↓ 11 callers
Function
runCmd
Run a command, capture output, throw on non-zero exit.
src/tools/computer/use.ts:58
↓ 11 callers
Function
runProcess
( bin: string, args: string[], opts: RunProcessOptions = {}, )
src/utils/run-process.ts:52
↓ 11 callers
Function
section
(title: string)
src/setup/prompt.ts:255
↓ 11 callers
Function
setActiveConfig
(cfg: QodexConfig)
src/config/loader.ts:144
↓ 11 callers
Function
withRetry
(fn: (attempt: number) => Promise<T>, opts: RetryOptions = {})
src/utils/retry.ts:122
↓ 10 callers
Function
_resetProxyCacheForTesting
()
src/utils/proxy-fetch.ts:114
↓ 10 callers
Method
api
(method: string, body: unknown)
src/bot/adapters/telegram.ts:23
↓ 10 callers
Function
bootstrap
()
src/index.ts:40
↓ 10 callers
Function
compositeReward
(v: VersionDetail, ref: RewardRef, weights: RewardWeights = DEFAULT_WEIGHTS)
src/skills/learning/skill-versioning.ts:146
↓ 10 callers
Function
detectStacksFromProject
(signals: ProjectSignals)
src/llm/prompts/stack-profiles.ts:218
↓ 10 callers
Method
dispatch
* Dispatch an event. Hooks run sequentially in declaration order so users have * predictable ordering (e.g. lint before format). Returns aggregated
src/hooks/manager.ts:68
↓ 10 callers
Function
exists
(p: string)
src/agent/tool-profile.ts:44
↓ 10 callers
Function
extractFilePathsFromArgs
(args: unknown)
src/hooks/manager.ts:20
↓ 10 callers
Function
extractSseData
(buffer: string)
src/mcp/transport.ts:318
↓ 10 callers
Method
findSymbolsByName
(name: string, kind?: string, limit = 50)
src/codegraph/schema.ts:159
↓ 10 callers
Method
finish
Force the final state out, regardless of throttle.
src/bot/stream-pump.ts:50
↓ 10 callers
Function
gitSetup
Run a git command synchronously in the given dir for test setup.
test/git-tools.test.ts:26
↓ 10 callers
Function
isBinaryBuffer
(buf: Buffer, sampleSize = 8000)
src/utils/binary.ts:38
↓ 10 callers
Function
isExecutionAction
(toolName: string, argsJson: string)
src/agent/scope-guard.ts:26
↓ 10 callers
Function
isPlanningToolCall
(name: string, args: any)
src/agent/preflight-gate.ts:87
↓ 10 callers
Function
kv
(k: string, v: string)
src/cli/maintain-report-export.ts:63
↓ 10 callers
Function
makeConfig
(overrides: Partial<QodexConfig> = {})
test/role-resolver.test.ts:11
↓ 10 callers
Function
makeCtx
(cwd: string)
test/codegraph.test.ts:184
↓ 10 callers
Function
parseDeliveryTarget
(s: string | undefined | null)
src/schedule/delivery.ts:26
↓ 10 callers
Function
proposeParameterizedHelper
(members: FunctionUnit[], helperName = 'extractedHelper')
src/codegraph/helper-extract.ts:236
↓ 10 callers
Method
recentRuns
(scheduleId: string, limit = 10)
src/schedule/store.ts:258
↓ 10 callers
Function
renderInline
(s: string)
src/cli/render/assistant-message.tsx:84
↓ 10 callers
Function
sampleStops
(stops: RGB[], p: number)
src/cli/prompts/gradient.tsx:39
↓ 10 callers
Method
searchFacts
* Search remembered facts by relevance (FTS5 bm25 rank), scoped like getFactsByScope. * Empty/again-unusable query ⇒ []. Falls back to a LIKE scan
src/session/store.ts:387
↓ 10 callers
Function
serializeMessage
(m: Message)
src/llm/cache-layout.ts:28
↓ 10 callers
Function
setCodeGraphDB
(db: CodeGraphDB)
src/codegraph/tools.ts:9
↓ 10 callers
Function
skillContentHash
(md: string)
src/skills/learning/eval-record.ts:42
↓ 10 callers
Function
stripLeakedToolTags
(text: string)
src/llm/thinking.ts:237
↓ 10 callers
Function
ten
(success: boolean, tokens = 0, durationMs = 0)
test/skill-versioning-ucb.test.ts:12
↓ 10 callers
Function
termFreq
(tokens: string[])
src/skills/learning/similarity.ts:26
↓ 10 callers
Function
tryParseJson
(text: string)
src/llm/constrained.ts:45
↓ 9 callers
Function
ageToolResults
(messages: Message[], opts: AgingOptions = {})
src/agent/result-aging.ts:67
↓ 9 callers
Method
begin
* Enter the sandbox. Returns true if isolation is now active, false if it * couldn't be set up (non-git, detached HEAD, etc.) — in which case the c
src/agent/git-sandbox.ts:140
↓ 9 callers
Function
buildDashboardHtml
(d: DashboardData, opts: { token?: string } = {})
src/cli/dashboard.ts:46
↓ 9 callers
Function
buildDirectoryTree
( rootDir: string, options: TreeOptions = {}, )
src/context/tree.ts:102
↓ 9 callers
Function
buildReviewReport
(inputs: ReviewInputs)
src/artifacts/review.ts:93
↓ 9 callers
Function
checkSyntaxForWrite
( absPath: string, beforeContent: string | null, afterContent: string, )
src/tools/ast/syntax-check.ts:134
↓ 9 callers
Function
chunk
(file: string, startLine: number, embedding: number[])
test/retrieval.test.ts:18
↓ 9 callers
Function
classifyCommit
(c: RawCommit)
src/tools/git/classify-commits.ts:32
↓ 9 callers
Function
classifyVisionAnswer
(answer: string)
src/artifacts/review.ts:65
↓ 9 callers
Function
createArtifact
(cwd: string, input: CreateInput, write: WriteFn, now = new Date().toISOString())
src/artifacts/store.ts:171
↓ 9 callers
Function
createNextVersion
( manifest: SkillManifest, author: 'human' | 'machine', opts: { confidence?: number; nowIso?: string } =
src/skills/learning/skill-versioning.ts:96
↓ 9 callers
Method
createSession
(cwd: string, model: string)
src/session/store.ts:197
↓ 9 callers
Function
daysAgo
(d: number)
test/maintain-loop-e2e.test.ts:42
← previous
next →
101–200 of 2,011, ranked by callers