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