MCPcopy Create free account

hub / github.com/mksglu/context-mode / functions

Functions5,006 in github.com/mksglu/context-mode

↓ 26 callersFunctionmakeTmp
(prefix = "ctx-heal-ip-")
tests/util/heal-installed-plugins.test.ts:58
↓ 26 callersFunctionresolveClaudeConfigDir
()
start.mjs:19
↓ 26 callersFunctionsearchAutoMemory
( queries: string[], limit: number = 5, projectDir?: string, configDir?: string, adapter?: AutoMemor
src/search/auto-memory.ts:57
↓ 26 callersMethodupsertResume
(e,n,r)
cli.bundle.mjs:146
↓ 26 callersMethodvar
(e,n,r)
cli.bundle.mjs:491
↓ 26 callersMethodvar
(e,n,r)
server.bundle.mjs:3
↓ 26 callersFunctionwithRetry
(fn: () => T, delays: number[] = [100, 500, 2000])
src/db-base.ts:432
↓ 25 callersFunctionUt
(t,e=["--version"])
server.bundle.mjs:9
↓ 25 callersMethodcatch
(e)
cli.bundle.mjs:459
↓ 25 callersMethodformatPostToolUseResponse
Format a PostToolUse response into platform-specific output.
src/adapters/types.ts:202
↓ 25 callersFunctionkb
(b: number)
src/session/analytics.ts:1808
↓ 25 callersFunctionkt
(t)
server.bundle.mjs:195
↓ 25 callersFunctionloadProjectAttribution
()
hooks/session-loaders.mjs:41
↓ 25 callersFunctionrunBatchCommands
( commands: BatchCommand[], opts: BatchRunOptions, executor: BatchExecutor, )
src/server.ts:1560
↓ 25 callersMethodsetRequestHandler
(e,n)
cli.bundle.mjs:490
↓ 25 callersFunctionve
(t,e,n)
server.bundle.mjs:222
↓ 24 callersFunction$e
(t,e,n)
cli.bundle.mjs:459
↓ 24 callersFunctionAe
(n)
hooks/session-db.bundle.mjs:3
↓ 24 callersFunctionOe
(t,e)
cli.bundle.mjs:486
↓ 24 callersFunctionSe
(t,e,n)
server.bundle.mjs:195
↓ 24 callersFunctioncreateToolNamer
(platform)
hooks/core/tool-naming.mjs:52
↓ 24 callersMethodexec
(e)
hooks/session-db.bundle.mjs:1
↓ 24 callersMethodgetProjectDir
(e)
cli.bundle.mjs:150
↓ 24 callersMethodgetProjectDir
(e)
server.bundle.mjs:157
↓ 24 callersFunctiongetWorktreeSuffix
(projectDir = process.cwd())
hooks/session-helpers.mjs:78
↓ 24 callersMethodinsertEvent
* Insert a session event with deduplication and FIFO eviction. * * Deduplication: skips if the same type + data_hash appears in the * last DE
src/session/db.ts:1137
↓ 24 callersFunctionke
(t,e)
server.bundle.mjs:222
↓ 24 callersFunctionloadDatabase
()
src/db-base.ts:252
↓ 24 callersFunctionmakeRepo
(prefix: string)
tests/session/purge-session.test.ts:23
↓ 24 callersFunctionmakeTaskEvent
(data: string)
tests/session/continuity.test.ts:39
↓ 24 callersFunctionpurgeSession
(opts: PurgeOpts)
src/session/purge.ts:178
↓ 23 callersFunctionCe
(t)
server.bundle.mjs:222
↓ 23 callersFunctionDe
(t)
cli.bundle.mjs:486
↓ 23 callersFunctionMe
()
cli.bundle.mjs:486
↓ 23 callersFunctionPt
(t,e,n)
server.bundle.mjs:195
↓ 23 callersFunctionRe
()
server.bundle.mjs:222
↓ 23 callersFunctionbuildFakeLayout
(version = "1.0.150")
tests/core/cli.test.ts:1485
↓ 23 callersFunctionbuildScriptFilename
( language: Language, platform: NodeJS.Platform, shellPath?: string | null, )
src/executor.ts:39
↓ 23 callersFunctionbuildSessionDirective
(source, eventMeta, toolNamer)
hooks/session-directive.mjs:275
↓ 23 callersMethodcode
(e)
cli.bundle.mjs:491
↓ 23 callersMethodcode
(e)
server.bundle.mjs:3
↓ 23 callersFunctiongetSessionEventsPath
(opts = CLAUDE_OPTS, projectDirOverride)
hooks/session-helpers.mjs:417
↓ 23 callersFunctionhashProjectDirLegacy
(projectDir: string)
src/session/db.ts:414
↓ 23 callersFunctionhealPartialInstallFromMarketplace
(opts = {})
hooks/heal-partial-install.mjs:472
↓ 23 callersFunctionl
(d)
cli.bundle.mjs:494
↓ 23 callersMethodname
()
cli.bundle.mjs:153
↓ 23 callersMethodname
(e)
server.bundle.mjs:2
↓ 23 callersFunctionparsePiUsage
(payload: unknown)
src/session/extract.ts:1627
↓ 23 callersFunctionzod3ShapeToV4
(shape: Record<string, unknown>, depth = 0)
src/adapters/opencode/zod3tov4.ts:14
↓ 22 callersFunctionLe
(n)
hooks/session-db.bundle.mjs:2
↓ 22 callersFunctioncleanup
* Close the connection and delete all associated DB files (main, WAL, SHM). * Call on process exit or at end of session lifecycle.
src/db-base.ts:612
↓ 22 callersFunctioni
(a)
cli.bundle.mjs:459
↓ 22 callersFunctioni
(a=Y.nil)
server.bundle.mjs:6
↓ 22 callersFunctionl
(d)
server.bundle.mjs:6
↓ 22 callersFunctionparseJsonc
(raw: string)
src/util/jsonc.ts:61
↓ 22 callersFunctionrewriteShellSnapshots
({ snapshotsDir, currentVersion })
hooks/cache-heal-utils.mjs:262
↓ 22 callersFunctionrunHook
(hookFile: string, input: Record<string, unknown>, cwd?: string)
tests/hooks/kimi-hooks.test.ts:31
↓ 22 callersFunctions
cli.bundle.mjs:455
↓ 22 callersFunctions
server.bundle.mjs:570
↓ 22 callersFunctionstartLifecycleGuard
(opts: LifecycleGuardOptions)
src/lifecycle.ts:222
↓ 22 callersFunctionun
(t,e="unknown")
server.bundle.mjs:626
↓ 22 callersMethodwriteSettings
Write platform settings.
src/adapters/types.ts:276
↓ 21 callersFunctionKe
(n)
hooks/session-db.bundle.mjs:2
↓ 21 callersFunctionMe
(t,e)
server.bundle.mjs:2
↓ 21 callersFunctionWe
()
cli.bundle.mjs:625
↓ 21 callersMethodarray
()
cli.bundle.mjs:459
↓ 21 callersFunctionclassifyError
(message)
hooks/session-loaders.mjs:243
↓ 21 callersMethodclose
()
server.bundle.mjs:10
↓ 21 callersMethodint
(e)
cli.bundle.mjs:459
↓ 21 callersFunctionloadExtract
()
hooks/session-loaders.mjs:54
↓ 21 callersFunctionmakeEvent
(category: string, data: string, type: string = category)
tests/session/continuity.test.ts:43
↓ 21 callersMethodpragma
(e)
cli.bundle.mjs:3
↓ 21 callersFunctionze
()
server.bundle.mjs:624
↓ 20 callersMethodcheckPluginRegistration
Check if the plugin is registered/enabled on this platform.
src/adapters/types.ts:300
↓ 20 callersMethodenum
()
cli.bundle.mjs:459
↓ 20 callersFunctiongetSessionDir
()
src/server.ts:582
↓ 20 callersFunctionmakeCodexHome
()
tests/util/codex-session-cwd-resolution.test.ts:31
↓ 20 callersFunctionmakeRunner
( responses: Array<FakeReturn | ((cmd: string, args: readonly string[]) => FakeReturn)>, )
tests/core/server.test.ts:4413
↓ 20 callersFunctionmkMockExecutor
( handler: (code: string, timeout: number | undefined, cwd: string | undefined) => Promise<MockResult> | Moc
tests/core/server.test.ts:3043
↓ 20 callersFunctionregisterOmpPlugin
( mockApi: ReturnType<typeof createMockOmpApi>, opts?: { projectDir?: string }, )
tests/adapters/omp-plugin.test.ts:56
↓ 20 callersMethodrequest
(e,n,r)
cli.bundle.mjs:490
↓ 20 callersMethodsetRequestHandler
(e,n)
server.bundle.mjs:226
↓ 20 callersMethodshutdown
()
src/adapters/pi/mcp-bridge.ts:733
↓ 20 callersMethodtoUpperCase
()
cli.bundle.mjs:459
↓ 19 callersFunctionGe
(t)
cli.bundle.mjs:2
↓ 19 callersFunctionJe
()
hooks/session-db.bundle.mjs:2
↓ 19 callersFunctionJt
(t,e,n)
server.bundle.mjs:195
↓ 19 callersFunctionbuildHookRuntimeCommand
( scriptPath: string, opts?: { platform?: string; jsRuntime?: string }, )
src/adapters/types.ts:418
↓ 19 callersFunctioncommandExists
(cmd: string)
src/runtime.ts:78
↓ 19 callersMethodgetInstructionFiles
* Names of platform-native instruction/rule files that act as the * project's "user CLAUDE.md equivalent" (e.g., ["CLAUDE.md"], * ["AGENTS.md"],
src/adapters/types.ts:254
↓ 19 callersFunctiongetRealBytesStats
(opts: { sessionId?: string; sessionsDir?: string; worktreeHash?: string; /** * v1.0.148 follow-up
src/session/analytics.ts:1168
↓ 19 callersFunctiongetSessionDirSegments
(platform: string)
src/adapters/detect.ts:337
↓ 19 callersFunctionparseOpencodeUsage
(payload: unknown)
src/session/extract.ts:1811
↓ 19 callersFunctionrunHook
(hookFile: string, input: Record<string, unknown>, env?: Record<string, string>, { bom = false } = {})
tests/hooks/cursor-hooks.test.ts:29
↓ 19 callersMethodwrite
(e)
server.bundle.mjs:195
↓ 18 callersFunctionIn
(t)
cli.bundle.mjs:175
↓ 18 callersFunctiona
()
cli.bundle.mjs:580
↓ 18 callersFunctiona
()
server.bundle.mjs:576
↓ 18 callersFunctiona
(t)
hooks/session-snapshot.bundle.mjs:1
↓ 18 callersFunctionbuildCommand
( runtimes: RuntimeMap, language: Language, filePath: string, )
src/runtime.ts:644
← previousnext →201–300 of 5,006, ranked by callers