This commit is contained in:
Quentin 2025-12-10 16:16:53 +01:00 committed by Quentin
parent cf54a4733f
commit 5e449cdd94
12 changed files with 53 additions and 19 deletions

2
.vscode/launch.json vendored
View file

@ -1,5 +1,5 @@
{
"version": "1.0.6",
"version": "1.1.0",
"configurations": [
{
"name": "ACP Server",

View file

@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.1.0] - 2025-12-10
### Fixed
- fixed crash in some rare instances when copy-pasting
### Changed
- improved context length from 100k to 200k
## [1.0.6] - 2025-12-10
### Fixed

View file

@ -1,7 +1,7 @@
id = "mistral-vibe"
name = "Mistral Vibe"
description = "Mistral's open-source coding assistant"
version = "1.0.6"
version = "1.1.0"
schema_version = 1
authors = ["Mistral AI"]
repository = "https://github.com/mistralai/mistral-vibe"
@ -11,25 +11,25 @@ name = "Mistral Vibe"
icon = "./icons/mistral_vibe.svg"
[agent_servers.mistral-vibe.targets.darwin-aarch64]
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.6/vibe-acp-darwin-aarch64-1.0.6.zip"
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-darwin-aarch64-1.1.0.zip"
cmd = "./vibe-acp"
[agent_servers.mistral-vibe.targets.darwin-x86_64]
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.6/vibe-acp-darwin-x86_64-1.0.6.zip"
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-darwin-x86_64-1.1.0.zip"
cmd = "./vibe-acp"
# [agent_servers.mistral-vibe.targets.linux-aarch64]
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.6/vibe-acp-linux-aarch64-1.0.6.zip"
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-linux-aarch64-1.1.0.zip"
# cmd = "./vibe-acp"
[agent_servers.mistral-vibe.targets.linux-x86_64]
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.6/vibe-acp-linux-x86_64-1.0.6.zip"
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-linux-x86_64-1.1.0.zip"
cmd = "./vibe-acp"
# [agent_servers.mistral-vibe.targets.windows-aarch64]
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.6/vibe-acp-windows-aarch64-1.0.6.zip"
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-windows-aarch64-1.1.0.zip"
# cmd = "./vibe-acp.exe"
[agent_servers.mistral-vibe.targets.windows-x86_64]
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.6/vibe-acp-windows-x86_64-1.0.6.zip"
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-windows-x86_64-1.1.0.zip"
cmd = "./vibe-acp.exe"

View file

@ -1,6 +1,6 @@
[project]
name = "mistral-vibe"
version = "1.0.6"
version = "1.1.0"
description = "Minimal CLI coding agent by Mistral"
readme = "README.md"
requires-python = ">=3.12"

View file

@ -351,7 +351,7 @@ class TestInitialization:
mcpCapabilities=McpCapabilities(http=False, sse=False),
)
assert response.result.agentInfo == Implementation(
name="@mistralai/mistral-vibe", title="Mistral Vibe", version="1.0.6"
name="@mistralai/mistral-vibe", title="Mistral Vibe", version="1.1.0"
)
vibe_setup_method = next(
(

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

View file

@ -206,7 +206,7 @@
</text><text class="terminal-r14" x="24.4" y="776.4" textLength="12.2" clip-path="url(#terminal-line-31)"></text><text class="terminal-r15" x="48.8" y="776.4" textLength="12.2" clip-path="url(#terminal-line-31)">&gt;</text><text class="terminal-r16" x="73.2" y="776.4" textLength="183" clip-path="url(#terminal-line-31)">Ask&#160;anything...</text><text class="terminal-r14" x="1427.4" y="776.4" textLength="12.2" clip-path="url(#terminal-line-31)"></text><text class="terminal-r1" x="1464" y="776.4" textLength="12.2" clip-path="url(#terminal-line-31)">
</text><text class="terminal-r14" x="24.4" y="800.8" textLength="1415.2" clip-path="url(#terminal-line-32)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-r1" x="1464" y="800.8" textLength="12.2" clip-path="url(#terminal-line-32)">
</text><text class="terminal-r1" x="1464" y="825.2" textLength="12.2" clip-path="url(#terminal-line-33)">
</text><text class="terminal-r17" x="24.4" y="849.6" textLength="158.6" clip-path="url(#terminal-line-34)">/test/workdir</text><text class="terminal-r3" x="1232.2" y="849.6" textLength="207.4" clip-path="url(#terminal-line-34)">0%&#160;of&#160;100k&#160;tokens</text><text class="terminal-r1" x="1464" y="849.6" textLength="12.2" clip-path="url(#terminal-line-34)">
</text><text class="terminal-r17" x="24.4" y="849.6" textLength="158.6" clip-path="url(#terminal-line-34)">/test/workdir</text><text class="terminal-r3" x="1232.2" y="849.6" textLength="207.4" clip-path="url(#terminal-line-34)">0%&#160;of&#160;200k&#160;tokens</text><text class="terminal-r1" x="1464" y="849.6" textLength="12.2" clip-path="url(#terminal-line-34)">
</text>
</g>
</g>

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

View file

@ -198,7 +198,7 @@
</text><text class="terminal-r6" x="24.4" y="776.4" textLength="12.2" clip-path="url(#terminal-line-31)"></text><text class="terminal-r7" x="48.8" y="776.4" textLength="12.2" clip-path="url(#terminal-line-31)">&gt;</text><text class="terminal-r8" x="73.2" y="776.4" textLength="183" clip-path="url(#terminal-line-31)">Ask&#160;anything...</text><text class="terminal-r6" x="1427.4" y="776.4" textLength="12.2" clip-path="url(#terminal-line-31)"></text><text class="terminal-r1" x="1464" y="776.4" textLength="12.2" clip-path="url(#terminal-line-31)">
</text><text class="terminal-r6" x="24.4" y="800.8" textLength="1415.2" clip-path="url(#terminal-line-32)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-r1" x="1464" y="800.8" textLength="12.2" clip-path="url(#terminal-line-32)">
</text><text class="terminal-r1" x="1464" y="825.2" textLength="12.2" clip-path="url(#terminal-line-33)">
</text><text class="terminal-r9" x="24.4" y="849.6" textLength="158.6" clip-path="url(#terminal-line-34)">/test/workdir</text><text class="terminal-r3" x="1232.2" y="849.6" textLength="207.4" clip-path="url(#terminal-line-34)">0%&#160;of&#160;100k&#160;tokens</text><text class="terminal-r1" x="1464" y="849.6" textLength="12.2" clip-path="url(#terminal-line-34)">
</text><text class="terminal-r9" x="24.4" y="849.6" textLength="158.6" clip-path="url(#terminal-line-34)">/test/workdir</text><text class="terminal-r3" x="1232.2" y="849.6" textLength="207.4" clip-path="url(#terminal-line-34)">0%&#160;of&#160;200k&#160;tokens</text><text class="terminal-r1" x="1464" y="849.6" textLength="12.2" clip-path="url(#terminal-line-34)">
</text>
</g>
</g>

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before After
Before After

2
uv.lock generated
View file

@ -661,7 +661,7 @@ wheels = [
[[package]]
name = "mistral-vibe"
version = "1.0.6"
version = "1.1.0"
source = { editable = "." }
dependencies = [
{ name = "agent-client-protocol" },

View file

@ -12,7 +12,12 @@ def copy_selection_to_clipboard(app: App) -> None:
continue
selection = widget.text_selection
result = widget.get_selection(selection)
try:
result = widget.get_selection(selection)
except Exception:
continue
if not result:
continue

View file

@ -1,6 +1,6 @@
from __future__ import annotations
__all__ = ["__version__", "run_programmatic"]
__version__ = "1.0.6"
__version__ = "1.1.0"
from vibe.core.programmatic import run_programmatic

View file

@ -299,7 +299,7 @@ class VibeConfig(BaseSettings):
vim_keybindings: bool = False
disable_welcome_banner_animation: bool = False
displayed_workdir: str = ""
auto_compact_threshold: int = 100_000
auto_compact_threshold: int = 200_000
context_warnings: bool = False
textual_theme: str = "textual-dark"
instructions: str = ""
@ -539,7 +539,26 @@ class VibeConfig(BaseSettings):
@classmethod
def _migrate(cls) -> None:
pass
if not CONFIG_FILE.exists():
return
try:
with CONFIG_FILE.open("rb") as f:
config = tomllib.load(f)
except (OSError, tomllib.TOMLDecodeError):
return
needs_save = False
if (
"auto_compact_threshold" not in config
or config["auto_compact_threshold"] == 100_000 # noqa: PLR2004
):
config["auto_compact_threshold"] = 200_000
needs_save = True
if needs_save:
cls.dump_config(config)
@classmethod
def load(cls, agent: str | None = None, **overrides: Any) -> VibeConfig: