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
↓ 4 callers
Function
intValue
(v any)
mcp/protocol.go:135
↓ 4 callers
Method
isSafeLocked
(tc coretools.ToolCall)
agent/tools_executor.go:348
↓ 4 callers
Function
isTruthy
(v any)
agent/normalize.go:376
↓ 4 callers
Function
mapSliceFromAny
(value any)
mcp/client.go:433
↓ 4 callers
Method
metaInt
(ctx context.Context, key string)
sessionmemory/store.go:640
↓ 4 callers
Method
metaPath
(sessionID string)
session/store.go:374
↓ 4 callers
Method
migrateLegacySession
(sessionID string)
session/store.go:462
↓ 4 callers
Function
newLargeReadTool
()
test/agent_test.go:53
↓ 4 callers
Function
newOrderedJSONMap
()
tools/builtin.go:440
↓ 4 callers
Function
nonEmptyStringsOrDefault
(values []string, fallback []string)
config/config.go:273
↓ 4 callers
Function
normalizeMCPTrustRequest
(value any)
ui/runtime.go:841
↓ 4 callers
Function
normalizeQuotes
(text string)
tools/builtin.go:1295
↓ 4 callers
Function
notebookEditMode
(mode string)
tools/builtin.go:433
↓ 4 callers
Function
nullableMCPSchema
(schema map[string]any)
tools/mcp_schema.go:134
↓ 4 callers
Method
readLine
()
ui/terminal_backend.go:757
↓ 4 callers
Method
rememberAPIError
(state *AgentState, msg string)
agent/loop.go:1430
↓ 4 callers
Function
resolvePath
(path string)
tools/bash/validation.go:367
↓ 4 callers
Function
resolvePathBestEffort
(path string)
tools/builtin.go:1197
↓ 4 callers
Function
resolveSkillPathBestEffort
(path string)
skills/registry.go:245
↓ 4 callers
Method
signalActivity
()
agent/tools_executor.go:503
↓ 4 callers
Method
skillRecoveryCommitPath
(sessionID string)
session/store.go:386
↓ 4 callers
Method
skillRecoveryPath
(sessionID string)
session/store.go:382
↓ 4 callers
Function
skillShellRequestParts
(value any)
ui/runtime.go:812
↓ 4 callers
Function
splitPathParts
(path string)
skills/registry.go:230
↓ 4 callers
Method
statePath
(sessionID string)
session/store.go:378
↓ 4 callers
Function
streamContentsOfType
(events []agent.StreamEvent, eventType string)
test/agent_test.go:120
↓ 4 callers
Function
stringField
(raw map[string]any, key string)
benchmark/agentbench/official_diagnostics.go:187
↓ 4 callers
Function
stringFromAny
(value any)
session/store.go:741
↓ 4 callers
Function
stringSliceFromAny
(raw any)
security/permission.go:196
↓ 4 callers
Method
taskRuntimePath
(sessionID string)
session/store.go:390
↓ 4 callers
Method
timeoutSeconds
()
agent/subagent.go:340
↓ 4 callers
Function
truncateDisplayLine
(line string, maxLen int)
tools/edit_ui.go:223
↓ 4 callers
Function
truncateForMsg
(s string, limit int)
tools/builtin.go:1727
↓ 4 callers
Function
truncateRunes
(content string, maxChars int)
skills/persistence.go:374
↓ 4 callers
Function
truncateVisible
(text string, width int)
ui/fullscreen_backend.go:1360
↓ 4 callers
Function
truthyStringFromSnapshot
(value any)
skills/persistence.go:385
↓ 4 callers
Method
updateCompletion
()
frontend/src/tui.ts:523
↓ 4 callers
Function
writeFile
(path string, data []byte)
cmd/lumina_benchmark_agent/main.go:129
↓ 3 callers
Method
Activate
(name string)
tools/deferred.go:45
↓ 3 callers
Function
AggregateCompoundPermissions
(subResults []PermissionResult)
tools/bash/permissions.go:76
↓ 3 callers
Function
AppendFreshRecalledMemoriesWithConfig
(ctx context.Context, cfg config.Config, state *AgentState, toolObservations []map[string]any, clientFactory M
agent/memory_recall.go:87
↓ 3 callers
Function
ApplyHarnessDefaults
(cfg *Config)
config/config.go:249
↓ 3 callers
Method
AskPermission
(prompt any, dangerous bool)
ui/terminal_backend.go:680
↓ 3 callers
Function
AssessRisk
(command string)
security/pattern.go:121
↓ 3 callers
Function
BuildAgentMemoryContextMessages
(agentType, projectRoot string)
memory/agent_memory.go:86
↓ 3 callers
Function
BuildExtractionPrompt
(messagesSlice []map[string]any, existingManifest string, maxTurns int)
agent/memory_extraction.go:215
↓ 3 callers
Function
BuildFollowupRecallQuery
(taskQuery string, toolObservations []map[string]any)
agent/memory_recall.go:111
↓ 3 callers
Method
BuildInlineSkillMessage
(skill SkillSpec, prompt string, disableSkillTool bool)
skills/executor.go:90
↓ 3 callers
Function
BuildMemorySection
(cfg *config.Config)
agentContext/builder.go:859
↓ 3 callers
Method
BuildMessages
(state *AgentState)
agent/loop.go:1016
↓ 3 callers
Function
BuildRecalledAgentMemoriesMessage
(recalled []MemoryRecall, source string)
memory/agent_memory.go:167
↓ 3 callers
Function
BuildRecalledMemoriesMessage
(recalled []MemoryRecall)
memory/injection.go:28
↓ 3 callers
Method
BuildRecoveryMessage
(agentScope string)
skills/persistence.go:121
↓ 3 callers
Function
BuildSubagentState
(parentState *AgentState, permissionMode string)
agent/loop.go:1536
↓ 3 callers
Method
CheckPermissionChain
(tc coretools.ToolCall, tool coretools.Tool, state *AgentState)
agent/loop.go:1395
↓ 3 callers
Function
ClassifyCommand
(command string)
tools/bash/classifier.go:80
↓ 3 callers
Function
CleanupExpiredMemories
(memoryDir string, ttlDays map[MemoryType]int, now time.Time)
memory/cleanup.go:45
↓ 3 callers
Method
CleanupScope
(scopeID string)
agent/task_runtime.go:537
↓ 3 callers
Method
ClearAll
()
skills/persistence.go:151
↓ 3 callers
Method
Close
(context.Context)
mcp/transport.go:286
↓ 3 callers
Function
CollectInlineSkillRuntime
(messages []map[string]any)
skills/runtime.go:54
↓ 3 callers
Function
CommitAssistantTurn
(state *AgentState, thinkingContent []map[string]any, fullText string, toolCalls []coretools.ToolCall, message
agent/messages.go:42
↓ 3 callers
Method
Connect
(ctx context.Context)
mcp/transport.go:221
↓ 3 callers
Method
Connect
(ctx context.Context)
mcp/client.go:114
↓ 3 callers
Method
Create
(cwd string)
backend/session.go:40
↓ 3 callers
Function
DiscoverProjectDocs
(cwd string, cfg config.Config)
agentContext/builder.go:368
↓ 3 callers
Method
Emit
(event TaskUiEvent)
ui/runtime.go:97
↓ 3 callers
Method
EnrichForRender
(call ToolCall, execCtx ExecutionContext)
tools/registry.go:62
↓ 3 callers
Function
EnsureMemoryDirectory
(path string)
memory/resolution.go:85
↓ 3 callers
Method
Evict
(ctx context.Context)
sessionmemory/store.go:542
↓ 3 callers
Function
EvictLeastAccessed
(memoryDir string, maxMemories int)
memory/cleanup.go:78
↓ 3 callers
Method
ExportSkillRecoverySnapshot
()
agent/loop.go:362
↓ 3 callers
Function
ExtractContent
(parts []map[string]any)
mcp/content.go:5
↓ 3 callers
Function
FindLuminaRoot
(start string)
config/config.go:484
↓ 3 callers
Method
FormatLargeResult
(ctx context.Context, content string, maxChars int, toolUseID, sessionDir string)
tools/base.go:58
↓ 3 callers
Method
FormatListing
(skills []SkillSpec, budgetChars int, preserveBundled bool)
skills/discovery.go:55
↓ 3 callers
Function
FormatToolInputForRecall
(rawInput map[string]any)
agent/recall_utils.go:60
↓ 3 callers
Method
GetCommit
(ctx context.Context, commitNo int, includeMessages bool)
sessionmemory/store.go:490
↓ 3 callers
Method
GetInput
(state any)
ui/terminal_backend.go:161
↓ 3 callers
Function
GetPromptBudgetProfile
(role string)
agentContext/builder.go:515
↓ 3 callers
Function
GetSimpleCommandPrefix
(command string)
tools/bash/permissions.go:57
↓ 3 callers
Method
GetSlot
(tcID string)
agent/tools_executor.go:290
↓ 3 callers
Function
HandleOutputTruncation
(state *AgentState, recovery *OutputRecoveryState, toolCalls []coretools.ToolCall, thinkingContent []map[strin
agent/output_recovery.go:44
↓ 3 callers
Function
HarnessSystemPromptAppendix
(mode string)
agent/harness_prompt.go:9
↓ 3 callers
Method
ImportSkillRecoverySnapshot
(snapshot map[string]any)
agent/loop.go:369
↓ 3 callers
Method
IsCommandPrefixConfirmed
(prefix string)
security/permission.go:93
↓ 3 callers
Function
IsMemoryContextMessage
(message map[string]any)
memory/injection.go:76
↓ 3 callers
Function
IsOfficialSuite
(suite string)
benchmark/agentbench/official.go:24
↓ 3 callers
Function
IsPTLErrorMessage
(msg string)
agent/ptl_recovery.go:16
↓ 3 callers
Function
IsReadLikeObservationWithNames
(observation map[string]any, readLikeNames map[string]struct{})
agent/recall_utils.go:107
↓ 3 callers
Function
IsWarningOnly
(result SecurityCheckResult)
tools/bash/security.go:235
↓ 3 callers
Method
ListTasks
(scopeID string)
agent/task_runtime.go:239
↓ 3 callers
Method
MarkSkillHistoryCompacted
(agentScope string)
agent/loop.go:376
↓ 3 callers
Function
MinInt
(a, b int)
agentContext/auto.go:414
↓ 3 callers
Method
Mount
(RenderFrame)
ui/runtime.go:66
↓ 3 callers
Function
NeedUserPermission
(toolName string, toolInput any, state *PermissionState)
security/permission.go:167
↓ 3 callers
Function
NewAPIStatusError
(provider string, statusCode int, status string, body []byte)
api/retry.go:130
↓ 3 callers
Function
NewBackgroundManager
(sessionDir string)
tools/bash/background.go:53
↓ 3 callers
Function
NewSendMessageTool
()
agent/agent_tool.go:365
↓ 3 callers
Function
NewTerminalUIBackendMixin
(renderTaskSnapshot func(map[string]any))
ui/backend.go:32
← previous
next →
401–500 of 2,483, ranked by callers