@agora-build/audictl 0.1.2 → 0.1.5

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 (3) hide show
  1. package/README.md +8 -3
  2. package/install.js +3 -1
  3. package/package.json +6 -3
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # @agora-build/audictl
2
2
 
3
- Manage macOS audio devices from the command line a scriptable, agent-friendly
4
- replacement for the audio-device half of Audio MIDI Setup.
3
+ Cross-platform audio-device control for macOS and Linux. Audictl uses
4
+ CoreAudio on macOS and PipeWire/ALSA on Linux, with human-readable output at
5
+ the terminal and stable JSON for scripts and agents.
5
6
 
6
7
  ```sh
7
8
  npm install -g @agora-build/audictl
@@ -9,7 +10,11 @@ audictl list
9
10
  ```
10
11
 
11
12
  The postinstall step downloads the prebuilt binary for your platform from
12
- [GitHub Releases](https://github.com/Agora-Build/audictl/releases). macOS only.
13
+ [GitHub Releases](https://github.com/Agora-Build/audictl/releases).
14
+
15
+ Audictl supports macOS 13+ and PipeWire-based Linux distributions on x64 and
16
+ arm64. See the full documentation for the platform command matrix and Linux
17
+ virtual-audio prerequisites.
13
18
 
14
19
  Alternative install without npm:
15
20
 
package/install.js CHANGED
@@ -21,12 +21,14 @@ function getPlatformKey() {
21
21
  const map = {
22
22
  "darwin-x64": "darwin-x86_64",
23
23
  "darwin-arm64": "darwin-aarch64",
24
+ "linux-x64": "linux-x86_64",
25
+ "linux-arm64": "linux-aarch64",
24
26
  };
25
27
 
26
28
  const key = `${platform}-${arch}`;
27
29
  if (!map[key]) {
28
30
  console.error(`Unsupported platform: ${key}`);
29
- console.error("audictl drives CoreAudio and only runs on macOS (darwin-x64, darwin-arm64).");
31
+ console.error("Supported platforms: macOS and Linux on x64 or arm64.");
30
32
  process.exit(1);
31
33
  }
32
34
  return map[key];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agora-build/audictl",
3
- "version": "0.1.2",
4
- "description": "Manage macOS audio devices from the command line a scriptable, agent-friendly replacement for Audio MIDI Setup.",
3
+ "version": "0.1.5",
4
+ "description": "Cross-platform audio-device control for macOS and Linux using CoreAudio, PipeWire, and ALSA.",
5
5
  "bin": {
6
6
  "audictl": "bin/audictl"
7
7
  },
@@ -19,6 +19,8 @@
19
19
  },
20
20
  "keywords": [
21
21
  "macos",
22
+ "linux",
23
+ "pipewire",
22
24
  "audio",
23
25
  "coreaudio",
24
26
  "aggregate-device",
@@ -34,7 +36,8 @@
34
36
  },
35
37
  "homepage": "https://github.com/Agora-Build/audictl#readme",
36
38
  "os": [
37
- "darwin"
39
+ "darwin",
40
+ "linux"
38
41
  ],
39
42
  "cpu": [
40
43
  "x64",