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
↓ 116 callers
Method
Close
(ctx context.Context)
mcp/transport.go:22
↓ 103 callers
Method
Set
(value string)
cmd/run_benchmark_suite/main.go:16
↓ 102 callers
Function
NewAgentState
()
agent/state.go:51
↓ 98 callers
Function
stringFromAny
(v any)
agent/messages.go:317
↓ 81 callers
Function
NewConfig
()
config/config.go:78
↓ 74 callers
Function
stringFromAny
(value any)
ui/runtime.go:800
↓ 73 callers
Method
Add
(tool Tool)
tools/deferred.go:17
↓ 72 callers
Method
Execute
(ctx context.Context, call ToolCall, execCtx ExecutionContext)
tools/registry.go:179
↓ 66 callers
Method
String
()
tools/registry.go:100
↓ 58 callers
Function
NewStreamEvent
(eventType, content string, metadata map[string]any)
agent/events.go:9
↓ 56 callers
Method
Name
()
tools/base.go:35
↓ 49 callers
Method
Load
(sessionID string)
session/store.go:70
↓ 46 callers
Function
getString
(m map[string]any, key string)
api/client.go:1306
↓ 45 callers
Method
Error
()
mcp/client.go:49
↓ 37 callers
Function
maxInt
(a, b int)
ui/fullscreen_backend.go:1949
↓ 37 callers
Function
sendStream
(ctx context.Context, out chan<- StreamEvent, event StreamEvent)
agent/loop.go:1512
↓ 35 callers
Method
String
()
mcp/client.go:28
↓ 33 callers
Function
BoolPtr
(v bool)
tools/base.go:293
↓ 29 callers
Function
firstNonEmpty
(values ...string)
ui/runtime.go:791
↓ 28 callers
Function
NewCoreExecutionEngine
(cfg *config.Config)
agent/loop.go:104
↓ 27 callers
Function
NewFullscreenRendererBackend
(in io.Reader, out io.Writer, errOut io.Writer)
ui/fullscreen_backend.go:104
↓ 26 callers
Method
Register
(tool Tool)
tools/registry.go:31
↓ 24 callers
Method
MetricMap
()
benchmark/models.go:6
↓ 24 callers
Function
NewConfigForCWD
(cwd string)
config/config.go:83
↓ 23 callers
Method
SaveEntry
(entry *MemoryEntry)
memory/store.go:63
↓ 23 callers
Function
runeLen
(content string)
skills/persistence.go:370
↓ 22 callers
Function
NewAgentTaskRuntime
()
agent/task_runtime.go:139
↓ 22 callers
Function
TokenCountWithEstimation
(messages []map[string]any)
agentContext/tokens.go:111
↓ 22 callers
Function
contentBlocks
(content any)
agent/messages.go:332
↓ 21 callers
Method
String
()
cmd/run_benchmark_suite/main.go:14
↓ 20 callers
Method
refreshControls
()
ui/fullscreen_backend.go:625
↓ 19 callers
Method
Count
()
backend/session.go:84
↓ 19 callers
Method
Get
(name string)
tools/registry.go:42
↓ 19 callers
Method
HandleKey
(key string)
ui/fullscreen_backend.go:489
↓ 19 callers
Function
NewMemoryStore
(memoryDir string)
memory/store.go:13
↓ 19 callers
Function
fmtFloat
(value *float64)
benchmark/agentbench/report.go:223
↓ 17 callers
Method
Error
()
api/retry.go:100
↓ 17 callers
Method
Process
(skill SkillSpec, args, sessionID string, approveProjectShell func(SkillShellPermissionRequest) bool)
skills/prompt_processor.go:33
↓ 17 callers
Method
QueryLoop
(ctx context.Context, state *AgentState)
agent/loop.go:430
↓ 16 callers
Function
GetConfig
()
config/config.go:770
↓ 16 callers
Function
GetString
(m map[string]any, key string, defaultStr any)
agentContext/auto.go:47
↓ 16 callers
Function
NewStore
(sessionDir string)
session/store.go:36
↓ 16 callers
Method
call
(method: string, params: Record<string, any> = {})
frontend/src/rpc.ts:33
↓ 16 callers
Function
formatEditError
(code editErrorCode, detail string)
tools/builtin.go:1286
↓ 16 callers
Method
handleInputKey
(ch: string | undefined, key: any)
frontend/src/tui.ts:316
↓ 16 callers
Function
intFromAny
(value any)
ui/runtime.go:934
↓ 16 callers
Method
setError
(msg string)
mcp/client.go:378
↓ 16 callers
Method
setInputBuffer
(text string, cursor int, selected int)
ui/fullscreen_backend.go:1720
↓ 15 callers
Function
DefaultPermissionState
()
security/permission.go:39
↓ 15 callers
Function
NewAPIClient
( apiKey string, baseURL string, model string, maxTokens int, thinkingBudgetTokens *int, retryConfig *Re
api/client.go:898
↓ 15 callers
Function
NewPromptProcessor
(cfg config.Config)
skills/prompt_processor.go:29
↓ 15 callers
Function
NewSubAgent
(cfg config.Config, registry *coretools.ToolRegistry, definition AgentDef, parentState *AgentState, modelOverr
agent/subagent.go:65
↓ 15 callers
Method
RegisterForegroundTask
(taskID, parentTaskID, parentScopeID, workerLabel, description, agentType string)
agent/task_runtime.go:268
↓ 15 callers
Method
Reset
()
agent/loop.go:318
↓ 15 callers
Function
charLen
(s string)
tools/budget.go:180
↓ 15 callers
Method
renderInput
()
frontend/src/tui.ts:739
↓ 15 callers
Function
truncateString
(text string, limit int)
tools/search_ui.go:164
↓ 15 callers
Function
writeOpenAIStream
(w http.ResponseWriter, text string, inputTokens, outputTokens int)
test/task_tools_parity_test.go:602
↓ 15 callers
Function
writeRPC
(t *testing.T, conn *websocket.Conn, id, method string, params map[string]any)
test/backend_daemon_ipc_test.go:371
↓ 14 callers
Method
AddTool
(tc coretools.ToolCall)
agent/tools_executor.go:90
↓ 14 callers
Method
GetTask
(taskID, scopeID string)
agent/task_runtime.go:257
↓ 14 callers
Function
NewRenderFrame
()
ui/runtime.go:49
↓ 14 callers
Method
Run
(ctx context.Context, cfg config.Config, prompt string, sessionID string)
benchmark/agentbench/models.go:176
↓ 14 callers
Function
assertMetric
(t *testing.T, metrics map[string]any, name string, want float64)
test/benchmark_plugins_parity_test.go:183
↓ 14 callers
Method
setInput
(value: string)
frontend/src/tui.ts:813
↓ 13 callers
Method
Complete
( ctx context.Context, systemPrompt string, messages []map[string]any, opts CompleteOptions, )
api/client.go:49
↓ 13 callers
Method
Register
(skill SkillSpec)
skills/registry.go:24
↓ 13 callers
Method
StopTask
(taskID, scopeID string)
agent/task_runtime.go:359
↓ 13 callers
Function
singleREFinding
(command string, re *regexp.Regexp, id int, desc string, fullyUnquoted bool)
tools/bash/security.go:375
↓ 13 callers
Method
viewportLayout
()
ui/fullscreen_backend.go:1319
↓ 13 callers
Method
wrappedTextForPane
(text string)
ui/fullscreen_backend.go:1134
↓ 12 callers
Function
NewUiRuntime
(engine any, backend RendererBackend)
ui/runtime.go:131
↓ 12 callers
Function
Tokenize
(command string, stripQuotes bool)
tools/bash/tokenizer.go:52
↓ 12 callers
Function
contentBlocks
(content any)
agentContext/blocks.go:3
↓ 12 callers
Function
copyMap
(m map[string]any)
agent/messages.go:324
↓ 12 callers
Function
intFromAny
(v any)
agent/messages.go:297
↓ 12 callers
Function
nowSeconds
()
agent/task_runtime.go:1005
↓ 12 callers
Function
resolveToolPath
(execCtx ExecutionContext, path string)
tools/builtin.go:1052
↓ 11 callers
Method
Description
()
tools/base.go:36
↓ 11 callers
Method
DrainPendingNotifications
(scopeID string)
agent/task_runtime.go:582
↓ 11 callers
Method
Fingerprint
()
mcp/config.go:41
↓ 11 callers
Function
LoadProjectInstructions
(cwd string)
agentContext/builder.go:351
↓ 11 callers
Function
NewTerminalRendererBackend
(in io.Reader, out io.Writer, errOut io.Writer)
ui/terminal_backend.go:85
↓ 11 callers
Method
StreamChat
( ctx context.Context, systemPrompt string, messages []map[string]any, tools []map[string]any, optio
api/client.go:41
↓ 11 callers
Method
Write
(p []byte)
ui/fullscreen_backend.go:1926
↓ 11 callers
Method
markDirty
()
ui/runtime.go:515
↓ 11 callers
Function
runGit
(t *testing.T, dir string, args ...string)
test/agent_test.go:1370
↓ 11 callers
Function
stringSet
(values ...string)
agent/definitions.go:72
↓ 11 callers
Function
stringValue
(v any)
sessionmemory/store.go:847
↓ 11 callers
Function
truthy
(value any)
ui/runtime.go:962
↓ 10 callers
Method
FindVisible
(name, cwd string)
skills/registry.go:40
↓ 10 callers
Method
GetInput
(state any)
ui/fullscreen_backend.go:137
↓ 10 callers
Function
LoadMemoryIndex
(memoryDir string)
memory/index.go:165
↓ 10 callers
Method
LoadTaskRuntimeSnapshot
(sessionID string)
session/store.go:189
↓ 10 callers
Function
NewQueryEngine
(cfg *config.Config)
agent/query_engine.go:26
↓ 10 callers
Function
NewStreamingToolExecutor
(registry *coretools.ToolRegistry, cfg config.Config, state *AgentState, execCtx coretools.ExecutionContext, m
agent/tools_executor.go:65
↓ 10 callers
Function
Open
(ctx context.Context, cfg config.Config, sessionID string, complete SummaryFunc)
sessionmemory/store.go:188
↓ 10 callers
Function
RemoveWorktree
(ctx context.Context, path string)
agent/worktree.go:63
↓ 10 callers
Method
Run
(ctx context.Context, prompt string)
agent/subagent.go:92
↓ 10 callers
Method
SpawnWorker
(ctx context.Context, cfg config.Config, registry *coretools.ToolRegistry, definition AgentDef, parentState *A
agent/task_runtime.go:296
next →
1–100 of 2,483, ranked by callers