MCPcopy Create free account

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

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

↓ 4 callersFunctionnormalizeAgentList
(agent?: string | string[])
src/known-agents.ts:25
↓ 4 callersFunctionnormalizeAgentType
(name: string)
src/utils/tool-names.ts:32
↓ 4 callersFunctionpackageProjectKey
(cwd: string)
src/pkg/manifest.ts:128
↓ 4 callersFunctionparseAgentYaml
(content: string, filename: string)
src/resources/agent-format.ts:99
↓ 4 callersMethodparseEnvYaml
* Parse the env.yaml file and return variables.
src/resources/env.ts:200
↓ 4 callersFunctionparseHookEvent
( raw: string, tool: string, )
src/dashboard-collector.ts:785
↓ 4 callersFunctionparseHooksYaml
(repoPath: string)
src/resources/hooks.ts:58
↓ 4 callersFunctionpickCandidate
(candidates: string[])
src/wiki-engine/code-knowledge/ast/import-resolver.ts:251
↓ 4 callersFunctionprojectNpmDeclarationHash
(manifest: PackageManifest)
src/pkg/manifest.ts:122
↓ 4 callersFunctionpullLatest
(repoPath: string)
src/roles-cmd.ts:25
↓ 4 callersFunctionpushManifestChange
(input: { repoPath: string; teamConfig: TeamaiConfig; localConfig: LocalConfig; commitMsg: str
src/roles-cmd.ts:62
↓ 4 callersMethodqueryMarketplaces
()
src/pkg/adapters/claude-plugin.ts:107
↓ 4 callersFunctionreadFileSafe
(filePath: string)
src/deep-enrich.ts:55
↓ 4 callersFunctionreadRecallQuality
(sessionId: string)
src/recall-quality.ts:122
↓ 4 callersFunctionreadSlugMap
(targetSkillsDir: string)
src/skill-command.ts:121
↓ 4 callersFunctionredactWithEnv
(text: string, env: NodeJS.ProcessEnv = process.env)
src/utils/redact.ts:142
↓ 4 callersFunctionremoveOpencodeHooks
(baseDir: string, scope: 'project' | 'user')
src/opencode-hooks.ts:166
↓ 4 callersFunctionrenderMarkdownAgent
* Build a gray-matter .md file: YAML frontmatter (name/description/model?/tools?/extras) + body.
src/resources/agent-format.ts:276
↓ 4 callersFunctionresolveActiveLearningsNamespaces
( repoPath: string, activeProjects: string[], )
src/projects.ts:203
↓ 4 callersFunctionresolveApiKey
()
src/api-key.ts:29
↓ 4 callersFunctionresolveInheritUserScope
( scope: Scope, requested: boolean | undefined, existing: boolean | undefined, )
src/init.ts:218
↓ 4 callersFunctionresolveLocalAgentId
* Resolve the local_agent_id for the current invocation. * * Deterministic per (detected tool + machine + install dir) — same tool on the * same ma
src/local-agent.ts:377
↓ 4 callersFunctionresolveMcpTargets
( teamConfig: TeamaiConfig, localConfig: LocalConfig, )
src/mcp-reconcile.ts:189
↓ 4 callersFunctionresolveProjectDataHome
(projectRoot: string)
src/config.ts:231
↓ 4 callersFunctionresolveSkillDestination
( tool: string, configuredSkillsPath: string, baseDir: string, skillName: string, sourcePath?: strin
src/resources/skills.ts:22
↓ 4 callersFunctionrunRolesEdit
* Run a roles-manifest admin edit (write manifest + open PR) against the right * repo. In single-repo mode the manifest is knowledge on main, so the
src/roles-cmd.ts:42
↓ 4 callersFunctionsanitizeSessionId
* Sanitize a sessionId for safe use as a filesystem name. * * sessionId may originate from: * 1. hookData.session_id (typically a hex UUID — alre
src/contribute-check.ts:77
↓ 4 callersFunctionscanTranscriptStop
( transcriptPath: string, opts?: { frictionOnly?: boolean; tool?: string }, )
src/dashboard-collector.ts:167
↓ 4 callersFunctionsetupConfig
(bindings: Record<string, unknown> = {})
src/__tests__/local-agent.test.ts:45
↓ 4 callersFunctionsharedPackageDeclarationHash
(manifest: PackageManifest)
src/pkg/manifest.ts:113
↓ 4 callersMethodsnapshot
(cwd: string, declaration: NpmSpec[])
src/pkg/adapters/npm.ts:108
↓ 4 callersFunctionspliceCodexBlock
(source: string, name: string, block: string | null)
src/mcp-reconcile.ts:262
↓ 4 callersFunctionsplitFrontmatter
(content: string)
src/utils/frontmatter.ts:44
↓ 4 callersFunctionsplitFrontmatter
* Split a rule file into its leading frontmatter block (empty string when there * is none) and its body. Deliberately textual, NOT a YAML parse: the
src/resources/cursor-mdc.ts:49
↓ 4 callersFunctionsyncVotesToTeam
( repoPath: string, username: string, localVotesDir: string, )
src/votes.ts:156
↓ 4 callersFunctionteamRuleToCursorMdc
(rawTeamRule: string)
src/resources/cursor-mdc.ts:138
↓ 4 callersFunctiontruncate
(str: string, maxLen: number)
src/review-cmd.ts:54
↓ 4 callersFunctionwithKnowledgeWorktree
( localConfig: LocalConfig, fn: (worktreeConfig: LocalConfig) => Promise<T>, )
src/utils/reports-branch.ts:317
↓ 3 callersFunctionacquireImportLock
(teamRepoPath: string)
src/utils/import-lock.ts:45
↓ 3 callersFunctionaggregateUsage
(events: UsageEvent[])
src/stats.ts:21
↓ 3 callersFunctionappendPendingReview
( cwd: string, partial: Omit<PendingReviewItem, 'id' | 'ts' | 'risk'> & { id?: string;
src/review-store.ts:197
↓ 3 callersFunctionassertCnbApiOk
(out: string, action: string)
src/providers/cnb/cnb-cli.ts:59
↓ 3 callersFunctionassertSafePath
(target: string, allowedRoots: string[])
src/utils/path-safety.ts:15
↓ 3 callersFunctionassertWithinRoot
(root: string, candidate: string, message?: string)
src/utils/path-safety.ts:44
↓ 3 callersFunctionauthHeaders
(token: string)
src/providers/gitcode/gitcode-api.ts:59
↓ 3 callersFunctionautoPushTeamRepo
(repoPath: string, message: string)
src/utils/git.ts:384
↓ 3 callersFunctionautoPushViaMR
( repoPath: string, message: string, files: string[], teamConfig: { repo: string; provider?: string; r
src/utils/git.ts:397
↓ 3 callersFunctionbuildReconcileDeps
(config: LocalAgentConfig, tag: string)
src/local-agent.ts:845
↓ 3 callersFunctionbuildVizData
(paths: VizPaths)
src/viz.ts:341
↓ 3 callersFunctioncheckForUpdate
(options?: { force?: boolean })
src/update.ts:343
↓ 3 callersFunctionclassifySkill
(name: string, ctx: ClassifyContext)
src/agent-skills.ts:109
↓ 3 callersFunctioncleanupStaleSessions
(dir: string, currentSessionId: string)
src/contribute-check.ts:215
↓ 3 callersMethodcloneRepo
* Clone a repo to localPath. The resulting origin remote must remain usable * for later pull/push operations via provider credentials, a Git creden
src/providers/types.ts:96
↓ 3 callersFunctionclosePrompt
()
src/utils/prompt.ts:31
↓ 3 callersFunctioncnbIsAuthenticated
()
src/providers/cnb/cnb-cli.ts:109
↓ 3 callersFunctioncnbWhoami
()
src/providers/cnb/cnb-cli.ts:125
↓ 3 callersFunctioncodexServerNames
(source: string)
src/mcp-reconcile.ts:288
↓ 3 callersFunctioncommandFingerprint
(d: PluginDescriptor)
src/plugin-lifecycle.ts:92
↓ 3 callersFunctioncommitPaths
( localPath: string, message: string, files: string[], )
src/utils/git.ts:186
↓ 3 callersFunctioncompactEvents
(eventsPath?: string)
src/dashboard-collector.ts:1219
↓ 3 callersFunctioncomputeConfidence
(factors: ConfidenceFactors)
src/maintenance/confidence.ts:25
↓ 3 callersFunctioncomputeIdfBaseline
(indexes: SearchIndex[])
src/recall.ts:106
↓ 3 callersFunctioncomputeInterventionDelta
( current: Map<string, { interrupt: number; toolReject: number; correction: number }>, reported: ReportedI
src/team-push.ts:156
↓ 3 callersFunctioncomputePackageHintState
(cwd: string)
src/pkg/pkg-hint.ts:73
↓ 3 callersFunctioncomputePromptTokenDelta
( current: Map<string, SessionMetrics>, reported: ReportedPromptTokens, )
src/team-push.ts:245
↓ 3 callersFunctioncomputeReviewId
( file: string, section: string | undefined, ts: string, )
src/review-store.ts:54
↓ 3 callersFunctioncreateDispatcher
(config: DispatcherConfig)
src/hook-dispatch.ts:147
↓ 3 callersFunctioncreateGraphIndex
(nodes: GraphNode[] = [], edges: GraphEdge[] = [])
src/wiki-engine/core/graph-index.schema.ts:79
↓ 3 callersFunctioncursorMdcBodyEqualsTeamMd
(rawCursorMdc: string, rawTeamRule: string)
src/resources/cursor-mdc.ts:177
↓ 3 callersFunctiondashboardReport
(toolArg?: string)
src/dashboard-collector.ts:1252
↓ 3 callersFunctiondefaultAllowedRoots
()
src/utils/path-safety.ts:80
↓ 3 callersFunctiondeployBuiltinAgents
( teamConfig: TeamaiConfig, localConfig?: LocalConfig, options?: { skipRecall?: boolean }, )
src/builtin-agents.ts:94
↓ 3 callersFunctiondeployBuiltinRules
( teamConfig: TeamaiConfig, localConfig?: LocalConfig, options?: { skipRecall?: boolean }, )
src/builtin-rules.ts:49
↓ 3 callersFunctionderiveLocalAgentId
(agentType: string, machineId: string, installPath: string)
src/machine-id.ts:107
↓ 3 callersFunctiondescribeRoles
(roles: Array<Pick<TeamRole, 'id' | 'description'>>)
src/roles.ts:128
↓ 3 callersFunctiondesiredDefs
Build the per-tool desired HookDef set: built-in (A) followed by team (B).
src/hooks.ts:160
↓ 3 callersFunctiondesiredEventOrder
Ordered, de-duplicated list of events appearing in the desired defs.
src/hooks.ts:275
↓ 3 callersFunctiondetectHomeInstalledAgents
( candidateIds: readonly string[] = SELF_MODE_AGENT_CHOICES, )
src/known-agents.ts:186
↓ 3 callersFunctiondirContentEqual
(dirA: string, dirB: string, ignore?: string[])
src/utils/fs.ts:285
↓ 3 callersMethoddispatch
( event: string, matcher: string, stdin: Record<string, unknown>, tool: string, mode?: Dis
src/hook-dispatch.ts:57
↓ 3 callersFunctiondoUpdate
()
src/update.ts:377
↓ 3 callersMethodensureInstalled
* Ensure any required CLI tools are installed. * No-op if the provider doesn't need external tools.
src/providers/types.ts:87
↓ 3 callersFunctionensureSourceRepo
* Clone or pull a source repo. Returns the repo path, or null on failure.
src/source.ts:71
↓ 3 callersFunctionextractBody
Extract the markdown body of a rule file, dropping any frontmatter block.
src/resources/cursor-mdc.ts:55
↓ 3 callersFunctionextractKeywords
(text: string)
src/utils/dedup.ts:26
↓ 3 callersFunctionextractMarkerId
(body: string)
src/ci/read-rejections.ts:33
↓ 3 callersFunctionfetchGitLabMR
(url: string)
src/providers/gitlab/mr-fetch.ts:104
↓ 3 callersFunctionfetchUserProjects
(config: LocalAgentConfig)
src/local-agent.ts:759
↓ 3 callersFunctionfileExists
Returns true if a file exists at the given absolute path.
src/__tests__/import-lock.test.ts:16
↓ 3 callersFunctionfileHash
* Compute SHA-256 hash of a file's contents. Returns null if file does not exist.
src/utils/fs.ts:246
↓ 3 callersFunctionfilterExistingTopLevelPaths
( repoPath: string, candidates: string[], )
src/push.ts:43
↓ 3 callersFunctionfindGitHubComment
( owner: string, repo: string, prNumber: string, marker: string, )
src/ci/mr-comment.ts:126
↓ 3 callersFunctionfindPromotionCandidates
( learningsDir: string, votesDir: string, )
src/maintenance/promote.ts:33
↓ 3 callersFunctionfindTGitComment
( projectId: string, mrGlobalId: number, marker: string, )
src/ci/mr-comment.ts:218
↓ 3 callersFunctionformatSkillSource
(source: SkillSource)
src/agent-skills.ts:121
↓ 3 callersFunctionformatStopHookOutput
(message: string, tool: string)
src/utils/hook-output.ts:13
↓ 3 callersFunctionformatTokenCount
(n: number)
src/digest.ts:332
↓ 3 callersFunctiongetCurrentPackageName
()
src/package-info.ts:43
↓ 3 callersFunctiongetDefaultProvider
()
src/providers/registry.ts:52
↓ 3 callersFunctiongetEnvBackupPath
(localConfig: LocalConfig)
src/types.ts:1435
← previousnext →201–300 of 2,077, ranked by callers