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
↓ 1 callers
Method
createPreambleMessages
(payload: { note: string; removedCount: number; })
src/compaction/types.ts:156
↓ 1 callers
Function
createProjectShell
(baseDir: string, topic: string)
src/tui/projects.ts:151
↓ 1 callers
Function
createRecentFilesProvider
( cache: FileContextCache, opts: RecentFilesProviderOptions, )
src/compaction/attachments.ts:79
↓ 1 callers
Function
createSafetyWrapper
(opts: SafetyOptions)
src/agents/safety-wrappers.ts:815
↓ 1 callers
Function
createSubAgentFinishTool
()
src/tools/sub-agent-exit.ts:23
↓ 1 callers
Function
createTokenTap
()
src/compaction/token-tap.ts:31
↓ 1 callers
Function
createWolframTool
()
src/tools/wolfram.ts:50
↓ 1 callers
Function
defaultFix
(ctx: OverfullHit["ctx"])
src/tools/report.ts:393
↓ 1 callers
Function
detectNoProgress
(entries, threshold = 10)
monitor/analyze.cjs:189
↓ 1 callers
Function
detectPhases
(entries)
monitor/analyze.cjs:334
↓ 1 callers
Function
detectPingPong
(entries)
monitor/analyze.cjs:141
↓ 1 callers
Function
detectSilentFail
(entries)
monitor/analyze.cjs:165
↓ 1 callers
Function
detectStuckLoop
(entries, window = 15, threshold = 5)
monitor/analyze.cjs:133
↓ 1 callers
Function
dfs
(name: string, path: string[])
src/meta-agents/registry.ts:209
↓ 1 callers
Function
dfs
(name: string, path: string[])
src/agents/registry.ts:220
↓ 1 callers
Method
dihedral
D_n of order 2n via two permutation generators (rotation r, flip s).
skills/qec-construct/scripts/kernel/group.py:92
↓ 1 callers
Function
directiveImpliesNewWork
(directive: string | undefined)
src/tools/index.ts:162
↓ 1 callers
Function
discoverSkills
* Discover skills from the Luxas package's skills/ directory. * Follows Agent Skills spec: parse SKILL.md frontmatter for name + description. * Retu
src/context.ts:642
↓ 1 callers
Function
ensureDir
()
src/memory.ts:37
↓ 1 callers
Function
ensureMetaDirs
()
src/meta-agents/state.ts:70
↓ 1 callers
Function
ensureMethodologyFile
(projectDir: string)
src/methodology.ts:47
↓ 1 callers
Function
ensureSummarizer
()
src/compaction/create-transform.ts:85
↓ 1 callers
Function
errorContent
(text: string)
src/agents/safety-wrappers.ts:202
↓ 1 callers
Method
evaluate
* Return a short string (1–2 lines) or null to suppress. * Must be fast and synchronous — reads disk state or flags, nothing else.
src/reminders.ts:41
↓ 1 callers
Function
extractBashWriteTargets
(cmd: string)
src/agents/safety-wrappers.ts:670
↓ 1 callers
Function
extractErrorText
Extract error text from tool result.
src/hooks.ts:267
↓ 1 callers
Function
extractExpectedArtifact
(task: string)
src/active-agents.ts:204
↓ 1 callers
Function
extractReadContent
* Pull the text payload from a pi-coding-agent Read tool result. The tool * returns { content: [{ type:"text", text }], details? } (or image blocks
src/agents/safety-wrappers.ts:305
↓ 1 callers
Function
extractResearchQuestion
* Extract the actual research question from RESEARCH.md. Anchored on the * verbatim user request blockquote when present (renderResearchDoc shape);
src/memory.ts:269
↓ 1 callers
Function
extractTokenCount
(usage: any)
src/compaction/token-tap.ts:19
↓ 1 callers
Function
fileExists
(rel)
monitor/analyze.cjs:60
↓ 1 callers
Function
fileSize
(path: string)
src/usage-log.ts:48
↓ 1 callers
Function
fileSize
(rel)
monitor/analyze.cjs:70
↓ 1 callers
Function
findExperimentsModifiedSince
( projectDir: string, sinceMs: number, )
src/tools/index.ts:175
↓ 1 callers
Function
findLatestIllustratorNotes
* Find the most-recently-written illustrator notes file. Each illustrator * spawn writes to reviews/illustrator_notes.{spawn_id}.md so concurrent run
src/agents/context-builders.ts:356
↓ 1 callers
Function
findOldTextLine
(fileContent: string, oldText: string)
src/agents/edit-recovery.ts:136
↓ 1 callers
Function
findPdf
(dir: string)
src/tui/projects.ts:110
↓ 1 callers
Function
findTailStart
( messages: TMessage[], adapter: ConversationAdapter<TMessage>, keepTailMessages: number, )
src/compaction/rounds.ts:20
↓ 1 callers
Function
findUnprocessedPapers
(projectDir: string)
src/methodology.ts:100
↓ 1 callers
Function
findWolfram
()
src/tools/wolfram.ts:23
↓ 1 callers
Function
formatCost
(usd: number)
src/tui/theme.ts:85
↓ 1 callers
Function
formatElapsed
(ms: number)
src/tui/theme.ts:90
↓ 1 callers
Function
formatTrailer
( trunc: ReturnType<typeof truncateTail>, fullOutput: string, logPath: string, )
src/tools/bash-hardened.ts:80
↓ 1 callers
Method
from_permutations
Close a set of permutation generators (tuples) into a group. generators: list of permutations as tuples perm where perm[i] is the ima
skills/qec-construct/scripts/kernel/group.py:55
↓ 1 callers
Method
gc
Remove expired flags.
src/reminders.ts:72
↓ 1 callers
Function
genId
()
src/session.ts:83
↓ 1 callers
Function
generate
(prompt: str, out_path: Path, model: str, remove_bg: bool)
skills/figure/scripts/hybrid_gen.py:20
↓ 1 callers
Function
generateProjectSummary
* Generate a compact summary from a project's notes files. * Extracts section headers + key conclusions.
src/memory.ts:145
↓ 1 callers
Function
getActiveBackgroundAgents
(projectDir?: string)
src/tools/spawn-agent.ts:223
↓ 1 callers
Method
getToolOutcomeName
(message: TMessage)
src/compaction/types.ts:140
↓ 1 callers
Function
groupByAssistantRounds
( messages: TMessage[], adapter: ConversationAdapter<TMessage>, )
src/compaction/rounds.ts:40
↓ 1 callers
Function
handleContinue
( params: { id?: string; task?: string; templateVars?: Record<string, string> }, ctx: ContinueContext, )
src/tools/spawn-agent.ts:84
↓ 1 callers
Function
hasFileNewerThan
(dir: string, sinceMs: number, depth: number)
src/tools/index.ts:194
↓ 1 callers
Function
inboxLocked
()
src/meta-agents/state.ts:205
↓ 1 callers
Function
initProject
(dir: string, prompt?: string)
src/index.ts:765
↓ 1 callers
Function
injectSnapshot
(messages: any[], snapshot: string)
src/context.ts:243
↓ 1 callers
Function
intersection_N
(supp_a, supp_b, supp_c, group_shape)
skills/qec-construct/scripts/kernel/cheap_screen.py:131
↓ 1 callers
Function
isJwtExpired
(jwt: string)
src/auth.ts:93
↓ 1 callers
Method
isToolCall
(message: TMessage)
src/compaction/types.ts:141
↓ 1 callers
Function
jobLogPath
(projectDir: string, jobId: string)
src/jobs/registry.ts:72
↓ 1 callers
Function
lastAssistantStopReason
(agent: InstanceType<typeof Agent>)
src/agents/spawn.ts:601
↓ 1 callers
Function
listAgentDescriptions
()
src/agents/registry.ts:105
↓ 1 callers
Function
listAuthoritativeArtifactPaths
( projectDir: string, tiers: AuthoritativeArtifactTier[] = DEFAULT_AUTHORITATIVE_ARTIFACTS, )
src/compaction/attachments.ts:238
↓ 1 callers
Function
listJobsByOwner
(projectDir: string, ownerAgentId: string)
src/jobs/registry.ts:107
↓ 1 callers
Function
listPaperIds
(projectDir: string)
src/methodology.ts:80
↓ 1 callers
Function
listProjects
()
src/index.ts:603
↓ 1 callers
Function
literaturePath
(projectDir: string)
src/methodology.ts:125
↓ 1 callers
Function
loadMetaAgentDefinitions
()
src/meta-agents/registry.ts:52
↓ 1 callers
Function
loadState
()
monitor/analyze.cjs:87
↓ 1 callers
Function
looksTooLarge
(error: unknown)
src/compaction/summarizer.ts:54
↓ 1 callers
Function
main
()
src/subagent-runner.ts:78
↓ 1 callers
Function
main
()
skills/figure/scripts/hybrid_gen.py:77
↓ 1 callers
Function
makeScaffold
(title: string)
src/tools/init-report.ts:14
↓ 1 callers
Method
markAttempt
()
src/agents/spawn.ts:588
↓ 1 callers
Function
markDone
(agentDir: string, agentId: string, result: string, exit?: SubAgentExit)
src/active-agents.ts:236
↓ 1 callers
Function
measurePressure
( observedTokenCount: number | undefined, observedCharCount: number, windowPlan: PackingWindowPlan, ch
src/compaction/thresholds.ts:62
↓ 1 callers
Function
mergeRuntimeHooks
Combine several SafetyRuntimeHooks instances into one; undefined entries ignored.
src/agents/spawn.ts:382
↓ 1 callers
Function
newJobId
()
src/jobs/registry.ts:76
↓ 1 callers
Function
normalizeEvidencePath
(projectDir: string, evidencePath: string)
src/tools/authority-escalation.ts:45
↓ 1 callers
Function
normalizeStopReason
* Map pi-ai's stop reason vocabulary to the SubAgentExit contract. * pi-ai emits: "stop" | "length" | "toolUse" | "error" | "aborted" | undefined. *
src/agents/spawn.ts:698
↓ 1 callers
Function
onAbort
()
src/tools/bash-hardened.ts:238
↓ 1 callers
Function
parseAgentDefinition
( raw: string, filename: string, )
src/meta-agents/registry.ts:93
↓ 1 callers
Function
parseAgentDefinition
(raw: string, filename: string)
src/agents/registry.ts:120
↓ 1 callers
Function
parseArgs
()
src/subagent-runner.ts:54
↓ 1 callers
Function
parseConvJsonl
(conversationFile: string)
src/active-agents.ts:401
↓ 1 callers
Function
parseExperimentSections
(text: string)
src/tools/index.ts:67
↓ 1 callers
Function
parseLiteratureCiteKeys
(content: string | null)
src/methodology.ts:154
↓ 1 callers
Function
parsePlanSections
(text: string)
src/tools/index.ts:48
↓ 1 callers
Function
parseProcessedLedger
(content: string | null)
src/methodology.ts:61
↓ 1 callers
Function
parseSkillFrontmatter
* Parse YAML frontmatter from SKILL.md — extracts name and description only. * Minimal parser (no yaml dependency), handles the standard frontmatter
src/context.ts:680
↓ 1 callers
Function
peelOldestRounds
( messages: TMessage[], adapter: ConversationAdapter<TMessage>, dropFraction: number, )
src/compaction/rounds.ts:63
↓ 1 callers
Function
persistDirectiveIfNew
* Persist --directive into notes/directives/<ts>.md so it survives session * restart / resume. context.ts and pi-agent.ts read the UNION of all files
src/index.ts:742
↓ 1 callers
Function
pickCJKFont
()
src/tools/report.ts:93
↓ 1 callers
Function
promoteTablesInTwoColumn
* In a `[twocolumn]` document, `\begin{table}` constrains the float to a single * ~3.4in column; wide content overflows into the adjacent column's bo
src/tools/report.ts:268
↓ 1 callers
Function
pruneHistoricToolOutputs
( messages: TMessage[], adapter: ConversationAdapter<TMessage>, policy: ToolPrunePolicy = {}, )
src/compaction/tool-pruner.ts:48
↓ 1 callers
Function
quantum_distance_upper
Fast heuristic UPPER bound on d_Z (min-weight nontrivial logical Z). Randomized information-set style: permute columns, GF(2)-reduce ker(H_X) so
skills/qec-construct/scripts/kernel/cheap_screen.py:45
↓ 1 callers
Function
readAuthorityEscalations
(projectDir: string)
src/tools/authority-escalation.ts:76
↓ 1 callers
Function
readContentForCache
Read a file's content for caching. Returns undefined above the byte cap.
src/agents/safety-wrappers.ts:488
↓ 1 callers
Function
readJsonLines
(filePath)
monitor/analyze.cjs:32
↓ 1 callers
Function
readTail
* Bounded tail read: open the log, seek to size - MAX_TAIL_BYTES, read up * to MAX_TAIL_BYTES, drop the (possibly truncated) first line if we didn't
src/tools/job-control.ts:120
← previous
next →
301–400 of 585, ranked by callers