MCPcopy Create free account

hub / github.com/LonelyHerbivore/Trellis-Herbivore / functions

Functions1,412 in github.com/LonelyHerbivore/Trellis-Herbivore

↓ 92 callersFunctioninit
(options: InitOptions)
packages/cli/src/commands/init.ts:1058
↓ 92 callersFunctionwriteProjectFile
(relativePath: string, content: string)
packages/cli/test/regression.test.ts:1273
↓ 84 callersMethodresolve
(key: string)
packages/core/src/channel/internal/store/thread-state.ts:43
↓ 73 callersFunctioncolored
Apply ANSI color to text.
packages/cli/src/templates/trellis/scripts/common/log.py:23
↓ 66 callersFunctioncreateChannel
( opts: CreateChannelOptions, )
packages/core/src/channel/api/create.ts:22
↓ 65 callersFunctionisManagedPath
(dirPath: string)
packages/cli/src/configurators/index.ts:504
↓ 65 callersFunctionresolvePlaceholders
( content: string, context?: TemplateContext, )
packages/cli/src/configurators/shared.ts:116
↓ 64 callersFunctionsendMessage
( opts: SendMessageOptions, )
packages/core/src/channel/api/send.ts:11
↓ 61 callersFunctionloadHashes
(cwd: string)
packages/cli/src/utils/template-hash.ts:74
↓ 51 callersFunctionev
(kind: string, extra: Record<string, unknown> = {})
packages/core/test/channel/worker-state.test.ts:11
↓ 51 callersFunctionsetupTaskRepo
()
packages/cli/test/regression.test.ts:1341
↓ 50 callersFunctionget_repo_root
Find the nearest directory containing .trellis/ folder. This handles nested git repos correctly (e.g., test project inside another repo). Ar
packages/cli/src/templates/trellis/scripts/common/paths.py:44
↓ 49 callersFunctioncompareVersions
(a: string, b: string)
packages/cli/src/utils/compare-versions.ts:11
↓ 49 callersFunctionreplacePythonCommandLiterals
(content: string)
packages/cli/src/configurators/shared.ts:64
↓ 44 callersFunctionwriteFile
( filePath: string, content: string, options?: { executable?: boolean }, )
packages/cli/src/utils/file-writer.ts:113
↓ 43 callersFunctioncomputeHash
(content: string)
packages/cli/src/utils/template-hash.ts:42
↓ 41 callersFunctionupdate
(options: UpdateOptions)
packages/cli/src/commands/update.ts:1706
↓ 40 callersFunctionconfigurePlatform
( platformId: AITool, cwd: string, )
packages/cli/src/configurators/index.ts:529
↓ 39 callersFunctionensureDir
(dirPath: string)
packages/cli/src/utils/file-writer.ts:244
↓ 39 callersFunctionparseRegistrySource
(source: string)
packages/cli/src/utils/template-fetcher.ts:221
↓ 35 callersFunctionreadChannelEvents
( opts: ReadChannelEventsOptions, )
packages/core/src/channel/api/read.ts:28
↓ 34 callersFunctionsetupProject
Initialize a fresh project in tmpDir
packages/cli/test/commands/update.integration.test.ts:87
↓ 33 callersFunctionreadTemplate
(relativePath: string)
packages/cli/src/templates/trellis/index.ts:26
↓ 32 callersFunctiondebugLog
(prefix, ...args)
packages/cli/src/templates/opencode/lib/trellis-context.js:19
↓ 32 callersFunctionemptyTaskRecord
( overrides: Partial<TrellisTaskRecord> = {}, )
packages/core/src/task/schema.ts:199
↓ 32 callersFunctionsaveHashes
(cwd: string, hashes: TemplateHashes)
packages/cli/src/utils/template-hash.ts:110
↓ 32 callersFunctionspawnWorker
( input: SpawnWorkerInput, runtime: WorkerRuntime, )
packages/core/src/channel/api/spawn.ts:26
↓ 31 callersMethoddescription
(self)
packages/cli/src/templates/trellis/scripts/common/types.py:84
↓ 30 callersFunctioncreateChannel
( name: string, opts: CreateOptions, )
packages/cli/src/commands/channel/create.ts:41
↓ 30 callersFunctionreduceWorkerRegistry
( events: ChannelEvent[], channel?: ChannelRef, )
packages/core/src/channel/internal/store/worker-state.ts:140
↓ 27 callersFunctioncollectPlatformTemplates
( platformId: AITool, )
packages/cli/src/configurators/index.ts:540
↓ 27 callersFunctiondetectMonorepo
(cwd: string)
packages/cli/src/utils/project-detector.ts:638
↓ 27 callersFunctionrunPython
( relativeScriptPath: string, input?: string, envOverrides: NodeJS.ProcessEnv = {}, )
packages/cli/test/regression.test.ts:1374
↓ 26 callersFunctionappendEvent
( name: string, partial: AppendablePartial, project?: string, )
packages/core/src/channel/internal/store/events.ts:398
↓ 26 callersFunctionappendEvent
( name: string, partial: AppendablePartial, project?: string, )
packages/cli/src/commands/channel/store/events.ts:94
↓ 26 callersFunctionexpectTemplateContent
( content: string | undefined, label: string, )
packages/cli/test/regression.test.ts:1388
↓ 26 callersFunctiongetProjectScopeCwd
()
packages/cli/test/commands/mem-integration.test.ts:52
↓ 26 callersFunctionsetWriteMode
(mode: WriteMode)
packages/cli/src/utils/file-writer.ts:21
↓ 26 callersFunctionwriteFile
(rel: string, content: string)
packages/cli/test/regression.test.ts:5957
↓ 24 callersFunctiongetConfiguredPlatforms
(cwd: string)
packages/cli/src/configurators/index.ts:484
↓ 24 callersFunctiongetSharedHookScripts
()
packages/cli/src/templates/shared-hooks/index.ts:101
↓ 24 callersFunctionresolveBundledSkills
( ctx: TemplateContext, )
packages/cli/src/configurators/shared.ts:534
↓ 24 callersFunctionresolveCommands
(ctx: TemplateContext)
packages/cli/src/configurators/shared.ts:419
↓ 24 callersFunctionrunMem
(args: readonly string[])
packages/cli/src/commands/mem.ts:497
↓ 23 callersFunctionsessionEnv
( overrides: NodeJS.ProcessEnv = {}, )
packages/cli/test/regression.test.ts:1328
↓ 22 callersFunctiongetAllScripts
()
packages/cli/src/templates/trellis/index.ts:82
↓ 22 callersFunctionresolveChannelRef
(opts: ResolveChannelRefOptions)
packages/core/src/channel/api/resolve.ts:30
↓ 21 callersFunctionassertPackages
Assert result is non-null and return narrowed type for further assertions.
packages/cli/test/utils/project-detector.test.ts:14
↓ 21 callersFunctionmkFilter
Minimal global-scope filter; overrides merge in.
packages/core/test/mem/adapters.test.ts:50
↓ 21 callersFunctionreset
()
packages/core/test/channel/worker-state.test.ts:22
↓ 21 callersFunctionvalidateTaskDirName
(name: string)
packages/core/src/task/paths.ts:42
↓ 21 callersFunctionwriteSessionContext
(contextKey: string, taskRef: string)
packages/cli/test/regression.test.ts:1283
↓ 20 callersFunctionget_developer
Get developer name from .developer file. Args: repo_root: Repository root path. Defaults to auto-detected. Returns: Develope
packages/cli/src/templates/trellis/scripts/common/paths.py:70
↓ 20 callersFunctionwriteJsonl
(file: string, lines: readonly unknown[])
packages/core/test/mem/adapters.test.ts:61
↓ 20 callersFunctionwriteTrellisScripts
()
packages/cli/test/regression.test.ts:267
↓ 19 callersFunctionchannelDir
( name: string, project: string = currentProjectKey(), )
packages/cli/src/commands/channel/store/paths.ts:67
↓ 19 callersFunctiondetectProjectType
(cwd: string)
packages/cli/src/utils/project-detector.ts:174
↓ 19 callersFunctiongetExtensionTemplate
()
packages/cli/src/templates/pi/index.ts:19
↓ 19 callersFunctiongetMigrationsForVersion
( fromVersion: string, toVersion: string, )
packages/cli/src/migrations/index.ts:75
↓ 19 callersFunctionreadLocalTemplate
* Read a template file from src/templates/markdown/
packages/cli/src/templates/markdown/index.ts:18
↓ 18 callersFunctiongetAllAgents
()
packages/cli/src/templates/pi/index.ts:11
↓ 18 callersFunctionget_tasks_dir
Get tasks directory path. Args: repo_root: Repository root path. Defaults to auto-detected. Returns: Path to tasks directory
packages/cli/src/templates/trellis/scripts/common/paths.py:114
↓ 18 callersFunctionparseChannelScope
( v: string | undefined, )
packages/core/src/channel/internal/store/schema.ts:114
↓ 18 callersFunctionresolveSkills
(ctx: TemplateContext)
packages/cli/src/configurators/shared.ts:433
↓ 18 callersFunctiontoPosix
(p: string)
packages/cli/src/utils/posix.ts:13
↓ 17 callersFunctionchannelDir
( name: string, project: string = currentProjectKey(), )
packages/core/src/channel/internal/store/paths.ts:45
↓ 17 callersFunctionmatchesEventFilter
( ev: ChannelEvent, filter: ChannelEventFilter, )
packages/core/src/channel/internal/store/filter.ts:52
↓ 17 callersFunctionmkRepoDir
Create a directory and place a `.git` directory inside it (real repo form).
packages/cli/test/utils/project-detector.test.ts:484
↓ 17 callersMethodreadFile
(filePath)
packages/cli/src/templates/opencode/lib/trellis-context.js:248
↓ 17 callersFunctionresolvePlaceholdersNeutral
( content: string, context?: TemplateContext, )
packages/cli/src/configurators/shared.ts:180
↓ 17 callersFunctionrun_git
Run a git command and return (returncode, stdout, stderr). Uses UTF-8 encoding with -c i18n.logOutputEncoding=UTF-8 to ensure consistent outp
packages/cli/src/templates/trellis/scripts/common/git.py:13
↓ 17 callersFunctionwriteConfigYaml
(content: string)
packages/cli/test/regression.test.ts:1090
↓ 16 callersFunctionev
( action: "create" | "start", turnIndex: number, extra: { slug?: string; taskDir?: string } = {}, )
packages/core/test/mem/phase.test.ts:149
↓ 16 callersFunctiongetAllMigrationVersions
()
packages/cli/src/migrations/index.ts:132
↓ 16 callersFunctionparseTaskPyCommand
(cmd: string)
packages/core/src/mem/phase.ts:61
↓ 16 callersFunctionreadWorkerInbox
( input: ReadWorkerInboxInput, )
packages/core/src/channel/api/inbox.ts:86
↓ 16 callersFunctionuninstall
(options: UninstallOptions = {})
packages/cli/src/commands/uninstall.ts:373
↓ 16 callersFunctionworkerFile
( name: string, worker: string, suffix: string, project: string = currentProjectKey(), )
packages/cli/src/commands/channel/store/paths.ts:88
↓ 15 callersFunctionprojectKey
(cwd: string)
packages/cli/src/commands/channel/store/paths.ts:27
↓ 15 callersFunctionreadChannelEvents
( name: string, project?: string, )
packages/cli/src/commands/channel/store/events.ts:116
↓ 14 callersFunction_string_value
(value: Any)
packages/cli/src/templates/trellis/scripts/common/active_task.py:154
↓ 14 callersFunctionclaudeListSessions
(f: MemFilter)
packages/core/src/mem/adapters/claude.ts:94
↓ 14 callersFunctionreadHashesV2
* Read the v2 hashes file and return the inner `hashes` map. * Tests manipulate this map then write it back via `writeHashesV2`.
packages/cli/test/commands/update.integration.test.ts:58
↓ 14 callersFunctionsanitizePkgName
(name: string)
packages/cli/src/utils/project-detector.ts:237
↓ 14 callersFunctionstrField
(ev: ChannelEvent, key: string)
packages/core/src/channel/internal/store/worker-state.ts:67
↓ 14 callersFunctionstripInjectionTags
(text: string)
packages/core/src/mem/dialogue.ts:46
↓ 14 callersFunctionwrite_json
Write dict to JSON file with pretty formatting. Returns True on success, False on error.
packages/cli/src/templates/trellis/scripts/common/io.py:25
↓ 13 callersMethodcleanup
()
packages/core/test/channel/setup.ts:8
↓ 13 callersFunctioncleanupEmptyDirs
(cwd: string, dirPath: string)
packages/cli/src/commands/update.ts:1449
↓ 13 callersFunctioncommandFromCodexArguments
(argsRaw: unknown)
packages/core/src/mem/adapters/codex.ts:72
↓ 13 callersFunctiondie
(msg: string)
packages/cli/src/commands/mem.ts:116
↓ 13 callersFunctionfail
(msg)
packages/cli/scripts/release-preflight.js:133
↓ 13 callersFunctiongetPythonCommandForPlatform
( platform?: NodeJS.Platform, )
packages/cli/src/configurators/shared.ts:43
↓ 13 callersFunctioniter_active_tasks
Iterate all active (non-archived) tasks, sorted by directory name. Skips the "archive" directory and directories without valid task.json. Ar
packages/cli/src/templates/trellis/scripts/common/tasks.py:54
↓ 13 callersFunctionmatchesInboxPolicy
( ev: ChannelEvent, workerId: string, policy: InboxPolicy, )
packages/core/src/channel/internal/store/inbox.ts:23
↓ 13 callersFunctionmkPkg
Create a subdirectory and optionally write a package.json with a name
packages/cli/test/utils/project-detector.test.ts:197
↓ 13 callersFunctionpostThread
( opts: PostThreadOptions, )
packages/core/src/channel/api/post-thread.ts:28
↓ 13 callersFunctionread_json
Read and parse a JSON file. Returns None if the file doesn't exist, is invalid JSON, or can't be read.
packages/cli/src/templates/trellis/scripts/common/io.py:14
↓ 13 callersFunctionresolveCliFlag
(flag: string)
packages/cli/src/configurators/index.ts:567
↓ 13 callersFunctionresolve_task_dir
Resolve task directory to absolute path. Supports: - Absolute path: /path/to/task - Relative path: .trellis/tasks/01-31-my-task - Tas
packages/cli/src/templates/trellis/scripts/common/task_utils.py:174
next →1–100 of 1,412, ranked by callers