Merge remote-tracking branch 'origin/rebrand/r6-tests' into work/v0.8.41-codewhale-ready

This commit is contained in:
Hunter Bown
2026-05-23 13:18:57 -05:00
18 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ impl ProvidersToml {
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct ConfigToml {
/// TUI-compatible DeepSeek API key. Kept at the root so both `deepseek`
/// and `deepseek-tui` can share a single config file.
/// and `codewhale-tui` can share a single config file.
pub api_key: Option<String>,
/// TUI-compatible DeepSeek base URL.
pub base_url: Option<String>,
@@ -1,6 +1,6 @@
---
name: mcp-builder
description: Design, build, configure, or debug Model Context Protocol servers for DeepSeek TUI, including stdio and HTTP/SSE transports.
description: Design, build, configure, or debug Model Context Protocol servers for codewhale, including stdio and HTTP/SSE transports.
---
# MCP Builder
@@ -1,6 +1,6 @@
---
name: plugin-creator
description: Scaffold DeepSeek local plugin directories and activation notes. Use when the user asks to create, package, or sketch a plugin for DeepSeek TUI.
description: Scaffold codewhale local plugin directories and activation notes. Use when the user asks to create, package, or sketch a plugin for codewhale.
---
# Plugin Creator
@@ -1,13 +1,13 @@
---
name: skill-creator
description: Create or improve DeepSeek TUI skills. Use when the user wants a new skill, wants to update an existing skill, or needs guidance on when a skill should be a skill versus MCP, hooks, tools, or a plugin scaffold.
description: Create or improve codewhale skills. Use when the user wants a new skill, wants to update an existing skill, or needs guidance on when a skill should be a skill versus MCP, hooks, tools, or a plugin scaffold.
metadata:
short-description: Create DeepSeek skills
---
# Skill Creator
Use this skill to create small, useful DeepSeek TUI skills that match the
Use this skill to create small, useful codewhale skills that match the
runtime this repository actually ships.
## What A Skill Is
@@ -94,7 +94,7 @@ plain single-line values. Use lower-case hyphen-case names.
unless the user asked for a rewrite.
- Tighten descriptions when the skill is under-triggering or over-triggering.
- Remove stale tool names, unavailable dependencies, and copied instructions
from other agents that do not apply to DeepSeek TUI.
from other agents that do not apply to codewhale.
- Keep examples short and directly tied to this runtime's commands and tools.
## Validation Checklist
+1 -1
View File
@@ -514,7 +514,7 @@ impl DeepSeekClient {
let mut builder = reqwest::Client::builder()
.default_headers(headers)
.user_agent(concat!(
"Mozilla/5.0 (compatible; deepseek-tui/",
"Mozilla/5.0 (compatible; codewhale/",
env!("CARGO_PKG_VERSION"),
"; +https://github.com/Hmbown/DeepSeek-TUI)"
))
+1 -1
View File
@@ -766,7 +766,7 @@ mod tests {
/// Hot-path microbench for `compute_profile`. Run with:
///
/// ```text
/// cargo test -p deepseek-tui --release capacity::tests::bench_compute_profile -- --ignored --nocapture
/// cargo test -p codewhale-tui --release capacity::tests::bench_compute_profile -- --ignored --nocapture
/// ```
///
/// Establishes a baseline cost so we can detect regressions when the
+1 -1
View File
@@ -689,7 +689,7 @@ pub(super) async fn execute_code_execution_tool(
ToolError::execution_failed(format!(
"code_execution: no Python interpreter found on PATH (tried {:?}). \
Install Python 3 and ensure one of these is on PATH, then restart \
deepseek-tui.",
codewhale.",
crate::dependencies::PYTHON_CANDIDATES,
))
})?;
+1 -1
View File
@@ -1,6 +1,6 @@
#![allow(dead_code)]
//! Feature flags and metadata for DeepSeek TUI.
//! Feature flags and metadata for codewhale.
use std::collections::{BTreeMap, BTreeSet};
use std::fmt::{self, Write as _};
+1 -1
View File
@@ -206,7 +206,7 @@ impl PythonRuntime {
let interpreter = resolve_python_interpreter().ok_or_else(|| {
format!(
"no Python interpreter found on PATH (tried {:?}). \
Install Python 3 and ensure one of these commands works, then restart deepseek-tui.",
Install Python 3 and ensure one of these commands works, then restart codewhale.",
PYTHON_CANDIDATES,
)
})?;
+1 -1
View File
@@ -272,7 +272,7 @@ impl SnapshotRepo {
let _ = run_git(
&git_dir,
&work_tree,
&["config", "user.email", "snapshots@deepseek-tui.local"],
&["config", "user.email", "snapshots@codewhale.local"],
);
// Don't auto-gc on every commit; we manage pruning ourselves.
let _ = run_git(&git_dir, &work_tree, &["config", "gc.auto", "0"]);
+1 -1
View File
@@ -1814,7 +1814,7 @@ mod tests {
"gate": {
"id": "gate_test",
"gate": "test",
"command": "cargo test -p deepseek-tui --lib",
"command": "cargo test -p codewhale-tui --lib",
"cwd": ".",
"exit_code": 0,
"status": "passed",
+1 -1
View File
@@ -26,7 +26,7 @@ const DEFAULT_TIMEOUT_MS: u64 = 15_000;
const HARD_MAX_TIMEOUT_MS: u64 = 60_000;
const MAX_REDIRECTS: usize = 5;
const USER_AGENT: &str =
"Mozilla/5.0 (compatible; deepseek-tui/0.5; +https://github.com/Hmbown/DeepSeek-TUI)";
"Mozilla/5.0 (compatible; codewhale/0.5; +https://github.com/Hmbown/DeepSeek-TUI)";
static SCRIPT_RE: OnceLock<Regex> = OnceLock::new();
static STYLE_RE: OnceLock<Regex> = OnceLock::new();
+1 -1
View File
@@ -81,7 +81,7 @@ pub(crate) fn ocr_image_path(image_path: &Path) -> Result<String, ToolError> {
}
Err(ToolError::execution_failed(
"image_ocr: no local OCR backend is available. On macOS, update to a version with the Vision framework; on Linux/Windows install tesseract and restart deepseek-tui.",
"image_ocr: no local OCR backend is available. On macOS, update to a version with the Vision framework; on Linux/Windows install tesseract and restart codewhale.",
))
}
+1 -1
View File
@@ -83,7 +83,7 @@ pub async fn execute_js_execution_tool(
ToolError::execution_failed(
"js_execution: no Node.js runtime found on PATH (tried `node`). \
Install Node 18+ and ensure `node` is on PATH, then restart \
deepseek-tui."
codewhale."
.to_string(),
)
})?;
+1 -1
View File
@@ -150,7 +150,7 @@ impl ToolSpec for PandocConvertTool {
"pandoc_convert: pandoc binary not found on PATH. \
Install pandoc (macOS: `brew install pandoc`; \
Debian/Ubuntu: `apt install pandoc`; \
Windows: `winget install JohnMacFarlane.Pandoc`) and restart deepseek-tui.",
Windows: `winget install JohnMacFarlane.Pandoc`) and restart codewhale.",
)
})?;
+1 -1
View File
@@ -252,7 +252,7 @@ mod tests {
let _g = EnvGuard::new(&["VISUAL", "EDITOR"]);
unsafe {
env::remove_var("VISUAL");
env::set_var("EDITOR", "/nonexistent/deepseek-tui-test-editor");
env::set_var("EDITOR", "/nonexistent/codewhale-test-editor");
}
let out = run_editor_raw("seed").expect("call ok");
assert_eq!(out, EditorOutcome::Cancelled);
+1 -1
View File
@@ -1,6 +1,6 @@
//! Adaptive stream chunking policy for two-gear streaming.
//!
//! Ported from `codex-rs/tui/src/streaming/chunking.rs`, adapted for deepseek-tui's
//! Ported from `codex-rs/tui/src/streaming/chunking.rs`, adapted for codewhale's
//! text-based streaming pipeline. The policy is queue-pressure driven and
//! source-agnostic.
//!
+1 -1
View File
@@ -109,7 +109,7 @@ check_binaries() {
fi
if [[ -x "${tui}" ]]; then
pass "${tui} is executable"
"${tui}" --version 2>/dev/null | sed 's/^/[info] deepseek-tui version: /' || warn "deepseek-tui --version failed"
"${tui}" --version 2>/dev/null | sed 's/^/[info] codewhale-tui version: /' || warn "codewhale-tui --version failed"
else
fail "${tui} is missing or not executable"
fi