Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/teamai-cli
/ functions
Functions
2,077 in github.com/Tencent/teamai-cli
⨍
Functions
2,077
◇
Types & classes
415
↓ 3 callers
Function
getEventsPath
Get events path (evaluated at call time).
src/dashboard-collector.ts:877
↓ 3 callers
Function
getFileMtime
(filePath: string)
src/utils/fs.ts:210
↓ 3 callers
Function
getHeadRev
(localPath: string)
src/utils/git.ts:94
↓ 3 callers
Function
getHermesConfigPath
()
src/hermes-config.ts:12
↓ 3 callers
Function
getKnowledgeDir
(localConfig: LocalConfig)
src/types.ts:1362
↓ 3 callers
Function
getLogFilePath
()
src/utils/logger.ts:34
↓ 3 callers
Function
getMachineId
()
src/machine-id.ts:37
↓ 3 callers
Function
getMrGlobalId
* TGit Notes API 使用 MR 的全局 id(而非项目内 iid), * 需要先查询 MR 列表获取全局 id。
src/ci/mr-comment.ts:202
↓ 3 callers
Function
getRemoteUrl
(localPath: string, remoteName = 'origin')
src/utils/git.ts:104
↓ 3 callers
Function
getRepoSlug
(provider: string, owner: string, repo: string)
src/utils/repo-cache.ts:39
↓ 3 callers
Function
getSourceDir
(sourceName: string)
src/source.ts:36
↓ 3 callers
Function
getStatePath
(localConfig: LocalConfig)
src/types.ts:1458
↓ 3 callers
Function
getTodoWriteHintCachePath
(sessionId: string)
src/todowrite-hint.ts:40
↓ 3 callers
Function
getUsagePath
Get the usage JSONL path (evaluated at call time to respect HOME changes in tests).
src/usage-tracker.ts:13
↓ 3 callers
Function
gfAuthWhoami
()
src/providers/tgit/gf-cli.ts:205
↓ 3 callers
Function
gfGetOAuthToken
()
src/providers/tgit/gf-cli.ts:268
↓ 3 callers
Function
gfIsAuthenticated
()
src/providers/tgit/gf-cli.ts:192
↓ 3 callers
Function
ghIsAuthenticated
()
src/providers/github/gh-cli.ts:138
↓ 3 callers
Function
gitcodeWhoami
()
src/providers/gitcode/gitcode-api.ts:126
↓ 3 callers
Function
githubRequest
(path: string, method: string, body?: unknown)
src/ci/mr-comment.ts:100
↓ 3 callers
Function
gitlabRepoClone
(repo: string, localPath: string)
src/providers/gitlab/gitlab-api.ts:180
↓ 3 callers
Method
hasBackground
True when the event+matcher has at least one background-marked handler.
src/hook-dispatch.ts:65
↓ 3 callers
Function
hasCommits
(localPath: string)
src/utils/git.ts:163
↓ 3 callers
Function
hasPackageDeclarations
(manifest: PackageManifest)
src/pkg/manifest.ts:139
↓ 3 callers
Function
hashBody
(body: string)
src/section-patcher.ts:48
↓ 3 callers
Function
importFromIWikiDual
(opts: IWikiDualOptions)
src/iwiki-dual.ts:249
↓ 3 callers
Function
importFromRepoList
( opts: ImportFromRepoListOptions, )
src/import-repo-list.ts:61
↓ 3 callers
Function
incrementRecalled
(votePath: string, docIds: string[])
src/votes.ts:71
↓ 3 callers
Function
inferRisk
(target: { file: string; section?: string })
src/review-store.ts:71
↓ 3 callers
Function
init
(options: GlobalOptions & { repo?: string; repoPositional?: string; scope?: string; role?: string; p
src/init.ts:947
↓ 3 callers
Function
isAgentClaudeEntry
True if the HookMatcher entry is a teamai agent hook (optionally scoped to a slug).
src/hooks.ts:518
↓ 3 callers
Function
isDedicatedRepoRoot
(repoPath: string)
src/utils/git.ts:658
↓ 3 callers
Function
isGitRepo
(localPath: string)
src/utils/git.ts:44
↓ 3 callers
Function
isInsideGitRepo
Walk up from dir looking for a `.git` entry (file or directory).
src/init.ts:264
↓ 3 callers
Function
isManaged
(e: HookMatcher)
src/hooks.ts:314
↓ 3 callers
Function
isRelevantScore
( score: number, isCodebaseHit: boolean, idfBaseline: number, )
src/recall.ts:76
↓ 3 callers
Function
isValidDocId
* Reject placeholder-shaped tokens (e.g. `<id1>`, `<id2>`, `...`) that appear in * documentation/agent example markers. Real doc-ids are kebab-case s
src/transcript-parser.ts:78
↓ 3 callers
Function
keyToAbsPath
* 根据 key 计算缓存目录绝对路径。 * * @param key buildKey 生成的键
src/utils/cache-index.ts:84
↓ 3 callers
Function
listProjectIds
(manifest: ProjectsManifest)
src/projects.ts:136
↓ 3 callers
Function
loadGraphIndex
(wikiRoot: string)
src/wiki-engine/core/graph-index.schema.ts:351
↓ 3 callers
Function
localAgentFetch
( config: LocalAgentConfig, tag: string, route: RouteName, init?: RequestInit, opts?: { redactRespon
src/local-agent.ts:707
↓ 3 callers
Function
manifestKind
(kind: CommandResourceKind)
src/local-agent.ts:1713
↓ 3 callers
Function
markContributed
(sessionId: string)
src/contribute-check.ts:770
↓ 3 callers
Function
mergeGraphs
(base: GraphIndex, overlay: GraphIndex)
src/wiki-engine/core/graph-index.schema.ts:389
↓ 3 callers
Function
mergeInterventionStats
( existing: UserInterventionStats | undefined, delta: UserInterventionStats, )
src/team-push.ts:176
↓ 3 callers
Function
mergePromptTokenStats
( existingPrompts: number | undefined, existingTokens: TokenUsage | undefined, delta: PromptTokenDelta,
src/team-push.ts:263
↓ 3 callers
Function
monthKey
(summary: SessionSummary)
src/session-collector.ts:168
↓ 3 callers
Function
normalizeBody
Normalize a markdown body for comparison (ignore leading/trailing whitespace).
src/resources/cursor-mdc.ts:98
↓ 3 callers
Function
normalizeEndpoint
(endpoint: string)
src/local-agent.ts:327
↓ 3 callers
Function
normalizePromptSummary
Redact and flatten user-controlled prompt text before caching or displaying it.
src/contribute-check.ts:104
↓ 3 callers
Function
normalizeScope
* Normalize a backend-sent scope string to an internal LocalAgentScope. * * The backend emits `user` / `workspace` (see clawpro local-agent-api.md);
src/local-agent.ts:1705
↓ 3 callers
Function
packageManifestPath
(repoPath: string)
src/pkg/manifest.ts:17
↓ 3 callers
Function
packageSetHash
(packages: PackageManifest['packages'])
src/pkg/manifest.ts:105
↓ 3 callers
Function
parseGenericGitRepoInput
(input: string)
src/providers/git/repo-url.ts:43
↓ 3 callers
Function
parseLockContent
* Parse a lock file's contents. Understands both the current JSON payload and * the legacy plain-integer PID format written by older teamai versions,
src/update.ts:140
↓ 3 callers
Function
parseNamespaces
* Parse a comma-separated string into a trimmed, non-empty string array.
src/roles-cmd.ts:16
↓ 3 callers
Function
parseTranscriptForVotes
(transcriptPath: string)
src/transcript-parser.ts:15
↓ 3 callers
Function
pendingLearningsDir
(repoPath: string)
src/utils/pending-learnings.ts:13
↓ 3 callers
Function
persistWorkspaceBinding
* Persist a ClawPro binding decision for the current checkout. * * Binding is a per-project decision, so it is recorded on the `projectAnchor` * (t
src/local-agent.ts:1004
↓ 3 callers
Function
pkgInstall
( target: string | undefined, options: GlobalOptions, )
src/pkg/commands.ts:184
↓ 3 callers
Function
postGitHubComment
( owner: string, repo: string, prNumber: string, body: string, )
src/ci/mr-comment.ts:141
↓ 3 callers
Function
postTGitComment
( projectId: string, mrGlobalId: number, body: string, )
src/ci/mr-comment.ts:232
↓ 3 callers
Function
promptForRoleProfile
( repoPath: string, roleFlag?: string, )
src/init.ts:63
↓ 3 callers
Method
readContributors
* Read the CONTRIBUTORS list for a skill directory.
src/resources/skills.ts:560
↓ 3 callers
Function
readFrontmatter
(filePath: string)
src/local-agent.ts:1833
↓ 3 callers
Function
readJsonDoc
(file: string, serverKey: string)
src/mcp-reconcile.ts:240
↓ 3 callers
Function
readSkillDescription
(skillMdPath: string)
src/agent-skills.ts:193
↓ 3 callers
Function
recall
( query: string, options: GlobalOptions & { depth?: 'route' | 'context' | 'lookup'; check?: boolean }, )
src/recall.ts:342
↓ 3 callers
Function
refreshReportsWorktree
( localConfig: LocalConfig, options: EnsureReportsWorktreeOptions = {}, )
src/utils/reports-branch.ts:279
↓ 3 callers
Function
removeAgentHook
( settingsPath: string, tool: string, opts: { slug: string; command?: string }, )
src/hooks.ts:589
↓ 3 callers
Function
removeHermesHookByCommand
(command: string)
src/hermes-config.ts:200
↓ 3 callers
Function
removeOpencodeAgentHook
(opts: { slug: string; baseDir: string; scope: 'project' | 'user'; })
src/opencode-hooks.ts:282
↓ 3 callers
Function
reportUsageToTeam
( repoPath: string, username: string, options?: { skipTruncate?: boolean; projectRoot?: string; excludeP
src/team-push.ts:313
↓ 3 callers
Function
resetToCleanMaster
(git: SimpleGit, localPath?: string)
src/utils/git.ts:789
↓ 3 callers
Function
resolveActiveProjects
* Resolve the active logical projects for this directory from the `--project` * flag. Non-interactive and non-auto: a lone project is NOT auto-activa
src/init.ts:123
↓ 3 callers
Function
resolveExcludeScope
()
src/exclude.ts:12
↓ 3 callers
Function
resolveInitScope
( rawScope: string | undefined, cwd: string, homeDir: string, )
src/init.ts:168
↓ 3 callers
Function
resolveLegacyProjectHookScope
( localConfig: LocalConfig, )
src/types.ts:1532
↓ 3 callers
Function
resolveOpenClawHooksDir
(tool: string)
src/openclaw-hooks.ts:36
↓ 3 callers
Function
resolveProjectResourceNamespaces
(input: { manifest: ProjectsManifest; activeProjects: string[]; })
src/projects.ts:165
↓ 3 callers
Function
resolveTeamHooks
( teamConfig: TeamaiConfig, repoPath: string, opts: { auto?: boolean; silent?: boolean } = {}, )
src/resources/hooks.ts:125
↓ 3 callers
Function
resolveVizRoot
(opts: VizOptions)
src/viz.ts:135
↓ 3 callers
Function
reviewCmd
(opts: ReviewCmdOptions)
src/review-cmd.ts:165
↓ 3 callers
Function
ruleStemFromFilename
(filename: string)
src/resources/rule-format.ts:40
↓ 3 callers
Function
run
(args: string[], env: Record<string, string> = {})
src/__tests__/hooks-team-e2e.test.ts:20
↓ 3 callers
Function
savePackageLock
(cwd: string, lock: PackageLock)
src/pkg/manifest.ts:85
↓ 3 callers
Function
saveTagsConfig
(repoPath: string, config: TagsConfig)
src/utils/tags.ts:104
↓ 3 callers
Function
scanAgentSkills
(agent: ResolvedAgent, ctx: ClassifyContext)
src/agent-skills.ts:139
↓ 3 callers
Function
seedSelfModeToolDirs
( localConfig: LocalConfig, teamConfig: TeamaiConfig, )
src/known-agents.ts:152
↓ 3 callers
Function
setSilent
(s: boolean)
src/utils/logger.ts:112
↓ 3 callers
Function
setStderrOnly
(s: boolean)
src/utils/logger.ts:120
↓ 3 callers
Function
shouldSkipTodoWriteHint
(sessionId: string)
src/todowrite-hint.ts:78
↓ 3 callers
Function
slugMapPath
(targetSkillsDir: string)
src/skill-command.ts:117
↓ 3 callers
Function
stripFrontmatter
(content: string)
src/utils/frontmatter.ts:79
↓ 3 callers
Function
summarizeConversation
(teamStats: UserStats[])
src/digest.ts:342
↓ 3 callers
Function
summarizeInterventions
(teamStats: UserStats[])
src/digest.ts:283
↓ 3 callers
Function
sweepLegacyProjectHooks
( toolPaths: Record<string, { settings?: string }>, localConfig: LocalConfig, )
src/hooks.ts:1027
↓ 3 callers
Function
switchToDefaultBranch
* Switch a repo/worktree back to its default branch, tolerating the case where * that branch is already checked out in another worktree. * * In sin
src/utils/git.ts:584
↓ 3 callers
Function
teamMcpYamlPath
(repoPath: string)
src/resources/mcp.ts:44
↓ 3 callers
Function
teardownAllPlugins
(deps: ReconcileDeps)
src/plugin-lifecycle.ts:219
← previous
next →
301–400 of 2,077, ranked by callers