v3.1.0 — Phase 2: Trust #4
Jovancoding
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Phase 2 — Trust
This release hardens Network-AI with five production-grade improvements focused on reliability, observability, and developer experience.
What's New
Structured Logging — Replace all raw
console.*calls with a leveled, transport-pluggable logger (lib/logger.ts). Supports DEBUG, INFO, WARN, ERROR, and SILENT levels with module-scoped instances.Typed Error Hierarchy — 10 purpose-built error classes (
lib/errors.ts) extending a commonNetworkAIErrorbase, enabling precisecatchblocks:ValidationError,LockAcquisitionError,ConflictError,TimeoutError,IdentityVerificationError,NamespaceViolationError,AdapterAlreadyRegisteredError,AdapterNotFoundError,AdapterNotInitializedError,ParallelLimitErrorAPI Input Validation — All 20 public entry points now validate arguments at the boundary and throw
ValidationErrorwith clear messages before any side effects.JSDoc on All Exports — Every exported class, interface, type, and method now carries full JSDoc with
@param,@returns,@throws, and@exampleblocks.Unified Lock + Audit Metadata —
LockedBlackboardoptionally accepts aSecureAuditLogger, automatically recording lock holder, duration, version, and outcome on everywriteanddelete.Stats
Install
Beta Was this translation helpful? Give feedback.
All reactions