feat: @agor/stores package + Electrobun hardening (WIP)

- packages/stores/: theme, notifications, health stores extracted
- Electrobun hardening: durable event sequencing, file conflict detection,
  push-based updates, backpressure guards (partial, agents still running)
This commit is contained in:
Hibryda 2026-03-22 04:40:04 +01:00
parent 5836fb7d80
commit 5e1fd62ed9
13 changed files with 855 additions and 665 deletions

View file

@ -128,7 +128,12 @@ export type PtyRPCRequests = {
error?: string;
};
};
/** Write text content to a file. */
/** Get file stat info (mtime, size) for conflict detection. */
"files.stat": {
params: { path: string };
response: { mtimeMs: number; size: number; error?: string };
};
/** Write text content to a file (atomic temp+rename). */
"files.write": {
params: { path: string; content: string };
response: { ok: boolean; error?: string };