|
Navi Code: stop via Esc + project cwd propagation
- TUI: Esc stops active stream cooperatively via POST /sessions/{id}/stop
- TUI: render stream_stopped as status message
- CLI/WebSocket: send shell cwd in client->server message field
- Orchestrator stores cwd in session.session_metadata
- ContextBuilder injects [Working directory] into LLM context
- Agent sets current_working_directory ContextVar per turn
- tools/base: ToolContext gains cwd field
- filesystem/terminal/code_exec resolve relative paths against session cwd
- Add bin/navi-code wrapper for PATH symlink; document in README.md
- Update docs/websocket.md and tests
Full pytest: 544 passed, 1 skipped.
Co-Authored-By: Claude <noreply@anthropic.com>
|
|---|
|
|
| README.md |
|---|
| bin/navi-code 0 → 100755 |
|---|
| clients/terminal/cli.py |
|---|
| clients/terminal/tui/chat_model.py |
|---|
| clients/terminal/tui/context.py |
|---|
| clients/terminal/tui/tui_app.py |
|---|
| clients/terminal/tui/widgets/input_box.py |
|---|
| clients/terminal/tui/ws_bridge.py |
|---|
| clients/terminal/ws_client.py |
|---|
| docs/websocket.md |
|---|
| navi/api/websocket.py |
|---|
| navi/core/agent.py |
|---|
| navi/core/context_builder.py |
|---|
| navi/core/orchestrator.py |
|---|
| navi/tools/_internal/base.py |
|---|
| navi/tools/code_exec.py |
|---|
| navi/tools/filesystem.py |
|---|
| navi/tools/terminal.py |
|---|
| tests/clients/test_terminal_client.py |
|---|
| tests/clients/test_tui_app.py |
|---|
| tests/integration/test_websocket.py |
|---|