From 4b184df1bab064dedfcc0c87ca16798c94e1f494 Mon Sep 17 00:00:00 2001 From: AskaEth Date: Wed, 11 Nov 2026 21:26:15 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=89=88=E6=9C=AC=E5=8F=B7=200.2.4?= =?UTF-8?q?=EF=BC=88=E9=87=8C=E7=A8=8B=E7=A2=91=E5=BF=AB=E7=85=A7=EF=BC=9B?= =?UTF-8?q?=E6=9C=AC=E6=89=B9=E5=90=AB=E5=AD=98=E6=A1=A3=E6=88=AA=E5=9B=BE?= =?UTF-8?q?/=E5=BC=BA=E8=B0=83=E8=89=B2/=E5=9B=9E=E8=BD=A6=E6=8F=90?= =?UTF-8?q?=E4=BA=A4/GPU=20=E9=97=A8=E7=A6=81/=E7=AD=BE=E5=90=8D=E5=B0=B1?= =?UTF-8?q?=E7=BB=AA=E5=BA=A6=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- README.md | 2 +- crates/agent/Cargo.toml | 2 +- crates/app-iced/Cargo.toml | 10 +++++----- crates/cli/Cargo.toml | 4 ++-- crates/palette-extract/Cargo.toml | 2 +- crates/presenter/Cargo.toml | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c6244ae..0018be4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5129,7 +5129,7 @@ checksum = "ca718471876992059f251e33aafc334346ada08042b7661dd1fe313a9bced557" [[package]] name = "unlucky-agent" -version = "0.2.3" +version = "0.2.4" dependencies = [ "axum", "futures-util", @@ -5144,7 +5144,7 @@ dependencies = [ [[package]] name = "unlucky-app-iced" -version = "0.2.3" +version = "0.2.4" dependencies = [ "iced", "image", @@ -5159,7 +5159,7 @@ dependencies = [ [[package]] name = "unlucky-cli" -version = "0.2.3" +version = "0.2.4" dependencies = [ "serde", "serde_json", @@ -5171,7 +5171,7 @@ dependencies = [ [[package]] name = "unlucky-core" -version = "0.2.3" +version = "0.2.4" dependencies = [ "ed25519-dalek", "flate2", @@ -5191,15 +5191,15 @@ dependencies = [ [[package]] name = "unlucky-design" -version = "0.2.3" +version = "0.2.4" [[package]] name = "unlucky-i18n" -version = "0.2.3" +version = "0.2.4" [[package]] name = "unlucky-palette-extract" -version = "0.2.3" +version = "0.2.4" dependencies = [ "image", "unlucky-design", @@ -5207,7 +5207,7 @@ dependencies = [ [[package]] name = "unlucky-presenter" -version = "0.2.3" +version = "0.2.4" dependencies = [ "ed25519-dalek", "serde", diff --git a/Cargo.toml b/Cargo.toml index a7f49be..5dd957e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ members = [ exclude = ["crates/app"] [workspace.package] -version = "0.2.3" +version = "0.2.4" edition = "2021" license = "Apache-2.0" authors = ["AskaEth "] diff --git a/README.md b/README.md index 1c23e9e..0803e9c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ > **Official project home**: | downloads, issues and > release notes all live there: > -> **Version in this README: `0.2.3`** — `unlucky-launcher --version` prints the same number. +> **Version in this README: `0.2.4`** — `unlucky-launcher --version` prints the same number. Unlucky Launcher is a free, open-source **Minecraft: Java Edition** launcher written in Rust (Apache-2.0). It ships as **one native binary per platform** — no installer, no bundled runtime, no diff --git a/crates/agent/Cargo.toml b/crates/agent/Cargo.toml index 9172a72..db18ec1 100644 --- a/crates/agent/Cargo.toml +++ b/crates/agent/Cargo.toml @@ -13,7 +13,7 @@ publish.workspace = true # 端口层(src/port*.rs)让 agent 能在没有 core 实现时独立编译与测试;装配层用 core 实现 # 填充 `Ports`(GUI 侧是 `crates/app`,headless 侧是 `crates/cli` 的 `ull agent serve`)。 [dependencies] -unlucky-core = { path = "../core", version = "0.2.3" } +unlucky-core = { path = "../core", version = "0.2.4" } # 序列化:工具 JSON Schema 是手写 serde_json::Value(不引 schemars), # 工具结果 / 审计记录 / 事件流都用 serde derive。 diff --git a/crates/app-iced/Cargo.toml b/crates/app-iced/Cargo.toml index 2e98e76..1605a4c 100644 --- a/crates/app-iced/Cargo.toml +++ b/crates/app-iced/Cargo.toml @@ -22,15 +22,15 @@ path = "src/lib.rs" [dependencies] # 令牌唯一真源(M61):颜色/排版/形状/间距/图标几何全部只从这里取。 -unlucky-design = { path = "../design", version = "0.2.3" } +unlucky-design = { path = "../design", version = "0.2.4" } # 平台识别(Termux / $PREFIX 路径)唯一真源:字体注册这类平台适配不再各写一份环境判断。 -unlucky-core = { path = "../core", version = "0.2.3" } +unlucky-core = { path = "../core", version = "0.2.4" } # M85:UI 框架无关的宿主层(DTO / 状态 reducer / host)。**只登记依赖,本 mission 不接线**—— # 页面用它的时机由后续 iced 页面 mission 决定(接线流程见 crates/presenter/src/lib.rs 的 crate 文档)。 # 与 Slint 版共用同一套 host 与状态语义,这是 D26「重写只换渲染」的落点。 -unlucky-presenter = { path = "../presenter", version = "0.2.3" } +unlucky-presenter = { path = "../presenter", version = "0.2.4" } # UI 框架(D26 锁定 iced 0.14)。**不得依赖 slint**。 # 关掉默认 features 后必须显式给执行器(M60 踩坑 Q2:否则 `No futures executor has been enabled`), @@ -60,11 +60,11 @@ image = { version = "0.25", default-features = false, features = [ # 进 UI 之前分发,命中就把控制权交给 `unlucky_cli::run`。依赖方向 app-iced → cli → # core/agent 不违反 core 零 UI 铁律(core 的依赖树里没有 cli)。零 UI 依赖的 `ull` # 仍在 `crates/cli`,给没有图形库的机器用——两者不是重复品。 -unlucky-cli = { path = "../cli", version = "0.2.3" } +unlucky-cli = { path = "../cli", version = "0.2.4" } # M92(D28):国际化地基(语言探测 / 消息目录 / 中文字体策略)。零依赖 crate——它拿不到 iced, # 所以系统字体扫描留在这里(`src/fonts/cjk.rs`),本 crate 只把族名喂给它的纯函数。 -unlucky-i18n = { path = "../i18n", version = "0.2.3" } +unlucky-i18n = { path = "../i18n", version = "0.2.4" } # M97:判据表第 8 行的取证通道。`iced_wgpu` 在真创建设备时会 `log::info!("Selected: {adapter:#?}")`, # 但进程里从来没人装 logger,于是「看不见」被当成了「没发生」。这里装一个只放行 `iced_wgpu*` / diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 55af3b0..d91ef7e 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -22,10 +22,10 @@ path = "src/lib.rs" # 参数解析手写(不引 clap):子命令集小,没必要为它多引一棵依赖树(Win10+ 单基线, # 但 CLI 是 headless/服务器场景的产物,体积与启动开销仍是关注项)。 [dependencies] -unlucky-core = { path = "../core", version = "0.2.3" } +unlucky-core = { path = "../core", version = "0.2.4" } # agent:`redact`(输出脱敏)+ `ull agent serve`(M39 的 MCP server:注册表 → rmcp 双投影, # core 侧五个端口在 src/commands/agent/ports/ 装配)。 -unlucky-agent = { path = "../agent", version = "0.2.3" } +unlucky-agent = { path = "../agent", version = "0.2.4" } # `ull agent serve` 要长驻跑 rmcp 的 stdio / Streamable HTTP 传输(tokio 运行时)。 tokio.workspace = true serde.workspace = true diff --git a/crates/palette-extract/Cargo.toml b/crates/palette-extract/Cargo.toml index 42ee0e9..1a8989b 100644 --- a/crates/palette-extract/Cargo.toml +++ b/crates/palette-extract/Cargo.toml @@ -12,7 +12,7 @@ publish.workspace = true # 分层纪律(D40):`crates/design` 保持零第三方依赖,**图片解码只能在这里**。 # 本 crate 的职责边界很窄:解码 + 限尺寸 + 把像素交给 design,不碰 UI、不碰设置、不碰壁纸探测。 [dependencies] -unlucky-design = { path = "../design", version = "0.2.3" } +unlucky-design = { path = "../design", version = "0.2.4" } # 只开两个编解码器(MIT OR Apache-2.0,deny.toml 白名单内): # - png:启动器背景图最常见的无损格式,也是截图通道用的格式; diff --git a/crates/presenter/Cargo.toml b/crates/presenter/Cargo.toml index 8e55851..f6b9b26 100644 --- a/crates/presenter/Cargo.toml +++ b/crates/presenter/Cargo.toml @@ -22,12 +22,12 @@ serde_json.workspace = true # 边界(01c §5 / D3):presenter 只经 DTO 消费 core,**不 import core 的领域类型到 DTO 里**。 # host 是 core 的快照/事件流与本 crate DTO 之间的唯一翻译层,所以它需要 core。 -unlucky-core = { path = "../core", version = "0.2.3" } +unlucky-core = { path = "../core", version = "0.2.4" } # M251(D54 第 1/4 条):截图缩略图在**后台线程**里解码,解码能力只能来自 palette-extract # (`image` 一个字节都不进 presenter,否则「解码集中在一处」这条边界当场作废)。 # 方向只能是 presenter → palette-extract(反向不许);那边也不许反过来依赖 core/presenter。 -unlucky-palette-extract = { path = "../palette-extract", version = "0.2.3" } +unlucky-palette-extract = { path = "../palette-extract", version = "0.2.4" } [lints] workspace = true