shellshare 3.1.0 → 3.2.0

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 +19 -0
  2. package/package.json +12 -6
package/README.md CHANGED
@@ -15,6 +15,25 @@ npm install -g shellshare
15
15
  shellshare
16
16
  ```
17
17
 
18
+ ## Scripting & AI agents
19
+
20
+ Add `--json` for a machine-readable contract: the first line on stdout is
21
+ `{"event":"sharing", ..., "url":"https://shellshare.net/r/..."}` (parse `url`
22
+ and share it), and a final `{"event":"end","exit_code":N}` is printed when the
23
+ broadcast finishes. Errors go to stderr as `ERROR: ...` with a non-zero exit.
24
+
25
+ ```bash
26
+ # Share a single command live; exits with the command's exit code
27
+ npx -y shellshare exec --json -- npm test
28
+
29
+ # Stream a log or any pipe (reads stdin until EOF)
30
+ tail -f build.log | npx -y shellshare --stdin --json
31
+ ```
32
+
33
+ Full agent-facing docs: [AGENTS.md](https://github.com/vitorbaptista/shellshare/blob/main/AGENTS.md) · [shellshare.net/llms.txt](https://shellshare.net/llms.txt)
34
+
35
+ ## About this package
36
+
18
37
  This package is a thin launcher around the prebuilt `shellshare` binary for your platform (Linux x64, macOS x64/arm64, Windows x64), fetched automatically through npm's `optionalDependencies` — no postinstall scripts.
19
38
 
20
39
  Docs, FAQ and other install methods: [shellshare.net](https://shellshare.net) · Source: [github.com/vitorbaptista/shellshare](https://github.com/vitorbaptista/shellshare)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shellshare",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "Live terminal broadcasting - share your terminal via a web link",
5
5
  "bin": {
6
6
  "shellshare": "bin/shellshare.js"
@@ -19,15 +19,21 @@
19
19
  "broadcast",
20
20
  "shell",
21
21
  "live",
22
- "tty"
22
+ "tty",
23
+ "terminal-sharing",
24
+ "screen-sharing",
25
+ "streaming",
26
+ "pty",
27
+ "cli",
28
+ "ai-agents"
23
29
  ],
24
30
  "engines": {
25
31
  "node": ">=14"
26
32
  },
27
33
  "optionalDependencies": {
28
- "shellshare-linux-x64": "3.1.0",
29
- "shellshare-darwin-x64": "3.1.0",
30
- "shellshare-darwin-arm64": "3.1.0",
31
- "shellshare-windows-x64": "3.1.0"
34
+ "shellshare-linux-x64": "3.2.0",
35
+ "shellshare-darwin-x64": "3.2.0",
36
+ "shellshare-darwin-arm64": "3.2.0",
37
+ "shellshare-windows-x64": "3.2.0"
32
38
  }
33
39
  }