|
Extract ContextCompressor, fix STL viewer, expand test suite, add architecture audit docs
- Extract ContextCompressor from agent.py (Step 1 of god-object refactor) - Add retry + hard-truncate fallback logic to ContextCompressor - Add unit tests: agent loop (14), compressor (18), KV store (8), auth encrypt (3), auth deps (13), todo/scratchpad/image_view/memory - Fix WebGL STL viewer: allow-same-origin sandbox + graceful fallback - Add CompressionStarted event and client-side compression notice - Add docs/architecture_weak_spots.md and plan_01_god_object_agent.md - Update test_events.py and test_agent_context_size.py for new logic Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| docs/architecture_weak_spots.md 0 → 100644 |
|---|
| docs/plan_01_god_object_agent.md 0 → 100644 |
|---|
| docs/websocket.md |
|---|
| navi/core/agent.py |
|---|
| navi/core/compressor.py |
|---|
| navi/core/events.py |
|---|
| tests/conftest_factory.py |
|---|
| tests/unit/auth/test_deps.py 0 → 100644 |
|---|
| tests/unit/auth/test_encrypt.py 0 → 100644 |
|---|
| tests/unit/core/test_agent.py 0 → 100644 |
|---|
| tests/unit/core/test_agent_context_size.py |
|---|
| tests/unit/core/test_compressor.py |
|---|
| tests/unit/core/test_events.py |
|---|
| tests/unit/store/test_kv_store.py 0 → 100644 |
|---|
| tests/unit/tools/test_image_view.py 0 → 100644 |
|---|
| tests/unit/tools/test_memory.py 0 → 100644 |
|---|
| tests/unit/tools/test_scratchpad.py 0 → 100644 |
|---|
| tests/unit/tools/test_todo.py 0 → 100644 |
|---|
| webclient/dist/assets/index-BokRfynu.css 100644 → 0 |
|---|
| webclient/dist/assets/index-C2n90a7h.js 100644 → 0 |
|---|
|
Not supported
|
| webclient/dist/assets/index-CDgcMHeZ.css 0 → 100644 |
|---|
| webclient/dist/assets/index-DCjbwtQw.js 0 → 100644 |
|---|
|
Not supported
|
| webclient/dist/content-viewers/stl.html |
|---|
| webclient/dist/index.html |
|---|
| webclient/public/content-viewers/stl.html |
|---|
| webclient/src/components/chat/MessageList.vue |
|---|
| webclient/src/components/messages/CompressionNotice.vue |
|---|
| webclient/src/components/messages/ContentCard.vue |
|---|
| webclient/src/composables/useWebSocket.js |
|---|
| webclient/src/stores/chat.js |
|---|