@dmsdc-ai/aigentry-telepty 0.6.10 → 0.6.11
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 +5 -0
- package/package.json +1 -1
- package/src/prompt-symbol-registry.js +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to `@dmsdc-ai/aigentry-telepty` are documented here.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.6.11] - 2026-07-05
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- **#679 M1 (PRIMARY):** claude prompt-symbol matcher now accepts the Windows/ConPTY ASCII `>` caret (0x3E) in addition to `❯` (U+276F). On Windows the caret renders as `>` (live hexdump: `❯` 0×), so the `❯`-only matcher never fired → `bootstrap_ready` never flipped → gated injects parked in the mailbox `pending` forever and never reached the PTY. The `─`-adjacency guard is preserved (a `> markdown blockquote` is still rejected). Fixes gated cross-machine inject to Windows.
|
|
11
|
+
|
|
7
12
|
## [0.6.10] - 2026-07-05
|
|
8
13
|
|
|
9
14
|
### Added — seamless cross-machine on Tailscale (auto bind + auto trust) (#672)
|
package/package.json
CHANGED
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
const ENTRIES = {
|
|
17
17
|
// claude renders an empty input row as "❯" + spaces, sandwiched between
|
|
18
18
|
// two horizontal-rule lines made of U+2500 ('─').
|
|
19
|
+
// #679: on Windows/ConPTY the caret glyph falls back to ASCII '>' (0x3E) —
|
|
20
|
+
// `❯` renders 0×, `>` renders instead — so the ❯-only matcher never fired,
|
|
21
|
+
// bootstrap_ready never flipped, and gated injects parked in the mailbox
|
|
22
|
+
// forever. Accept both carets; the full-line `\s*$` anchor + `─`-rule
|
|
23
|
+
// adjacency guard still reject a stray '> markdown blockquote' in transcript.
|
|
19
24
|
claude: {
|
|
20
25
|
symbol: '❯',
|
|
21
26
|
byteSeq: Buffer.from([0xE2, 0x9D, 0xAF]),
|
|
@@ -23,11 +28,12 @@ const ENTRIES = {
|
|
|
23
28
|
const lines = String(screen == null ? '' : screen).split('\n');
|
|
24
29
|
for (let i = lines.length - 1; i >= 1; i--) {
|
|
25
30
|
const line = lines[i];
|
|
26
|
-
|
|
31
|
+
const m = /^([❯>])\s*$/.exec(line);
|
|
32
|
+
if (!m) continue;
|
|
27
33
|
const above = lines[i - 1] || '';
|
|
28
34
|
const below = lines[i + 1] || '';
|
|
29
35
|
if (above.includes('─') || below.includes('─')) {
|
|
30
|
-
return { found: true, line_index: i, col: line.indexOf(
|
|
36
|
+
return { found: true, line_index: i, col: line.indexOf(m[1]) + 1 };
|
|
31
37
|
}
|
|
32
38
|
}
|
|
33
39
|
return { found: false };
|