@zhuxixi/pi-agent-board 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/ui/pty-attach.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ conventional commits by `scripts/release_helper.mjs`. Entries are
|
|
|
5
5
|
forward-only: they begin with the first release after this file landed —
|
|
6
6
|
for earlier history, see the git log and the pull-request list.
|
|
7
7
|
|
|
8
|
+
## [0.10.1] - 2026-10-01
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
|
|
12
|
+
- **attach**: prevent stale hyperlink IDs from leaking across cells (#158)
|
|
13
|
+
|
|
14
|
+
[0.10.1]: https://github.com/zhuxixi/pi-agent-board/compare/v0.10.0...v0.10.1
|
|
15
|
+
|
|
8
16
|
## [0.10.0] - 2026-10-01
|
|
9
17
|
|
|
10
18
|
### Features
|
package/package.json
CHANGED
package/src/ui/pty-attach.ts
CHANGED
|
@@ -113,6 +113,7 @@ interface BufferLineLike {
|
|
|
113
113
|
interface BufferCellLike {
|
|
114
114
|
getWidth(): number;
|
|
115
115
|
getChars(): string;
|
|
116
|
+
hasExtendedAttrs(): number;
|
|
116
117
|
extended?: { urlId?: number; _urlId?: number };
|
|
117
118
|
getFgColor(): number;
|
|
118
119
|
getBgColor(): number;
|
|
@@ -1688,6 +1689,8 @@ function clipTerminalLine(line: string, width: number): string {
|
|
|
1688
1689
|
}
|
|
1689
1690
|
|
|
1690
1691
|
function osc8UriForCell(term: XtermLike, cell: BufferCellLike): string {
|
|
1692
|
+
// xterm leaves cached extended data on reused cells when this flag is unset.
|
|
1693
|
+
if (!cell.hasExtendedAttrs()) return "";
|
|
1691
1694
|
const id = cell.extended?.urlId ?? cell.extended?._urlId ?? 0;
|
|
1692
1695
|
if (!id) return "";
|
|
1693
1696
|
const service = term._core?._oscLinkService;
|