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
↓ 1,603 callers
Method
push
Append streamed text; flush now if the throttle window elapsed, else mark dirty.
src/bot/stream-pump.ts:38
↓ 261 callers
Method
has
(name: string)
src/tools/registry.ts:349
↓ 161 callers
Method
get
(key: string)
src/bot/session-map.ts:26
↓ 122 callers
Method
set
(key: string, sessionId: string)
src/bot/session-map.ts:31
↓ 113 callers
Method
warn
(msg: string, meta?: Record<string, unknown>)
src/utils/logger.ts:73
↓ 100 callers
Method
add
(input: { name: string; cron: string; prompt: string; cwd: string; model?: string; all
src/schedule/store.ts:101
↓ 88 callers
Method
info
(msg: string, meta?: Record<string, unknown>)
src/utils/logger.ts:72
↓ 87 callers
Method
debug
(msg: string, meta?: Record<string, unknown>)
src/utils/logger.ts:71
↓ 75 callers
Method
execute
Run the whole graph to completion (or terminal failure).
src/orchestration/protocol.ts:142
↓ 72 callers
Method
error
(msg: string, meta?: Record<string, unknown>)
src/utils/logger.ts:74
↓ 70 callers
Method
push
Feed one delta; returns the visible text to emit (suppressed spans removed).
src/llm/thinking.ts:154
↓ 60 callers
Function
esc
(s: string)
src/cli/dashboard.ts:40
↓ 58 callers
Function
check
(name: string, cond: boolean)
test/tool-relevance.test.ts:12
↓ 58 callers
Method
run
(ctx: CommandCtx)
src/bot/commands.ts:42
↓ 55 callers
Method
resolve
Find by exact id, id prefix (>=4 chars), or exact name.
src/schedule/store.ts:143
↓ 54 callers
Function
act
(verb: string, icon: string, color: string, category: string)
src/cli/prompts/tool-display.ts:41
↓ 54 callers
Method
write
(level: LogLevel, msg: string, meta?: Record<string, unknown>)
src/utils/logger.ts:56
↓ 47 callers
Function
git
(args: string[], opts: GitOptions)
src/tools/git/git-runner.ts:26
↓ 44 callers
Function
check
(name: string, cond: boolean)
test/artifact-preview.test.ts:10
↓ 43 callers
Function
check
(name: string, cond: boolean)
test/custom-config.test.ts:16
↓ 42 callers
Function
getSessionStore
()
src/session/store.ts:483
↓ 37 callers
Method
abort
Abort the running turn; returns whether one was actually running.
src/bot/commands.ts:21
↓ 37 callers
Function
recoverToolCallsFromText
( text: string, knownToolNames: ReadonlySet<string>, )
src/llm/text-tool-recovery.ts:140
↓ 36 callers
Method
evaluate
* Returns a non-asking decision based purely on policy. * Returns 'ask' when policy is undecided.
src/security/permissions.ts:36
↓ 35 callers
Method
emit
Drop leading whitespace so a stripped leading block leaves no blank top lines.
src/llm/thinking.ts:224
↓ 35 callers
Method
get
(s: 'user' | 'project')
src/tools/builtin/memory.ts:79
↓ 33 callers
Function
check
(name: string, cond: boolean)
test/read-ledger.test.ts:17
↓ 33 callers
Function
f
(n: number)
src/tools/frontend/print/layout.ts:26
↓ 32 callers
Function
assistantWithCall
(name: string, args: string)
test/phase-a.test.ts:109
↓ 32 callers
Function
toolMsg
(name: string, content: string, callId = 'c')
test/phase-a.test.ts:101
↓ 32 callers
Function
userMsg
(text: string)
test/phase-a.test.ts:105
↓ 31 callers
Method
delete
(filePath: string)
src/filesystem/transaction.ts:126
↓ 31 callers
Function
names
(sig: string)
test/tool-relevance.test.ts:34
↓ 31 callers
Function
parseMaintainScope
(prompt: string)
src/schedule/recipes.ts:79
↓ 30 callers
Method
list
Used by /hooks slash command to enumerate registered hooks.
src/hooks/manager.ts:104
↓ 29 callers
Function
check
(name: string, cond: boolean)
test/syntax-check.test.ts:20
↓ 29 callers
Method
start
Open the connection. Resolves once we're ready to exchange messages.
src/mcp/transport.ts:21
↓ 28 callers
Function
check
(name: string, cond: boolean)
test/artifact-review.test.ts:10
↓ 28 callers
Method
update
Feed the last turn's realized throughput (tok/s). Returns the new window.
src/llm/speculative.ts:216
↓ 28 callers
Function
writeFileAtomic
( filePath: string, data: string | Uint8Array, opts: AtomicWriteOptions = {}, )
src/utils/atomic-write.ts:37
↓ 26 callers
Function
check
(name: string, cond: boolean)
test/artifact-store.test.ts:14
↓ 26 callers
Function
check
(name: string, cond: boolean)
test/gateways.test.ts:10
↓ 26 callers
Function
node
(id: string, deps: string[] = [], targetFiles: string[] = [`${id}.ts`])
test/orchestration.test.ts:7
↓ 25 callers
Function
R
(scope: string, status: string, filesChanged = 0, when = '1h ago', at?: string)
test/maintain-stats.test.ts:4
↓ 24 callers
Function
add
(severity: Severity, area: Area, message: string)
src/tools/web/seo-audit-logic.ts:234
↓ 24 callers
Function
check
(name: string, cond: boolean)
test/completion-gate.test.ts:14
↓ 24 callers
Method
recordTurn
( sessionId: string, messages: Message[], usage: { input: number; output: number; costUsd: number
src/session/store.ts:203
↓ 23 callers
Function
check
(name: string, cond: boolean)
test/security-scan.test.ts:8
↓ 23 callers
Function
isDestructiveBash
(command: string)
src/safety/snapshot.ts:65
↓ 23 callers
Function
makeCtx
(cwd: string)
test/git-tools.test.ts:13
↓ 21 callers
Function
R
(readability: number, efficiency: number, completeness: number, safety: number, justification = '')
test/judge-cascade.test.ts:7
↓ 21 callers
Function
getScheduleStore
()
src/schedule/store.ts:266
↓ 21 callers
Function
isTransientError
(err: any)
src/utils/retry.ts:98
↓ 21 callers
Function
loadConfig
(cwd: string = process.cwd())
src/config/loader.ts:81
↓ 21 callers
Function
looksLikeBuildTask
(prompt: string)
src/agent/preflight-gate.ts:70
↓ 21 callers
Function
looksVisionCapable
(id: string)
src/setup/model-detector.ts:213
↓ 20 callers
Function
check
(name: string, cond: boolean)
test/viewport.test.ts:8
↓ 20 callers
Function
scanSkillContent
(text: string)
src/skills/security-scan.ts:139
↓ 19 callers
Function
check
(name: string, cond: boolean)
test/edit-approval.test.ts:8
↓ 19 callers
Method
child
(i: number)
src/tools/ast/syntax-check.ts:46
↓ 18 callers
Function
c
(name: string, argsHash: string)
test/loop-pruning.test.ts:6
↓ 18 callers
Function
findMcpSpec
(id: string)
src/mcp/registry.ts:307
↓ 18 callers
Function
getDispatcherForUrl
(targetUrl: string)
src/utils/proxy-fetch.ts:80
↓ 18 callers
Method
has
(absPath: string)
src/agent/read-ledger.ts:82
↓ 18 callers
Method
indexAll
(opts: IndexerOptions = {})
src/codegraph/indexer.ts:43
↓ 18 callers
Method
load
()
src/bot/session-map.ts:19
↓ 17 callers
Function
buildCustomEntry
(opts: { spec?: GatewaySpec; name?: string; baseUrl?: string; apiKeyEnv?: string; modelId?: string;
src/setup/gateways.ts:194
↓ 17 callers
Function
buildRecipePrompt
(recipe: string | undefined | null, goal: string)
src/schedule/recipes.ts:27
↓ 17 callers
Function
check
(name: string, cond: boolean)
test/web-backends.test.ts:10
↓ 17 callers
Function
describeToolActivity
(name: string)
src/cli/prompts/tool-display.ts:136
↓ 17 callers
Function
estimateTokens
(messages: Message[])
src/utils/compaction.ts:68
↓ 17 callers
Method
get
(id: string)
src/schedule/store.ts:138
↓ 17 callers
Function
interpretApprovalAnswer
(answer: string)
src/tools/filesystem/edit-approval.ts:33
↓ 17 callers
Function
pad
(s: string, width: number)
src/diagnostics/token-analyzer.ts:374
↓ 17 callers
Function
partitionWork
( items: WorkItem<T>[], opts: PartitionOptions = {}, )
src/orchestration/partition.ts:119
↓ 16 callers
Method
addFact
* Persist a fact. scope='project' (default) ties it to `cwd`; scope='user' * makes it global — surfaced in every session regardless of directory. U
src/session/store.ts:302
↓ 16 callers
Function
check
(name: string, cond: boolean)
test/task-addenda.test.ts:8
↓ 16 callers
Function
coerceArgsToSchema
(raw: unknown, schema: JsonSchemaNode | undefined)
src/llm/constrained.ts:98
↓ 16 callers
Function
findGateway
(id: string)
src/setup/gateways.ts:145
↓ 16 callers
Method
loadSession
(sessionId: string)
src/session/store.ts:243
↓ 16 callers
Function
mk
(file: string, line: number, message: string, code?: string)
test/verify-baseline.test.ts:5
↓ 16 callers
Function
parseCron
(expr: string)
src/schedule/cron.ts:50
↓ 16 callers
Function
run
Feed `chunks` through the filter one at a time and return the concatenated visible output.
test/thinking-stream.test.ts:5
↓ 15 callers
Method
abs
(rel: string)
src/orchestration/staging.ts:90
↓ 15 callers
Function
buildMaintainStats
(runs: MaintainRun[])
src/cli/maintain-stats.ts:27
↓ 15 callers
Function
check
(name: string, cond: boolean)
test/model-resolve.test.ts:37
↓ 15 callers
Function
dispatchAction
(name: string, params: any, cwd: string)
src/cli/dashboard-control.ts:78
↓ 15 callers
Function
flush
()
test/bot-gateway.test.ts:23
↓ 15 callers
Function
flush
()
test/bot-commands.test.ts:24
↓ 15 callers
Method
takeSnapshot
* Take a snapshot of the current working tree. * * @returns the record if taken, or null if skipped (non-git repo / no changes / git failed).
src/safety/snapshot.ts:90
↓ 15 callers
Function
userSkillsDir
()
src/skills/loader.ts:10
↓ 15 callers
Function
validateCustomProvider
(raw: RawCustomProvider, index: number)
src/llm/providers/custom-config.ts:68
↓ 14 callers
Function
check
(name: string, cond: boolean)
test/efficiency-profile.test.ts:8
↓ 14 callers
Method
emit
(ev: SchedulerEvent)
src/orchestration/scheduler.ts:71
↓ 14 callers
Function
fileExists
(p: string)
src/context/project-info.ts:47
↓ 14 callers
Method
getFactsByScope
List facts for a given scope. For 'project', pass the cwd.
src/session/store.ts:334
↓ 14 callers
Function
inferProvider
(modelId: string)
src/llm/role-resolver.ts:110
↓ 14 callers
Function
iso
(daysAgo: number)
test/maintain-stats.test.ts:58
↓ 14 callers
Function
node
(partial: Partial<TSNodeLike> & { type: string }, children: TSNodeLike[] = [])
test/syntax-check.test.ts:25
↓ 14 callers
Function
rankApproaches
( query: string, sources: ApproachSource[], opts: { topK?: number; minScore?: number; nowMs?: number; di
src/context/approach-recall.ts:80
next →
1–100 of 2,011, ranked by callers