Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c74d4082a1 | ||
|
|
0720cbca2e | ||
|
|
154258bcc5 | ||
|
|
9af930f267 | ||
|
|
a27033c7e4 |
8
Cargo.lock
generated
8
Cargo.lock
generated
@@ -6005,7 +6005,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hoshizukimio-mio-pager"
|
||||
version = "1.0.47"
|
||||
version = "1.0.48"
|
||||
dependencies = [
|
||||
"agent-client-protocol",
|
||||
"ansi-to-tui",
|
||||
@@ -6115,7 +6115,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hoshizukimio-mio-pager-bin"
|
||||
version = "1.0.47"
|
||||
version = "1.0.48"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
@@ -6491,7 +6491,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hoshizukimio-mio-shell"
|
||||
version = "1.0.47"
|
||||
version = "1.0.48"
|
||||
dependencies = [
|
||||
"agent-client-protocol",
|
||||
"anyhow",
|
||||
@@ -6972,7 +6972,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hoshizukimio-mio-version"
|
||||
version = "1.0.47"
|
||||
version = "1.0.48"
|
||||
dependencies = [
|
||||
"semver",
|
||||
]
|
||||
|
||||
@@ -2,8 +2,14 @@
|
||||
|
||||
mio-code is a terminal coding assistant maintained by **HoshizukiMio**. Run `mio` for the interactive TUI, `mio -p` for scripting, or `mio agent stdio` for editor integration through the Agent Client Protocol (ACP).
|
||||
|
||||
`mio agent` also starts the local ACP stdio server. It uses the configured models and accepts JSON-RPC messages from an editor or another ACP client.
|
||||
|
||||
When asked about its identity, Mio can name the application and the model ID selected for the current request.
|
||||
|
||||
Run `/feedback` in the TUI to open a new issue on Gitea. `/feedback <text>` prefills the issue description for you to review and submit.
|
||||
|
||||
Run `/changelog` or `/release-notes` to view the current version's changes. The welcome screen shows recent changes. Notes are loaded from the mio-code repository with a bundled offline copy.
|
||||
|
||||
## Install and update
|
||||
|
||||
The scripts install the current stable build from [mio-code Releases](https://git.hoshizukimio.com/HoshizukiMio/mio-code/releases). Windows x86-64 requires PowerShell 5.1 or later. Linux x86-64, including WSL, requires glibc 2.35 or later, curl, gzip and GNU coreutils.
|
||||
@@ -18,7 +24,7 @@ curl -fsSL https://git.hoshizukimio.com/HoshizukiMio/mio-code/raw/branch/mio-cod
|
||||
|
||||
Both installers verify the executable's SHA-256 and version before installing it in the current user's `.local/bin` directory. Set `MIO_BIN_DIR` to select another directory or set `MIO_VERSION` before running the command to install a particular release. On Windows the installer adds the directory to the user PATH. On Linux it prints a reminder if the directory is missing from PATH.
|
||||
|
||||
Run `mio update --check` to check the latest stable release, `mio update` to install it, or `mio update --version 1.0.47` to install a specific version. Set `[cli].auto_update = false` in your configuration to disable background updates.
|
||||
Run `mio update --check` to check the latest stable release, `mio update` to install it, or `mio update --version 1.0.48` to install a specific version. Set `[cli].auto_update = false` in your configuration to disable background updates.
|
||||
|
||||
## Build
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ param(
|
||||
|
||||
if ($Help) {
|
||||
Write-Output 'Usage: install.ps1 [-Version VERSION] [-BinDir DIRECTORY] [-NoPath]'
|
||||
Write-Output 'Install the latest stable release or specify a version such as 1.0.47.'
|
||||
Write-Output 'Install the latest stable release or specify a version such as 1.0.48.'
|
||||
Write-Output 'MIO_VERSION sets the version. MIO_BIN_DIR defaults to ~\.local\bin.'
|
||||
Write-Output 'Requires Windows x86-64 and PowerShell 5.1 or later.'
|
||||
return
|
||||
@@ -86,7 +86,7 @@ if (-not $Version) {
|
||||
}
|
||||
$Version = $Version -creplace '^v', ''
|
||||
if ($Version -notmatch '^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$') {
|
||||
throw 'Expected a version such as 1.0.47.'
|
||||
throw 'Expected a version such as 1.0.48.'
|
||||
}
|
||||
|
||||
$BinDir = [IO.Path]::GetFullPath($BinDir)
|
||||
|
||||
@@ -4,7 +4,7 @@ set -euo pipefail
|
||||
repo=https://git.hoshizukimio.com/HoshizukiMio/mio-code
|
||||
if [[ ${1:-} == --help || ${1:-} == -h ]]; then
|
||||
printf '%s\n' 'Usage: bash install.sh [VERSION]' \
|
||||
'Install the latest stable release or specify a version such as 1.0.47.' \
|
||||
'Install the latest stable release or specify a version such as 1.0.48.' \
|
||||
'MIO_VERSION sets the version. MIO_BIN_DIR defaults to ~/.local/bin.' \
|
||||
'Requires Linux x86-64 (including WSL), curl, gzip and GNU coreutils.'
|
||||
exit 0
|
||||
@@ -37,7 +37,7 @@ if [[ -z "$version" ]]; then
|
||||
fi
|
||||
version=${version#v}
|
||||
if [[ ! "$version" =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ ]]; then
|
||||
printf '%s\n' 'Expected a version such as 1.0.47.' >&2
|
||||
printf '%s\n' 'Expected a version such as 1.0.48.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hoshizukimio-mio-pager-bin"
|
||||
version = "1.0.47"
|
||||
version = "1.0.48"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
authors = ["HoshizukiMio"]
|
||||
|
||||
@@ -1238,13 +1238,18 @@ const PLUGIN_DIR_LEADER_WARNING: &str = "mio: --plugin-dir is ignored in leader
|
||||
/// Run the `agent` subcommand, dispatching to the appropriate mode.
|
||||
#[tracing::instrument(level = "debug", skip_all)]
|
||||
async fn run_agent_command(
|
||||
agent_args: Box<hoshizukimio_mio_pager::app::AgentArgs>,
|
||||
mut agent_args: Box<hoshizukimio_mio_pager::app::AgentArgs>,
|
||||
permission_mode_flag: Option<String>,
|
||||
trust: bool,
|
||||
no_auto_update: bool,
|
||||
disable_web_search: bool,
|
||||
update_config: &UpdateConfig,
|
||||
) -> Result<()> {
|
||||
use hoshizukimio_mio_config::{Capability, Distribution};
|
||||
|
||||
if agent_args.mode.is_none() && !Distribution::current().allows(Capability::AccountLogin) {
|
||||
agent_args.mode = Some(AgentCmd::Stdio);
|
||||
}
|
||||
let signal_flush = agent_command::spawn_signal_flush();
|
||||
if matches!(
|
||||
agent_args.mode,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hoshizukimio-mio-pager"
|
||||
version = "1.0.47"
|
||||
version = "1.0.48"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
authors = ["HoshizukiMio"]
|
||||
|
||||
@@ -301,7 +301,7 @@ pub struct AgentArgs {
|
||||
/// Override the public hoshizukimio API base URL.
|
||||
#[arg(long = "hoshizukimio-api-base-url")]
|
||||
pub hoshizukimio_api_base_url: Option<String>,
|
||||
/// Agent runtime mode
|
||||
/// Agent runtime mode (defaults to local ACP over stdio in mio-code)
|
||||
#[command(subcommand)]
|
||||
pub mode: Option<AgentCmd>,
|
||||
}
|
||||
|
||||
@@ -2101,7 +2101,7 @@ pub(crate) fn execute(
|
||||
}
|
||||
});
|
||||
}
|
||||
Effect::FetchChangelog if Distribution::current().allows(Capability::RemoteFetch) => {
|
||||
Effect::FetchChangelog => {
|
||||
tasks
|
||||
.spawn(async move {
|
||||
let changelog = tokio::task::spawn_blocking(|| {
|
||||
@@ -2122,7 +2122,6 @@ pub(crate) fn execute(
|
||||
}
|
||||
});
|
||||
}
|
||||
Effect::FetchChangelog => {}
|
||||
Effect::PersistAnnouncementsHidden { hidden_ids } => {
|
||||
tasks
|
||||
.spawn(async move {
|
||||
|
||||
@@ -1,55 +1,32 @@
|
||||
//! `/feedback`: send a report inline or open the feedback modal.
|
||||
//! `/feedback` opens a new mio-code issue in the browser.
|
||||
|
||||
use crate::app::actions::Action;
|
||||
use crate::slash::command::{CommandExecCtx, CommandResult, SlashCommand, slash_meta};
|
||||
|
||||
/// Bare `/feedback` opens the feedback modal in every screen mode; `/feedback <text>` sends immediately,
|
||||
/// without a model turn and without waiting on the prompt queue.
|
||||
const ISSUE_URL: &str = "https://git.hoshizukimio.com/HoshizukiMio/mio-code/issues/new";
|
||||
|
||||
pub struct FeedbackCommand;
|
||||
|
||||
impl SlashCommand for FeedbackCommand {
|
||||
slash_meta! {
|
||||
name: "feedback",
|
||||
description: "Send feedback about the current session",
|
||||
description: "Open a mio-code issue in your browser",
|
||||
usage: "/feedback [text]",
|
||||
takes_args: true,
|
||||
arg_placeholder: "[feedback text]",
|
||||
arg_placeholder: "[issue description]",
|
||||
}
|
||||
|
||||
fn submission_refusal(&self, args: &str, voice_owns_prompt: bool) -> Option<&'static str> {
|
||||
if args.trim().is_empty() && voice_owns_prompt {
|
||||
Some("Stop voice input before opening the feedback form")
|
||||
fn run(&self, _ctx: &mut CommandExecCtx, args: &str) -> CommandResult {
|
||||
let text = args.trim();
|
||||
let url = if text.is_empty() {
|
||||
ISSUE_URL.to_owned()
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
fn run(&self, ctx: &mut CommandExecCtx, args: &str) -> CommandResult {
|
||||
// Prompt dispatch removes live image elements before passing these arguments and
|
||||
// attaches the composer images to the action it gets back.
|
||||
let user_text = args.trim();
|
||||
let (action, result) = if user_text.is_empty() {
|
||||
("open_empty", Action::OpenFeedbackModal(Default::default()))
|
||||
} else {
|
||||
(
|
||||
"send_inline",
|
||||
Action::SendFeedback {
|
||||
text: user_text.to_owned(),
|
||||
images: Default::default(),
|
||||
trace: None,
|
||||
},
|
||||
)
|
||||
let query = url::form_urlencoded::Serializer::new(String::new())
|
||||
.append_pair("body", text)
|
||||
.finish();
|
||||
format!("{ISSUE_URL}?{query}")
|
||||
};
|
||||
crate::unified_log::info(
|
||||
"feedback.command",
|
||||
ctx.session_id.map(|s| s.0.as_ref()),
|
||||
Some(serde_json::json!({
|
||||
"screen_mode": ctx.screen_mode.meta_label(),
|
||||
"arg_chars": user_text.chars().count(),
|
||||
"action": action,
|
||||
})),
|
||||
);
|
||||
CommandResult::Action(result)
|
||||
CommandResult::Action(Action::OpenUrl(url))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,43 +48,40 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
/// The whitespace case matters: the composer keeps a trailing space while the user is still typing the command.
|
||||
#[test]
|
||||
fn bare_and_whitespace_open_the_empty_modal() {
|
||||
fn bare_and_whitespace_open_new_issue() {
|
||||
let models = ModelState::default();
|
||||
let mut ctx = make_ctx(&models);
|
||||
let cmd = FeedbackCommand;
|
||||
let registry = crate::slash::registry::CommandRegistry::new(
|
||||
crate::slash::commands::builtin_commands(),
|
||||
);
|
||||
let command = registry.get_for_dispatch("feedback").unwrap();
|
||||
|
||||
for args in ["", " ", "\t"] {
|
||||
match cmd.run(&mut ctx, args) {
|
||||
CommandResult::Action(Action::OpenFeedbackModal(open)) => {
|
||||
assert_eq!(open.text, None, "{args:?} should open empty");
|
||||
assert!(
|
||||
open.images.is_empty(),
|
||||
"images attach at dispatch, not here"
|
||||
);
|
||||
}
|
||||
other => panic!("{args:?} should open the modal, got {other:?}"),
|
||||
match command.run(&mut ctx, args) {
|
||||
CommandResult::Action(Action::OpenUrl(url)) => assert_eq!(url, ISSUE_URL),
|
||||
other => panic!("expected an issue URL, got {other:?}"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn inline_text_sends_immediately() {
|
||||
fn feedback_text_prefills_the_issue_body() {
|
||||
let models = ModelState::default();
|
||||
let mut ctx = make_ctx(&models);
|
||||
let text = "中文反馈 & details? #test\nsecond line";
|
||||
|
||||
match FeedbackCommand.run(&mut ctx, " todo is chopped ") {
|
||||
CommandResult::Action(Action::SendFeedback {
|
||||
text,
|
||||
images,
|
||||
trace,
|
||||
}) => {
|
||||
assert_eq!("todo is chopped", text);
|
||||
assert!(images.is_empty(), "images attach at dispatch, not here");
|
||||
assert_eq!(None, trace);
|
||||
match FeedbackCommand.run(&mut ctx, &format!(" {text} ")) {
|
||||
CommandResult::Action(Action::OpenUrl(url)) => {
|
||||
let url = url::Url::parse(&url).unwrap();
|
||||
assert_eq!(url.as_str().split('?').next(), Some(ISSUE_URL));
|
||||
assert_eq!(
|
||||
url.query_pairs().collect::<Vec<_>>(),
|
||||
vec![("body".into(), text.into())]
|
||||
);
|
||||
assert_eq!(url.fragment(), None);
|
||||
}
|
||||
other => panic!("inline text must send immediately, got {other:?}"),
|
||||
other => panic!("expected an issue URL, got {other:?}"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,6 +141,8 @@ pub fn builtin_commands() -> Vec<Arc<dyn SlashCommand>> {
|
||||
Arc::new(cd::CdCommand),
|
||||
// Docs, account and one-off maintenance.
|
||||
Arc::new(docs::DocsCommand),
|
||||
Arc::new(feedback::FeedbackCommand),
|
||||
Arc::new(release_notes::ReleaseNotesCommand),
|
||||
Arc::new(doctor::DoctorCommand),
|
||||
Arc::new(import_claude::ImportClaudeCommand),
|
||||
Arc::new(home::HomeCommand),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! Changelog fetching from CDN with local disk cache.
|
||||
//! Versioned mio-code changelogs with disk cache and bundled offline notes.
|
||||
//!
|
||||
//! Both markdown (`*.external.md`) and JSON (`*.external.json`) changelogs are published per-version to the CDN at `hoshizukimio.invalid/cli/changelogs/`.
|
||||
//! Markdown and JSON notes are published in the mio-code repository.
|
||||
//!
|
||||
//! `ChangelogManager::fetch()` retrieves both formats in parallel and returns a `Changelog` with optional markdown and structured entries.
|
||||
//! Consumers pick the format they need:
|
||||
@@ -10,7 +10,12 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
/// CDN base for all changelogs (proxies to GCS, cache-friendly).
|
||||
const CHANGELOG_BASE: &str = "https://hoshizukimio.invalid/cli/changelogs";
|
||||
const CHANGELOG_BASE: &str = "https://git.hoshizukimio.com/HoshizukiMio/mio-code/raw/branch/mio-code/crates/codegen/hoshizukimio-mio-shell/changelogs";
|
||||
const BUNDLED_VERSION: &str = "1.0.48";
|
||||
const BUNDLED_MARKDOWN: &str =
|
||||
include_str!("../../../hoshizukimio-mio-shell/changelogs/1.0.48.external.md");
|
||||
const BUNDLED_JSON: &str =
|
||||
include_str!("../../../hoshizukimio-mio-shell/changelogs/1.0.48.external.json");
|
||||
const FETCH_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(3);
|
||||
|
||||
/// A single structured changelog entry from the published JSON changelog. Shape must match the output of `render_external_json` in `changelog.sh`: `{category, description, breaking_change}`
|
||||
@@ -65,9 +70,14 @@ impl ChangelogManager {
|
||||
.map(std::path::PathBuf::from)
|
||||
.filter(|p| !p.as_os_str().is_empty())
|
||||
.unwrap_or_else(crate::util::mio_home::mio_home);
|
||||
let name = if changelog_offline() {
|
||||
"CHANGELOG".to_owned()
|
||||
} else {
|
||||
format!("CHANGELOG-{}", hoshizukimio_mio_version::VERSION)
|
||||
};
|
||||
Self {
|
||||
md_cache: home.join("CHANGELOG.md"),
|
||||
json_cache: home.join("CHANGELOG.json"),
|
||||
md_cache: home.join(format!("{name}.md")),
|
||||
json_cache: home.join(format!("{name}.json")),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,6 +122,13 @@ impl ChangelogManager {
|
||||
entries = self.read_json_cache();
|
||||
}
|
||||
|
||||
if version == BUNDLED_VERSION {
|
||||
markdown.get_or_insert_with(|| BUNDLED_MARKDOWN.to_owned());
|
||||
if entries.is_none() {
|
||||
entries = serde_json::from_str(BUNDLED_JSON).ok();
|
||||
}
|
||||
}
|
||||
|
||||
Changelog { markdown, entries }
|
||||
}
|
||||
|
||||
@@ -196,8 +213,9 @@ pub fn bullets_from_entries(entries: &[ChangelogEntry], max: usize) -> Vec<Strin
|
||||
/// Blocking HTTP fetch.
|
||||
/// Callers (`std::thread::scope` threads) are already off the tokio runtime, so no extra thread spawn is needed.
|
||||
fn fetch_blocking(url: &str) -> anyhow::Result<String> {
|
||||
let client =
|
||||
hoshizukimio_mio_extra_ca::build_blocking_reqwest_client(|builder| builder.timeout(FETCH_TIMEOUT))?;
|
||||
let client = hoshizukimio_mio_extra_ca::build_blocking_reqwest_client(|builder| {
|
||||
builder.timeout(FETCH_TIMEOUT)
|
||||
})?;
|
||||
let resp = client.get(url).send()?;
|
||||
if !resp.status().is_success() {
|
||||
anyhow::bail!("HTTP {}", resp.status());
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
license = "Apache-2.0"
|
||||
name = "hoshizukimio-mio-shell"
|
||||
version = "1.0.47"
|
||||
version = "1.0.48"
|
||||
edition.workspace = true
|
||||
|
||||
[features]
|
||||
|
||||
@@ -62,7 +62,7 @@ mio agent stdio
|
||||
curl -fsSL https://git.hoshizukimio.com/HoshizukiMio/mio-code/raw/branch/mio-code/cli/install.sh | bash
|
||||
|
||||
# Install a specific version
|
||||
curl -fsSL https://git.hoshizukimio.com/HoshizukiMio/mio-code/raw/branch/mio-code/cli/install.sh | bash -s -- 1.0.47
|
||||
curl -fsSL https://git.hoshizukimio.com/HoshizukiMio/mio-code/raw/branch/mio-code/cli/install.sh | bash -s -- 1.0.48
|
||||
```
|
||||
|
||||
Verify installation:
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"category": "features",
|
||||
"description": "Mio knows the configured model ID for each conversation turn.",
|
||||
"breaking_change": false
|
||||
},
|
||||
{
|
||||
"category": "features",
|
||||
"description": "Installation scripts display download progress for Windows, Linux and WSL.",
|
||||
"breaking_change": false
|
||||
},
|
||||
{
|
||||
"category": "features",
|
||||
"description": "Install and update mio-code from its Gitea releases.",
|
||||
"breaking_change": false
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
# mio-code 1.0.47
|
||||
|
||||
## Features
|
||||
|
||||
- Mio receives the configured model ID on each conversation turn and can explain which model powers the current request.
|
||||
- Windows installers show the downloaded size, total size and percentage. Linux and WSL installers show a terminal progress bar.
|
||||
- Windows and Linux x86-64 builds, installation scripts and SHA-256 checksums are published on the mio-code Gitea repository.
|
||||
|
||||
[Published releases](https://git.hoshizukimio.com/HoshizukiMio/mio-code/releases)
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"category": "features",
|
||||
"description": "Restored /changelog and /release-notes, with welcome-screen summaries and offline notes.",
|
||||
"breaking_change": false
|
||||
},
|
||||
{
|
||||
"category": "features",
|
||||
"description": "/feedback opens Gitea issues and can prefill an issue description.",
|
||||
"breaking_change": false
|
||||
},
|
||||
{
|
||||
"category": "fixes",
|
||||
"description": "mio agent starts the local ACP stdio service using configured models.",
|
||||
"breaking_change": false
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,13 @@
|
||||
# mio-code 1.0.48
|
||||
|
||||
## Fixes
|
||||
|
||||
- **Local ACP startup**. Running mio agent starts the local ACP stdio service using the configured model credentials.
|
||||
|
||||
## Features
|
||||
|
||||
- **Issue feedback**. The /feedback command opens a new issue on the mio-code Gitea repository. Adding text prefills the issue description for review in the browser.
|
||||
- **Offline changelog**. The /changelog and /release-notes commands show version changes. The welcome screen shows recent changes, and bundled notes are available when the repository cannot be reached.
|
||||
- **Versioned cache**. Update notes are cached separately for each application version.
|
||||
|
||||
[Published releases](https://git.hoshizukimio.com/HoshizukiMio/mio-code/releases)
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
license = "Apache-2.0"
|
||||
name = "hoshizukimio-mio-version"
|
||||
version = "1.0.47"
|
||||
version = "1.0.48"
|
||||
edition.workspace = true
|
||||
description = "Lockstepped mio CLI version."
|
||||
|
||||
|
||||
@@ -138,9 +138,9 @@ def read_stream(reader, received):
|
||||
received.put(None)
|
||||
|
||||
|
||||
def verify_acp(binary, root, env):
|
||||
def verify_acp(binary, root, env, mode=("stdio",)):
|
||||
output = queue.SimpleQueue()
|
||||
with subprocess.Popen([binary, "agent", "--no-leader", "stdio"],
|
||||
with subprocess.Popen([binary, "agent", "--no-leader", *mode],
|
||||
cwd=root, env=env, stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, text=True) as process:
|
||||
thread = threading.Thread(target=read_stream, args=(process.stdout.readline, output), daemon=True)
|
||||
@@ -257,6 +257,7 @@ def verify(binary, tui):
|
||||
XDG_CONFIG_HOME=str(fake_home / "config"), XDG_DATA_HOME=str(fake_home / "data"),
|
||||
MIO_HOME=directory, MIO_SMOKE_KEY=KEY, TERM="xterm-256color",
|
||||
MIO_DISABLE_AUTOUPDATER="1",
|
||||
MIO_CHANGELOG_OFFLINE="1",
|
||||
HTTP_PROXY=proxy, HTTPS_PROXY=proxy, ALL_PROXY=proxy,
|
||||
NO_PROXY="localhost,127.0.0.1",
|
||||
)
|
||||
@@ -334,6 +335,7 @@ def verify(binary, tui):
|
||||
print(f"Passed {backend} {'with credentials' if keyed else 'without credentials'}")
|
||||
|
||||
verify_acp(binary, root, env)
|
||||
verify_acp(binary, root, env, mode=())
|
||||
print("Passed ACP initialization and session creation")
|
||||
if tui:
|
||||
verify_tui(binary, root, env)
|
||||
|
||||
Reference in New Issue
Block a user