Skip to content

fix(windows): restore definition hover in external Java sources - #223

Merged
1lck merged 4 commits into
preview/0.3.0from
fix/windows-definition-hover-pr
Aug 21, 2026
Merged

1lck merged 4 commits into
preview/0.3.0from
fix/windows-definition-hover-pr

Conversation

@Mucheen

@Mucheen Mucheen commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • restore bounded Ctrl/Cmd definition hover and reuse resolved locations for click navigation
  • support JDTLS virtual Java documents with the correct Monaco language, status language, document URI, and physical source session
  • trigger external-source link styling even when the read-only editor does not own keyboard focus
  • add focused coverage for request scheduling, cached navigation hints, virtual document targets, buffer metadata, and modifier handling

Verification

  • bun test: 311 passed
  • focused editor/LSP tests: 24 passed
  • bun run typecheck: passed
  • bun run build: passed
  • bun run lint: passed with existing warnings only
  • Windows Release build: passed
  • Tauri Rust tests: 76 passed
  • rebuilt application launched and JDTLS reached ServiceReady

Refs #177

Restore Ctrl/Cmd definition-link feedback on Monaco editors, serialize and cache definition requests, and reuse validated hover results for navigation. Guard stale model and click results to keep rapid hover, repeated clicks, and editor teardown deterministic.
@Mucheen
Mucheen requested a review from 1lck as a code owner August 21, 2026 14:11
@1lck
1lck merged commit b0d0b7f into preview/0.3.0 Aug 21, 2026
2 checks passed
@xiaoyumuxi
xiaoyumuxi deleted the fix/windows-definition-hover-pr branch September 10, 2026 16:00
xiaoyumuxi added a commit that referenced this pull request Nov 28, 2026
- Agent 对话页脚把 Part "agent" 交给了 Text。Text 没有身份,dev 构建的属性检查
  (make run 带 -tags dev)在重绘时 panic。改为不给它名字。
- agents.configuration 权限(Core #223)没有描述词条,插件权限列表会只显示权限名,
  TestEveryContractPermissionHasADescription 失败。补中英描述和 permissionDescription 分支。
- 复数检查登记已经分单复数的 activity.steps、activity.files,以及数量恒为 64 的
  attachmentsFull。
xiaoyumuxi added a commit that referenced this pull request Nov 29, 2026
AI 管理做成像日志窗口那样的应用级独立窗口,由宿主用 Viva 原生绘制
(desktop/internal/aiwindow),所有项目标签页共用一个;Agent Hub 插件的
管理界面退役。入口在齿轮菜单、命令面板和 Agent 工具窗口“更多操作”,没有
Agent 内核时不出现。

- 会话:按文件夹分组、按 Agent 筛选、搜索,详情显示 Agent、模型、文件夹、
  消息数、子代理数和会话 ID;“继续”回到该文件夹的标签页恢复会话,文件夹
  没打开时先打开项目;“查看请求”跳到用量的请求页
- 资源库:指令集(同一时间一组,遇到不是 Lithe 写入的指令文件先确认)、
  MCP 服务器、Skills、Hooks,经 Core agentLibrary.* 读写各 Agent 插件声明
  的配置;按 Agent 胶囊启用或停用并说明不能点的原因;环境变量和请求头
  只显示名称;打开页面只读取,写入带修订号
- 用量:概览(令牌、调用、缓存命中率、费用估算、每日/每周柱状图、按
  Agent 与模型汇总、额度窗口)、逐条请求(agentSessions.calls,变窄时按
  优先级隐藏列、只看失败、翻页、详情)、按会话汇总
- 资源库目录在平台偏好目录 agent-library,由 Core 第一次保存时创建,不写
  应用包;TestAgentLibraryLeavesInstalledPackageUnchanged 登记进安装包只读
  检查
- 日志只记固定动作 ID 和错误码(app.action.performed、
  app.background.operation_failed),不记路径、名称、命令和内容
- Core 固定到 main b8811351(#223 agentLibrary.* 与 agentSessions.calls、
  #224 附件)
- dev 构建:资源库四个多行输入框去掉 Mono(Viva Textarea 不支持,#2515),
  Hook matcher 标签的 Mono 交给里面的 Text;TestEveryPagePaints 在明暗两套
  配色下绘制 20 个场景,check.sh 的 DEV_TESTED 和 make test 补上 aiwindow
  等所有引用 viva/ui 的包
- 新增 7 个 Lucide 图标、ai-window 中英词条、功能矩阵条目和 Agent 笔记,
  截图放在 docs/assets/agents

供应商页(#2511)和用量按小时分组(#2513)不在本次范围。

Closes #2512
xiaoyumuxi added a commit to WhiteZeek/Lithe-IDEA that referenced this pull request Nov 29, 2026
Core 5565bf3f is 1lck#218 with Core main through 1lck#212 merged in, so the AI management window (1lck#223, 1lck#224), attachments and the Git graph hover chains (1lck#212) keep the Core they expect.
@xiaoyumuxi xiaoyumuxi mentioned this pull request Nov 29, 2026
10 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants