ubiquity-os / ubiquity-os-kernel

1 stars 19 forks source link

Avatar Color Matching Comment Tone #146

Open 0x4007 opened 3 weeks ago

0x4007 commented 3 weeks ago

photo_2024-10-14 21 54 29

I think it looks aesthetic to match the avatar to the tone of the posted message. This was a happy accident but as we can imagine, if its an error, then a red avatar appears. We can have a few different authentications/apps with different branding to indicate the "mood" of the AI. In case we need unique names, then we can do something like:

Status message color reference https://gist.github.com/0x4007/c17c46cd206970f46115a7ef5c465924

I suppose that this would require a first-class integration inside of our logger. We also will need to figure a way to deal with the private keys so we can post.

This would be used internally in Ubiquity mostly for showcasing/product demos, as I think it could be annoying for partners to install every different app. We could make the logger fallback to posting with default authentication in case the correct app is not found for the class of message. For example, if warning bot is not installed, then it would post the warning authenticated as normal ubiquity-os[bot]

0x4007 commented 3 weeks ago

@gentlementlegen how long do you think it would take to clean up the logger internal code to accomodate this with first-class support? I think thats the bulk of the work.

gentlementlegen commented 3 weeks ago

Wouldn't this mean that collaborator would have to install all the bots?

0x4007 commented 3 weeks ago

Wouldn't this mean that collaborator would have to install all the bots?

This is addressed in my last paragraph of the spec