feat: implement AIEOS identity support (#168)

Fixes #168

AIEOS (AI Entity Object Specification) v1.1 is now fully supported.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Argenis 2026-02-15 11:46:02 -05:00 committed by GitHub
parent 1cfc63831c
commit f1e3b1166d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1020 additions and 37 deletions

View file

@ -49,4 +49,12 @@ pub trait Observer: Send + Sync {
/// Human-readable name of this observer
fn name(&self) -> &str;
/// Downcast to `Any` for backend-specific operations
fn as_any(&self) -> &dyn std::any::Any where Self: Sized {
// Default implementation returns a placeholder that will fail on downcast.
// Implementors should override this to return `self`.
struct Placeholder;
std::any::TypeId::of::<Placeholder>()
}
}