MCPcopy Create free account
hub / github.com/aetherstate/GODMOD3.AI / applySTMs

Function applySTMs

HF/src/stm/modules.ts:143–153  ·  view source on GitHub ↗
(text: string, modules: STMModule[])

Source from the content-addressed store, hash-verified

141 * Apply enabled STM modules to text
142 */
143export function applySTMs(text: string, modules: STMModule[]): string {
144 let result = text
145
146 for (const module of modules) {
147 if (module.enabled) {
148 result = module.transformer(result, module.config)
149 }
150 }
151
152 return result
153}

Callers 4

applySTMTransformsFunction · 0.90
chat.tsFile · 0.90
transform.tsFile · 0.90
ultraplinian.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected