Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ prune、仓库覆盖关闭时,重置提示应为开启;子模块只有选择
删除远程没有的本地标签。部分或排除型标签 refspec 显示为自定义,不猜测完整
结果。无可用远程或 Git 拒绝的布尔配置显示不可确定,原始配置仍可编辑。
例如,`--no-tags --no-prune` 配合 `fetch.pruneTags=true` 时显示“获取全部”,
不要只回显 Lithe 选中的“不获取”。`shared/fixtures/git/fetch-behavior-v1.json`
不要只回显 Lithe 选中的“不获取”。`Lithe-core-rust/rust/fixtures/git/fetch-behavior-v1.json`
覆盖来源和多远程规则,Core 的真实 Git 测试对照标签 refspec、无效布尔值与实际 Fetch。

普通 Fetch 仍是一项直接操作,可选的设置预览留在现有 Git 菜单中。控制台
Expand Down Expand Up @@ -227,7 +227,7 @@ stdout/stderr 分开,复制原始输出时不混入提示。没有完整变化
可以展开恢复。向上滚动暂停跟随,回到底部恢复;macOS 在控制台容器内处理
滚动状态,避免每个指针事件重建 Git 页面。控制台历史只存在于有界内存,
不定义磁盘保存和长期保留策略。字段和容量的正式契约见
[Rust Core API](../../../../shared/contracts/rust-core-api.md)。
[Rust Core API](https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/rust-core-api.md)。

## 考虑过的备选方案

Expand Down Expand Up @@ -325,8 +325,8 @@ Windows ARM64 本地对比从 1.799 秒降到 1.362 秒,但这不代表托管
- `desktop/internal/core/client.go`
- `desktop/internal/core/events_bridge.go`
- `desktop/internal/workbench/`
- `shared/fixtures/git/`
- `shared/contracts/rust-core-api.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/tree/main/rust/fixtures/git/`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/rust-core-api.md`
- [旧客户端执行链、测试及原适用范围(历史版本)](https://github.com/1lck/Lithe-IDEA/blob/5a54c41aa37a4e6e6b68918a4b05765b9dd07a36/.agents/notes/implemented/architecture/2026-09-12-git-execution-and-project-console.md)

### macOS Console 左侧工具栏样式
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ Linux 的模拟验证不能代替 Windows WebView2 或报告者项目的实机

Windows 语义颜色使用 `lsp-core-adapter.test.ts` 和
`semantic-token-provider.test.ts` 消费同一份
`shared/fixtures/lsp/semantic-tokens-v1.json`,覆盖命令路由、图例转换、刷新通知、
`Lithe-core-rust/rust/fixtures/lsp/semantic-tokens-v1.json`,覆盖命令路由、图例转换、刷新通知、
取消、归属替换、同步先后顺序及过期模型。Linux 可运行这些确定性前端测试;
真实 JDTLS 与 WebView2 上色、大文件降级仍需 Windows 验收。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ JDT LS 1.61 的 `BaseDocumentLifeCycleHandler.handleSaved` 会刷新并重建工
重新读取缓冲区;例如等待 A 文件时用户保存了 B,就发送 B 的新内容,不能把遍历开始时
捕获的旧文本重新同步。已关闭或变脏的文件跳过通知,未保存修改仍阻止启动。
共享保存夹具为
`shared/fixtures/lsp/document-save-v1.json`。这不保证未打开文件的外部修改立即
`Lithe-core-rust/rust/fixtures/lsp/document-save-v1.json`。这不保证未打开文件的外部修改立即
完成 JDT watcher 同步;真实测试仍观察到这种情况下运行旧输出,不能将本次修复
宣称为所有外部文件变更的同步屏障。

Expand Down Expand Up @@ -288,7 +288,7 @@ JDK 是插件声明、用户选定的工具链安装(`toolchains.*`),宿
环境(例如 JAVA_HOME)和 PATH 前缀加进去(Viva 中是
`desktop/internal/workbench/toolchains.go` 的 `applyToolchainSelection`)。
execution.resolveEnvironment 只剩“继承环境低于显式值”的合并,不认识任何工具;
契约和 `shared/fixtures/execution/launch-environment-v1.json` 已在
契约和 `Lithe-core-rust/rust/fixtures/execution/launch-environment-v1.json` 已在
Lithe-core-rust#10 改成这个语义并由 Core 测试执行。Windows 环境键按不区分
大小写处理。

Expand Down Expand Up @@ -386,8 +386,8 @@ Maven JDK、显式覆盖及资源步骤;#1133 的 Maven 原生资源步骤保
终态测试覆盖同一次启动继续、按工作区记忆选择和索引恢复。
- Windows:Run Store 把准备结果传入 Core,并分别用 `;` 拼 classpath/module-path;
Run/Debug 共用的 Store 测试覆盖同一次启动继续、取消、记忆选择和索引恢复。
- 共享契约:`shared/contracts/rust-core-api.md` 与
`shared/contracts/application-boundary.md`,跨平台样例为
- 共享契约:`Lithe-core-rust/rust/contracts/rust-core-api.md` 与
`Lithe-core-rust/rust/contracts/application-boundary.md`,跨平台样例为
`shared/fixtures/lsp/java-build-report-v1.json`。

## 适用范围
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ Windows 休眠的 Run Actions 宿主不再扫描其他语言的 manifest 或自
- ~~`windows/tauri/src/extensions/`~~(已随 #1794 移除)
- ~~`windows/tauri/src/features/run-actions/`~~(已随 #1794 移除)
- ~~`windows/tauri/src-tauri/src/language_tools.rs`~~(已随 #1794 移除)
- `shared/contracts/application-boundary.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/application-boundary.md`
- `shared/platform-feature-matrix/features/`
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ JDK 和未知偏好;非空值成为本机 Build 默认值,空值继续表示
- 项目环境与运行配置设置入口:
- Rust Core:`rust/lithe-core/src/execution/configuration.rs`(`runConfig.inspect`、
`runConfig.updateOptions` 工具链分支)
- 共享契约:`shared/contracts/rust-core-api.md`、
- 共享契约:`Lithe-core-rust/rust/contracts/rust-core-api.md`、
`shared/fixtures/run-configuration/project-environment.json`
- macOS:`macos/Sources/Lithe/Views/App/RunConfigurationSettingsView.swift`、
`macos/Sources/Lithe/Views/App/ProjectRuntimeSettingsView.swift`、
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ intellij-community 的 `runConfigurations/testState` 图标(Apache 2.0)。
- ~~`frontend/editor/src/run-markers.ts`~~(已随 #1794 移除)
- 已迁出:原 `macos/Sources/Lithe/Models/AppModel/AppModel+JavaRunMarkers.swift`。宿主侧 Java 专属代码已删除(#1495);运行、调试、入口标记与工具链改走通用插件 API(`run/start`、`debug/start`、`editor/registerActions`、`toolDefinitions`),实现见 [lithe-plugin-java](https://github.com/Lithe-IDEA/lithe-plugin-java)。
- ~~`macos/Sources/LitheExecutionModule/Services/LanguageTestService.swift`~~(已随 #1794 移除)
- `shared/fixtures/build-provider/test-results-v1.json`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/fixtures/build-provider/test-results-v1.json`
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ m2e 内嵌的 Maven,而不是用户配置的 Maven 或 mvnd,违反“依赖

- 已迁出:原 `rust/lithe-core/src/project/maven_dependency_tree.rs`。Maven 专属逻辑已从 Core 与宿主移入 Maven 插件([lithe-plugin-maven](https://github.com/Lithe-IDEA/lithe-plugin-maven))(#1495)。
- 已迁出:原 `rust/lithe-core/src/project/maven.rs`。Maven 专属逻辑已从 Core 与宿主移入 Maven 插件([lithe-plugin-maven](https://github.com/Lithe-IDEA/lithe-plugin-maven))(#1495)。
- `shared/contracts/rust-core-api.md`
- `shared/fixtures/maven/dependency-tree-v2.json`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/rust-core-api.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/65cf82343c5e315aae2e335b2e8f0217b703e89a/rust/fixtures/maven/dependency-tree-v2.json`
- ~~`windows/tauri/src-tauri/src/maven.rs`~~(已随 #1794 移除)
- ~~`windows/tauri/src/features/maven/`~~(已随 #1794 移除)
- ~~`macos/Sources/LitheExecutionModule/Services/BuildSystemService.swift`~~(已随 #1794 移除)
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Agent 的查询先执行只读目录检测,返回已准入清单、Core 校验
## 适用范围

- Lithe-core-rust 锁定修订:[rust/lithe-ide-host/](https://github.com/Lithe-IDEA/Lithe-core-rust/tree/0ffd327b4329261e393b08ed76fbd134b4dd17e9/rust/lithe-ide-host)
- `shared/contracts/ide-api/v1.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/ide-api/v1.md`
- ~~`macos/Sources/Lithe/Application/Features/IdeCapabilitiesFeatureModel.swift`~~(已随 #1794 移除)
- ~~`macos/Sources/LitheModuleAPI/Plugins/IDECapabilities.swift`~~(已随 #1794 移除)
- ~~`windows/tauri/src/features/host-api/`~~(已随 #1794 移除)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ worktree 列表;macOS 的既有状态读取仍会附带 stash 等查询。合
## 适用范围

- Lithe-core-rust 锁定修订:[rust/lithe-core/src/git/metadata_watch.rs](https://github.com/Lithe-IDEA/Lithe-core-rust/blob/0ffd327b4329261e393b08ed76fbd134b4dd17e9/rust/lithe-core/src/git/metadata_watch.rs)
- `shared/fixtures/git/metadata-classification-v1.json`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/fixtures/git/metadata-classification-v1.json`
- `desktop/internal/workbench/git.go`
- `desktop/internal/workbench/commit.go`
- `desktop/internal/workbench/filetree_watch.go`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Agent 的配置入口由同一个目录补齐,移动到任何已有停靠区

## 验证

- `WorkbenchContributionHostTests.chineseActionSearchFindsAndRestoresHiddenTerminal` 使用实际中英资源验证中文标题、中文说明和英文别名,执行后恢复终端入口,切换回英文后不再沿用旧语言;修复前中文查询确认为空。Core 的 `shared/fixtures/search/actions-v1.json` 验证排序、Unicode、插件原文和输入预算。 动作匹配实现位于 `rust/lithe-core/src/action_search/mod.rs`,遵循 Core 根目录仅保留 `lib.rs` 的既有布局规则;模块路径和 `search.actions` 协议不变。
- `WorkbenchContributionHostTests.chineseActionSearchFindsAndRestoresHiddenTerminal` 使用实际中英资源验证中文标题、中文说明和英文别名,执行后恢复终端入口,切换回英文后不再沿用旧语言;修复前中文查询确认为空。Core 的 `Lithe-core-rust/rust/fixtures/search/actions-v1.json` 验证排序、Unicode、插件原文和输入预算。 动作匹配实现位于 `rust/lithe-core/src/action_search/mod.rs`,遵循 Core 根目录仅保留 `lib.rs` 的既有布局规则;模块路径和 `search.actions` 协议不变。

- `WorkbenchContributionHostTests.toolWindowsMenuRestoresHiddenTerminalAtItsSavedDockWithoutToggling` 覆盖隐藏入口恢复、原停靠组、重复 Show 不关闭、模块禁用及旧菜单动作;已安装声明式插件流程补充从同一菜单恢复。`ContextMenuCoverageTests.rightClickOnSubmenuKeepsThePopupAndShowRemainsKeyboardAccessible` 用原生右键事件验证父弹层保持可见,再用方向键和 Return 执行显示;模型回归确认菜单构造不激活模块或创建终端会话。实际产品还需在深浅主题检查左侧“…”、菜单打开/关闭、快捷键与终端已有会话。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ Shelf 存储在平台 `app_data_dir()/git-shelves/<规范化根路径哈希>`,
- ~~`windows/tauri/src-tauri/src/shelf_storage.rs`~~(已随 #1794 移除)
- ~~`windows/tauri/src-tauri/src/file_publication.rs`~~(已随 #1794 移除)
- Lithe-core-rust 锁定修订:[rust/lithe-core/src/git/patch_exchange.rs](https://github.com/Lithe-IDEA/Lithe-core-rust/blob/0ffd327b4329261e393b08ed76fbd134b4dd17e9/rust/lithe-core/src/git/patch_exchange.rs)
- `shared/contracts/rust-core-api.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/rust-core-api.md`
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Rust Core 负责校验声明、识别工程、展开每一条命令行,并把
| Rust Core | 校验声明;识别实例;读取静态模型;展开模板得到 argv 计划;解码模型、测试、诊断和依赖输出;计算指纹 | 启动进程;写文件;保存用户选择 |
| 宿主 | 选定可执行文件并探测版本;启动进程并负责取消、期限和输出上限;分配输出文件;监听文件;保存选项;信任确认 | 生态知识;拼 argv;按构建系统名写分支 |

宿主通过 13 个命令使用 Core,请求和结果形状见 `shared/contracts/rust-core-api.md` 的 “Build systems” 一节:
宿主通过 13 个命令使用 Core,请求和结果形状见 `Lithe-core-rust/rust/contracts/rust-core-api.md` 的 “Build systems” 一节:

| 用途 | 命令 |
| --- | --- |
Expand Down Expand Up @@ -396,7 +396,7 @@ macOS 接入规则(2026-10-18):
- Lithe-core-rust 锁定修订:[rust/lithe-core/src/runtime/dispatcher.rs](https://github.com/Lithe-IDEA/Lithe-core-rust/blob/0ffd327b4329261e393b08ed76fbd134b4dd17e9/rust/lithe-core/src/runtime/dispatcher.rs)
- Lithe-core-rust 锁定修订:[rust/lithe-core/src/tests/build_systems.rs](https://github.com/Lithe-IDEA/Lithe-core-rust/blob/0ffd327b4329261e393b08ed76fbd134b4dd17e9/rust/lithe-core/src/tests/build_systems.rs)
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/shared/plugins/contract/v1/`
- `shared/contracts/rust-core-api.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/rust-core-api.md`
- ~~scripts/architecture/verify-shared-contracts.sh~~(脚本已随旧客户端移除)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ macOS 已删除这个设置页,改用独立日志窗口,见[结构化日志
清理影响有效目录中所有模块和会话的托管文件,不受查看筛选限制;确认文案必须
明确这点。目录切换成功后才保存 macOS 偏好,切换与清理后刷新时间线。失败保持
可重试状态,不让过期结果覆盖新筛选条件,也不让按钮一直停留在忙碌状态。
共享界面验收数据见 `shared/fixtures/diagnostics/logging-ui-v1.json`。
共享界面验收数据见 `Lithe-core-rust/rust/fixtures/diagnostics/logging-ui-v1.json`。

### 先脱敏,再序列化

Expand Down Expand Up @@ -142,8 +142,8 @@ Windows 预览只保存已经脱敏的内存快照,最多四份、五分钟有
## 适用范围

- Lithe-core-rust 锁定修订:[rust/lithe-core/src/diagnostics/](https://github.com/Lithe-IDEA/Lithe-core-rust/tree/0ffd327b4329261e393b08ed76fbd134b4dd17e9/rust/lithe-core/src/diagnostics)
- `shared/contracts/rust-core-api.md`
- `shared/fixtures/diagnostics/logging-v1.json`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/rust-core-api.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/fixtures/diagnostics/logging-v1.json`
- `desktop/internal/logstore/`
- `desktop/internal/logwindow/`
- `desktop/internal/core/logging.go`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,5 @@ Maven 插件窗口的“刷新快照”按钮
- Lithe-core-rust 锁定修订:[rust/lithe-core/src/runtime/dispatcher.rs](https://github.com/Lithe-IDEA/Lithe-core-rust/blob/0ffd327b4329261e393b08ed76fbd134b4dd17e9/rust/lithe-core/src/runtime/dispatcher.rs)
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/shared/plugins/contract/v1/README.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/shared/plugins/contract/v1/fixtures/backend/function-protocol.json`
- `shared/contracts/rust-core-api.md`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/rust-core-api.md`
- ~~scripts/architecture/verify-shared-contracts.sh~~(脚本已随旧客户端移除)
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Viva 使用同一共享词条生成 Go 字典。`verify-app-language-localizatio
- ~~./scripts/architecture/verify-shared-contracts.sh~~(随旧客户端移除)、~~./scripts/windows/verify/verify-windows-boundaries.sh~~(随旧客户端移除) 和
`./scripts/platform-feature-matrix/verify-platform-feature-matrix.sh`:共享边界与能力记录。

生成器测试与原生测试共同消费 `shared/fixtures/i18n/format-v1.json` 和 `native-abi-v1.json`,覆盖32位有符号、64位无符号参数及参数重排、重复、
生成器测试与原生测试共同消费 `shared/i18n/fixtures/format-v1.json` 和 `native-abi-v1.json`,覆盖32位有符号、64位无符号参数及参数重排、重复、
大整数、零、Unicode 和用户值中的格式符。独立 CI 在 Linux、macOS、Windows 执行生成器
测试并输出单项计时;Draft PR 只运行 Linux,转为 ready 后再触发三系统校验,
同一 PR 的旧 i18n 校验会取消。macOS 才运行原生打包用例。完整产品在中英文设置中切换、关闭重开并
Expand All @@ -104,7 +104,7 @@ Node 22 会把命令行超时同时应用到整份文件。词条增加后,mac
## 适用范围

- `shared/i18n/`
- `shared/fixtures/i18n/format-v1.json`
- `shared/i18n/fixtures/format-v1.json`
- `scripts/i18n/generate-i18n.mjs`
- `scripts/i18n/verify-app-language-localization.mjs`
- `scripts/i18n/test-i18n.mjs`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,9 +583,9 @@ SDK 端到端直接测试 Core 当前工作树,不生成源码快照。构建
- `desktop/internal/workbench/`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/shared/plugins/contract/v1/`
- `shared/platform-feature-matrix/features/build-system-plugins.json`
- `shared/contracts/run-configuration-v2.schema.json`
- `shared/fixtures/run-configuration/build-provider.json`
- `shared/fixtures/debug/adapter-selection-v1.json`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/contracts/run-configuration-v2.schema.json`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/fixtures/run-configuration/build-provider.json`
- `https://github.com/Lithe-IDEA/Lithe-core-rust/blob/main/rust/fixtures/debug/adapter-selection-v1.json`
- [旧客户端执行链与原适用范围(历史版本)](https://github.com/1lck/Lithe-IDEA/blob/5a54c41aa37a4e6e6b68918a4b05765b9dd07a36/.agents/notes/implemented/architecture/2026-10-26-build-provider-task-execution.md)


Expand Down
Loading
Loading