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:
parent
1cfc63831c
commit
f1e3b1166d
5 changed files with 1020 additions and 37 deletions
|
|
@ -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>()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue