@dmsdc-ai/aigentry-telepty 0.6.12 → 0.6.14

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 CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to `@dmsdc-ai/aigentry-telepty` are documented here.
4
4
 
5
+ ## 0.6.14 — 2026-07-12
6
+
7
+ ### Fixed
8
+ - codex prompt matcher broke again on suffixed model names (`gpt-5.6-sol`): the multi-signal pattern assumed `gpt-<digits>` followed by whitespace. Now matches any `gpt-<token>` (`gpt-\S+`), so cosmetic model renames no longer close the `promptReady` gate and park injects (follow-up to 0.6.13's #719).
9
+
10
+ ## 0.6.13 — 2026-07-07
11
+
12
+ ### Fixed
13
+ - **#719** The codex prompt matcher required the literal `fast` token in the status row and a leading space before `›`, both stale against codex v0.142.5 (non-fast footer `gpt-5.5 xhigh · <cwd>`, line-leading `›`). The bridge `promptReady` gate therefore never opened and injected messages parked in the mailbox indefinitely. Multi-signal now accepts the `·` separator tail and the strict scan's leading space is optional; modal anti-patterns unchanged.
14
+
5
15
  ## 0.6.12 — 2026-07-07
6
16
 
7
17
  ### Fixed
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Connect any terminal to any terminal, any machine.**
4
4
 
5
- ![telepty demo — inject a prompt into a live AI CLI session and read its screen](docs/demo.gif)
5
+ ![telepty demo — one Mac terminal injecting prompts into live AI CLI sessions on macOS (agy), Linux (codex), and Windows (claude) — all three answer in real time](docs/demo.gif)
6
6
 
7
7
  telepty is a PTY orchestration daemon and session bridge for AI CLI workflows. It lets you spawn, attach to, and inject commands into terminal sessions — locally or across machines via Tailscale.
8
8
 
@@ -305,7 +305,7 @@ telepty runs **standalone** — it needs none of the other aigentry modules and
305
305
 
306
306
  | Module | Package | Version | Role | Maturity |
307
307
  | --- | --- | --- | --- | --- |
308
- | **telepty** | `@dmsdc-ai/aigentry-telepty` | 0.6.12 | Cross-terminal / cross-machine prompt transport (PTY daemon) | Shipping |
308
+ | **telepty** | `@dmsdc-ai/aigentry-telepty` | 0.6.14 | Cross-terminal / cross-machine prompt transport (PTY daemon) | Shipping |
309
309
  | **brain** | `@dmsdc-ai/aigentry-brain` | 0.2.8 | Persistent cross-session memory (MCP server) | Early |
310
310
  | **deliberation** | `@dmsdc-ai/aigentry-deliberation` | 0.0.47 | Multi-AI structured debate + synthesis (MCP server) | Early |
311
311
  | **devkit** | `@dmsdc-ai/aigentry-devkit` | 0.0.22 | Installer/scaffold for the AI dev environment | Early |
package/README.tmpl.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Connect any terminal to any terminal, any machine.**
4
4
 
5
- ![telepty demo — inject a prompt into a live AI CLI session and read its screen](docs/demo.gif)
5
+ ![telepty demo — one Mac terminal injecting prompts into live AI CLI sessions on macOS (agy), Linux (codex), and Windows (claude) — all three answer in real time](docs/demo.gif)
6
6
 
7
7
  telepty is a PTY orchestration daemon and session bridge for AI CLI workflows. It lets you spawn, attach to, and inject commands into terminal sessions — locally or across machines via Tailscale.
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmsdc-ai/aigentry-telepty",
3
- "version": "0.6.12",
3
+ "version": "0.6.14",
4
4
  "main": "daemon.js",
5
5
  "bin": {
6
6
  "aigentry-telepty": "install.js",
@@ -67,9 +67,15 @@ const ENTRIES = {
67
67
 
68
68
  // Step 2: multi-signal tolerant. The codex boot box contains
69
69
  // "OpenAI Codex (v<version>)" and the status row contains
70
- // "gpt-<ver> <profile> fast". Both present anywhere on the captured
71
- // screen ready, regardless of where the literal '›' rendered.
72
- if (/OpenAI Codex \(v/.test(text) && /gpt-[0-9.]+\s+\w+\s+fast/.test(text)) {
70
+ // "gpt-<ver> <profile>" followed by either " fast" (fast-inference mode)
71
+ // or the " · <cwd>" separator. v0.142.5 omits "fast" when fast-mode is
72
+ // off ("gpt-5.5 xhigh · /tmp/demo714"), so match either tail. Both
73
+ // signals present anywhere → ready, regardless of where '›' rendered.
74
+ // Model token is `gpt-\S+` not `gpt-[0-9.]+`: codex now ships suffixed
75
+ // names ("gpt-5.6-sol"), where `[0-9.]+` stopped at "5.6" and the `\s`
76
+ // never reached past the "-sol". `\S+` cannot cross whitespace, so the
77
+ // trailing `\s+\S+(\s+fast|\s*·)` profile/tail signal is preserved.
78
+ if (/OpenAI Codex \(v/.test(text) && /gpt-\S+\s+\S+(\s+fast|\s*·)/.test(text)) {
73
79
  return { found: true, reason: 'codex_multi_signal' };
74
80
  }
75
81
 
@@ -78,7 +84,9 @@ const ENTRIES = {
78
84
  const lines = text.split('\n');
79
85
  for (let i = lines.length - 1; i >= 0; i--) {
80
86
  const line = lines[i];
81
- if (!/^/.test(line)) continue;
87
+ // v0.142.5 renders the composer '' line-leading with no space; older
88
+ // captures kept one leading space — accept both.
89
+ if (!/^ ?› /.test(line)) continue;
82
90
  const footer = (lines[i + 1] || '') + '\n' + (lines[i + 2] || '');
83
91
  if (/gpt-\d/.test(footer)) {
84
92
  return { found: true, line_index: i, col: 2, reason: 'codex_strict_line' };