Skip to content

Commit 324e140

Browse files
JusterZhuclaude
andcommitted
chore: update NuGet version references from beta.4 to beta.6
- Update all 10.5.0-beta.4 references to 10.5.0-beta.6 across skills, templates, CLI assets, rules, and docs - Update project scaffolds (ClientApp.csproj, UpgradeApp.csproj) - Update CI workflow inline package references - Update all skill documentation, reference docs, and SKILL.md files - Keep skill.json version at 0.0.2-beta.1 (skill version, not NuGet) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e56bf12 commit 324e140

63 files changed

Lines changed: 184 additions & 184 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
"name": "generalupdate-skill",
1414
"source": "./",
15-
"description": "Complete GeneralUpdate (.NET auto-update) integration skill suite. Generates dual-project scaffolding, full-state update UI (6 frameworks), 6 update strategies decision tree (Client-Server/OSS/Silent/Differential/CVP/Push), advanced extension points (Bowl crash daemon, IPC replacement, AOT), BM25-powered troubleshooting search (50+ known issues), v9.x→v10 migration guide, and 14-point security audit matrix. All templates target NuGet v10.5.0-beta.4.",
15+
"description": "Complete GeneralUpdate (.NET auto-update) integration skill suite. Generates dual-project scaffolding, full-state update UI (6 frameworks), 6 update strategies decision tree (Client-Server/OSS/Silent/Differential/CVP/Push), advanced extension points (Bowl crash daemon, IPC replacement, AOT), BM25-powered troubleshooting search (50+ known issues), v9.x→v10 migration guide, and 14-point security audit matrix. All templates target NuGet v10.5.0-beta.6.",
1616
"version": "0.0.2-beta.1",
1717
"author": {
1818
"name": "JusterZhu"

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generalupdate-skill",
3-
"description": "Complete .NET auto-update skill suite for GeneralUpdate. 7 skills covering: Bootstrap scaffolding, update UI (6 frameworks), 6 strategies (Client-Server/OSS/Silent/Differential/CVP/Push), advanced extension points (Bowl, IPC, AOT), 50+ known issues diagnosis with BM25 search engine, version migration, and security audit. All templates target NuGet v10.5.0-beta.4.",
3+
"description": "Complete .NET auto-update skill suite for GeneralUpdate. 7 skills covering: Bootstrap scaffolding, update UI (6 frameworks), 6 strategies (Client-Server/OSS/Silent/Differential/CVP/Push), advanced extension points (Bowl, IPC, AOT), 50+ known issues diagnosis with BM25 search engine, version migration, and security audit. All templates target NuGet v10.5.0-beta.6.",
44
"version": "0.0.2-beta.1",
55
"author": {
66
"name": "JusterZhu"

.claude/scripts/generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"name": "Differential Update",
4646
"slug": "differential",
4747
"description": "Delta patch update to save bandwidth (BSDIFF/HDiffPatch)",
48-
"warning": "差分包大小建议不超过 2GB,避免 BSDIFF 整数溢出(v10.5.0-beta.4 已修复 #514)。",
48+
"warning": "差分包大小建议不超过 2GB,避免 BSDIFF 整数溢出(v10.5.0-beta.6 已修复 #514)。",
4949
},
5050
"cvp": {
5151
"name": "Cross-Version CVP",
@@ -183,7 +183,7 @@ def generate_issue_warnings(strategy, variables):
183183
- H4: OSS 不区分 Main/Upgrade 更新包,接受此行为
184184
- H5: Upgrade.exe 必须放在 update/ 子目录
185185
- L7: 示例代码中 OSS endpoint/bucket 写死,建议用环境变量
186-
- M13: OssClient.AppType 值 3-4 在 v10.5.0-beta.4 中可用""",
186+
- M13: OssClient.AppType 值 3-4 在 v10.5.0-beta.6 中可用""",
187187
"silent": """⚠️ 静默更新特有已知问题:
188188
- H2: 无限升级循环 — 确保 manifest.json 版本号正确
189189
- M19: 静默通知可能不尊重系统的免打扰设置

.claude/scripts/generate/templates/bowl_notice.cs.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ⚠️ Bowl 崩溃守护
22
// dotnet add package GeneralUpdate.Bowl
3-
// NuGet v10.5.0-beta.4: Bowl 与 Core 无类型冲突,可按需同时引用
3+
// NuGet v10.5.0-beta.6: Bowl 与 Core 无类型冲突,可按需同时引用
44
// Refer to generalupdate-advanced/templates/BowlIntegration.cs for full example
55
var context = new GeneralUpdate.Bowl.BowlContext
66
{

.claude/skills/generalupdate-advanced/SKILL.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: generalupdate-advanced
33
description: |
44
Reference guide for GeneralUpdate internal architecture — Pipeline, middleware,
55
Strategy, Differential engine, Bowl crash monitor, FileTree, blacklist, and AOT.
6-
Covers all extension points available in v10.5.0-beta.4 including Pipeline, Hooks, Bowl, AOT, and DiffPipeline.
6+
Covers all extension points available in v10.5.0-beta.6 including Pipeline, Hooks, Bowl, AOT, and DiffPipeline.
77
Triggers on: "extension points", "custom hooks", "Bowl", "crash dump", "IPC",
88
"named pipe", "shared memory", "custom strategy", "download pipeline",
99
"SSL policy", "auth provider", "custom download", "extension management",
@@ -24,8 +24,8 @@ allowed-tools: "Read, Write, Edit, Glob"
2424

2525
涵盖扩展点架构、Pipeline 管道、差分引擎、Bowl 崩溃守护、事件系统、文件系统工具等。
2626

27-
> ⚠️ **API 版本说明**:本指南基于 **NuGet v10.5.0-beta.4**
28-
> 以下功能在 v10.5.0-beta.4 中全部**可用**
27+
> ⚠️ **API 版本说明**:本指南基于 **NuGet v10.5.0-beta.6**
28+
> 以下功能在 v10.5.0-beta.6 中全部**可用**
2929
> -`IUpdateHooks` 生命周期钩子(`Hooks<T>()`
3030
> -`IStrategy` 自定义策略注入(`Strategy<T>()`
3131
> -`SilentPollOrchestrator` 静默轮询器(`Option.Silent`
@@ -65,7 +65,7 @@ allowed-tools: "Read, Write, Edit, Glob"
6565

6666
---
6767

68-
## 1. Pipeline 管道系统(v10.5.0-beta.4 可用)
68+
## 1. Pipeline 管道系统(v10.5.0-beta.6 可用)
6969

7070
GeneralUpdate 使用 Pipeline 管道模式处理更新包的校验、解压、补丁应用。
7171

@@ -100,7 +100,7 @@ await new PipelineBuilder(context)
100100

101101
---
102102

103-
## 2. 策略系统(v10.5.0-beta.4 可用)
103+
## 2. 策略系统(v10.5.0-beta.6 可用)
104104

105105
GeneralUpdate 内置三种平台策略,通过 `IStrategy` 接口实现:
106106

@@ -115,7 +115,7 @@ GeneralUpdate 内置三种平台策略,通过 `IStrategy` 接口实现:
115115
116116
---
117117

118-
## 3. Bowl 崩溃守护(v10.5.0-beta.4
118+
## 3. Bowl 崩溃守护(v10.5.0-beta.6
119119

120120
Bowl 是一个崩溃监控组件,通过 `MonitorParameter` 配置。
121121

@@ -157,11 +157,11 @@ Console.WriteLine($"Result: Success={result.Success}, Restored={result.Restored}
157157
| `DumpType` | DumpType | Mini / Full | Full |
158158
| `OnCrash` | delegate | 崩溃回调 | null |
159159

160-
> ⚠️ NuGet v10.5.0-beta.4 中 Bowl 和 Core **无类型冲突**,可以同时引用。
160+
> ⚠️ NuGet v10.5.0-beta.6 中 Bowl 和 Core **无类型冲突**,可以同时引用。
161161
162162
---
163163

164-
## 4. EventManager 事件系统(v10.5.0-beta.4 可用)
164+
## 4. EventManager 事件系统(v10.5.0-beta.6 可用)
165165

166166
EventManager 是一个全局单例,提供事件的发布和订阅:
167167

@@ -188,7 +188,7 @@ EventManager.Instance.Dispose();
188188
189189
---
190190

191-
## 5. 文件系统工具(v10.5.0-beta.4 可用)
191+
## 5. 文件系统工具(v10.5.0-beta.6 可用)
192192

193193
### BlackList(黑名单)
194194

@@ -217,7 +217,7 @@ var snapshot = tree.CreateSnapshot(@"C:\Program Files\MyApp");
217217

218218
---
219219

220-
## 6. 差分引擎(v10.5.0-beta.4 可用,无需额外安装包)
220+
## 6. 差分引擎(v10.5.0-beta.6 可用,无需额外安装包)
221221

222222
差分类型已内嵌在 `GeneralUpdate.Core` 中,**无需额外**安装 `GeneralUpdate.Differential` 包。
223223

@@ -270,7 +270,7 @@ var dirtyMatcher = new DefaultDirtyMatcher(); // 或实现 IDirtyMatcher
270270

271271
## 7. AOT / NativeAOT 兼容性
272272

273-
GeneralUpdate.Core v10.5.0-beta.4 支持 .NET Native AOT(`net8.0``net10.0`):
273+
GeneralUpdate.Core v10.5.0-beta.6 支持 .NET Native AOT(`net8.0``net10.0`):
274274

275275
```xml
276276
<PropertyGroup>
@@ -313,26 +313,26 @@ var result = GeneralDrivelution.InstallDriver(driverPath);
313313

314314
| 主题 | 可用性 | 参考 |
315315
|------|--------|------|
316-
| Pipeline 管道 | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Pipeline` |
317-
| 策略系统 | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Strategy` |
318-
| FileTree | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.FileSystem` |
319-
| BlackList | ✅ v10.5.0-beta.4 | `UpdateRequest.Files/Formats/Directories``ToBlackPolicy()` |
316+
| Pipeline 管道 | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Pipeline` |
317+
| 策略系统 | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Strategy` |
318+
| FileTree | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.FileSystem` |
319+
| BlackList | ✅ v10.5.0-beta.6 | `UpdateRequest.Files/Formats/Directories``ToBlackPolicy()` |
320320
| 差分引擎 | ✅ 内嵌 Core | `DiffPipelineBuilder` / `DiffPipeline` |
321-
| AOT | ✅ v10.5.0-beta.4 | `JsonSerializerContext` 子类 |
322-
| EventManager | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Event` |
321+
| AOT | ✅ v10.5.0-beta.6 | `JsonSerializerContext` 子类 |
322+
| EventManager | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Event` |
323323
| Bowl 崩溃守护 | ⚠️ 基础类型 | `GeneralUpdate.Bowl.Bowl` |
324-
| IUpdateHooks | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Hooks``Hooks<T>()` |
325-
| 自定义 Strategy 注入 | ✅ v10.5.0-beta.4 | `Strategy<T>()` |
324+
| IUpdateHooks | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Hooks``Hooks<T>()` |
325+
| 自定义 Strategy 注入 | ✅ v10.5.0-beta.6 | `Strategy<T>()` |
326326
| IPC 替换接口 | ❌ 暂不支持 | 使用 NamedPipe 替代方案 |
327-
| SilentPollOrchestrator | ✅ v10.5.0-beta.4 | `Option.Silent` + `SetOption()` |
328-
| Option 系统 | ✅ v10.5.0-beta.4 | `SetOption<T>(Option<T>, T)` |
327+
| SilentPollOrchestrator | ✅ v10.5.0-beta.6 | `Option.Silent` + `SetOption()` |
328+
| Option 系统 | ✅ v10.5.0-beta.6 | `SetOption<T>(Option<T>, T)` |
329329

330330
---
331331

332332
## ✅ 高级定制验证清单
333333

334334
### Bowl 崩溃守护
335-
- [ ] 如果用 Bowl:项目中同时引用 `GeneralUpdate.Core``GeneralUpdate.Bowl`(v10.5.0-beta.4 无冲突)
335+
- [ ] 如果用 Bowl:项目中同时引用 `GeneralUpdate.Core``GeneralUpdate.Bowl`(v10.5.0-beta.6 无冲突)
336336
- [ ] `MonitorParameter``ProcessNameOrId` 与实际进程名匹配
337337
- [ ] `TargetPath` 设置为应用安装根目录,非子目录
338338
- [ ] `WorkModel` 根据场景选择 Correct(Normal/Upgrade)

.claude/skills/generalupdate-advanced/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# GeneralUpdate 扩展参考
22

3-
> ⚠️ 基于 **NuGet v10.5.0-beta.4** API。
3+
> ⚠️ 基于 **NuGet v10.5.0-beta.6** API。
44
5-
## 注入方法调用链(v10.5.0-beta.4
5+
## 注入方法调用链(v10.5.0-beta.6
66

77
```csharp
88
new GeneralUpdateBootstrap()

.claude/skills/generalupdate-advanced/templates/BowlIntegration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/// If a crash is detected, it captures a dump, exports diagnostics,
1010
/// and optionally restores the previous version from backup.
1111
///
12-
/// NuGet: dotnet add package GeneralUpdate.Bowl --version 10.5.0-beta.4
12+
/// NuGet: dotnet add package GeneralUpdate.Bowl --version 10.5.0-beta.6
1313
/// Note: Reference only GeneralUpdate.Bowl (it transitively includes Core).
1414
/// Do NOT reference GeneralUpdate.Core separately when using Bowl.
1515
///

.claude/skills/generalupdate-advanced/templates/CustomHooks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using GeneralUpdate.Core.Hooks;
33

44
/// <summary>
5-
/// 【Skill 参考】自定义生命周期 Hooks (v10.5.0-beta.4 可用)
5+
/// 【Skill 参考】自定义生命周期 Hooks (v10.5.0-beta.6 可用)
66
///
77
/// 通过 IUpdateHooks 接口可以拦截更新流程的各个阶段:
88
/// - OnBeforeUpdateAsync: 更新开始前(可取消)

.claude/skills/generalupdate-advanced/templates/CustomStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using GeneralUpdate.Core.Download.Reporting;
66

77
/// <summary>
8-
/// 【Skill 参考】自定义平台策略(v10.5.0-beta.4 可用)
8+
/// 【Skill 参考】自定义平台策略(v10.5.0-beta.6 可用)
99
///
1010
/// 通过 bootstrap.Strategy&lt;T&gt;() 注入自定义策略。
1111
/// 自定义策略需要实现 IStrategy 接口。

.claude/skills/generalupdate-init/SKILL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ allowed-tools: "Bash, Read, Write, Edit, Glob, Grep, WebSearch"
2424

2525
帮助开发者在任意 .NET 应用中集成 GeneralUpdate 自动更新。从零开始,覆盖所有配置方式、部署场景和生产环境考量。
2626

27-
> ⚠️ **针对 NuGet v10.5.0-beta.4**`Configinfo` 已被 `UpdateRequest` 替代,命名空间已移至 `GeneralUpdate.Core.Configuration`
27+
> ⚠️ **针对 NuGet v10.5.0-beta.6**`Configinfo` 已被 `UpdateRequest` 替代,命名空间已移至 `GeneralUpdate.Core.Configuration`
2828
2929
---
3030

@@ -176,7 +176,7 @@ await new GeneralUpdateBootstrap()
176176

177177
### 应用角色(AppType)
178178

179-
`AppType` 是一个 enum(v10.5.0-beta.4):
179+
`AppType` 是一个 enum(v10.5.0-beta.6):
180180

181181
|| 名称 | 说明 |
182182
|----|------|------|
@@ -323,14 +323,14 @@ publish/
323323

324324
## ⚠️ 已知问题
325325

326-
### NuGet 注意事项(v10.5.0-beta.4
327-
`GeneralUpdate.Core``GeneralUpdate.Bowl` **可以同时引用**(v10.5.0-beta.4 中无 CS0433 冲突)。
326+
### NuGet 注意事项(v10.5.0-beta.6
327+
`GeneralUpdate.Core``GeneralUpdate.Bowl` **可以同时引用**(v10.5.0-beta.6 中无 CS0433 冲突)。
328328
- 使用 Core:`dotnet add package GeneralUpdate.Core`
329329
- 使用 Bowl:`dotnet add package GeneralUpdate.Bowl`(它****传递依赖 Core,需要同时引用 Core)
330330
- 差分类型已内嵌在 Core,**无需额外** `GeneralUpdate.Differential`
331331

332332
### 稳定版功能增强
333-
v10.5.0-beta.4 新增以下功能:
333+
v10.5.0-beta.6 新增以下功能:
334334
-`IUpdateHooks` 生命周期钩子 — `Hooks<T>()`
335335
- ✅ 可编程 `Option` 系统 — `SetOption(Option.Silent, true)`
336336
-`SilentPollOrchestrator` 静默轮询
@@ -353,7 +353,7 @@ v10.5.0-beta.4 新增以下功能:
353353

354354
### NuGet & 编译
355355
- [ ] Client 和 Upgrade 项目使用**完全相同**的 GeneralUpdate NuGet 版本
356-
- [ ] 如果用 Bowl:项目中同时引用 `GeneralUpdate.Core``GeneralUpdate.Bowl`(v10.5.0-beta.4 无冲突)
356+
- [ ] 如果用 Bowl:项目中同时引用 `GeneralUpdate.Core``GeneralUpdate.Bowl`(v10.5.0-beta.6 无冲突)
357357
- [ ] 项目能正常 `dotnet build`(0 errors)
358358
- [ ] 无需额外引用 `GeneralUpdate.Differential`(已嵌入 Core)
359359

@@ -377,7 +377,7 @@ v10.5.0-beta.4 新增以下功能:
377377
|---|--------|------|---------|
378378
| 1 | **Core 和 Bowl NuGet 版本不一致** | 运行时 MethodNotFoundException | 使用相同 NuGet 版本 |
379379
| 2 | **Bowl 缺少 `GeneralUpdate.Core` 引用** | 编译失败,缺少 Core 类型 | Bowl 不传递依赖 Core,需同时引用 Core |
380-
| 3 | **Bowl 传递依赖 Core 的误解** | 编译失败 | v10.5.0-beta.4 中 Bowl 是独立包,需单独引用 Core |
380+
| 3 | **Bowl 传递依赖 Core 的误解** | 编译失败 | v10.5.0-beta.6 中 Bowl 是独立包,需单独引用 Core |
381381
| 4 | **Client/Upgrade NuGet 版本号不一致** | 运行时 MethodNotFoundException | 锁定完全相同版本 |
382382
| 5 | **事件监听中做耗时操作(网络 IO / 磁盘 IO)** | Update 进程 UI 卡死,超时被 Kill | 仅更新 UI 状态,耗时操作异步 |
383383
| 6 | **IPC 文件编码未设置 UTF-8** | Linux/macOS 中文乱码 | `Encoding.UTF8` |

0 commit comments

Comments
 (0)