feat(agents): add Mistral Vibe agent provider (F109)#376
Merged
Conversation
- `.gitignore`: Add `.codex/` to ignored directories - `.zpm/kb/pr_feature_f102_acp_transparent_agent_server/journal.wal`: Remove stale ZPM knowledge base journal - `.zpm/kb/pr_feature_f102_acp_transparent_agent_server/knowledge.pl`: Remove stale ZPM knowledge base facts - `.zpm/kb/pr_feature_f103_codex_provider_jsonl_output_parity/journal.wal`: Remove stale ZPM knowledge base journal - `.zpm/kb/pr_feature_f103_codex_provider_jsonl_output_parity/knowledge.pl`: Remove stale ZPM knowledge base facts - `.zpm/kb/pr_feature_f105_acp_server_migration_to_coderacp_go_s/journal.wal`: Remove stale ZPM knowledge base journal - `.zpm/kb/pr_feature_f105_acp_server_migration_to_coderacp_go_s/knowledge.pl`: Remove stale ZPM knowledge base facts - `.zpm/kb/pr_feature_f106_canonical_agent_exchange_transcript_j/journal.wal`: Remove stale ZPM knowledge base journal - `.zpm/kb/pr_feature_f106_canonical_agent_exchange_transcript_j/knowledge.pl`: Remove stale ZPM knowledge base facts - `.zpm/kb/pr_feature_f107_single_core_interfaces_facade/journal.wal`: Remove stale ZPM knowledge base journal - `.zpm/kb/pr_feature_f107_single_core_interfaces_facade/knowledge.pl`: Remove stale ZPM knowledge base facts - `.zpm/mounts.json`: Update ZPM mounts configuration - `CLAUDE.md`: Rename to `AGENTS.md` for multi-agent compatibility - `README.md`: Update documentation references for Mistral Vibe provider - `docs/README.md`: Update docs index with Mistral Vibe provider entry - `docs/development/creating-agent-provider.md`: Add Mistral Vibe as provider example - `docs/user-guide/agent-steps.md`: Document `mistral-vibe` agent step type - `docs/user-guide/mcp-proxy.md`: Update MCP proxy documentation - `docs/user-guide/workflow-syntax.md`: Add Mistral Vibe syntax examples - `internal/infrastructure/agents/base_cli_provider.go`: Extract shared CLI provider base for reuse - `internal/infrastructure/agents/cli_executor.go`: Add executor support for Mistral Vibe invocation - `internal/infrastructure/agents/mistral_vibe_provider.go`: Implement Mistral Vibe agent provider (961 lines) - `internal/infrastructure/agents/mistral_vibe_provider_unit_test.go`: Add unit tests for Mistral Vibe provider - `internal/infrastructure/agents/options.go`: Add Mistral Vibe provider options - `internal/infrastructure/agents/provider_options_test.go`: Add tests for Mistral Vibe provider options - `internal/infrastructure/agents/registry.go`: Register `mistral-vibe` provider in agent registry - `internal/infrastructure/agents/registry_test.go`: Add registry tests for Mistral Vibe provider - `tests/integration/cli/mistral_vibe_functional_test.go`: Add functional integration tests for Mistral Vibe - `tests/integration/cli/run_agent_test.go`: Extend run agent tests to cover Mistral Vibe provider Closes #375
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mistral_vibeas a new agent provider, integrating Mistral'svibeCLI into the AWF agent execution pipeline alongside the six existing providersVIBE_HOME/config.toml, including user config sanitization to strip pre-existing[[mcp_servers]]entries and copy credentials before injectionRunWithEnvto support per-provider environment variable overrides (required forVIBE_HOMEisolation), and wire it throughbaseCLIProviderCLAUDE.mdtoAGENTS.mdfor consistency with the agent-centric documentation modelChanges
Agent Provider — Mistral Vibe
internal/infrastructure/agents/mistral_vibe_provider.go: NewMistralVibeProviderimplementingports.AgentProvider; includesExecute,ExecuteConversation, MCP injector, TOML config writer, user config sanitizer, and option validationinternal/infrastructure/agents/options.go: Add Mistral Vibe provider option types and constructor helpersinternal/infrastructure/agents/registry.go: Registermistral_vibeprovider in the central provider registryCLI Executor — Environment Support
internal/infrastructure/agents/cli_executor.go: AddRunWithEnvmethod toExecCLIExecutorfor injecting additional environment variables into subprocess commandsinternal/infrastructure/agents/base_cli_provider.go: AddcliEnvExecutorinterface,cliProviderEnvhelper, andrunCLIWithProviderEnvdispatcher; wire env support into bothexecuteandexecuteConversationpathsTests
internal/infrastructure/agents/mistral_vibe_provider_unit_test.go: Unit tests covering argument building, MCP injection, config sanitization, option validation, and output extractioninternal/infrastructure/agents/provider_options_test.go: Extended to cover Mistral Vibe option constructorsinternal/infrastructure/agents/registry_test.go: Updated to assertmistral_vibeis present in the registrytests/integration/cli/mistral_vibe_functional_test.go: Functional integration tests for the provider end-to-endtests/integration/cli/run_agent_test.go: Extended run-agent integration tests to cover the new providerDocumentation
docs/user-guide/agent-steps.md: Addmistral_vibeto provider reference tables, token-logging table, and troubleshooting sectiondocs/user-guide/workflow-syntax.md: Addmistral_vibeandgithub_copilotto provider option table and conversation-mode notesdocs/user-guide/mcp-proxy.md: Document Mistral Vibe MCP integration mechanism and tool-name prefixing behavior (awf-proxy_<tool>)docs/development/creating-agent-provider.md: Update provider creation guide to reflect new patternsREADME.md: Update provider listdocs/README.md: Update provider count and referencesHousekeeping
.zpm/kb/pr_feature_f102_*/,.zpm/kb/pr_feature_f103_*/,.zpm/kb/pr_feature_f105_*/,.zpm/kb/pr_feature_f106_*/,.zpm/kb/pr_feature_f107_*/: Remove stale ZPM knowledge base artifacts from merged feature branches.zpm/mounts.json: Update mounts configurationCLAUDE.md→AGENTS.md: Rename project instruction file.gitignore: Add.codex/to the AI assistant local config ignore listTest plan
go test ./internal/infrastructure/agents/...vibebinary in PATH):go test -tags=integration ./tests/integration/cli/ -run TestMistralVibemistral_vibeas provider:awf validateawf runcorrectly dispatches to thevibebinary with expected argumentsCloses #375
Generated with awf commit workflow