mlx-code 0.0.16__tar.gz → 0.0.17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mlx_code-0.0.16 → mlx_code-0.0.17}/PKG-INFO +1 -1
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/gits.py +1 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/repl.py +4 -2
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code.egg-info/PKG-INFO +1 -1
- {mlx_code-0.0.16 → mlx_code-0.0.17}/setup.py +1 -1
- {mlx_code-0.0.16 → mlx_code-0.0.17}/LICENSE +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/README.md +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/__init__.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/apis.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/lsp_tool.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/main.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/mcb.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/mcb_tool.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/stream_log.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/tools.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/util.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/view_git.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code/view_log.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code.egg-info/SOURCES.txt +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code.egg-info/dependency_links.txt +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code.egg-info/entry_points.txt +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code.egg-info/requires.txt +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/mlx_code.egg-info/top_level.txt +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/setup.cfg +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/tests/__init__.py +0 -0
- {mlx_code-0.0.16 → mlx_code-0.0.17}/tests/test.py +0 -0
|
@@ -11,6 +11,7 @@ logger = logging.getLogger(__name__)
|
|
|
11
11
|
_ADD_EXCLUDES = ['_*', '*.bin', '*.gguf', '*.safetensors', '*.pt', '*.pth', '.cache/', '.log.json', '*.egg-info/', '.eggs/', 'build/', 'dist/', '__pycache__/', '*.pyc', '*.pyo', '*.pyd', '.pytest_cache/', '.tox/', '.nox/', '.coverage', 'htmlcov/', '.venv/', 'venv/', 'env/', '.DS_Store', 'Thumbs.db']
|
|
12
12
|
|
|
13
13
|
class GitError(RuntimeError):
|
|
14
|
+
pass
|
|
14
15
|
|
|
15
16
|
def _git(cwd: str, *args: str, check: bool=True) -> str:
|
|
16
17
|
try:
|
|
@@ -339,7 +339,8 @@ class Tab(Vertical):
|
|
|
339
339
|
self._cache_count = len(self.agent.messages)
|
|
340
340
|
self.query_one('#cache', Static).update(render_history(self.agent.messages))
|
|
341
341
|
scroll = self.query_one('#scroll', VerticalScroll)
|
|
342
|
-
|
|
342
|
+
if scroll.max_scroll_y - scroll.scroll_y < 3:
|
|
343
|
+
self.app.call_after_refresh(scroll.scroll_end, animate=False)
|
|
343
344
|
|
|
344
345
|
def refresh_stream(self) -> None:
|
|
345
346
|
msgs = []
|
|
@@ -350,7 +351,8 @@ class Tab(Vertical):
|
|
|
350
351
|
if msgs:
|
|
351
352
|
self.query_one('#stream', Static).update(render_history(msgs))
|
|
352
353
|
scroll = self.query_one('#scroll', VerticalScroll)
|
|
353
|
-
|
|
354
|
+
if scroll.max_scroll_y - scroll.scroll_y < 3:
|
|
355
|
+
self.app.call_after_refresh(scroll.scroll_end, animate=False)
|
|
354
356
|
else:
|
|
355
357
|
self.query_one('#stream', Static).update('')
|
|
356
358
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|