MCPcopy Create free account

hub / github.com/cytostack/openwolf / functions

Functions238 in github.com/cytostack/openwolf

↓ 49 callersFunctioncap
(s: string)
src/hooks/shared.ts:146
↓ 38 callersFunctionreadJSON
(filePath: string, fallback: T)
src/hooks/shared.ts:22
↓ 27 callersFunctionwriteJSON
(filePath: string, data: unknown)
src/hooks/shared.ts:30
↓ 19 callersMethoderror
(msg: string)
src/utils/logger.ts:53
↓ 16 callersFunctionfindProjectRoot
(from?: string)
src/scanner/project-root.ts:21
↓ 15 callersFunctionensureDir
(dir: string)
src/utils/paths.ts:17
↓ 15 callersMethodwrite
(level: LogLevel, message: string)
src/utils/logger.ts:37
↓ 12 callersMethodinfo
(msg: string)
src/utils/logger.ts:51
↓ 12 callersFunctionnormalizePath
(p: string)
src/hooks/shared.ts:590
↓ 11 callersFunctionwriteText
(filePath: string, content: string)
src/utils/fs-safe.ts:39
↓ 7 callersFunctiongetWolfDir
()
src/hooks/shared.ts:5
↓ 7 callersFunctionreadText
(filePath: string, fallback: string = "")
src/utils/fs-safe.ts:31
↓ 6 callersFunctionensureWolfDir
()
src/hooks/shared.ts:15
↓ 6 callersFunctionisWindows
()
src/utils/platform.ts:3
↓ 5 callersFunctionbroadcast
(msg: unknown)
src/daemon/wolf-daemon.ts:218
↓ 5 callersFunctionformatTokens
(n: number)
src/dashboard/app/lib/utils.ts:16
↓ 4 callersFunctionestimateTokens
(text: string, type: "code" | "prose" | "mixed" = "mixed")
src/hooks/shared.ts:565
↓ 4 callersFunctionextractChangedLines
(oldStr: string, newStr: string)
src/hooks/post-write.ts:540
↓ 4 callersFunctiongetPm2Name
()
src/cli/daemon-cmd.ts:23
↓ 4 callersFunctionhasPm2
()
src/cli/daemon-cmd.ts:28
↓ 4 callersFunctionnormalize
(text: string)
src/buglog/bug-tracker.ts:75
↓ 4 callersFunctionnormalizePath
(p: string)
src/utils/paths.ts:4
↓ 4 callersFunctionnormalizePath
(p: string)
src/cli/registry.ts:113
↓ 4 callersFunctionreadStdin
()
src/hooks/shared.ts:579
↓ 4 callersMethodrunTask
(taskId: string)
src/daemon/cron-engine.ts:92
↓ 4 callersMethodsend
(msg: unknown)
src/dashboard/app/lib/wolf-client.ts:49
↓ 4 callersFunctiontoggle
(key: string)
src/dashboard/app/components/panels/CerebrumViewer.tsx:9
↓ 4 callersMethodwarn
(msg: string)
src/utils/logger.ts:52
↓ 3 callersFunctionappendMarkdown
(filePath: string, line: string)
src/hooks/shared.ts:53
↓ 3 callersMethodconnect
()
src/dashboard/app/lib/wolf-client.ts:14
↓ 3 callersMethoddebug
(msg: string)
src/utils/logger.ts:50
↓ 3 callersFunctiondetectProjectName
(projectRoot: string)
src/cli/init.ts:507
↓ 3 callersFunctiongetBugLogPath
(wolfDir: string)
src/buglog/bug-tracker.ts:23
↓ 3 callersFunctionparseAnatomy
(content: string)
src/hooks/shared.ts:65
↓ 3 callersFunctionprobePort
(port: number)
src/designqc/designqc-capture.ts:134
↓ 3 callersFunctionreadBugLog
(wolfDir: string)
src/buglog/bug-tracker.ts:27
↓ 3 callersFunctionreadLedger
(wolfDir: string)
src/tracker/token-ledger.ts:63
↓ 3 callersFunctionreadMarkdown
(filePath: string)
src/hooks/shared.ts:45
↓ 3 callersFunctionreadRegistry
()
src/cli/registry.ts:30
↓ 3 callersFunctionrelativeTime
(dateStr: string)
src/dashboard/app/lib/utils.ts:5
↓ 3 callersFunctionscanProject
(wolfDir: string, projectRoot: string)
src/scanner/anatomy-scanner.ts:250
↓ 3 callersFunctiontimeShort
()
src/hooks/shared.ts:574
↓ 3 callersFunctionwriteRegistry
(registry: Registry)
src/cli/registry.ts:40
↓ 2 callersFunctionbuildAnatomy
(wolfDir: string, projectRoot: string)
src/scanner/anatomy-scanner.ts:214
↓ 2 callersFunctioncapDescription
(desc: string, max: number = MAX_DESC)
src/scanner/description-extractor.ts:998
↓ 2 callersFunctioncn
(...classes: (string | undefined | false | null)[])
src/dashboard/app/lib/utils.ts:1
↓ 2 callersFunctionestimateTokens
(text: string, filePath: string)
src/scanner/anatomy-scanner.ts:49
↓ 2 callersMethodexecuteTask
(task: CronTask)
src/daemon/cron-engine.ts:120
↓ 2 callersFunctionextractCSSProps
(code: string)
src/hooks/post-write.ts:565
↓ 2 callersFunctionextractCalls
(code: string)
src/hooks/post-write.ts:276
↓ 2 callersFunctionextractDescription
(filePath: string)
src/scanner/description-extractor.ts:122
↓ 2 callersFunctionfindPidOnPort
(port: number)
src/cli/daemon-cmd.ts:38
↓ 2 callersFunctiongetDashboardPort
()
src/cli/daemon-cmd.ts:13
↓ 2 callersFunctiongetLedgerPath
(wolfDir: string)
src/tracker/token-ledger.ts:59
↓ 2 callersFunctiongetRegisteredProjects
(validateExists: boolean = false)
src/cli/registry.ts:88
↓ 2 callersFunctiongetRegistryDir
()
src/cli/registry.ts:22
↓ 2 callersFunctiongetRegistryPath
()
src/cli/registry.ts:26
↓ 2 callersFunctionisPortOpen
(port: number)
src/cli/dashboard.ts:18
↓ 2 callersFunctionkillPid
(pid: number)
src/cli/daemon-cmd.ts:58
↓ 2 callersFunctionmethodList
(items: typeof methods, max = 5)
src/scanner/description-extractor.ts:324
↓ 2 callersMethodonMessage
(handler: MessageHandler)
src/dashboard/app/lib/wolf-client.ts:42
↓ 2 callersMethodreadManifest
()
src/daemon/cron-engine.ts:102
↓ 2 callersMethodreadState
()
src/daemon/cron-engine.ts:109
↓ 2 callersFunctionreadTemplateContent
(filename: string, templatesDir: string)
src/cli/update.ts:306
↓ 2 callersFunctionreadTemplateContent
(filename: string, templatesDir: string)
src/cli/init.ts:316
↓ 2 callersFunctionregisterProject
(projectRoot: string, name: string, version: string)
src/cli/registry.ts:52
↓ 2 callersMethodscheduleReconnect
()
src/dashboard/app/lib/wolf-client.ts:34
↓ 2 callersFunctionserializeAnatomy
( sections: Map<string, AnatomyEntry[]>, metadata: { lastScanned: string; fileCount: number; hits: number;
src/scanner/anatomy-scanner.ts:153
↓ 2 callersFunctionstripTimestamp
(s: string)
src/cli/scan.ts:27
↓ 2 callersFunctiontokenize
(text: string)
src/buglog/bug-tracker.ts:79
↓ 2 callersFunctiontokenize
(text: string)
src/hooks/pre-write.ts:148
↓ 2 callersFunctiontokenizeCode
(code: string)
src/hooks/post-write.ts:547
↓ 2 callersFunctionwriteLedger
(wolfDir: string, ledger: TokenLedger)
src/tracker/token-ledger.ts:84
↓ 2 callersMethodwriteState
(state: CronState)
src/daemon/cron-engine.ts:116
↓ 2 callersFunctionwriteTemplateFile
(templatesDir: string, wolfDir: string, file: string)
src/cli/init.ts:306
↓ 1 callersFunctionappendText
(filePath: string, content: string)
src/utils/fs-safe.ts:56
↓ 1 callersFunctionautoDetectBugFix
(wolfDir: string, absolutePath: string, projectRoot: string, oldStr: string, newStr: string)
src/hooks/post-write.ts:286
↓ 1 callersFunctionbugSearch
(term: string)
src/cli/bug-cmd.ts:6
↓ 1 callersFunctionbuildTree
(entries: WolfData["anatomy"]["entries"])
src/dashboard/app/components/panels/AnatomyBrowser.tsx:12
↓ 1 callersMethodcalculateDelay
(backoff: string, baseSec: number, attempt: number)
src/daemon/cron-engine.ts:198
↓ 1 callersMethodcapture
()
src/designqc/designqc-engine.ts:26
↓ 1 callersFunctioncaptureRouteSectioned
( page: import("puppeteer-core").Page, url: string, viewport: Viewport, outputDir: string, quality:
src/designqc/designqc-capture.ts:52
↓ 1 callersFunctioncheckBugLog
(wolfDir: string, filePath: string, oldStr: string, newStr: string, content: string)
src/hooks/pre-write.ts:101
↓ 1 callersFunctioncheckCerebrum
(wolfDir: string, content: string)
src/hooks/pre-write.ts:54
↓ 1 callersFunctioncheckCerebrumFreshness
* Check if cerebrum.md was updated recently. If it hasn't been updated in * a while and there was significant activity, emit a gentle reminder.
src/hooks/stop.ts:209
↓ 1 callersFunctioncheckForMissingBugLogs
* Check if files were edited multiple times but buglog.json wasn't updated. * Emit a stderr reminder so Claude sees it in the next turn.
src/hooks/stop.ts:184
↓ 1 callersMethodconsolidateMemory
(olderThanDays: number)
src/daemon/cron-engine.ts:233
↓ 1 callersFunctioncopyHookScripts
(wolfDir: string)
src/cli/update.ts:318
↓ 1 callersFunctioncopyHookScripts
(wolfDir: string)
src/cli/init.ts:407
↓ 1 callersFunctioncountFiles
(node: TreeNode)
src/dashboard/app/components/panels/AnatomyBrowser.tsx:80
↓ 1 callersFunctioncreateBackup
* Create a timestamped backup of all .wolf files into .wolf/backups/YYYY-MM-DD_HHMMSS/
src/cli/update.ts:243
↓ 1 callersFunctioncreateProgram
()
src/cli/index.ts:23
↓ 1 callersFunctioncronList
()
src/cli/cron-cmd.ts:27
↓ 1 callersFunctioncronRetry
(id: string)
src/cli/cron-cmd.ts:117
↓ 1 callersFunctioncronRun
(id: string)
src/cli/cron-cmd.ts:72
↓ 1 callersFunctiondaemonLogs
()
src/cli/daemon-cmd.ts:169
↓ 1 callersFunctiondaemonRestart
()
src/cli/daemon-cmd.ts:138
↓ 1 callersFunctiondaemonStart
()
src/cli/daemon-cmd.ts:71
↓ 1 callersFunctiondaemonStop
()
src/cli/daemon-cmd.ts:103
↓ 1 callersFunctiondesignqcCommand
( target?: string, opts?: DesignQCCliOpts, )
src/cli/designqc-cmd.ts:26
next →1–100 of 238, ranked by callers