Repair repo Face state identity
This commit is contained in:
parent
657ab27452
commit
beca3dec6d
8 changed files with 126 additions and 13 deletions
|
|
@ -555,6 +555,11 @@ export function registerVoidbotTools(
|
|||
|
||||
const typedState = await loadVoidSelfStateTypedDocuments({
|
||||
canonicalPath: resolved.faceStatePath,
|
||||
identity: {
|
||||
agentId: resolved.identity.id,
|
||||
publicName: resolved.identity.displayName,
|
||||
publicDescription: resolved.identity.description,
|
||||
},
|
||||
});
|
||||
const rendered = buildVoidSelfStateContext(typedState, {
|
||||
sourcePath: resolved.faceStatePath,
|
||||
|
|
@ -609,7 +614,14 @@ export function registerVoidbotTools(
|
|||
}
|
||||
|
||||
const result = await applyVoidSelfStateOperation(
|
||||
{ canonicalPath: resolved.faceStatePath },
|
||||
{
|
||||
canonicalPath: resolved.faceStatePath,
|
||||
identity: {
|
||||
agentId: resolved.identity.id,
|
||||
publicName: resolved.identity.displayName,
|
||||
publicDescription: resolved.identity.description,
|
||||
},
|
||||
},
|
||||
input.operation,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue