Initialize repo Face homes on first chat
This commit is contained in:
parent
32b96ce575
commit
28e4fb6708
14 changed files with 468 additions and 0 deletions
|
|
@ -395,10 +395,12 @@ export function registerVoidbotTools(
|
|||
const identities = registry.identities.map((identity) => ({
|
||||
id: identity.id,
|
||||
repoName: identity.repoName,
|
||||
repoPath: identity.repoPath ?? null,
|
||||
displayName: identity.displayName,
|
||||
roleId: identity.roleId ?? null,
|
||||
mention: identity.roleId ? `<@&${identity.roleId}>` : null,
|
||||
allowedChannelIds: identity.allowedChannelIds,
|
||||
faceStatePath: resolveRepoFaceStatePath(identity, context.config.storageRoot),
|
||||
hasAvatarUrl: Boolean(identity.avatarUrl),
|
||||
description: identity.description ?? null,
|
||||
}));
|
||||
|
|
|
|||
Loading…
Reference in a new issue