Release mio-code 1.0.48

This commit is contained in:
HoshizukiMio
2026-11-19 18:33:16 +08:00
parent 0720cbca2e
commit c74d4082a1
13 changed files with 47 additions and 23 deletions

8
Cargo.lock generated
View File

@@ -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",
]

View File

@@ -24,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

View File

@@ -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)

View File

@@ -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

View File

@@ -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"]

View File

@@ -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"]

View File

@@ -11,11 +11,11 @@ use std::path::PathBuf;
/// CDN base for all changelogs (proxies to GCS, cache-friendly).
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.47";
const BUNDLED_VERSION: &str = "1.0.48";
const BUNDLED_MARKDOWN: &str =
include_str!("../../../hoshizukimio-mio-shell/changelogs/1.0.47.external.md");
include_str!("../../../hoshizukimio-mio-shell/changelogs/1.0.48.external.md");
const BUNDLED_JSON: &str =
include_str!("../../../hoshizukimio-mio-shell/changelogs/1.0.47.external.json");
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}`

View File

@@ -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]

View File

@@ -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:

View File

@@ -6,10 +6,4 @@
- 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.
## Local changes after the v1.0.47 release
- `mio agent` defaults to the local ACP stdio service and uses the configured model credentials.
- `/feedback` opens a new Gitea issue. Feedback text is prefilled for review in the browser.
- `/changelog`, `/release-notes` and the welcome-screen changelog are available, with bundled notes for offline use.
[Published releases](https://git.hoshizukimio.com/HoshizukiMio/mio-code/releases)

View File

@@ -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
}
]

View File

@@ -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)

View File

@@ -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."