docs(chat): delivery plan updated — no sdk_common changes

This commit is contained in:
LeCoffre Deployment 2025-10-05 12:05:05 +00:00
parent 4262442377
commit 1267279322

View File

@ -140,9 +140,8 @@ if (event.data.type === 'CHANNEL_MESSAGE' && event.data.payload?.action === 'SEN
}
```
### Delivery plan
1) Add types and validators in `sdk_common`.
2) Add `chat.ts` facade in `sdk_client` plus `MessageBus` enhancements in `skeleton`.
3) Implement iframe handlers and basic UI in `ihm_client` (list, thread, composer).
4) Persist via existing service worker paths; add `channels`/`messages` stores.
5) Tests: unit (schemas, router), integration (handshake, send/recv, history), E2E (Playwright, mocked backend).
### Delivery plan (no changes to `sdk_common`)
1) `sdk_client`: add a local `chat.ts` facade (helpers, runtime guards) and enhance `skeleton` `MessageBus` for request/response correlation.
2) `ihm_client`: implement `CHANNEL_MESSAGE` handlers in `registerAllListeners()` and a basic chat UI (list, thread, composer).
3) Persistence: reuse service worker/IndexedDB; add `channels`/`messages` stores and outbox logic within `ihm_client`.
4) Tests: unit (router handlers, runtime guards), integration (subscribe, send/recv, history, typing/read), E2E (Playwright, mocked backend).