Repository navigation
chore: sync public mirror from internal - #780
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
PR SummaryHigh Risk Overview Distribution and ops shift toward release binaries as the recommended install (curl + Security and safety tighten across the stack: A2A push notifications pin resolved addresses and reject mixed private/public DNS; Supporting changes include release-binary build scripts, capability integration test runner, test skip/timing hygiene gates, session-wire fixture validation for tool-result completeness, hooks.json command-only loading with explicit errors for prompt/agent types, and sandbox documentation for native enforcement and fail-closed behavior. Reviewed by Cursor Bugbot for commit f03f4e2. Bugbot is set up for automated code reviews on this repo. Configure here. |
cfe5d8e to
71d9eb7
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Bare qwen3 IDs misroute DashScope
- Restricted bare
qwen3-*DashScope routing to the same allowlist as prefixed Qwen models and added regression coverage soqwen3-32bnow stays on Groq.
- Restricted bare
You can send follow-ups to the cloud agent here.
4ad59d3 to
b8be388
Compare
ae4bbb4 to
8b5b9c9
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: OpenRouter models misrouted to Groq
- Added explicit OpenRouter inference and client wiring so
openrouter/...DeepSeek/Qwen models now use the OpenRouter base URL and API key instead of Groq.
- Added explicit OpenRouter inference and client wiring so
You can send follow-ups to the cloud agent here.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: moonshotai prefix not recognized
- Rust TUI now treats the
moonshotaiprefix as Moonshot for provider inference, API-key selection, and provider-native model id stripping.
- Rust TUI now treats the
You can send follow-ups to the cloud agent here.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Alibaba prefix routes to Groq
- Added the
alibabaalias to Rust DashScope provider inference, API-key env wiring, and model-prefix stripping soalibaba/...models use DashScope instead of Groq.
- Added the
Preview (25618a5fcc)
diff --git a/.env.example b/.env.example
--- a/.env.example
+++ b/.env.example
@@ -16,6 +16,21 @@
# xAI / Grok (optional)
XAI_API_KEY=
+# DeepSeek (optional)
+DEEPSEEK_API_KEY=
+
+# Moonshot AI / Kimi (optional). KIMI_API_KEY is also accepted.
+MOONSHOT_API_KEY=
+
+# Alibaba Qwen via DashScope (optional). QWEN_API_KEY is also accepted.
+DASHSCOPE_API_KEY=
+
+# MiniMax (optional)
+MINIMAX_API_KEY=
+
+# Z.ai / Zhipu GLM (optional)
+ZAI_API_KEY=
+
# Exa web search (optional)
EXA_API_KEY=
diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,10 @@
- Added a weekly internal patch-release cadence that opens or refreshes release
PRs with generated changelog entries from commits since the latest semver tag.
+- Added first-class support for the major Chinese model providers — DeepSeek,
+ Moonshot/Kimi, Alibaba Qwen (DashScope), MiniMax, and Z.ai/Zhipu GLM — across
+ the model registry, API-key resolution, `/config` presets, and the native Rust
+ TUI, including DeepSeek's previously missing `DEEPSEEK_API_KEY` lookup.
### Changed
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -66,7 +66,7 @@
packaged `@openai/codex` app-server and source checkouts fall back to a `codex`
binary on `PATH`, so an existing `codex login` is reused automatically.
-Bare `maestro` defaults to `openai-codex/gpt-5.5`. Maestro also supports OpenAI API keys, Anthropic, Google, OpenRouter, Azure OpenAI, GitHub Copilot, Groq, xAI, Cerebras, and managed EvalOps auth. See [Models](docs/MODELS.md) for provider-specific setup and overrides.
+Bare `maestro` defaults to `openai-codex/gpt-5.5`. Maestro also supports OpenAI API keys, Anthropic, Google, OpenRouter, Azure OpenAI, GitHub Copilot, Groq, xAI, Cerebras, the major Chinese model providers (DeepSeek, Moonshot/Kimi, Alibaba Qwen via DashScope, MiniMax, and Z.ai/Zhipu GLM), and managed EvalOps auth. See [Models](docs/MODELS.md) for provider-specific setup and overrides.
For another Codex subscription model, select models under the `openai-codex` provider such as `openai-codex/gpt-5.5`.
diff --git a/docs/MODELS.md b/docs/MODELS.md
--- a/docs/MODELS.md
+++ b/docs/MODELS.md
@@ -145,6 +145,62 @@
| `groq` | Auto-enables when `GROQ_API_KEY` is present |
| ... | (See `src/models/registry.ts` for the full list) |
+## Chinese Model Providers (DeepSeek, Kimi, Qwen, MiniMax, GLM)
+
+Maestro ships built-in support for the major Chinese frontier providers. All of
+them expose OpenAI-compatible Chat Completions endpoints, so they use
+`api: "openai-completions"` and the standard OpenAI request shape (no custom
+`compat` flags required). Reasoning models that stream a `reasoning_content`
+field (DeepSeek Reasoner, Kimi Thinking, MiniMax M-series, GLM) surface their
+chain-of-thought automatically.
+
+| Provider | `provider` id | Default base URL (international) | China-mainland base URL | API key env |
+| --- | --- | --- | --- | --- |
+| **DeepSeek** | `deepseek` | `https://api.deepseek.com/v1` | (same) | `DEEPSEEK_API_KEY` |
+| **Moonshot (Kimi)** | `moonshot` | `https://api.moonshot.ai/v1` | `https://api.moonshot.cn/v1` | `MOONSHOT_API_KEY` (or `KIMI_API_KEY`) |
+| **Alibaba Qwen (DashScope)** | `dashscope` | `https://dashscope-intl.aliyuncs.com/compatible-mode/v1` | `https://dashscope.aliyuncs.com/compatible-mode/v1` | `DASHSCOPE_API_KEY` (or `QWEN_API_KEY`) |
+| **MiniMax** | `minimax` | `https://api.minimax.io/v1` | `https://api.minimaxi.com/v1` | `MINIMAX_API_KEY` |
+| **Z.ai (Zhipu GLM)** | `zai` | `https://api.z.ai/api/coding/paas/v4` | `https://open.bigmodel.cn/api/paas/v4` | `ZAI_API_KEY` |
+
+Representative built-in models:
+
+- **DeepSeek:** `deepseek-chat` (non-thinking), `deepseek-reasoner` (thinking),
+ `deepseek-v4-flash`, `deepseek-v4-pro`. `deepseek-chat` / `deepseek-reasoner`
+ are stable aliases DeepSeek keeps pointed at the latest weights.
+- **Moonshot:** `kimi-k2.6`, `kimi-k2.5`, `kimi-k2-thinking`,
+ `kimi-k2-0905-preview`, `kimi-k2-turbo-preview`, `kimi-latest`,
+ `moonshot-v1-128k`.
+- **Qwen:** `qwen3-max`, `qwen-max`, `qwen-plus`, `qwen-turbo`,
+ `qwen3-coder-plus`, `qwen3-coder-flash`, `qwq-32b`, `qwen-vl-max`.
+- **MiniMax:** `MiniMax-M2`, `MiniMax-M2.5`, `MiniMax-M2.7`, `MiniMax-Text-01`.
+- **GLM:** `glm-4.6`, `glm-4.5`, `glm-4.5-air`, `glm-4.5v`, `glm-4.5-flash`.
+
+Usage:
+
+```bash
+export DEEPSEEK_API_KEY=sk-...
+maestro --model deepseek/deepseek-reasoner
+
+export MOONSHOT_API_KEY=sk-... # KIMI_API_KEY also works
+maestro --model moonshot/kimi-k2.6
+```
+
+To point a provider at its mainland (or a self-hosted) endpoint without editing
+the registry, add an override-only entry in `~/.maestro/config.json`:
+
+```json
+{
+ "providers": [
+ { "id": "moonshot", "name": "Moonshot", "baseUrl": "https://api.moonshot.cn/v1" }
+ ]
+}
+```
+
+The override `baseUrl` is applied to every built-in model for that provider.
+Both Moonshot/DeepSeek/MiniMax and GLM additionally offer Anthropic-compatible
+endpoints (`/anthropic`); to use those, define a custom provider with
+`api: "anthropic-messages"` pointed at that base URL.
+
## Built-in Overlays (Responses API)
Maestro seeds a few Responses-capable models that aren’t yet emitted by the
diff --git a/docs/SAFETY.md b/docs/SAFETY.md
--- a/docs/SAFETY.md
+++ b/docs/SAFETY.md
@@ -98,12 +98,31 @@
### Available Modes
-| Mode | Description |
-| ------- | ----------------------------------------------------- |
-| `none` | No sandbox (default) - tools run directly on the host |
-| `local` | Local sandbox - minimal isolation (same as `none`) |
-| `docker`| Docker container - full isolation |
+| Mode | Description |
+| -------- | ----------------------------------------------------- |
+| `none` | No sandbox (default) - tools run directly on the host |
+| `local` | Local sandbox - minimal isolation (same as `none`) |
+| `native` | OS-native sandbox where enforcement is implemented |
+| `docker` | Docker container - full isolation |
+### Platform Enforcement
+
+| Runtime | Platform | Native enforcement |
+| --------------- | -------- | ------------------------------------ |
+| TypeScript CLI | macOS | Seatbelt via `/usr/bin/sandbox-exec` |
+| TypeScript CLI | Linux | Not enforced; requests fail closed |
+| TypeScript CLI | Other | Not supported |
+| Rust TUI native | Linux | Landlock + seccomp backend |
+
+If a requested `native` or `docker` sandbox cannot be enforced, Maestro fails
+closed instead of silently running with host permissions. To deliberately keep
+legacy local/none fallback behavior, pass `allowUnsafeLocalFallback` from code or
+set:
+
+```bash
+export MAESTRO_ALLOW_UNSANDBOXED_SANDBOX_FALLBACK=1
+```
+
### Enabling Sandbox Mode
Via CLI flag:
@@ -141,7 +160,8 @@
- Docker must be installed and running
- Current user must have permission to run Docker commands
-If Docker is unavailable, Maestro falls back to local mode with a warning.
+If Docker is unavailable, Maestro fails closed unless unsafe fallback is
+explicitly enabled.
## Best Practices
diff --git a/packages/ai/README.md b/packages/ai/README.md
--- a/packages/ai/README.md
+++ b/packages/ai/README.md
@@ -15,6 +15,11 @@
| **Cerebras** | OpenAI-compatible models | `CEREBRAS_API_KEY` |
| **AWS Bedrock** | Claude via AWS | AWS credentials |
| **Azure OpenAI** | OpenAI-compatible deployments | `AZURE_OPENAI_API_KEY` |
+| **DeepSeek** | `deepseek-chat`, `deepseek-reasoner`, V4 | `DEEPSEEK_API_KEY` |
+| **Moonshot (Kimi)** | Kimi K2 / K2.5 / K2.6, `moonshot-v1-*` | `MOONSHOT_API_KEY` / `KIMI_API_KEY` |
+| **Alibaba Qwen (DashScope)** | `qwen3-max`, `qwen3-coder-plus`, `qwq-32b` | `DASHSCOPE_API_KEY` / `QWEN_API_KEY` |
+| **MiniMax** | `MiniMax-M2`, M2.5 / M2.7 | `MINIMAX_API_KEY` |
+| **Z.ai (Zhipu GLM)** | GLM-4.5 / GLM-4.6 family | `ZAI_API_KEY` |
## Installation
diff --git a/packages/tui-rs/src/agent/native.rs b/packages/tui-rs/src/agent/native.rs
--- a/packages/tui-rs/src/agent/native.rs
+++ b/packages/tui-rs/src/agent/native.rs
@@ -129,10 +129,16 @@
match provider {
AiProvider::Anthropic => "anthropic",
AiProvider::OpenAI => "openai",
+ AiProvider::OpenRouter => "openrouter",
AiProvider::Mistral => "mistral",
AiProvider::Google => "google",
AiProvider::Groq => "groq",
AiProvider::VertexAi => "vertex-ai",
+ AiProvider::DeepSeek => "deepseek",
+ AiProvider::Moonshot => "moonshot",
+ AiProvider::Qwen => "dashscope",
+ AiProvider::MiniMax => "minimax",
+ AiProvider::Zai => "zai",
}
}
diff --git a/packages/tui-rs/src/ai/client.rs b/packages/tui-rs/src/ai/client.rs
--- a/packages/tui-rs/src/ai/client.rs
+++ b/packages/tui-rs/src/ai/client.rs
@@ -16,6 +16,8 @@
pub enum AiProvider {
Anthropic,
OpenAI,
+ /// OpenRouter - OpenAI-compatible aggregator
+ OpenRouter,
/// Mistral AI - uses OpenAI-compatible API with special tool handling
Mistral,
/// Google Gemini
@@ -24,9 +26,56 @@
Groq,
/// Google Vertex AI - enterprise Gemini via GCP
VertexAi,
+ /// DeepSeek - OpenAI-compatible API (api.deepseek.com)
+ DeepSeek,
+ /// Moonshot AI / Kimi - OpenAI-compatible API (api.moonshot.ai)
+ Moonshot,
+ /// Alibaba Qwen via DashScope - OpenAI-compatible API
+ Qwen,
+ /// MiniMax - OpenAI-compatible API (api.minimax.io)
+ MiniMax,
+ /// Z.ai / Zhipu GLM - OpenAI-compatible API (api.z.ai)
+ Zai,
}
impl AiProvider {
+ fn direct_provider_from_bare_model(model_lower: &str) -> Option<Self> {
+ if matches!(model_lower, "deepseek-chat" | "deepseek-reasoner")
+ || model_lower.starts_with("deepseek-v")
+ {
+ return Some(Self::DeepSeek);
+ }
+
+ if model_lower.starts_with("kimi-")
+ || model_lower == "kimi-latest"
+ || model_lower.starts_with("moonshot-v1-")
+ {
+ return Some(Self::Moonshot);
+ }
+
+ if model_lower.starts_with("qwen3-")
+ || matches!(
+ model_lower,
+ "qwen-max" | "qwen-plus" | "qwen-turbo" | "qwen-vl-max" | "qwq-32b"
+ )
+ {
+ return Some(Self::Qwen);
+ }
+
+ if matches!(
+ model_lower,
+ "minimax-m2" | "minimax-m2.5" | "minimax-m2.7" | "minimax-text-01"
+ ) {
+ return Some(Self::MiniMax);
+ }
+
+ if model_lower.starts_with("glm-") {
+ return Some(Self::Zai);
+ }
+
+ None
+ }
+
/// Parse provider from model name
#[must_use]
pub fn from_model(model: &str) -> Self {
@@ -35,13 +84,23 @@
match provider_prefix {
Some("anthropic") => return AiProvider::Anthropic,
Some("openai" | "azure-openai" | "azure") => return AiProvider::OpenAI,
+ Some("openrouter") => return AiProvider::OpenRouter,
Some("google" | "gemini") => return AiProvider::Google,
Some("mistral") => return AiProvider::Mistral,
Some("groq") => return AiProvider::Groq,
Some("vertex-ai" | "vertex") => return AiProvider::VertexAi,
+ Some("deepseek") => return AiProvider::DeepSeek,
+ Some("moonshot" | "moonshotai" | "kimi") => return AiProvider::Moonshot,
+ Some("dashscope" | "qwen" | "alibaba") => return AiProvider::Qwen,
+ Some("minimax") => return AiProvider::MiniMax,
+ Some("zai" | "zhipu") => return AiProvider::Zai,
_ => {}
}
+ if let Some(provider) = Self::direct_provider_from_bare_model(&model_lower) {
+ return provider;
+ }
+
if model_lower.starts_with("claude") || model_lower.starts_with("anthropic") {
AiProvider::Anthropic
} else if model_lower.starts_with("gpt")
@@ -64,8 +123,11 @@
|| model_lower.contains("deepseek")
|| model_lower.contains("qwen")
{
- // Groq hosts Llama, DeepSeek, Qwen models with fast inference
- // Models prefixed with "groq/" explicitly use Groq
+ // Groq hosts Llama, DeepSeek, Qwen models with fast inference.
+ // Direct-provider bare ids are handled earlier by
+ // `direct_provider_from_bare_model`, so the Groq-hosted distill/coder
+ // variants (deepseek-r1-distill-llama-70b, qwen-2.5-coder-32b,
+ // qwen-qwq-32b) are what remain here.
AiProvider::Groq
} else {
// Default to OpenAI/Codex for unknown models
@@ -87,8 +149,11 @@
}
match provider.to_ascii_lowercase().as_str() {
- "anthropic" | "openai" | "azure-openai" | "azure" | "google" | "gemini" | "mistral"
- | "groq" | "vertex-ai" | "vertex" => model_id.to_string(),
+ "anthropic" | "openai" | "azure-openai" | "azure" | "openrouter" | "google" | "gemini"
+ | "mistral" | "groq" | "vertex-ai" | "vertex" | "deepseek" | "moonshot" | "moonshotai"
+ | "kimi" | "dashscope" | "qwen" | "alibaba" | "minimax" | "zai" | "zhipu" => {
+ model_id.to_string()
+ }
_ => trimmed.to_string(),
}
}
@@ -111,6 +176,8 @@
pub enum UnifiedClient {
Anthropic(AnthropicClient),
OpenAI(OpenAiClient),
+ /// OpenRouter uses `OpenAI` client with custom base URL
+ OpenRouter(OpenAiClient),
/// Mistral uses `OpenAI` client with custom base URL
Mistral(OpenAiClient),
/// Google Gemini
@@ -119,6 +186,16 @@
Groq(OpenAiClient),
/// Google Vertex AI for enterprise Gemini
VertexAi(VertexAiClient),
+ /// DeepSeek uses `OpenAI` client with custom base URL
+ DeepSeek(OpenAiClient),
+ /// Moonshot / Kimi uses `OpenAI` client with custom base URL
+ Moonshot(OpenAiClient),
+ /// Alibaba Qwen (DashScope) uses `OpenAI` client with custom base URL
+ Qwen(OpenAiClient),
+ /// MiniMax uses `OpenAI` client with custom base URL
+ MiniMax(OpenAiClient),
+ /// Z.ai / Zhipu GLM uses `OpenAI` client with custom base URL
+ Zai(OpenAiClient),
}
impl UnifiedClient {
@@ -132,6 +209,11 @@
Ok(Self::OpenAI(OpenAiClient::from_env()?))
}
+ /// Create client for OpenRouter
+ pub fn openrouter() -> Result<Self> {
+ Ok(Self::OpenRouter(OpenAiClient::openrouter_from_env()?))
+ }
+
/// Create client for Mistral
pub fn mistral() -> Result<Self> {
Ok(Self::Mistral(OpenAiClient::mistral_from_env()?))
@@ -152,15 +234,46 @@
Ok(Self::VertexAi(VertexAiClient::from_env()?))
}
+ /// Create client for DeepSeek
+ pub fn deepseek() -> Result<Self> {
+ Ok(Self::DeepSeek(OpenAiClient::deepseek_from_env()?))
+ }
+
+ /// Create client for Moonshot / Kimi
+ pub fn moonshot() -> Result<Self> {
+ Ok(Self::Moonshot(OpenAiClient::moonshot_from_env()?))
+ }
+
+ /// Create client for Alibaba Qwen (DashScope)
+ pub fn qwen() -> Result<Self> {
+ Ok(Self::Qwen(OpenAiClient::qwen_from_env()?))
+ }
+
+ /// Create client for MiniMax
+ pub fn minimax() -> Result<Self> {
+ Ok(Self::MiniMax(OpenAiClient::minimax_from_env()?))
+ }
+
+ /// Create client for Z.ai / Zhipu GLM
+ pub fn zai() -> Result<Self> {
+ Ok(Self::Zai(OpenAiClient::zai_from_env()?))
+ }
+
/// Create client based on provider
pub fn from_provider(provider: AiProvider) -> Result<Self> {
match provider {
AiProvider::Anthropic => Self::anthropic(),
AiProvider::OpenAI => Self::openai(),
+ AiProvider::OpenRouter => Self::openrouter(),
AiProvider::Mistral => Self::mistral(),
AiProvider::Google => Self::google(),
AiProvider::Groq => Self::groq(),
AiProvider::VertexAi => Self::vertex_ai(),
+ AiProvider::DeepSeek => Self::deepseek(),
+ AiProvider::Moonshot => Self::moonshot(),
+ AiProvider::Qwen => Self::qwen(),
+ AiProvider::MiniMax => Self::minimax(),
+ AiProvider::Zai => Self::zai(),
}
}
@@ -175,10 +288,16 @@
match self {
Self::Anthropic(_) => AiProvider::Anthropic,
Self::OpenAI(_) => AiProvider::OpenAI,
+ Self::OpenRouter(_) => AiProvider::OpenRouter,
Self::Mistral(_) => AiProvider::Mistral,
Self::Google(_) => AiProvider::Google,
Self::Groq(_) => AiProvider::Groq,
Self::VertexAi(_) => AiProvider::VertexAi,
+ Self::DeepSeek(_) => AiProvider::DeepSeek,
+ Self::Moonshot(_) => AiProvider::Moonshot,
+ Self::Qwen(_) => AiProvider::Qwen,
+ Self::MiniMax(_) => AiProvider::MiniMax,
+ Self::Zai(_) => AiProvider::Zai,
}
}
@@ -191,10 +310,16 @@
match self {
Self::Anthropic(client) => client.stream(messages, config).await,
Self::OpenAI(client) => client.stream(messages, config).await,
+ Self::OpenRouter(client) => client.stream(messages, config).await,
Self::Mistral(client) => client.stream(messages, config).await,
Self::Google(client) => client.stream(messages, config).await,
Self::Groq(client) => client.stream(messages, config).await,
Self::VertexAi(client) => client.stream(messages, config).await,
+ Self::DeepSeek(client) => client.stream(messages, config).await,
+ Self::Moonshot(client) => client.stream(messages, config).await,
+ Self::Qwen(client) => client.stream(messages, config).await,
+ Self::MiniMax(client) => client.stream(messages, config).await,
+ Self::Zai(client) => client.stream(messages, config).await,
}
}
}
@@ -258,6 +383,22 @@
}
#[test]
+ fn test_provider_from_model_openrouter() {
+ assert_eq!(
+ AiProvider::from_model("openrouter/deepseek/deepseek-r1"),
+ AiProvider::OpenRouter
+ );
+ assert_eq!(
+ AiProvider::from_model("openrouter/qwen/qwen-2.5-coder-32b"),
+ AiProvider::OpenRouter
+ );
+ assert_eq!(
+ provider_model_name("openrouter/deepseek/deepseek-r1"),
+ "deepseek/deepseek-r1"
+ );
+ }
+
+ #[test]
fn test_provider_from_model_mistral() {
assert_eq!(AiProvider::from_model("mistral-large"), AiProvider::Mistral);
assert_eq!(AiProvider::from_model("mistral-small"), AiProvider::Mistral);
@@ -317,6 +458,91 @@
}
#[test]
+ fn test_provider_from_model_chinese_providers() {
+ // Explicit provider prefixes route to the direct provider.
+ assert_eq!(
+ AiProvider::from_model("deepseek/deepseek-chat"),
+ AiProvider::DeepSeek
+ );
+ assert_eq!(
+ AiProvider::from_model("moonshot/kimi-k2.6"),
+ AiProvider::Moonshot
+ );
+ assert_eq!(
+ AiProvider::from_model("kimi/kimi-k2-thinking"),
+ AiProvider::Moonshot
+ );
+ assert_eq!(
+ AiProvider::from_model("moonshotai/kimi-k2-instruct"),
+ AiProvider::Moonshot
+ );
+ assert_eq!(
+ AiProvider::from_model("dashscope/qwen3-max"),
+ AiProvider::Qwen
+ );
+ assert_eq!(
+ AiProvider::from_model("alibaba/qwen3-max"),
+ AiProvider::Qwen
+ );
+ assert_eq!(
+ AiProvider::from_model("qwen/qwen3-coder-plus"),
+ AiProvider::Qwen
+ );
+ assert_eq!(
+ AiProvider::from_model("minimax/MiniMax-M2"),
+ AiProvider::MiniMax
+ );
+ assert_eq!(AiProvider::from_model("zai/glm-4.6"), AiProvider::Zai);
+ assert_eq!(AiProvider::from_model("zhipu/glm-4.6"), AiProvider::Zai);
+
+ // Bare direct-provider ids (from model selectors / config presets) route
+ // to the direct provider even without an explicit prefix.
+ assert_eq!(
+ AiProvider::from_model("deepseek-chat"),
+ AiProvider::DeepSeek
+ );
+ assert_eq!(
+ AiProvider::from_model("deepseek-reasoner"),
+ AiProvider::DeepSeek
+ );
+ assert_eq!(AiProvider::from_model("kimi-k2.6"), AiProvider::Moonshot);
+ assert_eq!(
+ AiProvider::from_model("moonshot-v1-128k"),
+ AiProvider::Moonshot
+ );
+ assert_eq!(AiProvider::from_model("qwen3-max"), AiProvider::Qwen);
+ assert_eq!(AiProvider::from_model("qwq-32b"), AiProvider::Qwen);
+ assert_eq!(AiProvider::from_model("MiniMax-M2"), AiProvider::MiniMax);
+ assert_eq!(AiProvider::from_model("glm-4.6"), AiProvider::Zai);
+
+ // Bare Groq-hosted distill/coder names still route to Groq for
+ // backward compatibility (no explicit provider prefix).
+ assert_eq!(
+ AiProvider::from_model("deepseek-r1-distill-llama-70b"),
+ AiProvider::Groq
+ );
+ assert_eq!(
+ AiProvider::from_model("qwen-2.5-coder-32b"),
+ AiProvider::Groq
+ );
+
+ // Prefix stripping yields the upstream-native model id.
+ assert_eq!(
+ provider_model_name("deepseek/deepseek-reasoner"),
+ "deepseek-reasoner"
+ );
+ assert_eq!(provider_model_name("moonshot/kimi-k2.6"), "kimi-k2.6");
+ assert_eq!(
+ provider_model_name("moonshotai/kimi-k2-instruct"),
+ "kimi-k2-instruct"
+ );
+ assert_eq!(provider_model_name("dashscope/qwen3-max"), "qwen3-max");
+ assert_eq!(provider_model_name("alibaba/qwen3-max"), "qwen3-max");
+ assert_eq!(provider_model_name("minimax/MiniMax-M2"), "MiniMax-M2");
+ assert_eq!(provider_model_name("zai/glm-4.6"), "glm-4.6");
+ }
+
+ #[test]
fn test_provider_from_model_default() {
// Unknown models default to OpenAI/Codex
assert_eq!(AiProvider::from_model("unknown-model"), AiProvider::OpenAI);
diff --git a/packages/tui-rs/src/ai/openai.rs b/packages/tui-rs/src/ai/openai.rs
--- a/packages/tui-rs/src/ai/openai.rs
+++ b/packages/tui-rs/src/ai/openai.rs
@@ -519,21 +519,19 @@
if model_lower.starts_with("groq/") {
return true;
}
- // Check base URL
+ // A custom base URL pins the provider: only Groq's host is Groq. This keeps
+ // Groq-specific request shaping (e.g. omitting parallel_tool_calls) off the
+ // direct DeepSeek/DashScope/etc. clients, whose ids also contain "deepseek"
+ // or "qwen".
if let Some(url) = base_url {
- if url.contains("groq.com") {
- return true;
- }
+ return url.contains("groq.com");
}
- // Llama models are commonly hosted on Groq
- if model_lower.starts_with("llama-") || model_lower.starts_with("llama3") {
- return true;
- }
- // DeepSeek and Qwen models
- if model_lower.contains("deepseek") || model_lower.contains("qwen") {
- return true;
- }
- false
+ // No custom base URL: fall back to model-name heuristics for the open models
+ // commonly hosted on Groq (Llama, and DeepSeek/Qwen distill/coder variants).
+ model_lower.starts_with("llama-")
+ || model_lower.starts_with("llama3")
+ || model_lower.contains("deepseek")
+ || model_lower.contains("qwen")
}
/// Normalize a tool call ID for Mistral compatibility.
@@ -632,6 +630,15 @@
Self::with_base_url(api_key, "https://api.mistral.ai/v1")
}
+ /// Create a new OpenRouter client from environment variable.
+ ///
+ /// OpenRouter exposes an OpenAI-compatible API at `https://openrouter.ai/api/v1`.
+ pub fn openrouter_from_env() -> Result<Self> {
+ let api_key = std::env::var("OPENROUTER_API_KEY")
+ .context("OPENROUTER_API_KEY environment variable not set")?;
+ Self::with_base_url(api_key, "https://openrouter.ai/api/v1")
+ }
+
/// Create a new Groq client from environment variable
///
/// Groq provides fast inference for open models like Llama, Mixtral, and Gemma.
@@ -642,6 +649,58 @@
Self::with_base_url(api_key, "https://api.groq.com/openai/v1")
}
+ /// Create a new DeepSeek client from environment variable.
+ ///
+ /// DeepSeek exposes an OpenAI-compatible API at `https://api.deepseek.com/v1`.
+ pub fn deepseek_from_env() -> Result<Self> {
+ let api_key = std::env::var("DEEPSEEK_API_KEY")
+ .context("DEEPSEEK_API_KEY environment variable not set")?;
+ Self::with_base_url(api_key, "https://api.deepseek.com/v1")
+ }
+
+ /// Create a new Moonshot (Kimi) client from environment variable.
+ ///
+ /// Uses the international endpoint `https://api.moonshot.ai/v1`. Accepts
+ /// `MOONSHOT_API_KEY` or, as a fallback, `KIMI_API_KEY`.
+ pub fn moonshot_from_env() -> Result<Self> {
+ let api_key = std::env::var("MOONSHOT_API_KEY")
+ .or_else(|_| std::env::var("KIMI_API_KEY"))
+ .context("MOONSHOT_API_KEY (or KIMI_API_KEY) environment variable not set")?;
+ Self::with_base_url(api_key, "https://api.moonshot.ai/v1")
+ }
+
+ /// Create a new Alibaba Qwen (DashScope) client from environment variable.
+ ///
+ /// Uses the international compatible-mode endpoint. Accepts
+ /// `DASHSCOPE_API_KEY` or, as a fallback, `QWEN_API_KEY`.
+ pub fn qwen_from_env() -> Result<Self> {
+ let api_key = std::env::var("DASHSCOPE_API_KEY")
+ .or_else(|_| std::env::var("QWEN_API_KEY"))
+ .context("DASHSCOPE_API_KEY (or QWEN_API_KEY) environment variable not set")?;
+ Self::with_base_url(
+ api_key,
+ "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
+ )
+ }
+
+ /// Create a new MiniMax client from environment variable.
+ ///
+ /// Uses the international endpoint `https://api.minimax.io/v1`.
+ pub fn minimax_from_env() -> Result<Self> {
+ let api_key = std::env::var("MINIMAX_API_KEY")
+ .context("MINIMAX_API_KEY environment variable not set")?;
+ Self::with_base_url(api_key, "https://api.minimax.io/v1")
+ }
+
+ /// Create a new Z.ai / Zhipu GLM client from environment variable.
+ ///
+ /// Uses the international endpoint `https://api.z.ai/api/coding/paas/v4`.
+ pub fn zai_from_env() -> Result<Self> {
+ let api_key =
+ std::env::var("ZAI_API_KEY").context("ZAI_API_KEY environment variable not set")?;
+ Self::with_base_url(api_key, "https://api.z.ai/api/coding/paas/v4")
+ }
+
/// Build request headers
fn headers(&self) -> HeaderMap {
let mut headers = HeaderMap::new();
@@ -1094,6 +1153,28 @@
self.build_chat_request_body(messages, config)
}
}
+
+ /// Resolve the full request URL for a model.
+ ///
+ /// When a custom `base_url` is configured (Mistral, Groq, DeepSeek, Moonshot,
+ /// DashScope, MiniMax, Z.ai, and other OpenAI-compatible providers), the
+ /// request must target that provider's endpoint rather than the hardcoded
+ /// OpenAI host. We append the OpenAI-compatible path (`/chat/completions` or
+ /// `/responses`) to the configured base. Without a custom base, fall back to
+ /// the OpenAI defaults.
+ fn request_url(&self, model: &str) -> String {
+ match &self.base_url {
+ Some(base) => {
+ let trimmed = base.trim_end_matches('/');
+ if uses_responses_api(model) {
+ format!("{trimmed}/responses")
+ } else {
+ format!("{trimmed}/chat/completions")
+ }
+ }
+ None => api_url_for_model(model).to_string(),
+ }
+ }
}
impl AiClient for OpenAiClient {
@@ -1111,13 +1192,14 @@
// Build request body
let body = self.build_request_body(messages, config);
- // Get the appropriate API URL for this model
- let api_url = api_url_for_model(&config.model);
+ // Get the appropriate API URL for this model, honoring any custom
+ // provider base URL (Mistral/Groq/DeepSeek/Moonshot/DashScope/etc.).
+ let api_url = self.request_url(&config.model);
// Make request
let response = self
.client
- .post(api_url)
+ .post(&api_url)
.headers(self.headers())
.json(&body)
.send()
@@ -1819,6 +1901,34 @@
}
#[test]
+ fn test_request_url_honors_custom_base_url() {
+ // Default client (no base URL) targets OpenAI.
+ let openai = OpenAiClient::new("k").unwrap();
+ assert_eq!(
+ openai.request_url("gpt-4o"),
+ "https://api.openai.com/v1/chat/completions"
+ );
+
+ // Custom OpenAI-compatible providers must hit their own endpoint, not
+ // OpenAI. A trailing slash on the base URL is tolerated.
+ let deepseek = OpenAiClient::with_base_url("k", "https://api.deepseek.com/v1").unwrap();
+ assert_eq!(
+ deepseek.request_url("deepseek-chat"),
+ "https://api.deepseek.com/v1/chat/completions"
+ );
+ let zai = OpenAiClient::with_base_url("k", "https://api.z.ai/api/coding/paas/v4/").unwrap();
+ assert_eq!(
+ zai.request_url("glm-4.6"),
+ "https://api.z.ai/api/coding/paas/v4/chat/completions"
+ );
+ let groq = OpenAiClient::with_base_url("k", "https://api.groq.com/openai/v1").unwrap();
+ assert_eq!(
+ groq.request_url("llama-3.3-70b-versatile"),
+ "https://api.groq.com/openai/v1/chat/completions"
+ );
+ }
+
+ #[test]
fn test_has_incompatible_schema() {
// Simple schema is compatible
let simple = serde_json::json!({
@@ -2281,6 +2391,17 @@
assert!(!is_groq_model("gpt-4o", None));
assert!(!is_groq_model("claude-opus-4-5", None));
assert!(!is_groq_model("gemini-pro", None));
+
+ // A custom non-Groq base URL pins the provider, so deepseek/qwen ids do
+ // NOT get Groq-specific request shaping on direct provider clients.
+ assert!(!is_groq_model(
+ "deepseek-chat",
+ Some("https://api.deepseek.com/v1")
+ ));
+ assert!(!is_groq_model(
+ "qwen3-max",
+ Some("https://dashscope-intl.aliyuncs.com/compatible-mode/v1")
+ ));
}
#[test]
diff --git a/packages/tui-rs/src/app.rs b/packages/tui-rs/src/app.rs
--- a/packages/tui-rs/src/app.rs
+++ b/packages/tui-rs/src/app.rs
@@ -1895,10 +1895,16 @@
match provider {
AiProvider::Anthropic => "anthropic",
AiProvider::OpenAI => "openai",
+ AiProvider::OpenRouter => "openrouter",
AiProvider::Mistral => "mistral",
AiProvider::Google => "google",
AiProvider::Groq => "groq",
AiProvider::VertexAi => "vertex-ai",
+ AiProvider::DeepSeek => "deepseek",
+ AiProvider::Moonshot => "moonshot",
+ AiProvider::Qwen => "dashscope",
+ AiProvider::MiniMax => "minimax",
+ AiProvider::Zai => "zai",
}
}
diff --git a/packages/tui-rs/src/main.rs b/packages/tui-rs/src/main.rs
--- a/packages/tui-rs/src/main.rs
... diff truncated: showing 800 of 3618 linesYou can send follow-ups to the cloud agent here.
a09832e to
eb39bd6
Compare
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
ebd81df to
54881cc
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Moonshotai prefix misroutes providers
- Added
moonshotaihandling to Rust provider inference, API-key env routing, and provider-prefix stripping so generated Moonshot/Kimi model ids use the Moonshot client consistently.
- Added
Preview (4962beb0af)
diff --git a/.env.example b/.env.example
--- a/.env.example
+++ b/.env.example
@@ -16,6 +16,21 @@
# xAI / Grok (optional)
XAI_API_KEY=
+# DeepSeek (optional)
+DEEPSEEK_API_KEY=
+
+# Moonshot AI / Kimi (optional). KIMI_API_KEY is also accepted.
+MOONSHOT_API_KEY=
+
+# Alibaba Qwen via DashScope (optional). QWEN_API_KEY is also accepted.
+DASHSCOPE_API_KEY=
+
+# MiniMax (optional)
+MINIMAX_API_KEY=
+
+# Z.ai / Zhipu GLM (optional)
+ZAI_API_KEY=
+
# Exa web search (optional)
EXA_API_KEY=
diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,10 @@
- Added a weekly internal patch-release cadence that opens or refreshes release
PRs with generated changelog entries from commits since the latest semver tag.
+- Added first-class support for the major Chinese model providers — DeepSeek,
+ Moonshot/Kimi, Alibaba Qwen (DashScope), MiniMax, and Z.ai/Zhipu GLM — across
+ the model registry, API-key resolution, `/config` presets, and the native Rust
+ TUI, including DeepSeek's previously missing `DEEPSEEK_API_KEY` lookup.
### Changed
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -30,18 +30,31 @@
## Install
-### Bun (recommended)
+### Release Binary (recommended)
+Download the binary for your platform from the latest GitHub release:
+
```bash
-bun install -g @evalops/maestro
+# macOS Apple Silicon
+curl -L https://github.com/evalops/maestro/releases/latest/download/maestro-darwin-arm64 -o maestro
+chmod +x ./maestro
+
+# Linux x64
+curl -L https://github.com/evalops/maestro/releases/latest/download/maestro-linux-x64 -o maestro
+chmod +x ./maestro-### npm
+### Package Managers (dev/source workflows)
+bun install -g @evalops/maestro
npm install -g @evalops/maestro+Package-manager installs are kept for contributors and source-based workflows.
+Release binaries are the primary install artifact and are smoke-tested directly
+with maestro --version and a headless protocol handshake before attachment.
+
If a global install fails while resolving @evalops/tui or
@evalops/contracts, you are installing a deprecated 0.10.8-0.10.20 package
that referenced private workspace dependencies. Upgrade to
@@ -66,7 +79,7 @@
packaged @openai/codex app-server and source checkouts fall back to a codex
binary on PATH, so an existing codex login is reused automatically.
-Bare maestro defaults to openai-codex/gpt-5.5. Maestro also supports OpenAI API keys, Anthropic, Google, OpenRouter, Azure OpenAI, GitHub Copilot, Groq, xAI, Cerebras, and managed EvalOps auth. See Models for provider-specific setup and overrides.
+Bare maestro defaults to openai-codex/gpt-5.5. Maestro also supports OpenAI API keys, Anthropic, Google, OpenRouter, Azure OpenAI, GitHub Copilot, Groq, xAI, Cerebras, the major Chinese model providers (DeepSeek, Moonshot/Kimi, Alibaba Qwen via DashScope, MiniMax, and Z.ai/Zhipu GLM), and managed EvalOps auth. See Models for provider-specific setup and overrides.
For another Codex subscription model, select models under the openai-codex provider such as openai-codex/gpt-5.5.
diff --git a/docs/MODELS.md b/docs/MODELS.md
--- a/docs/MODELS.md
+++ b/docs/MODELS.md
@@ -145,6 +145,62 @@
| groq | Auto-enables when GROQ_API_KEY is present |
| ... | (See src/models/registry.ts for the full list) |
+## Chinese Model Providers (DeepSeek, Kimi, Qwen, MiniMax, GLM)
+
+Maestro ships built-in support for the major Chinese frontier providers. All of
+them expose OpenAI-compatible Chat Completions endpoints, so they use
+api: "openai-completions" and the standard OpenAI request shape (no custom
+compat flags required). Reasoning models that stream a reasoning_content
+field (DeepSeek Reasoner, Kimi Thinking, MiniMax M-series, GLM) surface their
+chain-of-thought automatically.
+
+| Provider | provider id | Default base URL (international) | China-mainland base URL | API key env |
+| --- | --- | --- | --- | --- |
+| DeepSeek | deepseek | https://api.deepseek.com/v1 | (same) | DEEPSEEK_API_KEY |
+| Moonshot (Kimi) | moonshot | https://api.moonshot.ai/v1 | https://api.moonshot.cn/v1 | MOONSHOT_API_KEY (or KIMI_API_KEY) |
+| Alibaba Qwen (DashScope) | dashscope | https://dashscope-intl.aliyuncs.com/compatible-mode/v1 | https://dashscope.aliyuncs.com/compatible-mode/v1 | DASHSCOPE_API_KEY (or QWEN_API_KEY) |
+| MiniMax | minimax | https://api.minimax.io/v1 | https://api.minimaxi.com/v1 | MINIMAX_API_KEY |
+| Z.ai (Zhipu GLM) | zai | https://api.z.ai/api/coding/paas/v4 | https://open.bigmodel.cn/api/paas/v4 | ZAI_API_KEY |
+
+Representative built-in models:
+
+- DeepSeek: deepseek-chat (non-thinking), deepseek-reasoner (thinking),
deepseek-v4-flash,deepseek-v4-pro.deepseek-chat/deepseek-reasoner- are stable aliases DeepSeek keeps pointed at the latest weights.
+- Moonshot:kimi-k2.6,kimi-k2.5,kimi-k2-thinking, kimi-k2-0905-preview,kimi-k2-turbo-preview,kimi-latest,moonshot-v1-128k.
+- Qwen:qwen3-max,qwen-max,qwen-plus,qwen-turbo,qwen3-coder-plus,qwen3-coder-flash,qwq-32b,qwen-vl-max.
+- MiniMax:MiniMax-M2,MiniMax-M2.5,MiniMax-M2.7,MiniMax-Text-01.
+- GLM:glm-4.6,glm-4.5,glm-4.5-air,glm-4.5v,glm-4.5-flash.
+Usage:
+
+bash +export DEEPSEEK_API_KEY=sk-... +maestro --model deepseek/deepseek-reasoner + +export MOONSHOT_API_KEY=sk-... # KIMI_API_KEY also works +maestro --model moonshot/kimi-k2.6 +
+
+To point a provider at its mainland (or a self-hosted) endpoint without editing
+the registry, add an override-only entry in ~/.maestro/config.json:
+
+```json
+{
- "providers": [
- { "id": "moonshot", "name": "Moonshot", "baseUrl": "https://api.moonshot.cn/v1" }
- ]
+}
+```
+The override baseUrl is applied to every built-in model for that provider.
+Both Moonshot/DeepSeek/MiniMax and GLM additionally offer Anthropic-compatible
+endpoints (/anthropic); to use those, define a custom provider with
+api: "anthropic-messages" pointed at that base URL.
+
Built-in Overlays (Responses API)
Maestro seeds a few Responses-capable models that aren’t yet emitted by the
diff --git a/docs/SAFETY.md b/docs/SAFETY.md
--- a/docs/SAFETY.md
+++ b/docs/SAFETY.md
@@ -98,12 +98,31 @@
Available Modes
| - | Mode | Description |
|---|---|---|
| - | none |
No sandbox (default) - tools run directly on the host |
| - | local |
Local sandbox - minimal isolation (same as none) |
| - | docker |
Docker container - full isolation |
| + | Mode | Description |
| + | -------- | ----------------------------------------------------- |
| + | none |
No sandbox (default) - tools run directly on the host |
| + | local |
Local sandbox - minimal isolation (same as none) |
| + | native |
OS-native sandbox where enforcement is implemented |
| + | docker |
Docker container - full isolation |
+### Platform Enforcement
+
+| Runtime | Platform | Native enforcement |
+| --------------- | -------- | ------------------------------------ |
+| TypeScript CLI | macOS | Seatbelt via /usr/bin/sandbox-exec |
+| TypeScript CLI | Linux | Not enforced; requests fail closed |
+| TypeScript CLI | Other | Not supported |
+| Rust TUI native | Linux | Landlock + seccomp backend |
+
+If a requested native or docker sandbox cannot be enforced, Maestro fails
+closed instead of silently running with host permissions. To deliberately keep
+legacy local/none fallback behavior, pass allowUnsafeLocalFallback from code or
+set:
+
+bash +export MAESTRO_ALLOW_UNSANDBOXED_SANDBOX_FALLBACK=1 +
+
Enabling Sandbox Mode
Via CLI flag:
@@ -141,7 +160,8 @@
- Docker must be installed and running
- Current user must have permission to run Docker commands
-If Docker is unavailable, Maestro falls back to local mode with a warning.
+If Docker is unavailable, Maestro fails closed unless unsafe fallback is
+explicitly enabled.
Best Practices
diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -102,6 +102,7 @@
"bun:check": "bun run bun:lint && bunx tsc -p tsconfig.build.json --noEmit",
"bun:compile": "npm run build && bun build ./src/cli.ts --target node --packages external --external tree-sitter --external tree-sitter-bash --define MAESTRO_BUNDLE_RUNTIME=true --compile --outfile dist/maestro-bun",
"bun:compile:bytecode": "npm run build && bun build ./src/cli.ts --target node --packages external --external tree-sitter --external tree-sitter-bash --define MAESTRO_BUNDLE_RUNTIME=true --compile --bytecode --outfile dist/maestro-bun-bytecode",
- "build:release-binary": "node scripts/build-release-binary.mjs",
"bun:evals": "bun run build && bun run ./scripts/run-evals.js",
"compile:binary": "npm run bun:compile && echo "Binary ready at dist/maestro-bun"",
"cli": "node ./dist/cli.js",
@@ -128,6 +129,7 @@
"a2a:codex-bridge": "python3 scripts/codex-a2a-bridge.py",
"a2a:peer": "tsx src/cli.ts a2a",
"smoke:headless": "node scripts/smoke-headless.js", - "smoke:release-binary": "node scripts/smoke-release-binary.mjs",
"smoke:exec-replay-e2e": "node scripts/smoke-exec-replay-e2e.js",
"headless:responsiveness": "node scripts/headless-responsiveness-harness.js",
"smoke:pack": "node scripts/smoke-packed-cli.js",
diff --git a/packages/ai/README.md b/packages/ai/README.md
--- a/packages/ai/README.md
+++ b/packages/ai/README.md
@@ -15,6 +15,11 @@
| Cerebras | OpenAI-compatible models | CEREBRAS_API_KEY |
| AWS Bedrock | Claude via AWS | AWS credentials |
| Azure OpenAI | OpenAI-compatible deployments | AZURE_OPENAI_API_KEY |
+| DeepSeek | deepseek-chat, deepseek-reasoner, V4 | DEEPSEEK_API_KEY |
+| Moonshot (Kimi) | Kimi K2 / K2.5 / K2.6, moonshot-v1-* | MOONSHOT_API_KEY / KIMI_API_KEY |
+| Alibaba Qwen (DashScope) | qwen3-max, qwen3-coder-plus, qwq-32b | DASHSCOPE_API_KEY / QWEN_API_KEY |
+| MiniMax | MiniMax-M2, M2.5 / M2.7 | MINIMAX_API_KEY |
+| Z.ai (Zhipu GLM) | GLM-4.5 / GLM-4.6 family | ZAI_API_KEY |
Installation
diff --git a/packages/control-plane-rs/src/a2a/mod.rs b/packages/control-plane-rs/src/a2a/mod.rs
--- a/packages/control-plane-rs/src/a2a/mod.rs
+++ b/packages/control-plane-rs/src/a2a/mod.rs
@@ -15,9 +15,9 @@
pub(crate) use native_turn::{run_a2a_native_turn, A2ATurnResult};
pub(crate) use push_notifications::{
a2a_push_authorization_header, a2a_push_ip_is_private, a2a_push_notification_payloads,
- apply_platform_a2a_artifact_update, apply_platform_a2a_status_update,
- handle_platform_a2a_push_endpoint, is_platform_a2a_push_endpoint,
- normalize_a2a_push_notification_config,
- a2a_push_select_pinned_addr, apply_platform_a2a_artifact_update,
- apply_platform_a2a_status_update, handle_platform_a2a_push_endpoint,
- is_platform_a2a_push_endpoint, normalize_a2a_push_notification_config,
};
pub(crate) use tasks::{
a2a_agent_message, a2a_context_id, a2a_return_immediately, a2a_task_is_terminal,
diff --git a/packages/control-plane-rs/src/a2a/push_notifications.rs b/packages/control-plane-rs/src/a2a/push_notifications.rs
--- a/packages/control-plane-rs/src/a2a/push_notifications.rs
+++ b/packages/control-plane-rs/src/a2a/push_notifications.rs
@@ -1,5 +1,5 @@
use serde_json::{Map, Value};
-use std::net::{IpAddr, ToSocketAddrs};
+use std::net::{IpAddr, SocketAddr, ToSocketAddrs};
use std::time::Duration;
use tokio::net::TcpStream;
@@ -437,18 +437,20 @@
let Some(url) = config.get("url").and_then(Value::as_str) else {
return;
};
- if validate_a2a_push_notification_url(url, true).is_err() {
- let Ok(pinned_addr) = a2a_push_notification_pinned_addr(url) else {
return;
- }
- };
let timeout = Duration::from_millis(env_u64(
"MAESTRO_A2A_PUSH_TIMEOUT_MS",
A2A_DEFAULT_PUSH_TIMEOUT_MS,
));
- let Ok(client) = reqwest::blocking::Client::builder()
- let mut builder = reqwest::blocking::Client::builder()
.timeout(timeout)
-
.redirect(reqwest::redirect::Policy::none()) -
.build() - else {
-
.redirect(reqwest::redirect::Policy::none()); - if let Some((host, addr)) = pinned_addr {
-
builder = builder.resolve(&host, addr); - }
- let Ok(client) = builder.build() else {
return;
};
let Ok(body) = serde_json::to_vec(payload) else {
@@ -658,6 +660,18 @@
url: &str,
resolve_dns: bool,
) -> Result<(), String> { - a2a_push_notification_resolution(url, resolve_dns, false).map(|_| ())
+}
+fn a2a_push_notification_pinned_addr(url: &str) -> Result<Option<(String, SocketAddr)>, String> {
- a2a_push_notification_resolution(url, true, true)
+}
+fn a2a_push_notification_resolution(
- url: &str,
- resolve_dns: bool,
- require_resolution: bool,
+) -> Result<Option<(String, SocketAddr)>, String> {
let parsed = reqwest::Url::parse(url)
.map_err(|error| format!("A2A push notification config url is invalid: {error}"))?;
match parsed.scheme() {
@@ -674,16 +688,27 @@
.host_str()
.ok_or_else(|| "A2A push notification config url must include a host".to_string())?;
let port = parsed.port_or_known_default().unwrap_or(443);
- if !truthy_env("MAESTRO_A2A_PUSH_ALLOW_PRIVATE")
-
&& (a2a_push_host_is_private(host) -
|| (resolve_dns && a2a_push_host_resolves_private(host, port))) - {
- let allow_private = truthy_env("MAESTRO_A2A_PUSH_ALLOW_PRIVATE");
- if !allow_private && a2a_push_host_is_private(host) {
return Err(
"A2A push notification config url host is private; set MAESTRO_A2A_PUSH_ALLOW_PRIVATE=1 for local development"
.to_string(),
);
}
- Ok(())
- if !resolve_dns || host.parse::().is_ok() {
-
return Ok(None); - }
- let addresses = match (host, port).to_socket_addrs() {
-
Ok(addresses) => addresses.collect::<Vec<_>>(), -
Err(error) if require_resolution => { -
return Err(format!( -
"A2A push notification config url host could not be resolved: {error}" -
)); -
} -
Err(_) => return Ok(None), - };
- a2a_push_select_pinned_addr(host, addresses, allow_private)
-
.map(|addr| Some((host.to_string(), addr)))
}
fn a2a_push_host_is_private(host: &str) -> bool {
@@ -694,15 +719,28 @@
host.parse::().is_ok_and(a2a_push_ip_is_private)
}
-fn a2a_push_host_resolves_private(host: &str, port: u16) -> bool {
- if host.parse::().is_ok() {
-
return false;
+pub(crate) fn a2a_push_select_pinned_addr(
- host: &str,
- addresses: Vec,
- allow_private: bool,
+) -> Result<SocketAddr, String> { - if addresses.is_empty() {
-
return Err(format!( -
"A2A push notification config url host \"{host}\" did not resolve to any address" -
}
));
- (host, port).to_socket_addrs().is_ok_and(|addresses| {
-
addresses -
.map(|address| address.ip())
- if !allow_private
-
&& addresses -
.iter() -
.map(SocketAddr::ip) .any(a2a_push_ip_is_private)
- })
- {
-
return Err( -
"A2A push notification config url host is private; set MAESTRO_A2A_PUSH_ALLOW_PRIVATE=1 for local development" -
.to_string(), -
); - }
- Ok(addresses[0])
}
pub(crate) fn a2a_push_ip_is_private(addr: IpAddr) -> bool {
diff --git a/packages/control-plane-rs/src/tests.rs b/packages/control-plane-rs/src/tests.rs
--- a/packages/control-plane-rs/src/tests.rs
+++ b/packages/control-plane-rs/src/tests.rs
@@ -1,4 +1,5 @@
use super::*;
+use crate::a2a::a2a_push_select_pinned_addr;
use std::fs;
use std::io::{Read, Write};
use std::net::TcpListener as StdTcpListener;
@@ -3489,6 +3490,47 @@
}
#[test]
+fn a2a_push_pinned_addr_rejects_any_private_resolved_address() {
- let addresses = vec![
-
"93.184.216.34:443" -
.parse() -
.expect("public socket addr parses"), -
"169.254.169.254:443" -
.parse() -
.expect("metadata socket addr parses"), - ];
- let error = a2a_push_select_pinned_addr("hooks.example", addresses, false)
-
.expect_err("mixed private resolution should be rejected"); - assert!(error.contains("host is private"));
+}
+#[test]
+fn a2a_push_pinned_addr_selects_public_resolved_address() {
- let expected = "93.184.216.34:443"
-
.parse() -
.expect("public socket addr parses"); - let selected = a2a_push_select_pinned_addr("hooks.example", vec![expected], false)
-
.expect("public resolution should be accepted"); - assert_eq!(selected, expected);
+}
+#[test]
+fn a2a_push_pinned_addr_allows_private_when_explicitly_enabled() {
- let expected = "127.0.0.1:443"
-
.parse() -
.expect("loopback socket addr parses"); - let selected = a2a_push_select_pinned_addr("local.test", vec![expected], true)
-
.expect("private resolution should be accepted when explicitly enabled"); - assert_eq!(selected, expected);
+}
+#[test]
fn a2a_push_authorization_header_accepts_schemes_list() {
let authentication = serde_json::json!({
"schemes": ["Bearer"],
diff --git a/packages/jetbrains-plugin/README.md b/packages/jetbrains-plugin/README.md
--- a/packages/jetbrains-plugin/README.md
+++ b/packages/jetbrains-plugin/README.md
@@ -95,6 +95,13 @@
Development
+### Status
+
+The JetBrains plugin is kept as an active package. Pull requests that touch
+packages/jetbrains-plugin/, the shared headless proto, or the JetBrains
+workflow run .github/workflows/jetbrains-plugin.yml, which executes
+./gradlew check buildPlugin --no-daemon.
+
Build
diff --git a/packages/tui-rs/src/agent/native.rs b/packages/tui-rs/src/agent/native.rs
--- a/packages/tui-rs/src/agent/native.rs
+++ b/packages/tui-rs/src/agent/native.rs
@@ -133,6 +133,11 @@
AiProvider::Google => "google",
AiProvider::Groq => "groq",
AiProvider::VertexAi => "vertex-ai",
+ AiProvider::DeepSeek => "deepseek",
+ AiProvider::Moonshot => "moonshot",
+ AiProvider::Qwen => "dashscope",
+ AiProvider::MiniMax => "minimax",
+ AiProvider::Zai => "zai",
}
}
diff --git a/packages/tui-rs/src/ai/client.rs b/packages/tui-rs/src/ai/client.rs
--- a/packages/tui-rs/src/ai/client.rs
+++ b/packages/tui-rs/src/ai/client.rs
@@ -24,9 +24,56 @@
Groq,
/// Google Vertex AI - enterprise Gemini via GCP
VertexAi,
+ /// DeepSeek - OpenAI-compatible API (api.deepseek.com)
+ DeepSeek,
+ /// Moonshot AI / Kimi - OpenAI-compatible API (api.moonshot.ai)
+ Moonshot,
+ /// Alibaba Qwen via DashScope - OpenAI-compatible API
+ Qwen,
+ /// MiniMax - OpenAI-compatible API (api.minimax.io)
+ MiniMax,
+ /// Z.ai / Zhipu GLM - OpenAI-compatible API (api.z.ai)
+ Zai,
}
impl AiProvider {
+ fn direct_provider_from_bare_model(model_lower: &str) -> Option<Self> {
+ if matches!(model_lower, "deepseek-chat" | "deepseek-reasoner")
+ || model_lower.starts_with("deepseek-v")
+ {
+ return Some(Self::DeepSeek);
+ }
+
+ if model_lower.starts_with("kimi-")
+ || model_lower == "kimi-latest"
+ || model_lower.starts_with("moonshot-v1-")
+ {
+ return Some(Self::Moonshot);
+ }
+
+ if model_lower.starts_with("qwen3-")
+ || matches!(
+ model_lower,
+ "qwen-max" | "qwen-plus" | "qwen-turbo" | "qwen-vl-max" | "qwq-32b"
+ )
+ {
+ return Some(Self::Qwen);
+ }
+
+ if matches!(
+ model_lower,
+ "minimax-m2" | "minimax-m2.5" | "minimax-m2.7" | "minimax-text-01"
+ ) {
+ return Some(Self::MiniMax);
+ }
+
+ if model_lower.starts_with("glm-") {
+ return Some(Self::Zai);
+ }
+
+ None
+ }
+
/// Parse provider from model name
#[must_use]
pub fn from_model(model: &str) -> Self {
@@ -39,9 +86,18 @@
Some("mistral") => return AiProvider::Mistral,
Some("groq") => return AiProvider::Groq,
Some("vertex-ai" | "vertex") => return AiProvider::VertexAi,
+ Some("deepseek") => return AiProvider::DeepSeek,
+ Some("moonshot" | "moonshotai" | "kimi") => return AiProvider::Moonshot,
+ Some("dashscope" | "qwen") => return AiProvider::Qwen,
+ Some("minimax") => return AiProvider::MiniMax,
+ Some("zai" | "zhipu") => return AiProvider::Zai,
_ => {}
}
+ if let Some(provider) = Self::direct_provider_from_bare_model(&model_lower) {
+ return provider;
+ }
+
if model_lower.starts_with("claude") || model_lower.starts_with("anthropic") {
AiProvider::Anthropic
} else if model_lower.starts_with("gpt")
@@ -64,8 +120,11 @@
|| model_lower.contains("deepseek")
|| model_lower.contains("qwen")
{
- // Groq hosts Llama, DeepSeek, Qwen models with fast inference
- // Models prefixed with "groq/" explicitly use Groq
+ // Groq hosts Llama, DeepSeek, Qwen models with fast inference.
+ // Direct-provider bare ids are handled earlier by
+ // `direct_provider_from_bare_model`, so the Groq-hosted distill/coder
+ // variants (deepseek-r1-distill-llama-70b, qwen-2.5-coder-32b,
+ // qwen-qwq-32b) are what remain here.
AiProvider::Groq
} else {
// Default to OpenAI/Codex for unknown models
@@ -88,7 +147,8 @@
match provider.to_ascii_lowercase().as_str() {
"anthropic" | "openai" | "azure-openai" | "azure" | "google" | "gemini" | "mistral"
- | "groq" | "vertex-ai" | "vertex" => model_id.to_string(),
+ | "groq" | "vertex-ai" | "vertex" | "deepseek" | "moonshot" | "moonshotai" | "kimi"
+ | "dashscope" | "qwen" | "minimax" | "zai" | "zhipu" => model_id.to_string(),
_ => trimmed.to_string(),
}
}
@@ -119,6 +179,16 @@
Groq(OpenAiClient),
/// Google Vertex AI for enterprise Gemini
VertexAi(VertexAiClient),
+ /// DeepSeek uses `OpenAI` client with custom base URL
+ DeepSeek(OpenAiClient),
+ /// Moonshot / Kimi uses `OpenAI` client with custom base URL
+ Moonshot(OpenAiClient),
+ /// Alibaba Qwen (DashScope) uses `OpenAI` client with custom base URL
+ Qwen(OpenAiClient),
+ /// MiniMax uses `OpenAI` client with custom base URL
+ MiniMax(OpenAiClient),
+ /// Z.ai / Zhipu GLM uses `OpenAI` client with custom base URL
+ Zai(OpenAiClient),
}
impl UnifiedClient {
@@ -152,6 +222,31 @@
Ok(Self::VertexAi(VertexAiClient::from_env()?))
}
+ /// Create client for DeepSeek
+ pub fn deepseek() -> Result<Self> {
+ Ok(Self::DeepSeek(OpenAiClient::deepseek_from_env()?))
+ }
+
+ /// Create client for Moonshot / Kimi
+ pub fn moonshot() -> Result<Self> {
+ Ok(Self::Moonshot(OpenAiClient::moonshot_from_env()?))
+ }
+
+ /// Create client for Alibaba Qwen (DashScope)
+ pub fn qwen() -> Result<Self> {
+ Ok(Self::Qwen(OpenAiClient::qwen_from_env()?))
+ }
+
+ /// Create client for MiniMax
+ pub fn minimax() -> Result<Self> {
+ Ok(Self::MiniMax(OpenAiClient::minimax_from_env()?))
+ }
+
+ /// Create client for Z.ai / Zhipu GLM
+ pub fn zai() -> Result<Self> {
+ Ok(Self::Zai(OpenAiClient::zai_from_env()?))
+ }
+
/// Create client based on provider
pub fn from_provider(provider: AiProvider) -> Result<Self> {
match provider {
@@ -161,6 +256,11 @@
AiProvider::Google => Self::google(),
AiProvider::Groq => Self::groq(),
AiProvider::VertexAi => Self::vertex_ai(),
+ AiProvider::DeepSeek => Self::deepseek(),
+ AiProvider::Moonshot => Self::moonshot(),
+ AiProvider::Qwen => Self::qwen(),
+ AiProvider::MiniMax => Self::minimax(),
+ AiProvider::Zai => Self::zai(),
}
}
@@ -179,6 +279,11 @@
Self::Google(_) => AiProvider::Google,
Self::Groq(_) => AiProvider::Groq,
Self::VertexAi(_) => AiProvider::VertexAi,
+ Self::DeepSeek(_) => AiProvider::DeepSeek,
+ Self::Moonshot(_) => AiProvider::Moonshot,
+ Self::Qwen(_) => AiProvider::Qwen,
+ Self::MiniMax(_) => AiProvider::MiniMax,
+ Self::Zai(_) => AiProvider::Zai,
}
}
@@ -195,6 +300,11 @@
Self::Google(client) => client.stream(messages, config).await,
Self::Groq(client) => client.stream(messages, config).await,
Self::VertexAi(client) => client.stream(messages, config).await,
+ Self::DeepSeek(client) => client.stream(messages, config).await,
+ Self::Moonshot(client) => client.stream(messages, config).await,
+ Self::Qwen(client) => client.stream(messages, config).await,
+ Self::MiniMax(client) => client.stream(messages, config).await,
+ Self::Zai(client) => client.stream(messages, config).await,
}
}
}
@@ -317,6 +427,86 @@
}
#[test]
+ fn test_provider_from_model_chinese_providers() {
+ // Explicit provider prefixes route to the direct provider.
+ assert_eq!(
+ AiProvider::from_model("deepseek/deepseek-chat"),
+ AiProvider::DeepSeek
+ );
+ assert_eq!(
+ AiProvider::from_model("moonshot/kimi-k2.6"),
+ AiProvider::Moonshot
+ );
+ assert_eq!(
+ AiProvider::from_model("moonshotai/kimi-k2-instruct"),
+ AiProvider::Moonshot
+ );
+ assert_eq!(
+ AiProvider::from_model("kimi/kimi-k2-thinking"),
+ AiProvider::Moonshot
+ );
+ assert_eq!(
+ AiProvider::from_model("dashscope/qwen3-max"),
+ AiProvider::Qwen
+ );
+ assert_eq!(
+ AiProvider::from_model("qwen/qwen3-coder-plus"),
+ AiProvider::Qwen
+ );
+ assert_eq!(
+ AiProvider::from_model("minimax/MiniMax-M2"),
+ AiProvider::MiniMax
+ );
+ assert_eq!(AiProvider::from_model("zai/glm-4.6"), AiProvider::Zai);
+ assert_eq!(AiProvider::from_model("zhipu/glm-4.6"), AiProvider::Zai);
+
+ // Bare direct-provider ids (from model selectors / config presets) route
+ // to the direct provider even without an explicit prefix.
+ assert_eq!(
+ AiProvider::from_model("deepseek-chat"),
+ AiProvider::DeepSeek
+ );
+ assert_eq!(
+ AiProvider::from_model("deepseek-reasoner"),
+ AiProvider::DeepSeek
+ );
+ assert_eq!(AiProvider::from_model("kimi-k2.6"), AiProvider::Moonshot);
+ assert_eq!(
+ AiProvider::from_model("moonshot-v1-128k"),
+ AiProvider::Moonshot
+ );
+ assert_eq!(AiProvider::from_model("qwen3-max"), AiProvider::Qwen);
+ assert_eq!(AiProvider::from_model("qwq-32b"), AiProvider::Qwen);
+ assert_eq!(AiProvider::from_model("MiniMax-M2"), AiProvider::MiniMax);
+ assert_eq!(AiProvider::from_model("glm-4.6"), AiProvider::Zai);
+
+ // Bare Groq-hosted distill/coder names still route to Groq for
+ // backward compatibility (no explicit provider prefix).
+ assert_eq!(
+ AiProvider::from_model("deepseek-r1-distill-llama-70b"),
+ AiProvider::Groq
+ );
+ assert_eq!(
+ AiProvider::from_model("qwen-2.5-coder-32b"),
+ AiProvider::Groq
+ );
+
+ // Prefix stripping yields the upstream-native model id.
+ assert_eq!(
+ provider_model_name("deepseek/deepseek-reasoner"),
+ "deepseek-reasoner"
+ );
+ assert_eq!(provider_model_name("moonshot/kimi-k2.6"), "kimi-k2.6");
+ assert_eq!(
+ provider_model_name("moonshotai/kimi-k2-instruct"),
+ "kimi-k2-instruct"
+ );
+ assert_eq!(provider_model_name("dashscope/qwen3-max"), "qwen3-max");
+ assert_eq!(provider_model_name("minimax/MiniMax-M2"), "MiniMax-M2");
+ assert_eq!(provider_model_name("zai/glm-4.6"), "glm-4.6");
+ }
+
+ #[test]
fn test_provider_from_model_default() {
// Unknown models default to OpenAI/Codex
assert_eq!(AiProvider::from_model("unknown-model"), AiProvider::OpenAI);
diff --git a/packages/tui-rs/src/ai/openai.rs b/packages/tui-rs/src/ai/openai.rs
--- a/packages/tui-rs/src/ai/openai.rs
+++ b/packages/tui-rs/src/ai/openai.rs
@@ -519,21 +519,19 @@
if model_lower.starts_with("groq/") {
return true;
}
- // Check base URL
+ // A custom base URL pins the provider: only Groq's host is Groq. This keeps
+ // Groq-specific request shaping (e.g. omitting parallel_tool_calls) off the
+ // direct DeepSeek/DashScope/etc. clients, whose ids also contain "deepseek"
+ // or "qwen".
if let Some(url) = base_url {
- if url.contains("groq.com") {
- return true;
- }
+ return url.contains("groq.com");
}
- // Llama models are commonly hosted on Groq
- if model_lower.starts_with("llama-") || model_lower.starts_with("llama3") {
- return true;
- }
- // DeepSeek and Qwen models
- if model_lower.contains("deepseek") || model_lower.contains("qwen") {
- return true;
- }
- false
+ // No custom base URL: fall back to model-name heuristics for the open models
+ // commonly hosted on Groq (Llama, and DeepSeek/Qwen distill/coder variants).
+ model_lower.starts_with("llama-")
+ || model_lower.starts_with("llama3")
+ || model_lower.contains("deepseek")
+ || model_lower.contains("qwen")
}
/// Normalize a tool call ID for Mistral compatibility.
@@ -642,6 +640,58 @@
Self::with_base_url(api_key, "https://api.groq.com/openai/v1")
}
+ /// Create a new DeepSeek client from environment variable.
+ ///
+ /// DeepSeek exposes an OpenAI-compatible API at `https://api.deepseek.com/v1`.
+ pub fn deepseek_from_env() -> Result<Self> {
+ let api_key = std::env::var("DEEPSEEK_API_KEY")
+ .context("DEEPSEEK_API_KEY environment variable not set")?;
... diff truncated: showing 800 of 5436 linesYou can send follow-ups to the cloud agent here.
4962beb to
a28c404
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Autofix Details
Bugbot Autofix prepared fixes for both issues found in the latest run.
- ✅ Fixed: Hook allow skips rewrite approval
- Permission-hook rewrites now preserve approval gating whenever the re-evaluated firewall verdict still requires approval, with regression coverage for both cleared and persistent approval cases.
- ✅ Fixed: Helm omits API key offline
- The Helm helper now always generates a fallback web API key when no configured or existing Secret value is available, so offline renders no longer omit MAESTRO_WEB_API_KEY.
You can send follow-ups to the cloud agent here.
This comment has been minimized.
This comment has been minimized.
c981ec0 to
3b889c1
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Offline Helm clears API key
- The Helm Secret now omits empty stringData on offline renders, so upgrades no longer send an empty API-key payload that can clear the existing secret.
You can send follow-ups to the cloud agent here.
4473739 to
12c3ad5
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Bash allowlist lost case insensitivity
- Restored case-insensitive per-token minimatch behavior for bash allowlist matching and added a regression test for mixed-case entries.
You can send follow-ups to the cloud agent here.
|
Bugbot Autofix prepared a fix for the issue found in the latest run.
You can send follow-ups to the cloud agent here. |
2000f49 to
caeccad
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: MCP parallel opt-in always false
- MCP tools now honor source-level
supportsParallelToolCallsinisParallelSafeTool, restoring parallel opt-in scheduling while still blocking destructive MCP tools.
- MCP tools now honor source-level
You can send follow-ups to the cloud agent here.
Reviewed by Cursor Bugbot for commit caeccad. Configure here.
2f5cdad to
dd2aedb
Compare
dd2aedb to
f03f4e2
Compare

Summary
evalops/maestro-internalevalops/maestroas a generated public mirror of the private source of truth5ae7b8d43b720170c05f83d2987942227312cb7a0f0fb34428f7ecf1eb7a5480277bdc2a7e9ee0f0153file(s) to copy/update and0stale file(s) to delete1Source-of-truth status
Public Mirror Drift Audit
@evalops/maestrohttps://github.com/evalops/maestro-internal@main (5ae7b8d43b72)https://github.com/evalops/maestro@main (e85cad0eddbb)1530public_projection_has_driftSample Changed Paths
Guidance
Let internal main generate and merge the public sync PR before relying on public main.
Drift sample
Public-only commits since last generated sync
Validation
sync-public-release-mirrorworkflow inpublic-treemodeTest Plan
sync-public-release-mirrorworkflow inpublic-treemoderequire-internal-prcheck confirms internal source PR lineageStaged Rollout
evalops/maestro-internal@5ae7b8d43b720170c05f83d2987942227312cb7a, including existing hidden/evaluation surfaces, and keeps public package parity behind the established public-source-provenance gate.Supersedes
5ae7b8d43b720170c05f83d2987942227312cb7a