Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GongShichen/LuminaCode
/ functions
Functions
2,483 in github.com/GongShichen/LuminaCode
⨍
Functions
2,483
◇
Types & classes
332
↓ 6 callers
Method
ImportSnapshot
(snapshot map[string]any)
skills/persistence.go:189
↓ 6 callers
Method
IngestMessages
(ctx context.Context, messages []map[string]any)
sessionmemory/store.go:275
↓ 6 callers
Function
IsAutoMemoryEnabled
(configAutoMemoryEnabled, bareMode, remoteMode bool)
memory/enable.go:26
↓ 6 callers
Function
LoadProjectMCPConfig
(projectRoot string)
mcp/config.go:67
↓ 6 callers
Function
MicroCompactMessages
(messages []map[string]any, isCacheHold bool, keepRecent int)
agentContext/micro.go:105
↓ 6 callers
Method
Mount
(initialFrame RenderFrame)
ui/fullscreen_backend.go:195
↓ 6 callers
Function
NewAgentTool
()
agent/agent_tool.go:33
↓ 6 callers
Function
NewSkillExecutor
(loader *SkillLoader, promptProcessor *PromptProcessor)
skills/executor.go:37
↓ 6 callers
Function
ParseMemoryFile
(path string)
memory/models.go:51
↓ 6 callers
Function
ParseMemoryIndex
(content string)
memory/index.go:173
↓ 6 callers
Function
ProjectCollapsedView
(messages []map[string]any, regions []CollapsedRegion)
agentContext/collapse.go:235
↓ 6 callers
Method
RecordInvocation
(agentScope, name, path, content string, turnCount int)
skills/persistence.go:42
↓ 6 callers
Function
SaveTrustedMCP
(projectRoot string, trusted map[string]string)
mcp/config.go:97
↓ 6 callers
Method
Search
(query string)
tools/deferred.go:54
↓ 6 callers
Function
SerializeMessage
(msg any)
mcp/protocol.go:46
↓ 6 callers
Function
SetConfig
(c Config)
config/config.go:789
↓ 6 callers
Function
SnipCompactIfNeeded
( messages []map[string]any, preserveLastNTurns int, snipCharThreshold int, )
agentContext/snip.go:121
↓ 6 callers
Method
SubmitMessage
(ctx context.Context, userPrompt string, state *AgentState, sessionID ...string)
agent/query_engine.go:131
↓ 6 callers
Method
ToMap
()
agent/state.go:90
↓ 6 callers
Function
TruncateAttachmentText
(text string, budget PromptAttachmentBudget, preserveSeparator *string)
agentContext/builder.go:528
↓ 6 callers
Method
activeScrollPane
()
ui/fullscreen_backend.go:425
↓ 6 callers
Function
expandHome
(path string)
cmd/run_agent_benchmark/main.go:105
↓ 6 callers
Function
firstChars
(s string, n int)
tools/budget.go:184
↓ 6 callers
Function
isPaneAtBottom
(pane: any)
frontend/src/tui.ts:871
↓ 6 callers
Function
isPinned
(cfg Config, field string)
config/config.go:218
↓ 6 callers
Function
latencySummary
(values []float64)
benchmark/agentbench/stats.go:45
↓ 6 callers
Function
mcpFieldTitle
(name string)
tools/mcp_schema.go:243
↓ 6 callers
Function
mustStopDaemon
(t *testing.T, errCh chan error)
test/backend_daemon_ipc_test.go:465
↓ 6 callers
Function
numericBashTimeout
(value float64, legacyTimeoutField bool)
tools/builtin.go:1654
↓ 6 callers
Method
panelWidth
()
ui/fullscreen_backend.go:1280
↓ 6 callers
Method
renderPanel
(title, body, pane string, minBodyLines int)
ui/fullscreen_backend.go:1065
↓ 6 callers
Function
serializeTaskPayload
(data map[string]any)
agent/agent_tool.go:433
↓ 6 callers
Function
sessionMemoryMessages
(turns int)
test/session_memory_commit_test.go:182
↓ 6 callers
Function
sleepBackoff
(ctx context.Context, attempt int, config RetryConfig)
api/retry.go:269
↓ 6 callers
Function
startTestDaemon
(t *testing.T, ctx context.Context, cfg config.Config, endpointPath string)
test/backend_daemon_ipc_test.go:347
↓ 6 callers
Function
stringFromContext
(ctx coretools.ExecutionContext, key, fallback string)
agent/agent_tool.go:253
↓ 6 callers
Function
stringValueFromMap
(m map[string]any, key, fallback string)
tools/mcp.go:425
↓ 6 callers
Function
writerOrDefault
(candidate io.Writer, fallback io.Writer)
benchmark/report_runner.go:190
↓ 5 callers
Function
Average
(values []float64)
benchmark/agentbench/stats.go:8
↓ 5 callers
Function
BuildBenchmarkReport
(ctx context.Context, plugins []BenchmarkPlugin, options BuildReportOptions)
benchmark/runner.go:13
↓ 5 callers
Method
BuildPermissionModalState
(event UiEvent)
ui/runtime.go:403
↓ 5 callers
Method
BuildRecoveryAttachment
(agentScope string)
skills/persistence.go:79
↓ 5 callers
Function
BuildSuiteReportPaths
(outputDir, suite string, now time.Time)
benchmark/agentbench/report.go:17
↓ 5 callers
Function
ClipRecallText
(text string, limit ...int)
agent/recall_utils.go:74
↓ 5 callers
Method
CompressionTriggerTokens
()
config/config.go:236
↓ 5 callers
Method
ConsumeCacheEditsForRequest
(visibleToolResultIDs map[string]struct{})
agent/loop.go:1154
↓ 5 callers
Method
ConsumeResult
()
agent/memory_extraction.go:121
↓ 5 callers
Function
CountClearedToolResult
(messages []map[string]any)
agentContext/micro.go:157
↓ 5 callers
Function
CreateWorktree
(ctx context.Context, repoRoot, baseRef, agentType, worktreesDir string)
agent/worktree.go:34
↓ 5 callers
Method
DrainTaskEvents
()
ui/runtime.go:346
↓ 5 callers
Function
FindGitRoot
(cwd string)
agent/worktree.go:22
↓ 5 callers
Method
GetCompletedResults
()
agent/tools_executor.go:149
↓ 5 callers
Function
GetPermissionStateFromMap
(m map[string]any)
security/permission.go:146
↓ 5 callers
Method
HandlePermissionEvent
(event UiEvent)
ui/runtime.go:366
↓ 5 callers
Function
IsFatalAPIError
(msg string)
agent/loop.go:1453
↓ 5 callers
Method
LoadFrontmatterOnly
()
skills/loader.go:23
↓ 5 callers
Method
MaybeCommit
(ctx context.Context, force bool)
sessionmemory/store.go:310
↓ 5 callers
Method
MemoryType
()
memory/models.go:30
↓ 5 callers
Function
NewStdioTransport
(command string, args []string, env map[string]string, cwd string)
mcp/transport.go:40
↓ 5 callers
Function
RecallAgentMemoriesForQuery
(ctx context.Context, agentType, projectRoot, query string, clientFactory ClientFactory, recentTools []string,
memory/agent_memory.go:106
↓ 5 callers
Function
RepairOrphanTools
(messages []map[string]any)
agent/messages.go:158
↓ 5 callers
Method
Request
(ctx context.Context, method string, params map[string]any)
mcp/client.go:215
↓ 5 callers
Function
ResolveSkillContextCWD
(defaultCWD string, context map[string]any)
skills/runtime.go:45
↓ 5 callers
Function
RunBenchmarkSuite
(ctx context.Context, options BenchmarkSuiteOptions)
benchmark/report_runner.go:144
↓ 5 callers
Function
RunSuite
(ctx context.Context, options RunnerOptions)
benchmark/agentbench/runner.go:26
↓ 5 callers
Function
SanitizePathForPath
(path string)
memory/resolution.go:10
↓ 5 callers
Function
ShouldCommitFinalTextAfterStreamError
(turn *ModelTurn)
agent/loop.go:58
↓ 5 callers
Function
SlugifyName
(text string)
memory/models.go:119
↓ 5 callers
Method
Snapshot
()
backend/session.go:184
↓ 5 callers
Function
SplitPipeline
(command string)
tools/bash/tokenizer.go:99
↓ 5 callers
Function
StripAllSafeEnvPrefixes
(command string)
tools/bash/tokenizer.go:231
↓ 5 callers
Function
TruncateEntrypointContent
(raw string)
memory/index.go:64
↓ 5 callers
Method
TryStartQueued
(tcID string)
agent/tools_executor.go:104
↓ 5 callers
Method
WaitForTasks
(ctx context.Context, taskIDs []string, scopeID string, timeoutSeconds int)
agent/task_runtime.go:469
↓ 5 callers
Function
assertPromptSnapshot
(t *testing.T, snapshotDir, filename, got string)
test/prompt_snapshot_parity_test.go:99
↓ 5 callers
Function
atomicWriteJSON
(path string, value any)
session/store.go:551
↓ 5 callers
Method
cancelIdleTTLLocked
(taskID string)
agent/task_runtime.go:811
↓ 5 callers
Function
copyAnyMap
(in map[string]any)
mcp/client.go:456
↓ 5 callers
Function
emptyDash
(value string)
benchmark/agentbench/report.go:230
↓ 5 callers
Method
enqueueLocked
(record *AgentTaskRecord, summary, result string)
agent/task_runtime.go:729
↓ 5 callers
Method
exit
()
frontend/src/tui.ts:209
↓ 5 callers
Function
fakeSummary
(label string)
test/session_memory_commit_test.go:203
↓ 5 callers
Method
finishTask
(taskID, status string, exitCode *int)
tools/bash/background.go:327
↓ 5 callers
Function
firstNonEmpty
(values ...string)
config/config.go:672
↓ 5 callers
Method
flushToolBuffer
()
ui/terminal_backend.go:543
↓ 5 callers
Method
hasRunningWork
()
agent/tools_executor.go:228
↓ 5 callers
Function
intFromAny
(value any)
session/store.go:748
↓ 5 callers
Function
jsonString
(v any)
agent/agent_tool.go:398
↓ 5 callers
Function
loadJSONMap
(path string)
session/store.go:729
↓ 5 callers
Function
newTaskTool
(name, description string, proto any, exec func(context.Context, coretools.ExecutionContext, any) (string, err
agent/agent_tool.go:380
↓ 5 callers
Function
optionalString
(value any)
skills/models.go:114
↓ 5 callers
Function
pythonJSONString
(value string)
mcp/config.go:258
↓ 5 callers
Function
reflectValue
(state any)
agentContext/pipeline.go:269
↓ 5 callers
Method
refreshFromFrame
(frame RenderFrame)
ui/fullscreen_backend.go:617
↓ 5 callers
Method
renderStatus
(frame?: any)
frontend/src/tui.ts:709
↓ 5 callers
Method
resetEscapeInterrupt
()
frontend/src/tui.ts:510
↓ 5 callers
Function
runAgentBenchGit
(t *testing.T, dir string, args ...string)
test/agentbench_parity_test.go:246
↓ 5 callers
Function
runtimeAndScope
(execCtx coretools.ExecutionContext)
agent/agent_tool.go:390
↓ 5 callers
Function
sanitizeCaseID
(id string)
benchmark/agentbench/materialize.go:168
↓ 5 callers
Function
sendEvent
(ctx context.Context, out chan<- EventResult, event map[string]any)
api/retry.go:299
← previous
next →
201–300 of 2,483, ranked by callers