@kitlangton/terminal-control 0.3.1 → 0.4.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/README.md +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Typed terminal application control and testing client for `termctrl driver`, with stable screen snapshots, keyboard interaction, readable logs, recordings, and opt-in failure evidence.
|
|
4
4
|
|
|
5
|
-
Install the package
|
|
5
|
+
Install the package alongside Vitest:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
bun add -d @kitlangton/terminal-control vitest
|
|
@@ -26,4 +26,4 @@ await session.screen.waitForText("Ready")
|
|
|
26
26
|
expect(await session.screen.text()).toMatchSnapshot()
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
For line-oriented output, use `session.logs.text()`; for exact ANSI/VT bytes, use `session.transcript.ansi()`. Artifact and recording configuration is opt-in because terminal output and input may contain secrets. See the
|
|
29
|
+
For line-oriented output, use `session.logs.text()`; for exact ANSI/VT bytes, use `session.transcript.ansi()`. Artifact and recording configuration is opt-in because terminal output and input may contain secrets. See the [full client documentation](https://github.com/anomalyco/terminal-control/blob/main/docs/typescript-client.md) for the complete workflow.
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitlangton/terminal-control",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Typed terminal application control and testing with snapshots, recordings, and failure artifacts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "https://github.com/anomalyco/terminal-control.git",
|
|
9
9
|
"directory": "packages/test"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"prepack": "bun run build"
|
|
39
39
|
},
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@kitlangton/terminal-control-darwin-arm64": "0.
|
|
42
|
-
"@kitlangton/terminal-control-darwin-x64": "0.
|
|
43
|
-
"@kitlangton/terminal-control-linux-arm64-gnu": "0.
|
|
44
|
-
"@kitlangton/terminal-control-linux-x64-gnu": "0.
|
|
41
|
+
"@kitlangton/terminal-control-darwin-arm64": "0.4.1",
|
|
42
|
+
"@kitlangton/terminal-control-darwin-x64": "0.4.1",
|
|
43
|
+
"@kitlangton/terminal-control-linux-arm64-gnu": "0.4.1",
|
|
44
|
+
"@kitlangton/terminal-control-linux-x64-gnu": "0.4.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"vitest": ">=3.0.0"
|