Repository navigation
Conversation
上一版把可配置范围写成 1~10,与既有硬要求(默认 5、范围 1~8)相反。本次把 Core 校验、命令行、Windows/macOS 桌面端文案与 i18n 键、文档和测试里的 10 全部改回 8,并补 9 作为越界样例;默认值仍为 5,显式配置值启动时不被覆盖。
- 将 EditableServiceSettings 与校验逻辑拆到独立文件,ServiceConfigurationController 只保留控制器 - macOS 测试脚本的 swiftc 列表补上 EditableServiceSettings.swift 与 BrowserSupportController.swift,修复 make test-scripts-macos 编译失败 - 安装配置测试里 acpMaxConcurrentPrompts 合法值恢复为 1~8,同时补一个内置 profile 让并发上限校验能被单独覆盖
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
AGENTDOCK_ACP_MAX_CONCURRENT_PROMPTS缺省值 2 → 5,合法范围统一为 1~8,Windows/macOS 桌面设置页接入该字段(未配置时用 5,用户改过的值保留)。SpinButtonPlacementMode由Inline改为Hidden去掉上下箭头,标签去掉「(1~8)」范围后缀。.strings词条,包着 Stepper 的 VStack 收成单独 Stepper,标签去掉范围后缀。EditableServiceSettings与校验逻辑拆到独立文件EditableServiceSettings.swift,测试脚本 swiftc 列表补上该文件与自包含的BrowserSupportController.swift;安装配置测试的并发上限合法值恢复为 1~8,并补一个内置 profile 让并发上限校验能被单独覆盖。验证
go build ./...通过;go test覆盖internal/config、internal/acp、internal/desktopruntime全绿。scripts/test/test-macos-app.sh(macOS CI 那一步)在 MacMini 上完整跑通:i18n 检查、四组 swiftc 单测、Go 核心构建、App 打包签名、DMG 校验全部通过。