@rynx-ai/runtime 0.2.0-beta.3 → 0.2.0-beta.4
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/dist/runner/child.js +5 -1
- package/package.json +3 -3
package/dist/runner/child.js
CHANGED
|
@@ -7,7 +7,11 @@ function normalizeTraexPane(pane) {
|
|
|
7
7
|
return pane.toLowerCase().replace(/\s+/g, " ").trim();
|
|
8
8
|
}
|
|
9
9
|
function isTerminalProtocolResponse(input) {
|
|
10
|
-
|
|
10
|
+
// xterm answers terminal queries through the same onData channel as real
|
|
11
|
+
// keystrokes. CSI carries device/focus/position reports; OSC carries color
|
|
12
|
+
// query replies such as `OSC 10;rgb:... ST` and `OSC 11;rgb:... ST`.
|
|
13
|
+
// Neither is evidence that the user has taken over startup prompt handling.
|
|
14
|
+
return /^(?:\x1b\[(?:(?:\?|>)[0-9;]*c|[0-9;]*(?:n|R|t)|[IO])|\x1b\][0-9]+;[^\x07\x1b]*(?:\x07|\x1b\\))+$/.test(input);
|
|
11
15
|
}
|
|
12
16
|
export class RunnerSession {
|
|
13
17
|
transport;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rynx-ai/runtime",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/rynx-ai/rynx.git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"node-pty": "
|
|
27
|
+
"node-pty": "1.2.0-beta.15",
|
|
28
28
|
"ws": "^8.21.0",
|
|
29
|
-
"@rynx-ai/core": "0.2.0-beta.
|
|
29
|
+
"@rynx-ai/core": "0.2.0-beta.4"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/ws": "^8.18.1"
|