Fix Story 1.3: StateStore spec compliance and minor cleanup
Critical Fix: - StateStore now uses global Hooks.callAll directly (per spec) - Removed hooks parameter from StateStore constructor - Updated module.js to pass only adapter.settings - Updated tests to stub globalThis.Hooks Minor Cleanup: - Fixed misleading warning in SocketHandler.registerPendingOp - Added clarifying comment for setMatrix _revision behavior Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Vendored
+8
@@ -10,3 +10,11 @@ declare const Hooks: {
|
||||
call(event: string, ...args: unknown[]): boolean;
|
||||
callAll(event: string, ...args: unknown[]): boolean;
|
||||
};
|
||||
|
||||
declare const ui: {
|
||||
notifications?: {
|
||||
info(msg: string): void;
|
||||
warn(msg: string): void;
|
||||
error(msg: string): void;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user