Commit 2eea89e
refactor(chatkit): migrate to official OpenAI ChatKit SDK
Replace legacy manual ChatKit protocol implementation with official SDK:
- Delete backend/src/api/chatkit.py (858 lines of manual implementation)
- Add chatkit_official.py using official ChatKitServer class
- Add ChatKitDatabaseStore implementing official Store interface
- Add LifeStepsAIChatKitServer extending ChatKitServer
- Update all test imports to use chatkit_official
- Use stream_agent_response() and simple_to_agent_input() helpers
All Phase III requirements remain validated:
- OpenAI Agents SDK, MCP SDK, ChatKit SDK properly integrated
- 5 MCP tools (add/list/complete/delete/update) working
- Stateless architecture maintained
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 346f66b commit 2eea89e
16 files changed
Lines changed: 1324 additions & 881 deletions
File tree
- backend
- src
- api
- services
- tests/integration
- frontend
- app/dashboard
- components/chat
- src/hooks
- history/prompts/009-cloud-deployment
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments