noninteractive 0.3.5 → 0.3.6

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.
Files changed (2) hide show
  1. package/README.md +11 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ npx noninteractive
14
14
 
15
15
  ```bash
16
16
  # Start a session (runs `npx workos` in a background PTY)
17
- npx noninteractive start workos
17
+ npx noninteractive workos
18
18
 
19
19
  # Read what's on screen
20
20
  npx noninteractive read workos
@@ -36,7 +36,7 @@ npx noninteractive list
36
36
 
37
37
  ```bash
38
38
  # Start the installer
39
- npx noninteractive start workos
39
+ npx noninteractive workos
40
40
 
41
41
  # Wait for it to load, then read the prompt
42
42
  npx noninteractive read workos
@@ -62,9 +62,17 @@ npx noninteractive send workos ""
62
62
  npx noninteractive stop workos
63
63
  ```
64
64
 
65
+ ## Agent Skill
66
+
67
+ Install the [Agent Skill](https://agentskills.io) so your AI agent knows how to use noninteractive:
68
+
69
+ ```bash
70
+ npx skills add https://noninteractive.org
71
+ ```
72
+
65
73
  ## How it works
66
74
 
67
- 1. `start` spawns a detached daemon process that runs the target command inside a real pseudo-terminal (PTY)
75
+ 1. `npx noninteractive <tool>` spawns a detached daemon that runs `npx <tool>` inside a real pseudo-terminal (PTY)
68
76
  2. The daemon listens on a unix socket at `~/.noninteractive/sessions/<name>.sock`
69
77
  3. `read`, `send`, and `stop` connect to that socket to interact with the running process
70
78
  4. The PTY ensures the child process sees a real terminal — `isTTY` is true, ANSI colors work, interactive menus render correctly
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noninteractive",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "noninteractive": "./src/index.ts"