MCPcopy Create free account

hub / github.com/Muuuun/luxas / functions

Functions585 in github.com/Muuuun/luxas

↓ 49 callersFunctionreadFileSafe
(path: string, fallback = "")
src/utils.ts:132
↓ 39 callersMethodappend
Append an entry, linking it to the current leaf. Returns the new entry's id.
src/session.ts:134
↓ 33 callersMethodhas
Whether the cache has an entry for this path.
src/agents/file-context-cache.ts:67
↓ 32 callersMethodget
Look up a single entry.
src/agents/file-context-cache.ts:64
↓ 25 callersFunctionset
(absPath, entry)
src/agents/file-context-cache.ts:89
↓ 22 callersFunctionblocked
(reason: string)
src/agents/safety-wrappers.ts:206
↓ 22 callersMethodset
* Insert or overwrite the entry for `absPath`. If the cache is at * capacity and this is a new key, the oldest-touched entry is evicted. * Exist
src/agents/file-context-cache.ts:61
↓ 13 callersFunctioncontinueErr
(body: string)
src/tools/spawn-agent.ts:43
↓ 12 callersFunctiongetMetaPaths
()
src/meta-agents/state.ts:53
↓ 11 callersMethodemit
(event: LuxasEvent)
src/extensions.ts:60
↓ 10 callersFunctionerrResult
(text: string)
src/tools/job-control.ts:48
↓ 10 callersFunctionloadRegistry
(agentDir: string)
src/active-agents.ts:124
↓ 10 callersFunctionsmartTruncate
(text: string, maxChars: number)
src/utils.ts:242
↓ 9 callersFunctionerrResult
(text: string)
src/tools/spawn-agent.ts:39
↓ 9 callersMethodgetRole
(message: TMessage)
src/compaction/types.ts:134
↓ 8 callersFunctionextractTextContent
(content: any[])
src/utils.ts:155
↓ 8 callersFunctionfail
(text: string, details: Record<string, any> = {})
src/tools/figure-gen.ts:35
↓ 8 callersFunctionformatExitHint
(exit: SubAgentExit | undefined, projectDir?: string)
src/active-agents.ts:277
↓ 8 callersFunctiongit
(cwd: string, ...args: string[])
src/meta-agents/git-helpers.ts:14
↓ 8 callersFunctionpidAlive
(pid: number)
src/utils.ts:19
↓ 8 callersFunctionreadState
(projectDir: string, jobId: string)
src/jobs/registry.ts:85
↓ 8 callersFunctionspawnAgent
(opts: SpawnAgentOptions)
src/agents/spawn.ts:847
↓ 7 callersFunction_encode_support
Convert list of exponent tuples to list of flat indices (deduplicated).
skills/qec-construct/scripts/kernel/tricycle_stcp.py:48
↓ 7 callersFunction_flat_to_tuple
Convert a flat group index to an exponent tuple (mixed-radix).
skills/qec-construct/scripts/kernel/ccz_subrank.py:131
↓ 7 callersMethodgetBlocks
(message: TMessage)
src/compaction/types.ts:136
↓ 7 callersFunctionreadUsageTotals
(logPath: string)
src/usage-log.ts:90
↓ 7 callersFunctionremoveAgent
(agentDir: string, agentId: string)
src/active-agents.ts:228
↓ 7 callersFunctionwriteState
(projectDir: string, state: JobState)
src/jobs/registry.ts:80
↓ 6 callersFunction_build_matrix
Build the n_G × n_G binary matrix for a group algebra element. For a = Σ g_i, the matrix A has A[α, β] = 1 iff α·β^{-1} is in the support of
skills/qec-construct/scripts/kernel/tricycle_code.py:35
↓ 6 callersFunction_convolve_odd_set
Compute M = {g : |set1 ∩ (g - set2)| is odd}. Equivalently: count pairs (x∈set1, y∈set2) with x+y=g; return {g : count odd}.
skills/qec-construct/scripts/kernel/tricycle_stcp.py:161
↓ 6 callersFunction_encode
(lst)
skills/qec-construct/scripts/kernel/tricycle_stcp.py:324
↓ 6 callersFunction_shift_set
Return {g + shift_idx : g ∈ idx_set} as a set of flat indices.
skills/qec-construct/scripts/kernel/tricycle_stcp.py:60
↓ 6 callersFunction_subset_to_bool
Convert a list of exponent tuples to a boolean array of size |G|.
skills/qec-construct/scripts/kernel/ccz_subrank.py:168
↓ 6 callersFunctionargsHash
(args)
monitor/analyze.cjs:42
↓ 6 callersMethodon
( event: T, handler: ExtensionHandler<Extract<LuxasEvent, { type: T }>>, )
src/extensions.ts:48
↓ 6 callersFunctionpp
(s, o)
skills/qec-construct/tests/smoke_test.py:17
↓ 5 callersFunctioncommit
(next: JobState)
src/jobs/registry.ts:294
↓ 5 callersFunctiongetDefinition
(name: string)
src/agents/registry.ts:94
↓ 5 callersMethodgetPlainText
(message: TMessage)
src/compaction/types.ts:137
↓ 5 callersFunctionmaybeList
(v: unknown)
src/agents/registry.ts:171
↓ 5 callersFunctionrejectPromise
(err: Error)
src/tools/bash-hardened.ts:185
↓ 5 callersFunctionsafeMtime
(absPath: string)
src/agents/safety-wrappers.ts:210
↓ 4 callersFunction_gf2_is_in_span
Check if vector v is in the row-span of `basis` over GF(2).
skills/qec-construct/scripts/kernel/tricycle_distance.py:93
↓ 4 callersFunction_gf2_rank
Compute the GF(2) rank of a binary matrix via Gaussian elimination. Uses uint8 rows and XOR for row operations. Produces reduced row-echelon
skills/qec-construct/scripts/kernel/tricycle_code.py:77
↓ 4 callersFunction_gf2_rref
Row-reduce binary matrix A to reduced row-echelon form over GF(2). Returns: (RREF_matrix, rank, pivot_columns)
skills/qec-construct/scripts/kernel/tricycle_distance.py:16
↓ 4 callersFunction_tuple_to_flat
Convert an exponent tuple to a flat group index.
skills/qec-construct/scripts/kernel/ccz_subrank.py:140
↓ 4 callersFunctionasStringArray
(value: unknown)
src/meta-agents/registry.ts:228
↓ 4 callersFunctionasStringArray
Coerce a YAML value to a string array; non-arrays become [].
src/agents/registry.ts:240
↓ 4 callersFunctioncreateSpawnAgentTool
( projectDir: string, templateVars: Record<string, string>, getApiKey: (provider: string) => Promise<str
src/tools/spawn-agent.ts:240
↓ 4 callersMethodfinalize
(overrideStopReason?: SubAgentStopReason)
src/agents/spawn.ts:743
↓ 4 callersMethodgetBranch
Walk from an entry (default: leaf) back to root, returning entries in root→leaf order.
src/session.ts:156
↓ 4 callersFunctiongitTry
(cwd: string, ...args: string[])
src/meta-agents/git-helpers.ts:30
↓ 4 callersMethodisToolOutcome
(message: TMessage)
src/compaction/types.ts:138
↓ 4 callersFunctionkillGroupAndWait
(pid: number)
src/jobs/registry.ts:196
↓ 4 callersFunctionlistFilesRecursive
(dir: string)
src/utils.ts:120
↓ 4 callersFunctionloadProjects
()
src/memory.ts:41
↓ 4 callersFunctionmaybeList
(v: unknown)
src/meta-agents/registry.ts:148
↓ 4 callersMethodopen
(file: string, cwd: string)
src/session.ts:113
↓ 4 callersFunctionparseCompileVerdict
(reportDir: string, base?: string)
src/tools/report.ts:404
↓ 4 callersFunctionprocessIsOurs
(pid: number, expectedCommand: string)
src/jobs/registry.ts:151
↓ 4 callersFunctionresolveInProject
(projectDir: string, p: string)
src/tools/figure-gen.ts:27
↓ 4 callersFunctionresolveModel
(modelKey: string, agentName?: string)
src/agents/spawn.ts:250
↓ 4 callersFunctionsetValueAndCursorEnd
(v: string)
src/tui/input-bar.tsx:66
↓ 4 callersFunctionslimExit
(exit: any)
src/tools/spawn-agent.ts:209
↓ 4 callersFunctionwithRegistryLock
(agentDir: string, fn: (agents: ActiveAgent[]) => void)
src/active-agents.ts:145
↓ 4 callersFunctionwithinRoots
(abs: string, roots: string[])
src/agents/safety-wrappers.ts:844
↓ 3 callersFunction_check_stcp_conditions
Check STCP conditions 1-3 for a single group algebra element. Conditions (empty free partition, Menon2025): 1. |in| + |out| is even 2
skills/qec-construct/scripts/kernel/tricycle_stcp.py:109
↓ 3 callersFunction_convolve_gf2
Convolution A ⋆ B in the GF(2) group algebra of G. Returns a boolean array of size |G| where entry x is 1 iff Σ_{y∈G} A(y)·B(x−y) ≡ 1 (mod 2)
skills/qec-construct/scripts/kernel/ccz_subrank.py:178
↓ 3 callersFunction_generated_subgroup
Closure of support elements under the abelian group op -> set of flat idx.
skills/qec-construct/scripts/kernel/cheap_screen.py:108
↓ 3 callersFunction_gf2_nullspace
Compute a basis for the nullspace of A over GF(2). Returns: Basis matrix of shape (nullity, n). Empty (0,n) if nullity=0.
skills/qec-construct/scripts/kernel/tricycle_distance.py:48
↓ 3 callersFunction_gf2_row_space_basis
Compute a basis for the row space of A over GF(2). Returns: Basis matrix of shape (rank, n). Empty (0,n) if rank=0.
skills/qec-construct/scripts/kernel/tricycle_distance.py:80
↓ 3 callersFunction_gf2_rref
Row-reduced echelon form over GF(2). Returns (R, rank).
skills/qec-construct/scripts/kernel/ccz_subrank.py:26
↓ 3 callersFunction_group_to_index
Convert a tuple of exponents to a flat integer index via mixed-radix. Example: group_shape=(2,2,4), exponents=(1,0,3) → 1*8 + 0*4 + 3 = 11.
skills/qec-construct/scripts/kernel/tricycle_code.py:12
↓ 3 callersFunction_index_to_group
Convert a flat integer index back to a tuple of exponents. Example: group_shape=(2,2,4), idx=11 → (1,0,3).
skills/qec-construct/scripts/kernel/tricycle_code.py:23
↓ 3 callersFunction_vec_support_exponents
Return exponent tuples for indices in [start, end) where vec==1.
skills/qec-construct/scripts/kernel/ccz_subrank.py:424
↓ 3 callersFunction_vec_support_flat_set
Return flat indices (0..n_G-1) where vec==1 within [start, end).
skills/qec-construct/scripts/kernel/ccz_subrank.py:430
↓ 3 callersFunctionallowedWriteMessage
(p: string, roots: string[], projectDir: string)
src/agents/safety-wrappers.ts:859
↓ 3 callersFunctionatomicWriteJson
(path: string, value: unknown)
src/utils.ts:28
↓ 3 callersFunctioncheck
(rel: string, expected: string)
src/agents/context-builders.ts:409
↓ 3 callersFunctioncleanMessagesForModel
( messages: any[], currentModel: { provider: string; id: string }, )
src/transform.ts:13
↓ 3 callersFunctionconsider
(e)
skills/qec-construct/scripts/kernel/cheap_screen.py:63
↓ 3 callersFunctioncreateSpawnToolFactory
( projectDir: string, getApiKey: (provider: string) => Promise<string | undefined> | string | undefined, )
src/tools/spawn-agent.ts:232
↓ 3 callersFunctioncurrentJobOwner
()
src/jobs/als.ts:22
↓ 3 callersFunctionderiveProjectTitle
(text: string, maxLen = 120)
src/utils.ts:82
↓ 3 callersFunctionexpandTemplate
(s: string, vars: Record<string, string>)
src/utils.ts:146
↓ 3 callersFunctionextractFrontmatterBlock
(src: string)
src/utils.ts:202
↓ 3 callersFunctionfield
(name: string)
src/utils.ts:323
↓ 3 callersFunctiongateBlockingIssues
(v: CompileVerdict)
src/tools/report.ts:572
↓ 3 callersFunctiongenerateProjectName
(topic: string)
src/tui/projects.ts:121
↓ 3 callersMethodgetEntries
()
src/session.ts:279
↓ 3 callersFunctiongetPathArg
(params: any)
src/agents/safety-wrappers.ts:198
↓ 3 callersMethodgetRecentEntries
Get entries on current branch after the last compaction (or all if none).
src/session.ts:171
↓ 3 callersFunctiongetTexEnv
()
src/tools/report.ts:77
↓ 3 callersMethodgetToolOutcomeCallId
(message: TMessage)
src/compaction/types.ts:139
↓ 3 callersFunctionhasNestedToolResults
Check whether a message is an OpenAI-style user message wrapping tool_result blocks.
src/compaction/adapter.ts:18
↓ 3 callersFunctionisCredentialPath
(abs: string)
src/agents/safety-wrappers.ts:172
↓ 3 callersFunctionjobDir
(projectDir: string, jobId: string)
src/jobs/registry.ts:64
↓ 3 callersFunctionjobStatePath
(projectDir: string, jobId: string)
src/jobs/registry.ts:68
↓ 3 callersFunctionlatexEscape
(s: string)
src/tools/authority-escalation.ts:153
↓ 3 callersFunctionlineCount
(rel)
monitor/analyze.cjs:64
next →1–100 of 585, ranked by callers