@agora-build/dialf 0.1.1 → 0.1.3

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 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,6 +11,9 @@ model bundled) for your platform on install.
11
11
 
12
12
  ```sh
13
13
  npm install -g @agora-build/dialf
14
+
15
+ # or, without npm:
16
+ curl -fsSL https://dl.agora.build/dialf/install.sh | bash
14
17
  ```
15
18
 
16
19
  Supported platforms: macOS (arm64/x86_64) and Linux (x86_64/aarch64). The postinstall step
@@ -18,8 +21,6 @@ fetches the matching binary from the [GitHub Releases](https://github.com/Agora-
18
21
  it never hard-fails `npm install` — if no prebuilt exists for your platform it prints
19
22
  guidance to build from source.
20
23
 
21
- Prefer curl instead of npm? See the [repository README](https://github.com/Agora-Build/DialF#install).
22
-
23
24
  ## Run the daemon as a service
24
25
 
25
26
  `npm install` only installs the CLI. To run `dialfd` in the background:
@@ -34,9 +35,14 @@ dialf service install --user # or per-user (login), no sudo
34
35
  ```sh
35
36
  dialf daemon # run dialfd in the foreground
36
37
  dialf devices # list connected phones
37
- dialf call <device> <number> # place a call
38
- dialf pickup <device> # answer the ringing call
39
- dialf hangup <device> # end the active call
38
+ dialf sims <device> # list SIMs (default tagged)
39
+ dialf call dial <device> <number> [--sim <sub_id>] # place a call (default SIM if omitted)
40
+ dialf call pickup <device> # answer the ringing call
41
+ dialf call hangup <device> # end the active call
42
+ dialf call reject <device> [--drop] # decline ringing call (--drop = answer+hangup, no voicemail)
43
+ dialf call list <device> # read the call log (JSON)
44
+ dialf voicemail off|on <device> [--sim N] # toggle carrier voicemail (MMI)
45
+ dialf mmi <device> <code> [--sim N] # (advanced) raw MMI/USSD code
40
46
  dialf sms send <device> <to> <body>
41
47
  dialf sms list <device>
42
48
  dialf run <job.yaml> [--device <id>]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agora-build/dialf",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "DialF — autonomous phone pick/call daemon (dialfd) + CLI",
5
5
  "bin": {
6
6
  "dialf": "bin/dialf.js"