-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
[Problem]
As the framework grew, the API became fragmented across Registry, Executor, and EventEmitter. Developers had to manage multiple objects, and there was no standard way for an AI agent to "query" the system about its own health or usage stats.
[Why]
A "Platform" needs a single entry point (Facade) to reduce cognitive load for developers. Additionally, providing "System Modules" allows an AI agent to perform "Self-Introspection"—asking "What modules are available?" or "How much quota have I used?" through the same tool-calling interface it uses for business logic.
[How]
- Unified Facade: Created the
APCoreclass with 17 public methods (call, register, discover, etc.) as the primary SDK entry point. - System Modules: Bootstrapped 9 built-in
system.*modules (e.g.,system.health.summary,system.usage.module) that expose internal metrics via standard APCore schemas. - Global Entry Points: Added 16 global functions (e.g.,
apcore.call()) for quick-start development.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request