Files
plugins/packages/agent-console/daemon/dist
qingnian108 14296209ea agent-console 1.3.8: scrolling up near the bottom leaves it at once, open the project in an IDE, reveal in the file manager (#1108)
Scrolling up near the bottom of the timeline now leaves stick-to-bottom at
once. The project can be opened in the first IDE found (Cursor, VS Code,
Windsurf, Zed, IntelliJ IDEA, WebStorm, Sublime Text) through argv arrays
with shell:false, and a file or folder can be revealed in Explorer, Finder
or the file manager. Reveal refuses absolute paths and "..", and checks the
target's realpath against the project's real root. By qingnian108.

Run at the reviewed head ad88364f4 on Linux (WSL magpie-desktop, Node 22),
in a standalone copy of the package:
- npm ci; npm run check (daemon + web tsconfig): clean
- vitest run: 75 files, 585 passed, 21 skipped
- npm run verify:build: app/* and daemon/dist/main.js(.map) match a
  rebuild from source byte for byte
- bun scripts/check.mjs agent-console: ok
Broken by hand: with files.reveal's realpath containment check removed,
"files.reveal refuses a symlink that resolves outside the project" is red
(1 failed, 14 passed); restored, 15/15.

Not tried: a real IDE launch or reveal on Windows or macOS (the Windows
branches ran only through injected-deps tests), and the scroll change in a
real window.
2026-11-14 01:03:25 +08:00
..