Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Muuuun/luxas
/ functions
Functions
585 in github.com/Muuuun/luxas
⨍
Functions
585
◇
Types & classes
109
↓ 3 callers
Function
listJobIds
(projectDir: string)
src/jobs/registry.ts:95
↓ 3 callers
Function
loadOwnedJob
(jobId: string)
src/tools/job-control.ts:58
↓ 3 callers
Function
md5OrNull
(path: string)
src/utils.ts:163
↓ 3 callers
Function
methodologyPath
(projectDir: string)
src/methodology.ts:39
↓ 3 callers
Function
normalizeForFuzzyMatch
(text: string)
src/agents/edit-recovery.ts:35
↓ 3 callers
Function
notifyFileContextEntry
( hooks: SafetyRuntimeHooks | undefined, absPath: string, entry: FileContextEntry, )
src/agents/safety-wrappers.ts:607
↓ 3 callers
Function
ok
(text: string, details: Record<string, any> = {})
src/tools/figure-gen.ts:31
↓ 3 callers
Function
ownerOrError
()
src/tools/job-control.ts:52
↓ 3 callers
Function
parseAuditFrontmatter
(block: string)
src/utils.ts:213
↓ 3 callers
Function
readCounter
(path: string)
src/meta-agents/state.ts:80
↓ 3 callers
Function
readJsonKey
(path: string, keys: string[])
src/auth.ts:175
↓ 3 callers
Function
readSisyphusAuthKey
* Persistent fallback for API keys when env doesn't have them. Used when * Sisyphus is spawned by a parent that lacks shell env (notably the * studi
src/auth.ts:145
↓ 3 callers
Function
registryPath
(agentDir: string)
src/active-agents.ts:120
↓ 3 callers
Method
regular_rep
Left regular representation B_G(a) for a = sum_{g in support} g. B[mult[g, j], j] = 1 for each g in support, each j (mod 2 dedup). s
skills/qec-construct/scripts/kernel/group.py:99
↓ 3 callers
Function
renderScriptPreview
(entry: ScriptFile, previewLines: number)
src/agents/context-builders.ts:48
↓ 3 callers
Function
resolveScopeRoots
( roots: string[] | undefined, projectDir: string, templateVars: Record<string, string>, )
src/agents/safety-wrappers.ts:850
↓ 3 callers
Method
setFlag
(key: string, value: any = true, ttlMs?: number)
src/reminders.ts:63
↓ 3 callers
Function
settlePromise
(value: { content: any[]; details: BashResult })
src/tools/bash-hardened.ts:180
↓ 3 callers
Function
truncate
(text: string, maxLen: number)
src/pi-agent.ts:581
↓ 3 callers
Function
writeCounter
(path: string, n: number)
src/meta-agents/state.ts:87
↓ 2 callers
Function
_crashLog
(kind: "unhandledRejection" | "uncaughtException", err: unknown)
src/index.ts:65
↓ 2 callers
Function
_group_to_index
Convert a tuple of exponents to a flat integer index (mixed-radix).
skills/qec-construct/scripts/kernel/tricycle_stcp.py:17
↓ 2 callers
Function
_kccz_greedy
Greedy decomposition of the logical CCZ tensor. Iteratively picks a unit entry, removes all entries sharing any of its three indices, and rep
skills/qec-construct/scripts/kernel/ccz_subrank.py:272
↓ 2 callers
Function
_solve_ilp_pulp
Solve the ILP using PuLP with the named solver backend.
skills/qec-construct/scripts/kernel/tricycle_distance.py:196
↓ 2 callers
Function
addAgent
(agentDir: string, agent: ActiveAgent)
src/active-agents.ts:183
↓ 2 callers
Method
appendMessage
#5: Append a raw agent message as a MessageEntry.
src/session.ts:271
↓ 2 callers
Function
appendPIFeedback
* Append-only persistence for PI feedback. Overwriting destroyed prior * rounds' instructions mid-run (observed: a ">=3 ramp shapes" instruction * s
src/pi-agent.ts:546
↓ 2 callers
Function
archiveSlug
(projectDir: string)
src/memory.ts:369
↓ 2 callers
Method
attach
(agent: InstanceType<typeof Agent>, tokenTap: TokenTap)
src/agents/spawn.ts:735
↓ 2 callers
Method
attachRecovery
(recovery: LengthRecoveryController)
src/agents/spawn.ts:736
↓ 2 callers
Function
budgetWeight
Char budget weighted for CJK: ~1 token/char vs ~1 token/4 chars for ASCII.
src/memory.ts:300
↓ 2 callers
Function
buildAgentFromDefinition
(opts: SpawnAgentOptions)
src/agents/spawn.ts:392
↓ 2 callers
Function
buildFigureConvergenceBlock
(projectDir: string)
src/agents/context-builders.ts:378
↓ 2 callers
Function
buildPrompt
(researchGoal: string, userDirective?: string)
src/index.ts:472
↓ 2 callers
Function
buildSafetyWrapper
( config: SafetyConfig | undefined, )
src/agents/safety-wrappers.ts:874
↓ 2 callers
Function
buildSessionContext
(session: Session)
src/session.ts:296
↓ 2 callers
Function
bumpCounterAtomic
* Atomically increment a counter file. The naive read-then-write at * `bumpRunCounter` previously was a non-atomic read-modify-write — two * concurr
src/meta-agents/state.ts:119
↓ 2 callers
Function
classifyThrownStopReason
(err: unknown)
src/active-agents.ts:86
↓ 2 callers
Function
cleanDirName
(name: string)
src/tui/projects.ts:104
↓ 2 callers
Method
clear
Drop all entries. Used post-compact to avoid double-injection.
src/agents/file-context-cache.ts:79
↓ 2 callers
Function
cloneMessage
(message: TMessage)
src/compaction/adapter.ts:13
↓ 2 callers
Function
collectScripts
(projectDir: string, opts: { maxFiles?: number } = {})
src/agents/context-builders.ts:28
↓ 2 callers
Function
commitTerminal
(next: JobState)
src/tools/bash-hardened.ts:190
↓ 2 callers
Method
create
(file: string, cwd: string)
src/session.ts:100
↓ 2 callers
Function
createAuthorityEscalationTools
(projectDir: string)
src/tools/authority-escalation.ts:101
↓ 2 callers
Function
createCodingToolsForProject
(projectDir: string)
src/tools/coding.ts:14
↓ 2 callers
Function
createCompactionTransform
( opts: CompactionTransformOptions, )
src/compaction/create-transform.ts:59
↓ 2 callers
Function
createFileContextCache
( opts: { maxEntries?: number } = {}, )
src/agents/file-context-cache.ts:82
↓ 2 callers
Function
createLengthRecoveryController
()
src/agents/spawn.ts:591
↓ 2 callers
Function
createReportTools
(projectDir: string)
src/tools/report.ts:101
↓ 2 callers
Function
createResearchAgent
(opts: ResearchAgentOptions)
src/agent.ts:100
↓ 2 callers
Function
createSubAgentExitCollector
(t0: number)
src/agents/spawn.ts:746
↓ 2 callers
Function
deriveState
(session: Session)
src/session.ts:284
↓ 2 callers
Function
detectGenericRepeat
(entries, window = 10, threshold = 3)
monitor/analyze.cjs:99
↓ 2 callers
Function
discoverProjects
(baseDir: string)
src/tui/projects.ts:38
↓ 2 callers
Function
driveAgentWithLengthRecovery
* Inner length-recovery loop shared by initial spawn (runWithLengthRecovery) * and continue (continueWithLengthRecovery). Repeats while the last assi
src/agents/spawn.ts:665
↓ 2 callers
Function
ensureLiteratureFile
(projectDir: string)
src/methodology.ts:134
↓ 2 callers
Function
errResult
(text: string)
src/tools/authority-escalation.ts:41
↓ 2 callers
Function
evaluateProgress
( opts: PIMonitorOptions, toolCallCount: number, milestoneInfo?: { milestone: string; questions?: string
src/pi-agent.ts:218
↓ 2 callers
Function
findAnchorMatches
(fuzzyContent: string, anchor: string)
src/agents/edit-recovery.ts:63
↓ 2 callers
Function
flush
()
src/tools/index.ts:77
↓ 2 callers
Function
formatExcerpt
(lines: string[], centerLine: number)
src/agents/edit-recovery.ts:116
↓ 2 callers
Function
formatFeedback
(verdict: PIVerdict, toolCallCount: number)
src/pi-agent.ts:551
↓ 2 callers
Function
formatTokens
(n: number)
src/tui/theme.ts:78
↓ 2 callers
Function
freshExcerptError
( absPath: string, displayPath: string, oldText: string, originalErr: string, cachedContent?: string
src/agents/edit-recovery.ts:155
↓ 2 callers
Function
getApiKey
(provider: string)
src/auth.ts:166
↓ 2 callers
Method
getCompactionSummary
Get the latest compaction summary on the current branch.
src/session.ts:184
↓ 2 callers
Function
getContextWindow
(model: Model<any>)
src/compaction/create-transform.ts:28
↓ 2 callers
Function
handleResult
()
src/tools/bash-hardened.ts:244
↓ 2 callers
Function
heartbeatPath
(agentDir: string, agentId: string)
src/active-agents.ts:326
↓ 2 callers
Function
heuristicNote
( messages: TMessage[], adapter: ConversationAdapter<TMessage>, )
src/compaction/summarizer.ts:172
↓ 2 callers
Method
inspect
( messages: TMessage[], usageTokens?: number, )
src/compaction/engine.ts:35
↓ 2 callers
Method
install
* Subscribe to an agent's events to capture token usage. * Returns an unsubscribe function.
src/compaction/token-tap.ts:16
↓ 2 callers
Function
installUsageTracking
(logPath: string)
src/usage-log.ts:191
↓ 2 callers
Function
isAlive
(agentDir: string, agentId: string, thresholdMs = 60_000)
src/active-agents.ts:345
↓ 2 callers
Function
isSystemReserved
(abs: string, projectDir: string)
src/agents/safety-wrappers.ts:136
↓ 2 callers
Function
isThrowawayPath
(projectDir: string)
src/memory.ts:98
↓ 2 callers
Function
isTransientError
(err: unknown)
src/usage-log.ts:141
↓ 2 callers
Function
jobsDir
(projectDir: string)
src/jobs/registry.ts:60
↓ 2 callers
Function
killGroup
()
src/tools/bash-hardened.ts:228
↓ 2 callers
Function
listDir
(rel)
monitor/analyze.cjs:76
↓ 2 callers
Function
loadAgentDefinitions
()
src/agents/registry.ts:77
↓ 2 callers
Function
loadJsonl
(path: string, parse: (line: string) => T | null)
src/meta-agents/observations.ts:77
↓ 2 callers
Function
markFailed
(agentDir: string, agentId: string, error: string, exit?: SubAgentExit)
src/active-agents.ts:248
↓ 2 callers
Function
normalizeDoi
(doi)
monitor/analyze.cjs:55
↓ 2 callers
Function
notifyFileTouched
( hooks: SafetyRuntimeHooks | undefined, abs: string, via: "write" | "edit", )
src/agents/safety-wrappers.ts:593
↓ 2 callers
Function
originalRequestBlock
(text: string)
src/utils.ts:60
↓ 2 callers
Function
parseFollowUps
(text: string)
src/utils.ts:293
↓ 2 callers
Function
parseLatestPIVerdict
(projectDir: string)
src/tools/index.ts:111
↓ 2 callers
Function
pickAnchors
(oldText: string)
src/agents/edit-recovery.ts:48
↓ 2 callers
Function
pickRequireToolChoice
(model: any)
src/agents/spawn.ts:272
↓ 2 callers
Function
reconcileOnStartup
(projectDir: string)
src/jobs/registry.ts:218
↓ 2 callers
Function
registerProject
(projectDir: string)
src/memory.ts:69
↓ 2 callers
Function
registryPath
(projectDir: string)
src/tools/authority-escalation.ts:37
↓ 2 callers
Function
resolveContextBuilder
(name: string | undefined)
src/agents/context-builders.ts:64
↓ 2 callers
Function
resolvePrompt
(def: AgentDefinition, vars: Record<string, string>)
src/agents/registry.ts:101
↓ 2 callers
Function
runLatex
()
src/tools/figure-gen.ts:175
↓ 2 callers
Function
runWithLengthRecovery
( agent: InstanceType<typeof Agent>, initialPrompt: string, recovery: LengthRecoveryController, )
src/agents/spawn.ts:628
↓ 2 callers
Function
saveProjects
(projects: ProjectEntry[])
src/memory.ts:60
↓ 2 callers
Function
selectPastProjects
(currentDir: string)
src/memory.ts:245
← previous
next →
101–200 of 585, ranked by callers