MCPcopy Create free account

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

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

↓ 49 callersFunctionJ
(t)
cli.bundle.mjs:459
↓ 49 callersFunctioncreateTestPlugin
* Create a plugin instance with DB in a temp directory. * Uses dynamic import to resolve routing module from project root.
tests/opencode-plugin.test.ts:24
↓ 49 callersMethodexecuteFile
(e)
cli.bundle.mjs:503
↓ 49 callersFunctionparseStdin
(raw)
hooks/session-helpers.mjs:248
↓ 49 callersFunctionq
(t)
server.bundle.mjs:195
↓ 49 callersMethodreadSettings
Read current platform settings.
src/adapters/types.ts:273
↓ 48 callersFunctionQ
(t,n,e=process.platform==="win32"||process.platform==="darwin")
hooks/security.bundle.mjs:2
↓ 48 callersMethodconfigureAllHooks
Configure all hooks for this platform. Returns change descriptions.
src/adapters/types.ts:311
↓ 48 callersFunctioncreateSessionLoaders
(hookDir)
hooks/session-loaders.mjs:17
↓ 48 callersFunctionresetGuidanceThrottle
(sessionId)
hooks/core/routing.mjs:214
↓ 47 callersMethoddescribe
(e)
server.bundle.mjs:195
↓ 47 callersFunctionmakeEvent
Create a minimal session event for testing.
tests/session/session-db.test.ts:38
↓ 46 callersFunctionattributeAndInsertEvents
(db, sessionId, events, input, projectDir, hookName, resolveProjectAttributions)
hooks/session-loaders.mjs:70
↓ 46 callersFunctioncreateTestPlugin
* Create a plugin instance with a mock API. * Returns the mock API state and helper functions.
tests/plugins/openclaw.test.ts:164
↓ 46 callersFunctionresolveSessionDbPath
(opts: { projectDir: string; sessionsDir: string; })
src/session/db.ts:502
↓ 45 callersMethodcleanup
()
cli.bundle.mjs:3
↓ 45 callersFunctione
(r)
hooks/session-attribution.bundle.mjs:1
↓ 45 callersMethodgetEvents
(e,n)
cli.bundle.mjs:144
↓ 44 callersFunctionsend
(proc: ReturnType<typeof spawn>, msg: JsonRpcRequest)
tests/mcp-integration.ts:43
↓ 44 callersMethodstartsWith
(e,n)
server.bundle.mjs:195
↓ 43 callersFunctionextractUserEvents
(message: string)
src/session/extract.ts:2758
↓ 43 callersFunctiono
cli.bundle.mjs:455
↓ 42 callersFunctionHe
(t)
server.bundle.mjs:9
↓ 42 callersFunctionJ
(t)
server.bundle.mjs:195
↓ 42 callersMethod_addCheck
(e)
cli.bundle.mjs:459
↓ 42 callersMethod_addCheck
(e)
server.bundle.mjs:195
↓ 42 callersFunctionn
(o)
cli.bundle.mjs:459
↓ 42 callersFunctionte
(t)
cli.bundle.mjs:459
↓ 41 callersFunctionX
(t,e)
server.bundle.mjs:2
↓ 41 callersFunctionclassifyIp
(rawIp: string)
src/server.ts:3244
↓ 41 callersFunctiond
(p)
cli.bundle.mjs:494
↓ 41 callersMethodvalidateHooks
Validate that hooks are properly configured for this platform.
src/adapters/types.ts:281
↓ 40 callersFunctionee
(t)
hooks/security.bundle.mjs:2
↓ 40 callersFunctionoe
(t)
hooks/session-extract.bundle.mjs:3
↓ 39 callersFunctiono
(s)
server.bundle.mjs:3
↓ 39 callersMethodobject
(...e)
cli.bundle.mjs:491
↓ 39 callersMethodsafeParse
(e,n)
cli.bundle.mjs:459
↓ 37 callersFunctiondetectRuntimes
()
src/runtime.ts:334
↓ 37 callersFunctionextractUserPromptFeatures
(prompt: unknown)
src/session/extract.ts:2874
↓ 37 callersMethodstmt
(e)
cli.bundle.mjs:5
↓ 37 callersMethodstmt
(e)
server.bundle.mjs:12
↓ 37 callersMethodstmt
Shorthand to retrieve a cached statement.
src/session/db.ts:808
↓ 37 callersMethodstmt
(e)
hooks/session-db.bundle.mjs:3
↓ 36 callersFunctionawaitRpc
( proc: ChildProcess, id: number, request: Record<string, unknown>, timeoutMs = 15_000, )
tests/core/server.test.ts:969
↓ 36 callersMethodendsWith
(e,n)
server.bundle.mjs:195
↓ 36 callersMethodmin
(e,n)
server.bundle.mjs:195
↓ 35 callersMethodensureSession
(e,t)
hooks/session-db.bundle.mjs:144
↓ 35 callersFunctionf
()
cli.bundle.mjs:494
↓ 35 callersFunctionie
(t,e)
server.bundle.mjs:222
↓ 35 callersFunctionr
(o,s=" | ")
cli.bundle.mjs:459
↓ 35 callersMethodregisterTool
* Register an agent tool (OpenClaw native registerTool) — see * refs/platforms/openclaw/docs/plugins/building-plugins.md:116. Optional in * the
src/adapters/openclaw/plugin.ts:159
↓ 35 callersFunctionrunHook
(input: Record<string, unknown>, env?: Record<string, string>, { bom = false } = {})
tests/hooks/integration.test.ts:80
↓ 35 callersFunctionue
(t)
hooks/session-extract.bundle.mjs:3
↓ 34 callersMethodadd
(e,n)
server.bundle.mjs:3
↓ 34 callersFunctionfn
(t,e)
server.bundle.mjs:195
↓ 34 callersMethodisFinite
()
server.bundle.mjs:195
↓ 34 callersFunctionle
(t,e)
cli.bundle.mjs:486
↓ 34 callersFunctionme
(n)
hooks/session-db.bundle.mjs:1
↓ 34 callersMethodparseSessionStartInput
Parse raw SessionStart input (optional — not all platforms support it).
src/adapters/types.ts:194
↓ 33 callersMethodextractSessionId
(e)
cli.bundle.mjs:148
↓ 33 callersMethodextractSessionId
(e)
server.bundle.mjs:155
↓ 33 callersFunctionn
(o)
server.bundle.mjs:195
↓ 32 callersFunctionbuildHookCommand
({ scriptPath, platform, nodePath })
hooks/cache-heal-utils.mjs:113
↓ 32 callersMethodclose
()
src/store.ts:1615
↓ 32 callersMethoddefault
(e)
cli.bundle.mjs:459
↓ 32 callersMethoderror
(e,n,r)
server.bundle.mjs:6
↓ 32 callersMethodexec
(e)
cli.bundle.mjs:3
↓ 32 callersFunctionresolveProjectAttribution
( event: SessionEvent, context: AttributionContext, )
src/session/project-attribution.ts:225
↓ 31 callersFunctionYe
()
server.bundle.mjs:10
↓ 31 callersMethodexec
(sql: string)
tests/store.test.ts:1975
↓ 31 callersMethodlet
(e,n,r)
cli.bundle.mjs:491
↓ 31 callersMethodlet
(e,n,r)
server.bundle.mjs:3
↓ 31 callersFunctionresolveProjectDir
(opts: { env: Record<string, string | undefined>; cwd: string; pwd: string | undefined; /** Optional o
src/util/project-dir.ts:285
↓ 30 callersFunctionK
(t,e,n=!1)
server.bundle.mjs:226
↓ 30 callersFunctionY
(t,e,n=!1)
cli.bundle.mjs:490
↓ 30 callersFunctionde
(t,e,n,r,o)
cli.bundle.mjs:486
↓ 30 callersMethodinsertEvent
(e,t,r="PostToolUse",s,a)
hooks/session-db.bundle.mjs:142
↓ 30 callersFunctionmakeTmpDir
(prefix: string)
tests/session/purge-session.test.ts:35
↓ 30 callersMethodstart
()
cli.bundle.mjs:499
↓ 29 callersFunctionSe
(t,e)
cli.bundle.mjs:1171
↓ 29 callersFunction_e
(t,e)
cli.bundle.mjs:2
↓ 29 callersFunctionae
(t,e,n,r,o)
server.bundle.mjs:222
↓ 29 callersFunctionfe
(t)
server.bundle.mjs:222
↓ 29 callersFunctionr
(s)
server.bundle.mjs:3
↓ 29 callersFunctionye
(t)
cli.bundle.mjs:486
↓ 28 callersMethodcreate
(e,n,r)
cli.bundle.mjs:459
↓ 28 callersMethodcreate
(e,n,r)
server.bundle.mjs:195
↓ 28 callersFunctionescapeXML
(str: string)
src/truncate.ts:121
↓ 28 callersFunctiongetAdapter
(platform?: PlatformId)
src/adapters/detect.ts:637
↓ 28 callersFunctionwt
(t,e)
cli.bundle.mjs:486
↓ 28 callersFunctionxe
(t,n,e=[],o=process.platform==="win32"||process.platform==="darwin")
hooks/security.bundle.mjs:2
↓ 27 callersMethodclear
()
cli.bundle.mjs:484
↓ 27 callersMethodclose
()
cli.bundle.mjs:3
↓ 27 callersMethodexec
(e)
server.bundle.mjs:10
↓ 27 callersMethodexec
(sql: string)
src/db-base.ts:64
↓ 27 callersMethodgetMemoryDir
* Directory where persistent per-user memory is stored * (e.g., ~/.claude/memory, ~/.codex/memories). Auto-memory scans * *.md files in this dir
src/adapters/types.ts:267
↓ 27 callersMethodgetResume
(e)
cli.bundle.mjs:146
↓ 27 callersMethodgetSessionStats
(e)
cli.bundle.mjs:146
↓ 27 callersFunctionreadBashPolicies
( projectDir?: string, globalSettingsPath?: string, )
src/security.ts:363
↓ 26 callersFunctionRe
(t,e,n)
cli.bundle.mjs:486
← previousnext →101–200 of 5,006, ranked by callers