v1.1.1
This commit is contained in:
parent
5e449cdd94
commit
af43abea60
13 changed files with 39 additions and 23 deletions
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "ACP Server",
|
||||
|
|
|
|||
|
|
@ -5,6 +5,12 @@ 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.1] - 2025-12-10
|
||||
|
||||
### Changed
|
||||
|
||||
- added `include_commit_signature` in `config.toml` to disable signing commits
|
||||
|
||||
## [1.1.0] - 2025-12-10
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
id = "mistral-vibe"
|
||||
name = "Mistral Vibe"
|
||||
description = "Mistral's open-source coding assistant"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
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.1.0/vibe-acp-darwin-aarch64-1.1.0.zip"
|
||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.1/vibe-acp-darwin-aarch64-1.1.1.zip"
|
||||
cmd = "./vibe-acp"
|
||||
|
||||
[agent_servers.mistral-vibe.targets.darwin-x86_64]
|
||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-darwin-x86_64-1.1.0.zip"
|
||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.1/vibe-acp-darwin-x86_64-1.1.1.zip"
|
||||
cmd = "./vibe-acp"
|
||||
|
||||
# [agent_servers.mistral-vibe.targets.linux-aarch64]
|
||||
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-linux-aarch64-1.1.0.zip"
|
||||
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.1/vibe-acp-linux-aarch64-1.1.1.zip"
|
||||
# cmd = "./vibe-acp"
|
||||
|
||||
[agent_servers.mistral-vibe.targets.linux-x86_64]
|
||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-linux-x86_64-1.1.0.zip"
|
||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.1/vibe-acp-linux-x86_64-1.1.1.zip"
|
||||
cmd = "./vibe-acp"
|
||||
|
||||
# [agent_servers.mistral-vibe.targets.windows-aarch64]
|
||||
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-windows-aarch64-1.1.0.zip"
|
||||
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.1/vibe-acp-windows-aarch64-1.1.1.zip"
|
||||
# cmd = "./vibe-acp.exe"
|
||||
|
||||
[agent_servers.mistral-vibe.targets.windows-x86_64]
|
||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.0/vibe-acp-windows-x86_64-1.1.0.zip"
|
||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.1.1/vibe-acp-windows-x86_64-1.1.1.zip"
|
||||
cmd = "./vibe-acp.exe"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "mistral-vibe"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
description = "Minimal CLI coding agent by Mistral"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -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.1.0"
|
||||
name="@mistralai/mistral-vibe", title="Mistral Vibe", version="1.1.1"
|
||||
)
|
||||
vibe_setup_method = next(
|
||||
(
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ def make_config(
|
|||
include_project_context=False,
|
||||
include_prompt_detail=False,
|
||||
include_model_info=False,
|
||||
include_commit_signature=False,
|
||||
enabled_tools=enabled_tools or [],
|
||||
tools=tools or {},
|
||||
)
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ def test_run_programmatic_preload_streaming_is_batched(
|
|||
include_project_context=False,
|
||||
include_prompt_detail=False,
|
||||
include_model_info=False,
|
||||
include_commit_signature=False,
|
||||
)
|
||||
|
||||
previous = [
|
||||
|
|
@ -107,6 +108,7 @@ def test_run_programmatic_ignores_system_messages_in_previous(
|
|||
include_project_context=False,
|
||||
include_prompt_detail=False,
|
||||
include_model_info=False,
|
||||
include_commit_signature=False,
|
||||
)
|
||||
|
||||
run_programmatic(
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ def test_get_universal_system_prompt_includes_windows_prompt_on_windows(
|
|||
include_project_context=False,
|
||||
include_prompt_detail=True,
|
||||
include_model_info=False,
|
||||
include_commit_signature=False,
|
||||
)
|
||||
tool_manager = ToolManager(config)
|
||||
|
||||
|
|
|
|||
2
uv.lock
generated
2
uv.lock
generated
|
|
@ -661,7 +661,7 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "mistral-vibe"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "agent-client-protocol" },
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from __future__ import annotations
|
||||
|
||||
__all__ = ["__version__", "run_programmatic"]
|
||||
__version__ = "1.1.0"
|
||||
__version__ = "1.1.1"
|
||||
|
||||
from vibe.core.programmatic import run_programmatic
|
||||
|
|
|
|||
|
|
@ -305,6 +305,7 @@ class VibeConfig(BaseSettings):
|
|||
instructions: str = ""
|
||||
workdir: Path | None = Field(default=None, exclude=True)
|
||||
system_prompt_id: str = "cli"
|
||||
include_commit_signature: bool = True
|
||||
include_model_info: bool = True
|
||||
include_project_context: bool = True
|
||||
include_prompt_detail: bool = True
|
||||
|
|
|
|||
|
|
@ -11,14 +11,3 @@ Answer the user's request using the relevant tool(s), if they are available. Che
|
|||
Always try your hardest to use the tools to answer the user's request. If you can't use the tools, explain why and ask the user for more information.
|
||||
|
||||
Act as an agentic assistant, if a user asks for a long task, break it down and do it step by step.
|
||||
|
||||
When you want to commit changes, you will always use the 'git commit' bash command. It will always
|
||||
be suffixed with a line telling it was generated by Mistral Vibe with the appropriate co-authoring information.
|
||||
The format you will always uses is the following heredoc.
|
||||
|
||||
```bash
|
||||
git commit -m "<Commit message here>
|
||||
|
||||
Generated by Mistral Vibe.
|
||||
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>"
|
||||
```
|
||||
|
|
|
|||
|
|
@ -361,9 +361,25 @@ def _get_windows_system_prompt() -> str:
|
|||
)
|
||||
|
||||
|
||||
def _add_commit_signature() -> str:
|
||||
return (
|
||||
"When you want to commit changes, you will always use the 'git commit' bash command.\n"
|
||||
"It will always be suffixed with a line telling it was generated by Mistral Vibe with the appropriate co-authoring information.\n"
|
||||
"The format you will always uses is the following heredoc.\n\n"
|
||||
"```bash\n"
|
||||
"git commit -m <Commit message here>\n\n"
|
||||
"Generated by Mistral Vibe.\n"
|
||||
"Co-Authored-By: Mistral Vibe <vibe@mistral.ai>\n"
|
||||
"```"
|
||||
)
|
||||
|
||||
|
||||
def get_universal_system_prompt(tool_manager: ToolManager, config: VibeConfig) -> str:
|
||||
sections = [config.system_prompt]
|
||||
|
||||
if config.include_commit_signature:
|
||||
sections.append(_add_commit_signature())
|
||||
|
||||
if config.include_model_info:
|
||||
sections.append(f"Your model name is: `{config.active_model}`")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue