MCPcopy Create free account

hub / github.com/Tencent/teamai-cli / functions

Functions2,077 in github.com/Tencent/teamai-cli

↓ 3 callersFunctiongetEventsPath
Get events path (evaluated at call time).
src/dashboard-collector.ts:877
↓ 3 callersFunctiongetFileMtime
(filePath: string)
src/utils/fs.ts:210
↓ 3 callersFunctiongetHeadRev
(localPath: string)
src/utils/git.ts:94
↓ 3 callersFunctiongetHermesConfigPath
()
src/hermes-config.ts:12
↓ 3 callersFunctiongetKnowledgeDir
(localConfig: LocalConfig)
src/types.ts:1362
↓ 3 callersFunctiongetLogFilePath
()
src/utils/logger.ts:34
↓ 3 callersFunctiongetMachineId
()
src/machine-id.ts:37
↓ 3 callersFunctiongetMrGlobalId
* TGit Notes API 使用 MR 的全局 id(而非项目内 iid), * 需要先查询 MR 列表获取全局 id。
src/ci/mr-comment.ts:202
↓ 3 callersFunctiongetRemoteUrl
(localPath: string, remoteName = 'origin')
src/utils/git.ts:104
↓ 3 callersFunctiongetRepoSlug
(provider: string, owner: string, repo: string)
src/utils/repo-cache.ts:39
↓ 3 callersFunctiongetSourceDir
(sourceName: string)
src/source.ts:36
↓ 3 callersFunctiongetStatePath
(localConfig: LocalConfig)
src/types.ts:1458
↓ 3 callersFunctiongetTodoWriteHintCachePath
(sessionId: string)
src/todowrite-hint.ts:40
↓ 3 callersFunctiongetUsagePath
Get the usage JSONL path (evaluated at call time to respect HOME changes in tests).
src/usage-tracker.ts:13
↓ 3 callersFunctiongfAuthWhoami
()
src/providers/tgit/gf-cli.ts:205
↓ 3 callersFunctiongfGetOAuthToken
()
src/providers/tgit/gf-cli.ts:268
↓ 3 callersFunctiongfIsAuthenticated
()
src/providers/tgit/gf-cli.ts:192
↓ 3 callersFunctionghIsAuthenticated
()
src/providers/github/gh-cli.ts:138
↓ 3 callersFunctiongitcodeWhoami
()
src/providers/gitcode/gitcode-api.ts:126
↓ 3 callersFunctiongithubRequest
(path: string, method: string, body?: unknown)
src/ci/mr-comment.ts:100
↓ 3 callersFunctiongitlabRepoClone
(repo: string, localPath: string)
src/providers/gitlab/gitlab-api.ts:180
↓ 3 callersMethodhasBackground
True when the event+matcher has at least one background-marked handler.
src/hook-dispatch.ts:65
↓ 3 callersFunctionhasCommits
(localPath: string)
src/utils/git.ts:163
↓ 3 callersFunctionhasPackageDeclarations
(manifest: PackageManifest)
src/pkg/manifest.ts:139
↓ 3 callersFunctionhashBody
(body: string)
src/section-patcher.ts:48
↓ 3 callersFunctionimportFromIWikiDual
(opts: IWikiDualOptions)
src/iwiki-dual.ts:249
↓ 3 callersFunctionimportFromRepoList
( opts: ImportFromRepoListOptions, )
src/import-repo-list.ts:61
↓ 3 callersFunctionincrementRecalled
(votePath: string, docIds: string[])
src/votes.ts:71
↓ 3 callersFunctioninferRisk
(target: { file: string; section?: string })
src/review-store.ts:71
↓ 3 callersFunctioninit
(options: GlobalOptions & { repo?: string; repoPositional?: string; scope?: string; role?: string; p
src/init.ts:947
↓ 3 callersFunctionisAgentClaudeEntry
True if the HookMatcher entry is a teamai agent hook (optionally scoped to a slug).
src/hooks.ts:518
↓ 3 callersFunctionisDedicatedRepoRoot
(repoPath: string)
src/utils/git.ts:658
↓ 3 callersFunctionisGitRepo
(localPath: string)
src/utils/git.ts:44
↓ 3 callersFunctionisInsideGitRepo
Walk up from dir looking for a `.git` entry (file or directory).
src/init.ts:264
↓ 3 callersFunctionisManaged
(e: HookMatcher)
src/hooks.ts:314
↓ 3 callersFunctionisRelevantScore
( score: number, isCodebaseHit: boolean, idfBaseline: number, )
src/recall.ts:76
↓ 3 callersFunctionisValidDocId
* 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 callersFunctionkeyToAbsPath
* 根据 key 计算缓存目录绝对路径。 * * @param key buildKey 生成的键
src/utils/cache-index.ts:84
↓ 3 callersFunctionlistProjectIds
(manifest: ProjectsManifest)
src/projects.ts:136
↓ 3 callersFunctionloadGraphIndex
(wikiRoot: string)
src/wiki-engine/core/graph-index.schema.ts:351
↓ 3 callersFunctionlocalAgentFetch
( config: LocalAgentConfig, tag: string, route: RouteName, init?: RequestInit, opts?: { redactRespon
src/local-agent.ts:707
↓ 3 callersFunctionmanifestKind
(kind: CommandResourceKind)
src/local-agent.ts:1713
↓ 3 callersFunctionmarkContributed
(sessionId: string)
src/contribute-check.ts:770
↓ 3 callersFunctionmergeGraphs
(base: GraphIndex, overlay: GraphIndex)
src/wiki-engine/core/graph-index.schema.ts:389
↓ 3 callersFunctionmergeInterventionStats
( existing: UserInterventionStats | undefined, delta: UserInterventionStats, )
src/team-push.ts:176
↓ 3 callersFunctionmergePromptTokenStats
( existingPrompts: number | undefined, existingTokens: TokenUsage | undefined, delta: PromptTokenDelta,
src/team-push.ts:263
↓ 3 callersFunctionmonthKey
(summary: SessionSummary)
src/session-collector.ts:168
↓ 3 callersFunctionnormalizeBody
Normalize a markdown body for comparison (ignore leading/trailing whitespace).
src/resources/cursor-mdc.ts:98
↓ 3 callersFunctionnormalizeEndpoint
(endpoint: string)
src/local-agent.ts:327
↓ 3 callersFunctionnormalizePromptSummary
Redact and flatten user-controlled prompt text before caching or displaying it.
src/contribute-check.ts:104
↓ 3 callersFunctionnormalizeScope
* 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 callersFunctionpackageManifestPath
(repoPath: string)
src/pkg/manifest.ts:17
↓ 3 callersFunctionpackageSetHash
(packages: PackageManifest['packages'])
src/pkg/manifest.ts:105
↓ 3 callersFunctionparseGenericGitRepoInput
(input: string)
src/providers/git/repo-url.ts:43
↓ 3 callersFunctionparseLockContent
* 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 callersFunctionparseNamespaces
* Parse a comma-separated string into a trimmed, non-empty string array.
src/roles-cmd.ts:16
↓ 3 callersFunctionparseTranscriptForVotes
(transcriptPath: string)
src/transcript-parser.ts:15
↓ 3 callersFunctionpendingLearningsDir
(repoPath: string)
src/utils/pending-learnings.ts:13
↓ 3 callersFunctionpersistWorkspaceBinding
* 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 callersFunctionpkgInstall
( target: string | undefined, options: GlobalOptions, )
src/pkg/commands.ts:184
↓ 3 callersFunctionpostGitHubComment
( owner: string, repo: string, prNumber: string, body: string, )
src/ci/mr-comment.ts:141
↓ 3 callersFunctionpostTGitComment
( projectId: string, mrGlobalId: number, body: string, )
src/ci/mr-comment.ts:232
↓ 3 callersFunctionpromptForRoleProfile
( repoPath: string, roleFlag?: string, )
src/init.ts:63
↓ 3 callersMethodreadContributors
* Read the CONTRIBUTORS list for a skill directory.
src/resources/skills.ts:560
↓ 3 callersFunctionreadFrontmatter
(filePath: string)
src/local-agent.ts:1833
↓ 3 callersFunctionreadJsonDoc
(file: string, serverKey: string)
src/mcp-reconcile.ts:240
↓ 3 callersFunctionreadSkillDescription
(skillMdPath: string)
src/agent-skills.ts:193
↓ 3 callersFunctionrecall
( query: string, options: GlobalOptions & { depth?: 'route' | 'context' | 'lookup'; check?: boolean }, )
src/recall.ts:342
↓ 3 callersFunctionrefreshReportsWorktree
( localConfig: LocalConfig, options: EnsureReportsWorktreeOptions = {}, )
src/utils/reports-branch.ts:279
↓ 3 callersFunctionremoveAgentHook
( settingsPath: string, tool: string, opts: { slug: string; command?: string }, )
src/hooks.ts:589
↓ 3 callersFunctionremoveHermesHookByCommand
(command: string)
src/hermes-config.ts:200
↓ 3 callersFunctionremoveOpencodeAgentHook
(opts: { slug: string; baseDir: string; scope: 'project' | 'user'; })
src/opencode-hooks.ts:282
↓ 3 callersFunctionreportUsageToTeam
( repoPath: string, username: string, options?: { skipTruncate?: boolean; projectRoot?: string; excludeP
src/team-push.ts:313
↓ 3 callersFunctionresetToCleanMaster
(git: SimpleGit, localPath?: string)
src/utils/git.ts:789
↓ 3 callersFunctionresolveActiveProjects
* 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 callersFunctionresolveExcludeScope
()
src/exclude.ts:12
↓ 3 callersFunctionresolveInitScope
( rawScope: string | undefined, cwd: string, homeDir: string, )
src/init.ts:168
↓ 3 callersFunctionresolveLegacyProjectHookScope
( localConfig: LocalConfig, )
src/types.ts:1532
↓ 3 callersFunctionresolveOpenClawHooksDir
(tool: string)
src/openclaw-hooks.ts:36
↓ 3 callersFunctionresolveProjectResourceNamespaces
(input: { manifest: ProjectsManifest; activeProjects: string[]; })
src/projects.ts:165
↓ 3 callersFunctionresolveTeamHooks
( teamConfig: TeamaiConfig, repoPath: string, opts: { auto?: boolean; silent?: boolean } = {}, )
src/resources/hooks.ts:125
↓ 3 callersFunctionresolveVizRoot
(opts: VizOptions)
src/viz.ts:135
↓ 3 callersFunctionreviewCmd
(opts: ReviewCmdOptions)
src/review-cmd.ts:165
↓ 3 callersFunctionruleStemFromFilename
(filename: string)
src/resources/rule-format.ts:40
↓ 3 callersFunctionrun
(args: string[], env: Record<string, string> = {})
src/__tests__/hooks-team-e2e.test.ts:20
↓ 3 callersFunctionsavePackageLock
(cwd: string, lock: PackageLock)
src/pkg/manifest.ts:85
↓ 3 callersFunctionsaveTagsConfig
(repoPath: string, config: TagsConfig)
src/utils/tags.ts:104
↓ 3 callersFunctionscanAgentSkills
(agent: ResolvedAgent, ctx: ClassifyContext)
src/agent-skills.ts:139
↓ 3 callersFunctionseedSelfModeToolDirs
( localConfig: LocalConfig, teamConfig: TeamaiConfig, )
src/known-agents.ts:152
↓ 3 callersFunctionsetSilent
(s: boolean)
src/utils/logger.ts:112
↓ 3 callersFunctionsetStderrOnly
(s: boolean)
src/utils/logger.ts:120
↓ 3 callersFunctionshouldSkipTodoWriteHint
(sessionId: string)
src/todowrite-hint.ts:78
↓ 3 callersFunctionslugMapPath
(targetSkillsDir: string)
src/skill-command.ts:117
↓ 3 callersFunctionstripFrontmatter
(content: string)
src/utils/frontmatter.ts:79
↓ 3 callersFunctionsummarizeConversation
(teamStats: UserStats[])
src/digest.ts:342
↓ 3 callersFunctionsummarizeInterventions
(teamStats: UserStats[])
src/digest.ts:283
↓ 3 callersFunctionsweepLegacyProjectHooks
( toolPaths: Record<string, { settings?: string }>, localConfig: LocalConfig, )
src/hooks.ts:1027
↓ 3 callersFunctionswitchToDefaultBranch
* 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 callersFunctionteamMcpYamlPath
(repoPath: string)
src/resources/mcp.ts:44
↓ 3 callersFunctionteardownAllPlugins
(deps: ReconcileDeps)
src/plugin-lifecycle.ts:219
← previousnext →301–400 of 2,077, ranked by callers